[jbossws-issues] [JBoss JIRA] Updated: (JBWS-3061) JBWS944TestCase fails on SOA-P 5.0.2

Boris Belovic (JIRA) jira-events at lists.jboss.org
Wed Jun 16 05:23:46 EDT 2010


     [ https://jira.jboss.org/browse/JBWS-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Belovic updated JBWS-3061:
--------------------------------

    Comment: was deleted

(was: I tried deploying the archive on EAP-5.0.1 production profile and the deployment failed. The problem is probably caused by this file /server/{production,all}/deployers/ejb3.deployer/META-INF/ejb3-iiop-deployers-jboss-beans.xml. I tried to remove this file from META-INF directory, then started production profile and deployment worked correctly.

The ejb3-iiop-deployers-jboss-beans.xml file is new in EAP-5.0.1 and is also present in SOA-P 5.0.2. It is not contained in EAP-5.0.0. Still I am not sure whether this is the only change in EJB3 deployment handling between EAP-5.0.0 and EAP-5.0.1.


Possible workaround for this issue is to add throws clause into org.jboss.test.ws.jaxws.jbws944.EJB3RemoteInterface interface.)


> JBWS944TestCase fails on SOA-P 5.0.2
> ------------------------------------
>
>                 Key: JBWS-3061
>                 URL: https://jira.jboss.org/browse/JBWS-3061
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions:  jbossws-native-3.1.2
>         Environment: RHEL 4,5 (both architectures), Windows 2003 (both architectures) Solaris 9,10
> JDK: Sun JVM 1.6 (jdk1.6.0_18)
> EJB3: implementation version: 1.1.22
>            Reporter: Boris Belovic
>            Priority: Minor
>         Attachments: org.jboss.test.ws.jaxws.jbws944.JBWS944TestCase.txt, server.log, TEST-org.jboss.test.ws.jaxws.jbws944.JBWS944TestCase.xml
>
>
> JBWS944TestCase fails on SOA-P 5.0.2CR1. Running JBWS944TestCase with:
> mvn -e -Djboss.server.instance=production -Djboss510.home=/mnt/hudson_workspace/workspace/soa-ws-jdk16/jdk/java16_default/label/RHEL4_x86_res/jbosssoa/jboss-as -Djava.jdk15.home=/qa/tools/opt/jdk1.6.0_18 -Dtest=**/JBWS944TestCase -Ptestsuite,hudson,jboss510 test
> ends up with this exception:
> 10:57:10,622 INFO  [TomcatDeployment] deploy, ctxPath=/jaxws-jbws944
> 10:57:10,846 WARNING [config] Unable to process deployment descriptor for context '/jaxws-jbws944'
> 10:57:10,850 INFO  [config] Initializing Mojarra (1.2_13-b01-FCS) for context '/jaxws-jbws944'
> 10:57:10,993 WARN  [MainDeployer] Failed to deploy: file:/mnt/hudson_workspace/workspace/soa-ws-jdk16/jdk/java16_default/label/RHEL4_x86_res/src/modules/testsuite/framework-tests/target/test-libs/jaxws-jbws944.jar
> org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
> DEPLOYMENTS IN ERROR:
>   Deployment "jboss.j2ee:jar=jaxws-jbws944.jar,name=FooBean01,service=EJB3_IORFactory" is in error due to the following reason(s): org.jboss.iiop.rmi.RMIIIOPViolationException: All interface methods must throw java.rmi.RemoteException, or a superclass of java.rmi.RemoteException, but method echo of interface org.jboss.test.ws.jaxws.jbws944.EJB3RemoteInterface does not.
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:994)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:940)
> 	at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
> 	at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:862)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:833)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
> 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
> 	at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
> 	at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:104)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> 	at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> 	at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)
> 	at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> 10:57:11,183 INFO  [TomcatDeployment] undeploy, ctxPath=/jaxws-jbws944
> 10:57:11,203 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=jaxws-jbws944,endpoint=FooBean01
> 10:57:11,217 INFO  [SessionSpecContainer] Stopping jboss.j2ee:jar=jaxws-jbws944.jar,name=FooBean01,service=EJB3
> 10:57:11,235 INFO  [EJBContainer] STOPPED EJB: org.jboss.test.ws.jaxws.jbws944.EJB3Bean01 ejbName: FooBean01
> 10:57:11,970 WARN  [MainDeployer] undeploy 'file:/mnt/hudson_workspace/workspace/soa-ws-jdk16/jdk/java16_default/label/RHEL4_x86_res/src/modules/testsuite/framework-tests/target/test-libs/jaxws-jbws944.jar' : package not deployed
> all 3 test method in test case fails as well:
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.jboss.test.ws.jaxws.jbws944.JBWS944TestCase
> javax.management.MBeanException
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:184)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:165)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
> 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
> 	at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
> 	at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:104)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> 	at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> 	at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)
> 	at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: org.jboss.deployment.DeploymentException: Failed to deploy: file:/mnt/hudson_workspace/workspace/soa-ws-jdk16/jdk/java16_default/label/RHEL4_x86_res/src/modules/testsuite/framework-tests/target/test-libs/jaxws-jbws944.jar
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:838)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> 	... 49 more
> Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
> DEPLOYMENTS IN ERROR:
>   Deployment "jboss.j2ee:jar=jaxws-jbws944.jar,name=FooBean01,service=EJB3_IORFactory" is in error due to the following reason(s): org.jboss.iiop.rmi.RMIIIOPViolationException: All interface methods must throw java.rmi.RemoteException, or a superclass of java.rmi.RemoteException, but method echo of interface org.jboss.test.ws.jaxws.jbws944.EJB3RemoteInterface does not.
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:994)
> 	at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:940)
> 	at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
> 	at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:862)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:833)
> 	... 54 more
> Retrieving document at 'http://localhost:8080/jaxws-jbws944/FooBean01?wsdl'.
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 4.215 sec <<< FAILURE!
> Results :
> Tests in error: 
>   testRemoteAccess(org.jboss.test.ws.jaxws.jbws944.JBWS944TestCase)
>   testNarrowedRemoteAccess(org.jboss.test.ws.jaxws.jbws944.JBWS944TestCase)
>   testWebService(org.jboss.test.ws.jaxws.jbws944.JBWS944TestCase)
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list