[jboss-user] [JBossWS] - POJO webservice in war file under jboss 5 beta 4

sducas do-not-reply at jboss.com
Tue May 27 04:11:45 EDT 2008

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?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153491#4153491

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153491

More information about the jboss-user mailing list