Eduardo Pelegri-Llopart wrote:
> Hi Bernard.
>
> From the subject line, this seems to be an app using Axis running on
> GlassFish, correct?
>
> We understand that some people want to use frameworks like Axis but it
> is not something we test extensively, specially since, IOHO, we think
> Metro is substatially better...
>
> - Have you tried using Metro instead? (Metro 1.0 is bundled)..
> - If you need/want to continue to use Axis, have you already brought
> this up in the Axis USERS list?
>
> The PWC prefix would suggest it comes from the web container. Jan or
> JFA might be able to point to you in the right direction
>
> - eduard/o
>
>
> Łabno, Bernard wrote:
>
>> Hello,
>> I have application running on glassfish application server.
>> One EJB package contains bean that uses stub to connect to a
>> webservice. I have nothing about that webservice in deployment
>> descriptors. Now when I start the server and deploy the application
>> it runs smoothly, but if i undeploy it and deploy again I get severe
>> exception. I have to restart the glassfish server to get rid of that
>> exception but it is time consuming and in development stage i need it
>> to be quick. Does anybody here has any clue what causes the exception ?
>>
>> PWC1635: Illegal access: this web application instance has been
>> stopped already (the eventual following stack trace is caused by an
>> error thrown for debugging purposes as well as to attempt to
>> terminate the thread which caused the illegal access, and has no
>> functional impact)
>
This means that a component is asking a webapp's classloader to load a
resource before
the webapp has been started, or after it has been stopped.
In the latter case, this would happen if the webapp's classloader was
cached,
but not cleared from the cache when the webapp was stopped or undeployed.
Jan
>> urlSet = [URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/AllegroWebApi.jar,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/BidBull-ejb.jar,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/AllegroEngine-ejb_jar/,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/BidBull-ejb_jar/,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/AllegroEngine-ejb.jar,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/MainQueryEngine-ejb_jar/,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/MainQueryEngine-ejb.jar,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/BidBull-war_war/WEB-INF/classes/,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/generated/ejb/j2ee-apps/BidBull/]
>>
>> doneCalled = false Parent -> EJBClassLoader : urlSet = []
>> doneCalled = false Parent -> java.net.URLClassLoader_at_179a49f
>> AT Thu Oct 25 17:22:45 CEST 2007
>> BY
>> :com.sun.enterprise.loader.EJBClassLoader.printStackTraceToString(EJBClassLoader.java:812)
>>
>> com.sun.enterprise.loader.EJBClassLoader.done(EJBClassLoader.java:172)
>> com.sun.enterprise.server.AbstractLoader.done(AbstractLoader.java:359)
>> com.sun.enterprise.server.ApplicationLoader.unload(ApplicationLoader.java:264)
>>
>> com.sun.enterprise.server.TomcatApplicationLoader.unload(TomcatApplicationLoader.java:213)
>>
>> com.sun.enterprise.server.ApplicationManager.applicationUndeployed(ApplicationManager.java:525)
>>
>> com.sun.enterprise.server.ApplicationManager.applicationUndeployed(ApplicationManager.java:699)
>>
>> com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:930)
>>
>> com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:912)
>>
>> com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:461)
>>
>> com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
>>
>> com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
>>
>> com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
>>
>> com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(ServerDeploymentTarget.java:332)
>>
>> com.sun.enterprise.deployment.phasing.ApplicationStopPhase.runPhase(ApplicationStopPhase.java:136)
>>
>> com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
>>
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
>>
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:652)
>>
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:699)
>>
>> com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(ApplicationsConfigMBean.java:767)
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> java.lang.reflect.Method.invoke(Method.java:597)
>> com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
>>
>> com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
>>
>> com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
>>
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>>
>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>> sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> java.lang.reflect.Method.invoke(Method.java:597)
>> com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
>>
>> $Proxy1.invoke(Unknown Source)
>> com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
>>
>> com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
>>
>> com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
>>
>> com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
>>
>> com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
>>
>> com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
>> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
>>
>> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>>
>> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>>
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
>>
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>>
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
>>
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
>>
>> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
>> com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
>>
>> ;_RequestID=0fd33432-085a-48b6-80e9-e16a1f61ebe9;|LDR5204: Error :
>> Request made to load class or resource
>> [META-INF/services/org.apache.axis.EngineConfigurationFactory] on an
>> EJBClassLoader instance that has already been shutdown.
>> [EJBClassLoader.done() called ON EJBClassLoader : urlSet = [URLEntry
>> :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/AllegroWebApi.jar,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/BidBull-ejb.jar,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/AllegroEngine-ejb_jar/,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/BidBull-ejb_jar/,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/AllegroEngine-ejb.jar,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/MainQueryEngine-ejb_jar/,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/MainQueryEngine-ejb.jar,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/applications/j2ee-apps/BidBull/BidBull-war_war/WEB-INF/classes/,
>> URLEntry :
>> file:/opt/glassfish-v2-b58/domains/domain1/generated/ejb/j2ee-apps/BidBull/]
>>
>> doneCalled = false Parent -> EJBClassLoader : urlSet = []
>> doneCalled = false Parent -> java.net.URLClassLoader_at_179a49f
>> AT Thu Oct 25 17:22:45 CEST 2007
>> BY
>> :com.sun.enterprise.loader.EJBClassLoader.printStackTraceToString(EJBClassLoader.java:812)
>>
>> com.sun.enterprise.loader.EJBClassLoader.done(EJBClassLoader.java:172)
>> com.sun.enterprise.server.AbstractLoader.done(AbstractLoader.java:359)
>> com.sun.enterprise.server.ApplicationLoader.unload(ApplicationLoader.java:264)
>>
>> com.sun.enterprise.server.TomcatApplicationLoader.unload(TomcatApplicationLoader.java:213)
>>
>> com.sun.enterprise.server.ApplicationManager.applicationUndeployed(ApplicationManager.java:525)
>>
>> com.sun.enterprise.server.ApplicationManager.applicationUndeployed(ApplicationManager.java:699)
>>
>> com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:930)
>>
>> com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:912)
>>
>> com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:461)
>>
>> com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
>>
>> com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
>>
>> com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
>>
>> com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(ServerDeploymentTarget.java:332)
>>
>> com.sun.enterprise.deployment.phasing.ApplicationStopPhase.runPhase(ApplicationStopPhase.java:136)
>>
>> com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
>>
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
>>
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:652)
>>
>> com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:699)
>>
>> com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(ApplicationsConfigMBean.java:767)
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> java.lang.reflect.Method.invoke(Method.java:597)
>> com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
>>
>> com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
>>
>> com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
>>
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>>
>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>> sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> java.lang.reflect.Method.invoke(Method.java:597)
>> com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
>>
>> $Proxy1.invoke(Unknown Source)
>> com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
>>
>> com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
>>
>> com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
>>
>> com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
>>
>> com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
>>
>> com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
>>
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
>> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
>>
>> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>>
>> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>>
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
>>
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>>
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>>
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
>>
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
>>
>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
>>
>> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
>> com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
>>
>> ]
>