Help - Search - Members - Calendar
Full Version: cpanel and java and deploying .wars
The Planet Forums > Control Panels > cPanel/WHM
ClayM
Has anybody got this working? Anybody have a howto? I'd kinda like to use built in cpanel stuff, but I realize that may not be possible. Any recommendations?

Also, another question - From what I've seen with Tomcat, Apache maps *.jsp and /servlets/* to Tomcat, but what about mapping servlets to something else? Is there any way to handle this?

Seems like the easiest thing would be to just forward everything on a domain to the app server ya know?
xeosdd
Firstly, WAR deployment won't work with Tomcat 4.0.3. I've personally made it work with 4.1.18 (on ensim 3.1) and 4.1.24. Dumping the WARs into your /home/user/www directory should do the trick.

For mapping things to Tomcat, you need to add more JkMount ajp13 entries in your apache configuration, where path is the web path (ie /app/*). I've had applications that have a stack of servlets in the web directory that needed to be mapped to Tomcat, which wasn't a problem. If you don't plan on using apache for anything, you can just do JkMount /*ajp13, but this may decrease your performance slightly (things like images aren't as fast when they go through Tomcat to Apache then to the user)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.