Hi 

I have shortly tried to deploy your sources and have found the following error:


  | 09:12:36,542 ERROR [MainDeployer] could not create deployment: 
file:/C:/projects/java/jboss-4.0.0/server/monex/deploy/Simple.jar
  | org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the 
right xml schema or define a valid DOCTYPE!
  | 
I have updated you ejb-jar.xml as the following

  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise 
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  | <ejb-jar>
  | MPs First EJB
  | <display-name>SimpleEJB</display-name>
  | <enterprise-beans>
  | 
  | <ejb-name>Simple</ejb-name>
  | SimpleHome
  | Simple
  | <ejb-class>SimpleBean</ejb-class>
  | <session-type>Stateless</session-type>
  | <transaction-type>Container</transaction-type>
  | 
  | </enterprise-beans>
  | </ejb-jar>
  | 

Now on my installation it works!

  | 09:14:23,376 INFO  [EJBDeployer] Deployed: 
file:/C:/projects/java/jboss-4.0.0/server/monex/deploy/Simple.jar
  | 


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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to