ITSM 7.5 SLM Status throws HTTP 500: exception - Bad version number in .class file

Saturday, December 26, 2009

Again with BMC ITSM 7.5 I faced a new issue.

From the incident management console, if you open an incident to view it, then under SLM Status section, instead of showing a graphic, it is pulling back a web error –

HTTP 500:

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.UnsupportedClassVersionError: Bad version number in .class file
java.lang.ClassLoader.defineClass1(Native Method)

This issue happens because the java version used to build the module was higher that what i am using. The version i am using is java 1.5.

As a solution for this there is a Hotfix available with BMC. Log into BMC Support Site and get the Hotfix for java 1.5. It solved the issue.

Non Root user access to ports 80 and 443 in Sun Solaris Unix

Sunday, November 29, 2009

While trying to build the web server for our BMC Remedy AR Server System to host mid-tier over Tomcat I encountered this problem.

As we are using a non-root user for installation of BMC PRroducts such as Mid-Tier and RKM on our web server, we need to start tomcat using the same non-root user and that too over the ports 80 for http and 443 for https.

But when on Sun Solaris 10 system or any other unix system, if you try to start Tomcat you will get an error in your catalina.out saying you do not have access or privileges to the port 80 and 443.

The issue is that non-root users do not have access to the ports less than 1024. There are two solutions you can use for this issue:

1.) Use ports greater than 1024 to start tomcat, such as 8080 and 8443, which are the defaults for Tomcat.

2.) Give non-root user privileges to the ports less than 1024, by running the following command:

usermod -K defaultpriv=basic,net_privaddr username

Hope this will solve the issues for you also.



2009 ·Techy Freak by TNB