1 Reply Latest reply on Jun 10, 2006 9:20 AM by Gavin King

    when i deployed the example Jboss has follow errors.can some

    data fanny Newbie

      15:55:56,453 INFO [EARDeployer] Init J2EE application: file:/D:/dev/jboss-4.0.4
      .GA/server/default/deploy/jboss-seam-booking.ear
      15:55:57,656 ERROR [MainDeployer] Could not create deployment: file:/D:/dev/jbos
      s-4.0.4.GA/server/default/tmp/deploy/tmp30901jboss-seam-booking.ear-contents/jbo
      ss-seam-booking.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(ApplicationMet
      aData.java:339)
      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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
      .java:97)
      at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
      rServiceMBeanSupport.java:238)