4 Replies Latest reply on Aug 15, 2004 3:20 PM by Thomas Diesler

    weird deploy problem: ".. XML document must not be ...." ???

    Alon Agmon Newbie

      hello friends recenetly we started migrating production web services
      to javaWS (till the jboss 4 ver will be final)
      for some time now im trying to deploy a very simple WS and keep getting
      this exception :

      :32:44,281 INFO [EARDeployer] Init J2EE application: file:/C:/jboss4/jboss-4.0.0RC1/server/default/deploy/book.ear

      ........

      4:32:44,937 INFO [WSDLFilePublisher] WSDL published to: file:/C:/jboss4/jboss-4.0.0RC1/server/default/data/wsdl/book.jar/servi
      4:32:45,031 INFO [AxisService] WSDD published to: C:\jboss4\jboss-4.0.0RC1\server\default\data\wsdl\book.jar\bookServiceEJB.ws
      4:32:45,031 INFO [AxisService] Web Service deployed: http://localhost:8080/ws4ee/services/bookServiceEJB
      4:32:45,031 ERROR [ServiceDeployer] Cannot startup webservice for: book.jar
      ava.lang.IllegalArgumentException: Adding text to an XML document must not be null
      at org.dom4j.DocumentFactory.createText(DocumentFactory.java:142)
      at org.dom4j.tree.AbstractElement.addText(AbstractElement.java:1286)
      at org.jboss.webservice.ServiceDeployerEJB.deployWebservices(ServiceDeployerEJB.java:210)
      at org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:178)
      at org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:105)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
      at $Proxy21.handleNotification(Unknown Source)
      at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:98)
      at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:83)
      at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:178)
      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:620)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:863)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:855)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:674)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
      at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      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:230)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)

      if anyone can help.....