500 servlet exception [Solved]

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

smccolgan
Posts: 3
Joined: Thu Apr 08, 2010 6:10 pm

500 servlet exception [Solved]

Post by smccolgan »

I am using Debian. I followed all of the instructions, skipping the bounce filter configurations to keep it simple.

I follow all the other instructions and I get this after trying to go to IPaddr.com:8080

500 Servlet Exception

WEB-INF/web.xml:25: java.lang.UnsupportedClassVersionError: Bad version
number in .class file

Please Help
Thanks.

EDIT: here is what line 25 on Web.xml looks like:
<filter-class>org.agnitas.web.filter.CharacterEncodingFilter</filter-class>
Last edited by smccolgan on Thu Apr 08, 2010 7:58 pm, edited 1 time in total.
smccolgan
Posts: 3
Joined: Thu Apr 08, 2010 6:10 pm

Post by smccolgan »

I fixed this particular issue by installing java jdk 6 instead of 5, (I'm trying to install openemm 6).

Now I have a new issue.

I can get to the main page just fine, but when I click to go to the login page, I get this:

500 Servlet Exception

Resin can't load com.sun.tools.javac.Main. Usually this means that the
JDK tools.jar is missing from the classpath, possibly because of using
a JRE instead of the JDK. You can either add tools.jar to the classpath
or change the compiler to an external one with <java compiler='javac'/>
or jikes.

java.lang.ClassNotFoundException: com.sun.tools.javac.Main

Any help?

Thanks

Edit:
I've already added /opt/openemm.org/software/java/lib/tools.jar to my CLASSPATH manually, with no effect.
smccolgan
Posts: 3
Joined: Thu Apr 08, 2010 6:10 pm

Post by smccolgan »

I resolved this issue.

I had commented out a line of code in core.conf pointing to my javac when trying to debug my previous issue, and forgot to uncomment it.
Uncommenting this line fixed it:

<javac compiler="javac" args=""/>


Thank you.
Post Reply