twslex31 Absent Member.
Absent Member.
1589 views

Webaccess on SLES10: ERROR org.apache.catalina.startup.HostC

Hi,

How to solve:

ERROR org.apache.catalina.startup.HostConfig - Error deploying web application directory gw
java.lang.UnsupportedClassVersionError: com/novell/webaccess/WebAccessServlet (Unsupported major.minor version 49.0)

While java -version shows:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20061002a (SR3) )
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20061001 (JIT enabled)
J9VM - 20060915_08260_lHdSMR
JIT - 20060908_1811_r8
GC - 20060906_AA)
JCL - 20061002

And the manual says:
OES 2 Linux / SLES 10
Apache 2.2 plus:
Tomcat 5 or later
Tomcat 5 is included with the Linux operating system.
JRE 5 or later
ModProxy Module

And rpm -qa | grep java
java-1_5_0-ibm-1.5.0_sr3-13.10


With regards,

Alex

Labels (2)
0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Webaccess on SLES10: ERROR org.apache.catalina.startup.HostC

On 1/30/2012 1:56 AM, twslex3 wrote:
>
> Hi,
>
> How to solve:
>
> ERROR org.apache.catalina.startup.HostConfig - Error deploying web
> application directory gw
> java.lang.UnsupportedClassVersionError:
> com/novell/webaccess/WebAccessServlet (Unsupported major.minor version
> 49.0)
>
> While java -version shows:
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> pxi32dev-20061002a (SR3) )
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32
> j9vmxi3223-20061001 (JIT enabled)
> J9VM - 20060915_08260_lHdSMR
> JIT - 20060908_1811_r8
> GC - 20060906_AA)
> JCL - 20061002
>
> And the manual says:
> OES 2 Linux / SLES 10
> Apache 2.2 plus:
> Tomcat 5 or later
> Tomcat 5 is included with the Linux operating system.
> JRE 5 or later
> ModProxy Module
>
> And rpm -qa | grep java
> java-1_5_0-ibm-1.5.0_sr3-13.10
>
>
> With regards,
>
> Alex
>
>

Sorry, you are not running Java 5. I know you think you are, and I
don't know how to prove there is an older Java (probably 1.42) installed
somewhere). But there is


> java.lang.UnsupportedClassVersionError:
> com/novell/webaccess/WebAccessServlet (Unsupported major.minor version
> 49.0)


This error can ONLY occur if the JVM is running too old a version. As it
happens 49.0 is 5.0 (50 is 6.0, 51 is 7.0).

java -version doesn't prove much. (that proves a version of java you
have is 1.5, but not that tomcat is running it). Go to the tomcat dirs,
find the bin directory and try running startup.sh directly there. IIRC
it spits out the JAVA_HOME var it is using.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Webaccess on SLES10: ERROR org.apache.catalina.startup.HostC

On Tue, 31 Jan 2012 06:33:53 GMT, Michael Bell <mikebell@nospam.com>
wrote:
Hi,

> >

> Sorry, you are not running Java 5. I know you think you are, and I
> don't know how to prove there is an older Java (probably 1.42) installed
> somewhere). But there is
>
>
> > java.lang.UnsupportedClassVersionError:
> > com/novell/webaccess/WebAccessServlet (Unsupported major.minor version
> > 49.0)

>
> This error can ONLY occur if the JVM is running too old a version. As it
> happens 49.0 is 5.0 (50 is 6.0, 51 is 7.0).
>
> java -version doesn't prove much. (that proves a version of java you
> have is 1.5, but not that tomcat is running it). Go to the tomcat dirs,
> find the bin directory and try running startup.sh directly there. IIRC
> it spits out the JAVA_HOME var it is using.


I've just done a complete new setup of the system, dunno where it was
wrong, but it works now.

Thanks.

Alex
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.