[jboss-user] [JBoss Web Services Users] - Unable to process deployment descriptor for context and @Web
chubinator
do-not-reply at jboss.com
Tue Oct 27 13:47:04 EDT 2009
Hello,
I've created some JbossWS web services using the top-down approach and wsconsume. I'm deploying a Stateless EJB implementation of one of my services to JBoss 5.1.0.
It all deploys fine, but I get this warning:
WARNING [config] Unable to process deployment descriptor for context '/myapp'
My EJB looks like this:
@Stateless
| @WebService
| @WebContext( contextRoot="/myapp" )
| public class MyServiceBean implements com.company.webservices.myapp.v1.MyServicePortType {
My deployment package is a .ear file with the following contents:
META-INF/application.xml
| myservices.jar
| myapp.jar
The contents of the application.xml is:
<?xml version="1.0" encoding="UTF-8"?>
| <application xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
| version="5">
| <display-name>myapp-1.0</display-name>
| <module>
| <ejb>myapp.jar</ejb>
| </module>
| <module>
| <java>myservices.jar</java>
| </module>
| </application>
I spent a lot of time searching around the internet and the forums, and the best I can figure is that JBoss wants me to configure the context some place. The two examples I found reference some context.xml file that can be either in the WEB-INF folder of the war or configured as part of the JBoss server (outside my ear).
I was not able to locate a DTD for this context.xml file and I'd really like to include it in my .ear. I'll generate a war if necessary, but want to be sure I understand what JBoss expects to see.
Any help is greatly appreciated,
Mark
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262487#4262487
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262487
More information about the jboss-user
mailing list