Unable to access web interface: error compiling JSP

All you've ever wanted to know about VLMa.
Forum rules
This forum is not about VLM usage. Please read the rules post for more information.
stefan.winter
New Cone
New Cone
Posts: 2
Joined: 22 Oct 2008 14:55

Unable to access web interface: error compiling JSP

Postby stefan.winter » 22 Oct 2008 15:00

Hi,

trying out VLMa for the first time, and...

HTTP ERROR: 500

PWC6033: Unable to compile class for JSP


RequestURI=/vlmaw/
Caused by:

org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP


at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:107)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:280)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:350)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:411)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:463)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

Any clue? OS is openSUSE 11.0 x86_64 (mostly default install),

> echo $JAVA_HOME
/usr/lib64/jvm/jre

Greetings,

Stefan Winter

jpountz
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Apr 2008 23:49

Re: Unable to access web interface: error compiling JSP

Postby jpountz » 22 Oct 2008 17:06

> > echo $JAVA_HOME
> /usr/lib64/jvm/jre

Is this really the path to a JDK? (not JRE) Javac is needed in order to compile JSP pages.
jpountz
Adrien Grand

stefan.winter
New Cone
New Cone
Posts: 2
Joined: 22 Oct 2008 14:55

Re: Unable to access web interface: error compiling JSP

Postby stefan.winter » 24 Oct 2008 10:46

D'oh. Thanks. Installing SDK helped :-)

jpountz
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Apr 2008 23:49

Re: Unable to access web interface: error compiling JSP

Postby jpountz » 26 Oct 2008 14:51

Nice. Since there are not many people using VLMa for now, your feedbacks about installation and use are welcome. (How easy was it to install? Did you manage to do what you want with VLMa? etc.)
jpountz
Adrien Grand

flanagann
Blank Cone
Blank Cone
Posts: 19
Joined: 26 Sep 2008 16:58

Re: Unable to access web interface: error compiling JSP

Postby flanagann » 02 Dec 2008 20:19

I was going to create my own topic, but I think it's very much related to this one.

I get the same error while accessing http://localhost:8080/vlmaw/
HTTP ERROR: 500

PWC6033: Unable to compile class for JSP

RequestURI=/vlmaw/
Caused by:

org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP

at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:107)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:280)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:350)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:411)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:463)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
I'm using Windows XP and $JAVA_HOME is set to JRE folder: C:\Program files\Java\jre1.6.0_07

I tried changing $JAVA_HOME to JDK folder: C:\j2sdk1.4.2_18 and I get similar erros while executing % bin\vlmad start and % bin\vlmaw start

% bin\vlmad start

Code: Select all

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/videolan/ vlma/daemon/VLMad (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
% bin\vlmaw start

Code: Select all

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/ja sper/servlet/JspServlet (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.mortbay.start.Main.isAvailable(Main.java:151) at org.mortbay.start.Main.configure(Main.java:282) at org.mortbay.start.Main.start(Main.java:448) at org.mortbay.start.Main.main(Main.java:119)
Must be a silly thing... hope someone knows!

jpountz
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Apr 2008 23:49

Re: Unable to access web interface: error compiling JSP

Postby jpountz » 04 Dec 2008 14:16

You get this error because you use a JDK of the 1.4 series. Upgrading to JDK 5 or 6 should fix the problem.
jpountz
Adrien Grand

flanagann
Blank Cone
Blank Cone
Posts: 19
Joined: 26 Sep 2008 16:58

Re: Unable to access web interface: error compiling JSP

Postby flanagann » 05 Dec 2008 12:03

You get this error because you use a JDK of the 1.4 series. Upgrading to JDK 5 or 6 should fix the problem.
It worked, thanks. I had download the first version of JDK I found :)


Return to “VideoLAN Manager (VLMa)”

Who is online

Users browsing this forum: No registered users and 1 guest