1 Reply Latest reply on Feb 26, 2008 8:15 AM by Burr Sutter

    JBossWS throws when deploying a web service

    Nate Roe Newbie

      I'm running Java v1.6, and JBoss 4.0.5 (without EJB3.)

      I've deployed versions 2.0.0 of JBossWS according to the JBossESB Administration Guide (p17.) I have previously deployed and undeployed versions 2.0.1, 2.0.2, and 2.0.3 of JBossWS as well.

      When I deploy my ESB, the following exception is thrown:

      11:19:03,868 ERROR [MainDeployer] Could not create deployment: file:/C:/dev/jbos
      s-4.0.5/server/default/tmp/deploy/tmp20823hello.esb-contents/hello.war
      java.lang.NullPointerException
       at org.jboss.wsf.container.jboss42.WebMetaDataAdapter.buildUnifiedWebMet
      aData(WebMetaDataAdapter.java:64)
       at org.jboss.wsf.container.jboss42.DeploymentInfoAdapter.buildMetaData(D
      eploymentInfoAdapter.java:117)
       at org.jboss.wsf.container.jboss42.DeploymentInfoAdapter.buildDeployment
      Info(DeploymentInfoAdapter.java:86)
       at org.jboss.wsf.container.jboss42.UnifiedDeploymentInfoDeployer.create(
      UnifiedDeploymentInfoDeployer.java:64)
       at org.jboss.wsf.spi.deployment.BasicDeployerManager.deploy(BasicDeploye
      rManager.java:69)
       at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
      loyerHook.java:97)
       at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerIn
      terceptor.java:79)
       at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
      create(Unknown Source)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(Unknown Source)
       at org.jboss.mx.server.Invocation.invoke(Unknown Source)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Unknown Source)
       at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
       at org.jboss.mx.util.MBeanProxyExt.invoke(Unknown Source)
       at $Proxy39.create(Unknown Source)
       at org.jboss.deployment.MainDeployer.create(Unknown Source)
       at org.jboss.deployment.MainDeployer.create(Unknown Source)
       at org.jboss.deployment.MainDeployer.deploy(Unknown Source)
       at org.jboss.deployment.MainDeployer.deploy(Unknown Source)
       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Unknown Source)
       at org.jboss.mx.server.Invocation.dispatch(Unknown Source)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(Unknown Source)
       at org.jboss.mx.server.Invocation.invoke(Unknown Source)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Unknow
      n Source)
       at org.jboss.mx.server.Invocation.invoke(Unknown Source)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Unknown Source)
       at org.jboss.mx.server.MBeanServerImpl.invoke(Unknown Source)
       at org.jboss.mx.util.MBeanProxyExt.invoke(Unknown Source)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(Unknown Sour
      ce)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(Unknown Source
      )
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(Unknown Source)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(Unknown Source)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      


      The first thing that I notice is that it's referring to org.jboss.wsf.container.jboss42.WebMetaDataAdapter instead of org.jboss.wsf.container.jboss40.WebMetaDataAdapter

      Does it seem likely that this is the cause of my problem (that it's using JBoss 4.2 classes instead of 4.05 classes?) How can I fix this?