-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
DOM2Utils resues a DocumentBuilder across all threads. DocumentBuilder is not guaranteed to be thread-safe, and the xerces implementation is not.
19:29:14,390 Thread-2 ERROR org.jboss.webservice.client.ServiceFactoryImpl Cannot construct meta data from:
[junit] at org.jboss.webservice.deployment.TypeMappingDescription.initMetaDataFromJavaXMLTypeMapping(TypeMappingDescription.java:141)
[junit] at org.jboss.webservice.deployment.TypeMappingDescription.<init>(TypeMappingDescription.java:89)
[junit] at org.jboss.webservice.deployment.ServiceDescription.initTypeMappings(ServiceDescription.java:924)
[junit] at org.jboss.webservice.deployment.ServiceDescription.initServiceDescription(ServiceDescription.java:141)
[junit] at org.jboss.webservice.deployment.ServiceDescription.<init>(ServiceDescription.java:108)
[junit] at org.jboss.webservice.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:171)
[junit] at edu.msu.ais.webservice.client.AuthenticationClient.getConnection(AuthenticationClient.java:417)
[junit] at edu.msu.ais.webservice.client.AuthenticationClient.getCredential(AuthenticationClient.java:236)
[junit] at edu.msu.ais.webservice.unittest.StressTestCase$ClientProcessor.runTest(StressTestCase.java:101)
[junit] at net.sourceforge.groboutils.junit.v1.TestRunnable.run(TestRunnable.java:88)
[junit] at java.lang.Thread.run(Thread.java:595)