Page 1 of 1

Error headless client / jsp file

PostPosted: Wed Apr 25, 2012 10:06 am
by martinh
Hi,

I updated my server from Servoy 5.2.10 to 5.2.13
The update was done by install 5.2.13 over 5.2.10 version (since server update is not working on my server)
On my local test server I was able to update from 5.2.10 to 11 to 12 to 13 using server update script and there is no problem.

Since this update I get error that call to jsp page fails.
What can cause this?


Error message:

Code: Select all
HTTP Status 403 -

type Status report

message

description Access to the specified resource () has been forbidden.
Apache Tomcat/6.0.20


There is no message in the Servoy log

Anyone has any idea?

Martin

Re: Error headless client / jsp file

PostPosted: Wed Apr 25, 2012 9:02 pm
by martinh
I reinstalled version 5.2.10 again and now the problem is solved.

What could have caused this error in 5.2.13?

Re: Error headless client / jsp file

PostPosted: Fri May 18, 2012 4:45 pm
by jcompagner
where do these jsp files reside?
What is the value of "servoy.FileServerService.defaultFolder" ?

Re: Error headless client / jsp file

PostPosted: Mon May 21, 2012 9:58 am
by martinh
These jsp files are in D:\Servoy_52\application_server\server\webapps\ROOT
They have always been there.

That property setting is:

servoy.FileServerService.defaultFolder=D\:\\Servoy_52\\application_server\\

I think this setting was defaulted by Servoy

Re: Error headless client / jsp file

PostPosted: Mon May 21, 2012 10:37 am
by jcompagner
That is not the default folder, the default is: $ServoyInstallationDirectory$/server/webapps/ROOT/uploads/

a jsp file can't be in a child folder of the file service upload dir, thats why the jsp files are blocked for execution, so please change your defaultFolder

Re: Error headless client / jsp file

PostPosted: Mon May 21, 2012 10:56 am
by martinh
OK I want to change this, but this property is set by Servoy like this during a (previous) installation.

By the way it is a setting for the File Plugin (tells the adminpage) so I don't see this related to the webservice by jsp

And why does 5.2.13 fails while 5.2.10 works fine?

Re: Error headless client / jsp file

PostPosted: Mon May 21, 2012 11:00 am
by jcompagner
Maybe this was a default think long time ago, and that is then saved somehow in the preferences

Its just a security issue that is fixed.