Can't receive files or access Web UI

You are here

Can't receive files or access Web UI

3 posts / 0 new
Last post
ccraig13
ccraig13's picture
Can't receive files or access Web UI

I'm using Linux and I receive a huge list of errors because the dwr-invoker fails to start.

INFO: Extract jar:file:/root/install_mendelson_opensource_as2_1.1b27/jetty/webapps/as2.war!/ to /tmp/Jetty_0_0_0_0_8080_as2.war__as2__4x5vr/webapp

Mar 20, 2009 12:12:18 PM sun.reflect.NativeMethodAccessorImpl invoke0

SEVERE: failed dwr-invoker

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
(trace)

Mar 20, 2009 12:12:18 PM sun.reflect.NativeMethodAccessorImpl invoke0

SEVERE: failed as2webgui

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
(trace)

Mar 20, 2009 12:12:18 PM sun.reflect.NativeMethodAccessorImpl invoke0

WARNING: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@407166{/as2,jar:file:/root/install_mendelson_opensource_as2_1.1b27/jetty/webapps/as2.war!/}
org.mortbay.util.MultiException[java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet, java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet]

(trace)

Mar 20, 2009 12:12:18 PM sun.reflect.NativeMethodAccessorImpl invoke0

INFO: Started SelectChannelConnector @ 0.0.0.0:8080

Mar 20, 2009 12:12:18 PM sun.reflect.NativeMethodAccessorImpl invoke0

INFO: Started SslSocketConnector @ 0.0.0.0:8443

As you can see from the last few lines, jetty is running but the as2.war is not loaded due to the errors above. The GUI starts up and I can send just fine but no receiving/web ui.

AttachmentSize
mec_errors.txt22.73 KB
heller
heller's picture

ccraig13,

please include the servlet jar in your classpath

Regards
Heller

ccraig13
ccraig13's picture

Thanks heller, that did the trick.

I added 'jetty/lib/servlet-api-2.5-6.1.1.jar' to my CLASSPATH in my start script.