[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2176) Test require forkMode pertest

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Sat May 10 04:19:22 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBWS-2176?page=comments#action_12412397 ] 
            
Thomas Diesler commented on JBWS-2176:
--------------------------------------

On AS50x

all tests fail with using <forkMode>pertest</forkMode> 

Caused by: java.lang.IllegalStateException: Failed to load: org.jboss.ws.core.jaxws.spi.ProviderImpl
        at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:159)
        at javax.xml.ws.spi.Provider.provider(Provider.java:82)
        at javax.xml.ws.Service.<init>(Service.java:81)
        at org.jboss.test.ws.jaxws.webserviceref.TestEndpointService.<init>(TestEndpointService.java:62)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at org.apache.maven.surefire.testset.PojoTestSet.<init>(PojoTestSet.java:55)
        at org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.createTestSet(JUnitDirectoryTestSuite.java:64)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96)
        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:585)
        at org.apache.maven.surefire.booter.SurefireBooter.getTestSets(SurefireBooter.java:448)


> Test require forkMode pertest
> -----------------------------
>
>                 Key: JBWS-2176
>                 URL: http://jira.jboss.com/jira/browse/JBWS-2176
>             Project: JBoss Web Services
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>         Assigned To: Richard Opalka
>             Fix For:  jbossws-native-3.0.2
>
>
> There seems to be a threading issue or otherwise improper handling of shared resources (i.e. system properties, ThreadLocal associations)
> mvn -Pjboss422 -Dnoprepare -Dtest=jaxrpc/wsse/*TestCase test
> passes only with <forkMode>pertest</forkMode>

-- 
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 jbossws-issues mailing list