[jboss-jira] [JBoss JIRA] Commented: (JBAS-5257) jboss:service=defaultClassLoader is not registered with dynamic webapp deployment
Heiko Braun (JIRA)
jira-events at lists.jboss.org
Thu Jun 12 16:19:55 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5257?page=comments#action_12416893 ]
Heiko Braun commented on JBAS-5257:
-----------------------------------
With the latest trunk (-r74499) the issue doesn't appear anymore. But the test still fails because the Endpoint.deploy() API fails.
It deployes the web service endpoint:
22:12:30,542 INFO [MainDeployer] deploy, url=file:/home/hbraun/dev/prj/jbossws/stack/native/tags/jbossws-3.0.1-native-2.0.4.GA/output/tests/libs/jaxws-endpoint-servlet.war
22:12:30,735 INFO [TomcatDeployment] deploy, ctxPath=/jaxws-endpoint-servlet, vfsUrl=
22:12:59,712 INFO [DefaultEndpointRegistry] register: jboss.ws:context=jaxws-endpoint,endpoint=EndpointBean
22:13:04,803 INFO [WSDLFilePublisher] WSDL published to: file:/home/hbraun/dev/prj/jbossas/trunk/build/output/jboss-5.0.0.CR1/server/default/data/wsdl/endpoint-deployment/TestService11917.wsdl
but the Http listener is not available:
Caused by: org.jboss.ws.WSException: Invalid HTTP server response [404] - /jaxws-endpoint
at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:77)
at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:535)
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:354)
at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:220)
The WSDL request points to /jaxws-endpoint?wsdl and get's a 404
> jboss:service=defaultClassLoader is not registered with dynamic webapp deployment
> ---------------------------------------------------------------------------------
>
> Key: JBAS-5257
> URL: http://jira.jboss.com/jira/browse/JBAS-5257
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Deployers
> Reporter: Thomas Diesler
> Assigned To: Dimitris Andreadis
> Fix For: JBossAS-5.0.0.CR1
>
>
> [tdiesler at tdvaio trunk]$ ant -Dtest=jaxws/endpoint test
> tests-run-internal:
> [junit] Running org.jboss.test.ws.jaxws.endpoint.EndpointTestCase
> [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 2.678 sec
> [junit] Test org.jboss.test.ws.jaxws.endpoint.EndpointTestCase FAILED
> 21:00:51,741 INFO [TomcatDeployment] deploy, ctxPath=/jaxws-endpoint-servlet, vfsUrl=
> 21:00:51,876 INFO [DefaultEndpointRegistry] register: jboss.ws:context=jaxws-endpoint,endpoint=EndpointBean
> 21:00:52,080 INFO [WSDLFilePublisher] WSDL published to: file:/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.CR1/server/default/data/wsdl/endpoint-deployment/TestService1845.wsdl
> 21:00:52,089 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss.jacc:id=endpoint-deployment,service=jacc state=Described mode=Manual requiredState=Configured
> org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.jacc:service=jacc,id=endpoint-deployment
> at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
> ...
> Caused by: javax.management.InstanceNotFoundException: jboss:service=defaultClassLoader is not registered.
> at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)
> at org.jboss.mx.server.MBeanServerImpl.getClassLoader(MBeanServerImpl.java:1094)
> at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:191)
> at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115)
> It seems that the JACC service does not use the classloader that was supplied whit the webapp deployment
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list