3 Replies Latest reply on May 27, 2008 12:36 PM by Stephane DUCAS

    POJO webservice in war file under jboss 5 beta 4

    Stephane DUCAS Newbie

      Hello all!

      I'm trying to get my webservice work from as 4.0.2 to 5.0beta4..

      It's a POJO implementation bundled in WEB-INF/classes folder of a war archive

      I can not make it work with AS 5 beta 4, when starting server has this excpetion:

      Caused by: java.lang.IllegalStateException: Cannot obtain context root
      at org.jboss.wsf.framework.deployment.BackwardCompatibleURLPatternDeploymentAspect.getExplicitPattern(BackwardCompatibleURLPatternDeploymentAspect.java:50)
      at org.jboss.wsf.framework.deployment.URLPatternDeploymentAspect.create(URLPatternDeploymentAspect.java:50)
      at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
      at org.jboss.wsf.container.jboss50.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:95)
      at org.jboss.wsf.container.jboss50.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:63)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      ... 17 more

      Has someone experienced a POJO in war file with jboss5beta4 ?

      I've tryed putting it to session EJB3 (still in a war file) but the same exception appear...

      Is it still possbile to have a web service in war file with as5?

      Where can I find any sample of a such war?