Error headless client / jsp file

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

Error headless client / jsp file

Postby martinh » Wed Apr 25, 2012 10:06 am

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
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Error headless client / jsp file

Postby martinh » Wed Apr 25, 2012 9:02 pm

I reinstalled version 5.2.10 again and now the problem is solved.

What could have caused this error in 5.2.13?
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Error headless client / jsp file

Postby jcompagner » Fri May 18, 2012 4:45 pm

where do these jsp files reside?
What is the value of "servoy.FileServerService.defaultFolder" ?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Error headless client / jsp file

Postby martinh » Mon May 21, 2012 9:58 am

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
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Error headless client / jsp file

Postby jcompagner » Mon May 21, 2012 10:37 am

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Error headless client / jsp file

Postby martinh » Mon May 21, 2012 10:56 am

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?
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Error headless client / jsp file

Postby jcompagner » Mon May 21, 2012 11:00 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 2 guests