users@glassfish.java.net

Re: 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 14:24:09 +0330

It works with V2.

My JAVA_HOME variable points to a valid JDK.

I have no problem with asadmin command. it start the application server
correctly and I can see the administration console.

thanks

On Wed, Feb 4, 2009 at 1:33 PM, Ludovic Champenois <
Ludovic.Champenois_at_sun.com> wrote:

> Nothing specific to eclipse there, you would see the same v3 error with
> asadmin start-domain
>
> Make sure you set JAVA_HOME to a correct jdk location.
>
> Not nice, but v3 limitation in the setup.
>
> For v2, which error do you see?
>
> Ludo
>
> On Feb 4, 2009, at 1:36 AM, Sarah kho <sarah.kho_at_gmail.com> wrote:
>
> 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)
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>