Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] nojdk error with Jettyt 7.5.3

Same baahviour detected here (nojdk error when trying to use JSPs):
win7 x32
JDK 1.7
jetty 7.5.x

though the same server setup works fine on jetty 7.4.x 

On Wed, Oct 12, 2011 at 19:59, Evan Ruff <evan.ruff@xxxxxxxxxxxxxxxxxxxx> wrote:
Joakmin and Leonard,

I reported a similar issue using Jetty 7.5.1 on Windows. The list mentioned that 7.5.2 cleaned up the error, but I haven't gotten a chance to test.

Are you on Windows?

E

On Wed, Oct 12, 2011 at 11:57 AM, Joakim Erdfelt <joakim@xxxxxxxxxxx> wrote:
The line ...
" org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608) "
tells me you have JSP files.

You are required to use a JDK when you have JSP, a JRE is not sufficient to work with JSP files.
You will have to configure your environment to have JAVA_HOME point to the JDK, not the JRE.

--
Joakim Erdfelt

(the people behind jetty and cometd)



On Wed, Oct 12, 2011 at 8:42 AM, Leonard Smith <lrsmith@xxxxxxxxx> wrote:
To all,

I am trying to run solr 1.4 on Jetty 7.5.3. I had it working on 7.5.1.
 This is on

Centos 5.6
JRE 1.6.0-24
Solr 1.4
Jetty 7.5.3

When I access /solr I get the error below. I've google and I've tried
installing the JDK, but it doesn't work and I'd like to not have the
JDK on anyway.

Thanks
Len



org.apache.jasper.JasperException: java.err.nojdk
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:89)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:375)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
       at org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:198)
       at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:364)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:433)
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:476)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:366)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
       at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
       at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940)
       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
       at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
       at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
       at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:555)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
       at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1358)
       at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:286)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329)
       at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
       at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:144)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329)
       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
       at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:471)
       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940)
       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
       at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
       at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
       at org.eclipse.jetty.server.Server.handle(Server.java:349)
       at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
       at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)
       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)
       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
       at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:52)
       at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
       at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
       at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
       at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
       at java.lang.Thread.run(Unknown Source)
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top