Deploying WAR on Tomcat

Forum to discuss the new web client version of Servoy.

Deploying WAR on Tomcat

Postby irene.meyer1422261887 » Wed Jul 06, 2016 3:26 pm

Hi,

I try to deploy my application on tomcat but I get an error 404 when try to open the solution url
http://localhost:8181/solutions/SewerRevitaliser/index.html

I can reach the servoy-admin page with
http://localhost:8181/SewerRevitaliser/servoy-admin/


The Tomcat server is local on my machine.
The database is running.
No other server is running.

Probably I'm doing something wrong, but what?

I'm using Servoy Developer 8.0.3
Tomcat 8.0.33
Java 8u65
MacOs 10.11.5

Any idea is welcome.

Cheers
Irene
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: Deploying WAR on Tomcat

Postby Ruben79 » Wed Jul 06, 2016 3:59 pm

See this page: https://wiki.servoy.com/display/public/ ... deployment

The URL has this format: {serverURL}/solutions/{mySolutionName}/index.html

Your {serverURL} is http://localhost:8181/SewerRevitaliser/, with SewerRevitaliser being the context of the deployment. Then after /solutions/ comes your solution name. If that is also SewerRevitaliser, your start URL becomes this:

http://localhost:8181/SewerRevitaliser/solutions/SewerRevitaliser/index.html
Ruben de Jong
Stb Software Development
SAN Partner

Stb Software Development - http://www.stb.nl
User avatar
Ruben79
 
Posts: 97
Joined: Wed Apr 18, 2007 12:43 pm

Re: Deploying WAR on Tomcat

Postby irene.meyer1422261887 » Wed Jul 06, 2016 8:27 pm

Thank you Ruben,

I followed the instructions but I get now a blanc page. If I look at it with the inspector I have an error in index.html, please see screenshot.

Screen Shot 2016-07-06 at 20.15.15.png


And giving a look to the servoy admin log I see this.

Screen Shot 2016-07-06 at 20.46.19.png
You do not have the required permissions to view the files attached to this post.
User avatar
irene.meyer1422261887
 
Posts: 34
Joined: Mon Jan 26, 2015 10:44 am

Re: Deploying WAR on Tomcat

Postby Ruben79 » Thu Jul 07, 2016 11:59 am

So apparently, your main solution name is not 'SewerRevitaliser'? What is your main solution name in developer? You should put that one as the last part of the url.
Ruben de Jong
Stb Software Development
SAN Partner

Stb Software Development - http://www.stb.nl
User avatar
Ruben79
 
Posts: 97
Joined: Wed Apr 18, 2007 12:43 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 30 guests