dev@glassfish.java.net

Re: [v3] exception in WebDeployer during deployment

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Fri, 15 Feb 2008 18:42:49 -0800

Hi Jane,

I checkout two workspaces this afternoon.
In one of them, I see a different stack trace saying:
    java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildListener
On the other workspace, I have done some changes and is working fine.
Since the change is not small (I need to move many files around), I plan
to commit this later, possibly tomorrow.
Thanks for your patient.

Regards,
       Shing Wai Chan

Jane Young wrote:
> Hi,
>
> Failure in deployment with the latest build. See stacktrace below.
> Any idea when this will be fixed?
>
> Jane
>
>
> $ ./asadmin deploy ~/J2EE_apps/hello1.war
> FAILURE : Exception while invoking class
> com.sun.enterprise.web.WebDeployer prepare method :
> java.lang.NullPointerException
>
> server.log:
>
> Feb 15, 2008 5:04:49 PM
> com.sun.enterprise.v3.server.ApplicationLifecycle failure
> SEVERE: Exception while invoking class
> com.sun.enterprise.web.WebDeployer prepare method
> java.lang.NullPointerException
> at com.sun.enterprise.web.WebDeployer.load(WebDeployer.java:208)
> at com.sun.enterprise.web.WebDeployer.load(WebDeployer.java:67)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:337)
>
> at
> com.sun.enterprise.v3.deployment.DeployCommand$1.run(DeployCommand.java:261)
>
> at
> com.sun.enterprise.v3.deployment.DeployCommand$1.run(DeployCommand.java:249)
>
> at org.jvnet.hk2.config.ConfigSupport$1.run(ConfigSupport.java:99)
> at
> org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:163)
> at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:96)
> at
> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:236)
>
> at
> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:171)
>
> at
> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:79)
>
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:144)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:105)
> at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:599)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:530)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:774)
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130)
>
> at
> com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:106)
>
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:102)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:78)
>
> at
> com.sun.grizzly.http.SelectorThread$1.execute(SelectorThread.java:639)
> at
> com.sun.grizzly.ProtocolChainContextTask.call(ProtocolChainContextTask.java:61)
>
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
> Feb 15, 2008 5:04:49 PM org.apache.catalina.core.StandardContext stop
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>