Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] How to fix ""?

There was discussion of this on this list last week I believe.

The issue is that we updated the version of jasper (jsp engine from Glassfish) that we use in 7.5.0  and it insists on using the in-jvm compiler if you're using jdk1.6 or above. Therefore, you need to have a full jdk installed (until we can get a patch into a release, stay tuned for that).

I documented this here:


On 28 October 2011 00:11, Dmitriy Avtonomov <dmitriy.avtonomov@xxxxxxxxx> wrote:
there were some mentions of such an issue with 7.5.x. versions on this mailing list, plus I have encountered this myself.


On Thu, Oct 27, 2011 at 14:06, Hendrik Schenk <hschenk@xxxxxxx> wrote:
I tried the jetty version 7.4.5. and it works fine. thank you for your help.

it is a known bug of 7.5? works for me :)

best regards


----- Original Message -----

From: Hendrik Schenk

Sent: 10/27/11 11:55 AM

To: JETTY user mailing list

Subject: Re: [jetty-users] How to fix ""?

i tried the JSP example provided from jetty and deployed a test .war-file, which consist an easy JSP and work in other container/server like tomcat, jboss and glassfish (all with the same env-variable JAVA_HOME) . Still the same error.
I also tried to change the jdk. I tried jdk 6 and the new one - jdk 7. And again:

now i will give the 7.4.x version a try and report back.


----- Original Message -----

From: Dmitriy Avtonomov

Sent: 10/27/11 11:39 AM

To: JETTY user mailing list

Subject: Re: [jetty-users] How to fix ""?

do you happen to use JSPs in your project?
if so, then either try jetty 7.4.x
or use an older jdk (you're probably using jdk 1.7?)

On Thu, Oct 27, 2011 at 13:26, Hendrik Schenk <hschenk@xxxxxxx> wrote:
Hi all,

i want to use jetty instead of tomcat. I downloaded the newest stable 7 release from here:

I unzipped the package on my windows machine and start the server in the command prompt "java -jar start-jar".

I can reach the welcome page and also the servlet example work. But if i try one of the JSP examples, i will get the always same error:


Problem accessing /jsp/tag2.jsp. Reason:


Caused by:

org.apache.jasper.JasperException: java.err.nojdk 
	at org.apache.jasper.compiler.DefaultErrorHandler.jspError( 
	at org.apache.jasper.compiler.ErrorDispatcher.dispatch( 
	at org.apache.jasper.compiler.ErrorDispatcher.jspError( 
	at org.apache.jasper.compiler.Jsr199JavaCompiler.compile( 
	at org.apache.jasper.compiler.Compiler.generateClass( 
	at org.apache.jasper.compiler.Compiler.compile( 
	at org.apache.jasper.JspCompilationContext.compile( 
	at org.apache.jasper.servlet.JspServletWrapper.service( 
	at org.apache.jasper.servlet.JspServlet.serviceJspFile( 
	at org.apache.jasper.servlet.JspServlet.service( 
	at javax.servlet.http.HttpServlet.service( 
	at org.eclipse.jetty.servlet.ServletHolder.handle( 
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( 
	at org.eclipse.jetty.servlets.QoSFilter.doFilter( 
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( 
	at com.acme.TestFilter.doFilter( 
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter( 
	at org.eclipse.jetty.servlet.ServletHandler.doHandle( 
	at org.eclipse.jetty.server.handler.ScopedHandler.handle( 
	at org.eclipse.jetty.server.session.SessionHandler.doHandle( 
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle( 
	at org.eclipse.jetty.servlet.ServletHandler.doScope( 
	at org.eclipse.jetty.server.session.SessionHandler.doScope( 
	at org.eclipse.jetty.server.handler.ContextHandler.doScope( 
	at org.eclipse.jetty.server.handler.ScopedHandler.handle( 
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle( 
	at org.eclipse.jetty.server.handler.HandlerCollection.handle( 
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle( 
	at org.eclipse.jetty.server.Server.handle( 
	at org.eclipse.jetty.server.HttpConnection.handleRequest( 
	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete( 
	at org.eclipse.jetty.http.HttpParser.parseNext( 
	at org.eclipse.jetty.http.HttpParser.parseAvailable( 
	at org.eclipse.jetty.server.AsyncHttpConnection.handle( 
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( 
	at org.eclipse.jetty.util.thread.QueuedThreadPool$ 
	at Source) 

Powered by Jetty://

I "googled" a lot and cannot find a solution to solve my problem. I already set the evironment variable and it points to my jdk (Name: "JAVA_HOME" Value: "C:\Program Files (x86)\Java\jdk1.6.0_16"  - without the ' " ')

I run jetty on my windows machine with windows 7 enterprise (64bit). I spent a lot of time to fix this problem, but i cannot find any solution.

Thank you for your help in advance!

best regards

jetty-users mailing list



jetty-users mailing list

jetty-users mailing list

Back to the top