Hi Nathan,

Nathan Anderson wrote:
So I finally have my AppFuse 2 (Struts 2 + Hibernate) webapp ready to deploy to my production server. But I appear to be a bit stuck...
I'm sure there is some way to have maven 2 deploy for me, but I have not 
figured out how yet.  So I was just planning on going old school and copy the 
.war file to my Tomcat 5.5 webapps directory.  [I don't think it is critical, 
but I installed Tomcat 5.5 using packages available for Ubuntu 7.10].

The problem is it isn't starting up, and this is all that shows up in the logs:

Nov 15, 2007 7:55:20 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 15, 2007 7:55:20 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/mywebapp] startup failed due to previous errors

So my question is two fold...  1) Any guess what could be causing my app that 
was working to not work in this environment? and 2) is there a better way to 
deploy my app?
Question 1 - could permissions be a problem? Maybe try deploying your app using Tomcat's manager interface. That should get around any filesystem permissions issues and working through that will help for question 2.

Question 2 - I use the Tomcat Maven plugin reasonably successfully on my dev Windows server and anticipate using it to deploy to staging and production Tomcat servers on linux boxes with fewer problems - there's a know issue with redeploying apps to Tomcat on windows boxes that I've not yet got sorted out - to do with Tomcat/Windows not letting go of jar files, but that won't bother you.

You can find out more about the Tomcat Maven plugin here: http://mojo.codehaus.org/tomcat-maven-plugin/

From memory the docco is OK, but if you have any problems getting it to work, let me know and I'll dig out some details from my working profile.

HTH,

Rob Hills
Waikiki, Western Australia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to