JBoss is looking for ejb-link for POJO sevlet web service?
Issue
-
When we deploy a simple POJO web service to JBOSS it throws an exception complaining that ejb-link is null. We are not using ejbs in the web service we're using servlet-link so we're not sure why it's looking for ejb-link. Our jboss-web.xml, webservices.xml, web.xml, and *-java-wsdl-mapping.xml are below. We tried removing any jaxrpc jars from the profile's lib but that made no difference. JBOSS has known classloading bugs, we're not sure if this is related.
Caused by: java.lang.IllegalStateException: ejb-link cannot be null at org.jboss.wsf.container.jboss50.deployer.JAXRPCDeployerHookEJB21.createDeployment(JAXRPCDeployerHookEJB21.java:87) at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:71) at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60) at org.jboss.wsf.container.jboss50.deployer.WebServiceDeployerEJB.internalDeploy(WebServiceDeployerEJB.java:113) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) ... 29 more
Environment
- JBoss Enterprise Application Platform (EAP) 5.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
