I didt it. In the META-INF directory i have the 2 following descriptors :

application.xml :
<?xml version="1.0" encoding="UTF-8"?>
  | <application id="Application_ID" 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>JcaLaucher_EAR</display-name>
  |     <module id="ConnectorModule_1152537779516">
  |             <connector>JcaAdapter.rar</connector>
  |     </module>
  |     <module id="EjbModule_1152537779546">
  |             <ejb>JcaMDBLauncher.jar</ejb>
  |     </module>
  | </application>

JcaAdapter-ds.xml
<!DOCTYPE connection-factories PUBLIC 
  |           "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
  |           "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd";>
  | <!--
  |     AdocAdpater JBoss configuration File
  | -->
  | <connection-factories>
  |     <no-tx-connection-factory>
  |         <jndi-name>AdocAdapter</jndi-name>
  |         <rar-name>JcaAdapter.rar</rar-name>
  |         <connection-definition>
  |             javax.resource.cci.ConnectionFactory 
  |         </connection-definition>
  |     </no-tx-connection-factory>
  | </connection-factories>

Everything works well if deploy outside an ear.  
Should not be a kind of specific jboss descriptor for an ear file ?

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

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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to