de/git-client/maerqiang-work/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/data/wsdl/jaxws-benchmark-datatypes-pojo.war/EndpointWrappedRPCService.wsdl
11:03:14,450 ERROR [stderr] (MSC service thread 1-12) javax.xml.datatype.DatatypeConfigurationException: Provider __redirected.__DatatypeFactory not found
11:03:14,451 ERROR [stderr] (MSC service thread 1-12) at javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:137)
11:03:14,451 ERROR [stderr] (MSC service thread 1-12) at org.jboss.test.ws.jaxws.benchmark.test.datatypes.EndpointPOJOWrappedDocImpl.<clinit>(EndpointPOJOWrappedDocImpl.java:54)
11:03:14,452 ERROR [stderr] (MSC service thread 1-12) at sun.misc.Unsafe.ensureClassInitialized(Native Method)
11:03:14,452 ERROR [stderr] (MSC service thread 1-12) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
11:03:14,453 ERROR [stderr] (MSC service thread 1-12) at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
11:03:14,453 ERROR [stderr] (MSC service thread 1-12) at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
11:03:14,454 ERROR [stderr] (MSC service thread 1-12) at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
11:03:14,454 ERROR [stderr] (MSC service thread 1-12) at java.lang.reflect.Field.get(Field.java:358)
11:03:14,454 ERROR [stderr] (MSC service thread 1-12) at org.jboss.invocation.proxy.AbstractProxyFactory$MethodAccessibilitySetter.run(AbstractProxyFactory.java:253)
11:03:14,455 ERROR [stderr] (MSC service thread 1-12) at org.jboss.invocation.proxy.AbstractProxyFactory$MethodAccessibilitySetter.run(AbstractProxyFactory.java:244)
11:03:14,455 ERROR [stderr] (MSC service thread 1-12) at java.security.AccessController.doPrivileged(Native Method)
11:03:14,456 ERROR [stderr] (MSC service thread 1-12) at org.jboss.invocation.proxy.AbstractProxyFactory.afterClassLoad(AbstractProxyFactory.java:108)
11:03:14,456 ERROR [stderr] (MSC service thread 1-12) at org.jboss.invocation.proxy.AbstractClassFactory.defineClass(AbstractClassFactory.java:158)
11:03:14,457 ERROR [stderr] (MSC service thread 1-12) at org.jboss.invocation.proxy.AbstractProxyFactory.getCachedMethods(AbstractProxyFactory.java:118)
11:03:14,457 ERROR [stderr] (MSC service thread 1-12) at org.jboss.as.ejb3.component.stateless.StatelessComponentDescription$2.configure(StatelessComponentDescription.java:121)
11:03:14,457 ERROR [stderr] (MSC service thread 1-12) at org.jboss.as.ee.component.ComponentDescription$DefaultFirstConfigurator.configure(ComponentDescription.java:778)
11:03:14,458 ERROR [stderr]
(MSC service thread 1-12) at org.jboss.as.ee.component.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:65)
11:03:14,458 ERROR [stderr] (MSC service thread 1-12) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
11:03:14,459 ERROR [stderr] (MSC service thread 1-12) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
11:03:14,459 ERROR [stderr] (MSC service thread 1-12) at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
11:03:14,459 ERROR [stderr] (MSC service thread 1-12) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:886)
11:03:14,460 ERROR [stderr] (MSC service thread 1-12) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
11:03:14,460 ERROR [stderr] (MSC service thread 1-12) at java.lang.Thread.run(Thread.java:662)
11:03:14,461 ERROR [stderr] (MSC service thread 1-12) Caused by: java.lang.ClassNotFoundException: __redirected/__DatatypeFactory
11:03:14,461 ERROR [stderr] (MSC service thread 1-12) at java.lang.Class.forName0(Native Method)
11:03:14,462 ERROR [stderr] (MSC service thread 1-12) at java.lang.Class.forName(Class.java:247)
11:03:14,462 ERROR [stderr
] (MSC service thread 1-12) at javax.xml.datatype.FactoryFinder.getProviderClass(FactoryFinder.java:121)
11:03:14,463 ERROR [stderr] (MSC service thread 1-12) at javax.xml.datatype.FactoryFinder.newInstance(FactoryFinder.java:146)
11:03:14,463 ERROR [stderr] (MSC service thread 1-12) at javax.xml.datatype.FactoryFinder.find(FactoryFinder.java:187)
11:03:14,463 ERROR [stderr] (MSC service thread 1-12) at javax.xml.datatype.DatatypeFactory.newInstance(DatatypeFactory.java:131)
11:03:14,464 ERROR [stderr] (MSC service thread 1-12) ... 22 more
-------------------EndpointPOJOWrappedDocImpl.java------------------
@WebService(serviceName = "EndpointWrappedDocService", portName = "EndpointWrappedDocPort", endpointInterface = "org.jboss.test.ws.jaxws.benchmark.test.datatypes.EndpointWrappedDoc")
@Stateless
public class EndpointPOJOWrappedDocImpl implements EndpointDoc
{
private static Duration dayDuration;
static
{
try
{
dayDuration = DatatypeFactory.newInstance().newDuration(86400000L);
}
catch (DatatypeConfigurationException e)
{
dayDuration = null;
e.printStackTrace();
}
}
private static final List<String> stringList;
static
{
stringList = new ArrayList<String>();
for (int i = 0; i < 10; i++)
{
stringList.add("item " + i);
}
}
public String sayHello(String toWhom)
{
String greeting = "Hello World Greeting for '" + toWhom + "' today";
return greeting;
}
}
-------web.xml----------
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns=
version="2.4">
<servlet>
<servlet-name>EndpointPOJOWrappedDocImpl</servlet-name>
<servlet-class>org.jboss.test.ws.jaxws.benchmark.test.datatypes.EndpointPOJOWrappedDocImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>EndpointPOJOWrappedDocImpl</servlet-name>
<url-pattern>/EndpointPOJOWrappedDocImpl</url-pattern>
</servlet-mapping>
</web-app>