[jboss-user] [EJB 3.0] - Re: JBoss 5 deployment error

jhsingle do-not-reply at jboss.com
Wed Dec 31 09:08:34 EST 2008


and here are the contents of the three META-INF config files.

ejb-jar.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <ejb-jar 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/ejb-jar_3_0.xsd"
  |      version="3.0">
  | </ejb-jar>
  | 

jboss.xml:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <jboss      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |      xsi:schemaLocation="http://www.jboss.org/j2ee/schema
  |          http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
  |      version="5.0">
  | 	<security-domain>cert</security-domain>
  | 	<enterprise-beans>
  | 	  <session>
  | 	    <ejb-name>WorkflowManager</ejb-name>
  | 	    <port-component>
  |           <auth-method>CLIENT-CERT</auth-method>
  |           <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  |         </port-component>
  |       </session>
  |       <message-driven>
  |           <ejb-name>WorkflowMDB</ejb-name>
  |       </message-driven>
  |       <session>
  |           <ejb-name>CountManager</ejb-name>
  | 	    <port-component>
  |           <auth-method>CLIENT-CERT</auth-method>
  |           <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  |         </port-component>
  |       </session>
  |       <session>
  |           <ejb-name>ModelManager</ejb-name>
  | 	    <port-component>
  |           <auth-method>CLIENT-CERT</auth-method>
  |           <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  |         </port-component>
  |       </session>
  |     </enterprise-beans>
  | </jboss>
  | 

persistence.xml:

  | <persistence xmlns="http://java.sun.com/xml/ns/persistence"
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |   xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
  |     http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
  |   version="1.0">
  | 	<persistence-unit name="workflow">
  | 		<provider>org.hibernate.ejb.HibernatePersistence</provider>
  | 		<jta-data-source>java:/jdbc/workflow</jta-data-source>
  | 		<properties>
  | 			<property name="hibernate.dialect"
  | 				value="org.hibernate.dialect.MySQLInnoDBDialect" />
  | 		</properties>
  | 	</persistence-unit>
  | </persistence>
  | 

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

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



More information about the jboss-user mailing list