Thanks Hong for the quick response.
Yes, deploying hello1.war works.
Hong Zhang wrote:
> Hi, Jane
>
>> I checked-out and built GlassFish V3 last night (Nov 13). Followed
>> the instruction to unbundle the distribution and ran the server.
>> When deploying webapp-simple.war, I'm seeing the following error below.
>>
>> Any idea why I can't deploy?
>>
> I got the same problem as you last time I tried. I think there is some
> additional support needed from web container to support
> webapps-simple.war. Try to deploy the simpler web application
> hello1.war from here:
>
> http://wiki.glassfish.java.net/Wiki.jsp?page=HelloUser
>
> Thanks,
>
> - Hong
>
>>
>>
>> From client:
>> janey:/export/Glassfish/glassfish_v3/v3/execute/glassfish/bin janey$
>> ./asadmin deploy /export/J2EE_applications/webapps-simple.war
>> FAILURE : Exception while invoking class
>> com.sun.enterprise.v3.web.WebDeployer prepare method :
>> java.lang.IllegalStateException: ContainerBase.addChild: start:
>> LifecycleException: start: : java.lang.IllegalAccessError: tried to
>> access method
>> org.apache.catalina.loader.WebappClassLoader.addJar(Ljava/lang/String;Ljava/util/jar/JarFile;Ljava/io/File;)V
>> from class org.apache.catalina.loader.WebappLoader
>>
>> From server:
>> SEVERE: LifecycleException
>> java.lang.IllegalAccessError: tried to access method
>> org.apache.catalina.loader.WebappClassLoader.addJar(Ljava/lang/String;Ljava/util/jar/JarFile;Ljava/io/File;)V
>> from class org.apache.catalina.loader.WebappLoader
>> at
>> org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1144)
>>
>> at
>> org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:741)
>> at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5053)
>>
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
>>
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
>> at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
>> at
>> com.sun.enterprise.v3.web.WebDeployer.load(WebDeployer.java:185)
>> at
>> com.sun.enterprise.v3.web.WebDeployer.load(WebDeployer.java:67)
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:224)
>>
>> at
>> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:196)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:246)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:162)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:110)
>> at
>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>>
>> at
>> com.sun.enterprise.v3.services.impl.GrizzlyAdapter.service(GrizzlyAdapter.java:251)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:598)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:529)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:773)
>>
>> at
>> com.sun.grizzly.http.SelectorThread$4.execute(SelectorThread.java:755)
>> at
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:77)
>>
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:56)
>>
>> at
>> com.sun.grizzly.http.SelectorThread$2.execute(SelectorThread.java:656)
>> at com.sun.grizzly.Context.call(Context.java:250)
>> at
>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:138)
>> Nov 14, 2007 6:26:28 PM org.apache.catalina.core.ContainerBase
>> addChildInternal
>> SEVERE: ContainerBase.addChild: start:
>> LifecycleException: start: : java.lang.IllegalAccessError: tried to
>> access method
>> org.apache.catalina.loader.WebappClassLoader.addJar(Ljava/lang/String;Ljava/util/jar/JarFile;Ljava/io/File;)V
>> from class org.apache.catalina.loader.WebappLoader
>> at
>> org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:755)
>> at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5053)
>>
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
>>
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
>> at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
>> at
>> com.sun.enterprise.v3.web.WebDeployer.load(WebDeployer.java:185)
>> at
>> com.sun.enterprise.v3.web.WebDeployer.load(WebDeployer.java:67)
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:224)
>>
>> at
>> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:196)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:246)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:162)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:110)
>> at
>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>>
>> at
>> com.sun.enterprise.v3.services.impl.GrizzlyAdapter.service(GrizzlyAdapter.java:251)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:598)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:529)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:773)
>>
>> at
>> com.sun.grizzly.http.SelectorThread$4.execute(SelectorThread.java:755)
>> at
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:77)
>>
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:56)
>>
>> at
>> com.sun.grizzly.http.SelectorThread$2.execute(SelectorThread.java:656)
>> at com.sun.grizzly.Context.call(Context.java:250)
>> at
>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:138)
>> Nov 14, 2007 6:26:28 PM
>> com.sun.enterprise.v3.server.ApplicationLifecycle failure
>> SEVERE: Exception while invoking class
>> com.sun.enterprise.v3.web.WebDeployer prepare method
>> java.lang.IllegalStateException: ContainerBase.addChild: start:
>> LifecycleException: start: : java.lang.IllegalAccessError: tried to
>> access method
>> org.apache.catalina.loader.WebappClassLoader.addJar(Ljava/lang/String;Ljava/util/jar/JarFile;Ljava/io/File;)V
>> from class org.apache.catalina.loader.WebappLoader
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:976)
>>
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
>> at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
>> at
>> com.sun.enterprise.v3.web.WebDeployer.load(WebDeployer.java:185)
>> at
>> com.sun.enterprise.v3.web.WebDeployer.load(WebDeployer.java:67)
>> at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.load(ApplicationLifecycle.java:224)
>>
>> at
>> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:196)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:246)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:162)
>>
>> at
>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:110)
>> at
>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
>>
>> at
>> com.sun.enterprise.v3.services.impl.GrizzlyAdapter.service(GrizzlyAdapter.java:251)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:598)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:529)
>>
>> at
>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:773)
>>
>> at
>> com.sun.grizzly.http.SelectorThread$4.execute(SelectorThread.java:755)
>> at
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:77)
>>
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:56)
>>
>> at
>> com.sun.grizzly.http.SelectorThread$2.execute(SelectorThread.java:656)
>> at com.sun.grizzly.Context.call(Context.java:250)
>> at
>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:138)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>