Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

i know it is curious, but i want to run Geoserver 2.3.0 on Tomcat 5.5.20. When i deploy the war file, it deploys successful but i cant start the Geoserver.

Message:

FAIL - Application at context path /geoserver_2.3.0 could not be started

Unfortunately i must use Tomcat 5.5 and until Geoserver 2.1.4 i can deploy and start fine.

You Know how can i solve this or you have any experience.

share|improve this question
1  
what's in the error log? –  iant Apr 22 '13 at 13:37
    
ERROR [3.0]] - Error configuring application listener of class org.geoserver.platform.GeoServerHttpSessionListenerProxy java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620).... –  aykon Apr 22 '13 at 14:29
add comment

1 Answer

I recall that geoserver 2.3 wants java 1.6 up, maybe your tomcat is using an older version.

share|improve this answer
    
this can be possible. I see my tomcat 5.5 use jvm Version: 1.5.0_17. You know how can i change this. –  aykon Apr 22 '13 at 13:31
    
edit JAVA_HOME to point to a newer JVM –  iant Apr 22 '13 at 13:37
    
i set the environment variables java_home and edit the setenv.bat to the right path to jdk1.6.0. Catalina.bat JAVA_HOME use the %JAVA_HOME%. When i restart tomcat the jvm Version is still using 1.5 java version –  aykon Apr 22 '13 at 14:12
    
@aykon How do you start tomcat? Are you on linux or win? Try to restart the console (start a new session if you are on linux); it's also possible that the JAVA_HOME defined for the user which runs tomcat points to the old java version –  Tommaso Apr 24 '13 at 16:03
    
tomcat automatically starts when i starting den windows server 2003 system(64 bit). I set the JAVA_HOME on the new java Version, but how or where can i check the user which runs tomcat points to the old java version or what exactly do you mean. –  aykon Apr 25 '13 at 6:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.