quality@glassfish.java.net

Re: Problem Deploying an Application

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 08 Sep 2008 08:59:25 -0700

This is a known issue, see

   https://glassfish.dev.java.net/issues/show_bug.cgi?id=5364

Jan

On 09/ 7/08 06:40 PM, Alan Vargas wrote:
> Well,
>
> I'm trying to deploy a hello application in the new prelude of
> Glassfish, but when I try to do that, appears this error:
>
>
> HTTP Status 500 -
>
> ------------------------------------------------------------------------
>
> *type* Exception report
>
> *message*
>
> *description*The server encountered an internal error () that
> prevented it from fulfilling this request.
>
> *exception*
>
> org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
>
> *root cause*
>
> java.lang.NullPointerException
>
> *note* _The full stack traces of the exception and its root causes are
> available in the GlassFish/v3 logs._
>
> ------------------------------------------------------------------------
> And this is the log:
>
> [#|2008-09-07T20:36:16.484-0500|SEVERE||javax.enterprise.system.container.web|_ThreadID=19;_ThreadName=Thread-3;|StandardWrapperValve[jsp]:
> PWC1406: Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
> at
> org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:197)
> at
> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:361)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
> 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:431)
> at
> org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:462)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:307)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:152)
> at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:621)
> at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:552)
> at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:800)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
> at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:70)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> at
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:309)
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:168)
> |#]
>
> I hope that you can help me...telling me what is the problem and how
> can i fix that...thank you
>
> Regards!
>
> --
>
>
> Sun Email <http://www.sun.com> * Alan Vargas *
> Sun Campus Ambassador
> UAEM México
>
> *Sun Microsystems México, Inc.*
> Phone +52 713 1315929
> Cel +52 722 467 7450
> Email Alan.Vargas_at_Sun.COM <mailto:Alan.Vargas_at_Sun.COM>
> Sun Email <http://www.sun.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: quality-help_at_glassfish.dev.java.net