Thursday, September 25, 2014

Re: How to setup a GWT project in Plesk on a virtual machine?

#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.
#4 - it seems that the plesk power pack has tomcat which should be enough to deploy your gwt/servlet war file.
http://stackoverflow.com/questions/21660059/install-and-enable-tomcat-7-on-plesk-11-5
#5 - not normally a problem when serving html & js from the same server as your servlet container.

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.nehlmeier@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-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.



--
-- 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