Error loading JSP using J9

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error loading JSP using J9

sk123
Hi,

I am trying to run the OneWebApp sample on a Windows Mobile device. Starting the web server fails as java.util.regex.Pattern is missing on the J9 jvm. Can this is be avoided?

62 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog 1412 [main] INFO org.mortbay.log - jetty-6.1.24 16175 [main] WARN org.mortbay.log - failed org.mortbay.jetty.webapp.WebAppContext@3a313a31{/,/mobile/webapps/test}: java.lang.NoClassDefFoundError: java.util.regex.Pattern 16188 [main] ERROR org.mortbay.log - Error starting handlers java.lang.NoClassDefFoundError: java.util.regex.Pattern at org.mortbay.jetty.webapp.TagLibConfiguration.configureWebApp(Unknown Source) at org.mortbay.jetty.webapp.WebAppContext.startContext(Unknown Source) at org.mortbay.jetty.handler.ContextHandler.doStart(Unknown Source) at org.mortbay.jetty.webapp.WebAppContext.doStart(Unknown Source) at org.mortbay.component.AbstractLifeCycle.start(Unknown Source) at org.mortbay.jetty.handler.HandlerWrapper.doStart(Unknown Source) at org.mortbay.jetty.Server.doStart(Unknown Source) at org.mortbay.component.AbstractLifeCycle.start(Unknown Source) at org.mortbay.jetty.example.OneWebApp.main(Unknown Source) 17116 [main] WARN org.mortbay.log - failed SocketConnector@0.0.0.0:8080: java.net.BindException: /0.0.0.0:8080 - The address is already in use 17149 [main] WARN org.mortbay.log - failed Server@39143914: java.net.BindException: /0.0.0.0:8080 - The address is already in use Exception in thread "main" java.net.BindException: /0.0.0.0:8080 - The address is already in use at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at org.mortbay.jetty.bio.SocketConnector.newServerSocket(Unknown Source) at org.mortbay.jetty.bio.SocketConnector.open(Unknown Source) at org.mortbay.jetty.AbstractConnector.doStart(Unknown Source) at org.mortbay.jetty.bio.SocketConnector.doStart(Unknown Source) at org.mortbay.component.AbstractLifeCycle.start(Unknown Source) at org.mortbay.jetty.Server.doStart(Unknown Source) at org.mortbay.component.AbstractLifeCycle.start(Unknown Source) at org.mortbay.jetty.example.OneWebApp.main(Unknown Source)


Thanks