[jboss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def
klsateesh
do-not-reply at jboss.com
Thu Jul 27 14:47:01 EDT 2006
HI All,
I am getting the same error..
Insatlled JBoss-4.0.4GA and selected the ALL Option
and the SEAM Version i am using is jboss-seam-1.0.1.GA
When i don't use the below lines
| <?xml version="1.0"?>
| <ejb-jar version="3.0" xmlns="http://java.sun.com/xml/ns/j2ee">
|
i am getting the error
| 8907jboss-seam-registration.ear-contents/jboss-seam-registration.jar
| org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE!
| at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:339)
| at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166)
|
and when i use the above i am getting the Error
| 8911jboss-seam-registration.ear-contents/jboss-seam-registration.jar
| org.jboss.deployment.DeploymentException: expected one enterprise-beans tag
| at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:113)
| at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:371)
| at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166)
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:541)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:99)
|
Has any one solved this one yet !!
Thanks
Sateesh
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961394#3961394
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961394
More information about the jboss-user
mailing list