Thanks for your answer including this hints to the several points. Best information is point #4. In my Plesk admin panel java application support was disabled so I couldn't upload .war files. Now I activated it and I will try to create a war file uploading in plesk and hope it will work.
Am Freitag, 26. September 2014 06:11:10 UTC+2 schrieb Stevko:
-- Am Freitag, 26. September 2014 06:11:10 UTC+2 schrieb Stevko:
#5 - not normally a problem when serving html & js from the same server as your servlet container.#4 - it seems that the plesk power pack has tomcat which should be enough to deploy your gwt/servlet war file.#1 - yes, need to hook your servlets to uris#2 - I do it all the time...#3 - apache is a web server - not a java servlet container. apache is fine for serving html/js. tomcat is fine for serving html/js and servlets.
http://stackoverflow.com/questions/21660059/install- and-enable-tomcat-7-on-plesk- 11-5
Install tomcat on a different port from apache, create and deploy a war file containing your client & server code, and things should fall into place for you.On Thu, Sep 25, 2014 at 11:03 AM, Jens <jens.ne...@gmail.com> wrote:Well it kind of depends on what exactly you want to achieve. If you just want to run your GWT app and you don't really care about the URL then just install any Java server (Jetty, Tomcat, Glassfish, Wildfly, ...), deploy your *.war file on it and access it through your server IP address and the default port of your Java server which, in most cases, is 8080.But if you want something like http://app.example.com and example.com is managed by Plesk + Apache then you have to read about Apache + reverse proxy because Apache needs to proxy requests to your java server of choice.-- J.--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com .
To post to this group, send email to google-we...@googlegroups.com .
Visit this group at http://groups.google.com/group/google-web-toolkit .
For more options, visit https://groups.google.com/d/optout .
--
-- A. Stevko==========="If everything seems under control, you're just not going fast enough." M. Andretti
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment