1 Reply Latest reply on Jan 15, 2005 3:07 PM by Thomas Hart

    ClassCastException: QName

    Thomas Hart Newbie

      Hello im new to jbossws. I use JBoss 4.0.1RC1 running with sun jdk 1.5.0-b64. When i try to deploy my war i get the follow exception. Is this my mistake or a bug?

      19:26:22,405 INFO [TomcatDeployer] deploy, ctxPath=/soap, warUrl=file:/home/thomas/coder/4prabe/jboss-4.0.1RC1/server/default/tmp/deploy/tmp57178rabe.ear-contents/soap-exp.war/
      19:26:22,885 INFO [WSDLFilePublisher] WSDL published to: file:/home/thomas/coder/4prabe/jboss-4.0.1RC1/server/default/data/wsdl/soap.war/HelloWorld.wsdl
      19:26:23,671 ERROR [ServiceDeployer] Cannot startup webservice for: soap.war
      org.jboss.deployment.DeploymentException: Cannot deploy webservice; - nested throwable: (javax.management.RuntimeMBeanException)
       at org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:342)
       at org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:203)
       at org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:113)
       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
       at $Proxy28.handleNotification(Unknown Source)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
       at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:95)
       at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:178)
       at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:378)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:944)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:936)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:718)
       at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:463)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
      Caused by: javax.management.RuntimeMBeanException
       at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:165)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:152)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
       at org.jboss.webservice.ServiceDeployer.deployWebservices(ServiceDeployer.java:333)
       ... 33 more
      Caused by: java.lang.ClassCastException: javax.xml.namespace.QName
       at java.util.Arrays.mergeSort(Arrays.java:1156)
       at java.util.Arrays.sort(Arrays.java:1080)
       at org.jboss.webservice.deployment.WSDDGenerator.appendTypeMappings(WSDDGenerator.java:115)
       at org.jboss.webservice.AxisService.generateDeploymentWSDD(AxisService.java:420)
       at org.jboss.webservice.AxisService.deployService(AxisService.java:243)
       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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
       ... 38 more