deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dimitrios Christodoulakis
Hello everyone, I am having some issues deploying a struts2 application at godaddy and was wondering if anyone has dealt with something similar in the past. The application runs fine on my local machine with tomcat 6.0. My next step was to upload and deploy at godaddy dedicated server which is

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dave Newton
Dimitrios Christodoulakis wrote: I am having some issues deploying a struts2 application at godaddy and was wondering if anyone has dealt with something similar in the past. The application runs fine on my local machine with tomcat 6.0. My next step was to upload and deploy at godaddy dedicated

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Wes Wannemacher
I'm with dave. Check the logs, in particular, look for messages about whether or not the filter started properly. Also check the httpd configuration. There are a few ways to integrate httpd and tomcat. Many people will use mod_jk but lately I am in favor of having tomcat listen on localhost and

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dimitrios Christodoulakis
Thanks for the input. I'll test it locally under 5.5. and will dig deeper in the logs and see what I can find. I will let you know. Appreciate the insight. On Sun, Jun 21, 2009 at 11:00 AM, Wes Wannemacher w...@wantii.com wrote: I'm with dave. Check the logs, in particular, look for messages

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dimitrios Christodoulakis
It seems that indeed the filters are not starting properly: The catalina.out log indicates the following: 00:45:40,018 ERROR [/myapp]:3639 - Exception starting filter struts2 java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dave Newton
Dimitrios Christodoulakis wrote: It seems that indeed the filters are not starting properly: The catalina.out log indicates the following: 00:45:40,018 ERROR [/myapp]:3639 - Exception starting filter struts2 java.lang.UnsupportedClassVersionError: Bad version number in .class file at

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Wes Wannemacher
The error indicates that you compiled for a jvm newer than the tomcat runtime. For instance you compiled with 1.6 and you are trying to run on 1.5. Stick to tomcat 5.5 if that is what godaddy provides. The tomcat version doesn't indicate its newness as much as it indicates which servlet / jsp spec

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Balwinder Kumar
This is probably due to the fact that the version of Java useed in deployment environment is lower than the version of Java used for compiling Hibernate classes. Dimitrios Christodoulakis wrote: It seems that indeed the filters are not starting properly: The catalina.out log indicates the

Re: deploying struts2 at godaddy dedicated server - general question

2009-06-21 Thread Dimitrios Christodoulakis
Thanks! Everyone's suggestions are correct. The versions provided by godaddy are: ROOT/usr/java/jdk1.5.0_17, and ROOT/usr/java/tomcat-5.5 Currently in dev I am using later versions for both. Wes, I think you are right, I'd need to at least match at those versions mentioned above on my local