Start the server: /etc/init.d/tomcat5 start
Stop the server: /etc/init.d/tomcat5 stop
The log files can be found in /usr/share/tomcat5/logs.
The most useful are probably the locahost logfiles.
The security policies can be adjusted in the file /etc/tomcat5/catalina.policy.
Search This Blog
Sunday, 26 December 2010
GWT
Deploying applications:
Recommended reading:
Ryan Dewsbury's book "Google Web Toolkit Applications" is a very good start for gwt development, especially for people who know about programming, but who are unfamiliar with web development.
The problems I encountered:
- Run the GWT compile script, just click on the red GWT compile project button within eclipse. All the output files can then be found in the war folder.
- Copy as root, the whole content of the war folder into /usr/share/tomcat5/webapps/myapp/
- Restart tomcat: /etc/init.d/tomcat5 stop
- /etc/init.d/tomcat5 start
Recommended reading:
Ryan Dewsbury's book "Google Web Toolkit Applications" is a very good start for gwt development, especially for people who know about programming, but who are unfamiliar with web development.
The problems I encountered:
- java.lang.ClassNotFoundException: org.apache.commons.codec.binary.Base64: Copy the commons-codec.jar file into the /WEB-INF/lib folder.
- java.lang.NullPointerException at javax.imageio.ImageIO.write: Give the absolute path when writing files!
Subscribe to:
Comments (Atom)