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
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to