0 Replies Latest reply on Apr 14, 2006 9:29 AM by Thomas Kratz

    Deployment trouble on 4.0.4RC2

    Thomas Kratz Newbie

      Hi I have an EAR with two jars declared as ejb modules. I have
      application.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <application version="1.4"
       xmlns="http://java.sun.com/xml/ns/j2ee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
       http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
       <display-name>de.eiswind.paris.server</display-name>
       <module>
       <ejb>de.eiswind.paris.server.jar</ejb>
       </module>
       <module>
       <ejb>eiswind.paris.model.jar</ejb>
       </module>
      </application>


      and jboss-app.xml


      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-app>
       <loader-repository>
       de.eiswind.paris.server:app=ejb3
       </loader-repository>
      </jboss-app>
      


      in the applcation jar i have persistence.xml wich references the entities that reside in the other jar

      <?xml version="1.0" encoding="UTF-8"?>
      <persistence>
       <persistence-unit name="de.eiswind.paris.server">
       <provider>org.hibernate.ejb.HibernatePersistence</provider>
       <jta-data-source>java:/DefaultDS</jta-data-source>
       <jar-file>../de.eiswind.paris.model.jar</jar-file>
       <class>eiswind.paris.model.Category</class>
       <properties>
       <property name="hibernate.show_sql" value="true" />
       <property name="hibernate.hbm2ddl.auto" value="create-drop" />
       </properties>
       </persistence-unit>
      </persistence>
      


      when i deploy my ear jboss does nothing. 4.0.3 started hibernate etc and located my ejbs correctly. what is wrong with my config on 4.0.4RC2
      ?

      08:58:29,111 INFO [EARDeployer] Init J2EE application: file:/home/thomas/bin/jboss-4.0.4.CR2/server/default/deploy/de.eiswind.paris.sever.ear
      08:58:29,222 INFO [EARDeployer] Started J2EE application: file:/home/thomas/bin/jboss-4.0.4.CR2/server/default/deploy/de.eiswind.paris.sever.ear