users@glassfish.java.net

Can not use glassfish in eclipse , the error is java.err.nojdk

From: Sarah kho <sarah.kho_at_gmail.com>
Date: Wed, 4 Feb 2009 13:06:28 +0330

Hi

Thank you for reading my post

I am trying to use GlassFish with eclipse and unfortunately it does not
works.

I tried with glassfish 2 and glassfish 3 with no luck. all that I get is the
followin error. i tried to use server properties window to change the
glassfish JRE with but it has no effect.

is there any workaround for this problem?

thanks

SEVERE: StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet
jsp threw exception
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:195)
 at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:361)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:429)
 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:473)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:366)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
 at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:465)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:306)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:656)
 at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
 at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
 at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:346)
 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:244)
 at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
 at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:646)
 at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
 at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:821)
 at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:153)
 at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
 at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
 at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
 at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
 at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
 at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)