Hi,
I'm using jboss4 and trying to deploy rar inside an ear. Resource adapter works
fine if I deploy an rar in my /server/default/deploy directory with an
notxfs-ds.xml (which is also placed in /server/default/deploy directory).
The directory stucture
storageservice.ear
-/meta-inf/application.xml
-/meta-inf/jboss-app.xml
-/storageservice.rar
--/storageservice.jar (is packaged in storageservice.rar and has all
the resource adapter files)
--/meta-inf/ra.xml
notxfs-ds.xml
connection-factories
no-tx-connection-factory
jndi-namenetapp_conn_factory/jndi-name
rar-namestorageservice.rar/rar-name
connection-definitioncom.ameriquest.eir.storage.device.netapp.NetAppConnectionFactory/connection-definition
/no-tx-connection-factory
jboss-app.xml
jboss-app
storageservice.rar
/jboss-app
/connection-factories
application.xml
application xmlns=http://java.sun.com/xml/ns/j2ee; version=1.4
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-namestorageservice.rar/display-name
ra.xml
?xml version=1.0 encoding=UTF-8?
connector 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/connector_1_5.xsd;
version=1.5
File xml resource adapter
display-namestorageservice.rar/display-name
vendor-nameJBoss, Inc/vendor-name
eis-typeJBoss Example/eis-type
resourceadapter-version4.0/resourceadapter-version
COPYRIGHT AND PERMISSION NOTICE
Copyright (c) 2004 JBoss, Inc
This is released under the terms of the LGPL.
See gnu.org for details.
license-requiredtrue/license-required
resourceadapter-classcom.ameriquest.eir.storage.device.netapp.ra.NetAppResourceAdapter/resourceadapter-class
config-property
config-property-nameFileSystemRootDir/config-property-name
config-property-typejava.lang.String/config-property-type
config-property-valueC:\test1/config-property-value
/config-property
outbound-resourceadapter
connection-definition
managedconnectionfactory-classcom.ameriquest.eir.storage.device.netapp.ra.NetAppMangedConnectionFactory/managedconnectionfactory-class
connectionfactory-interfacecom.ameriquest.eir.storage.device.netapp.NetAppConnectionFactory/connectionfactory-interface
connectionfactory-impl-classcom.ameriquest.eir.storage.device.netapp.ra.NetAppConnectionFactoryImpl/connectionfactory-impl-class
connection-interfacecom.ameriquest.eir.storage.device.netapp.NetAppConnection/connection-interface
connection-impl-classcom.ameriquest.eir.storage.device.netapp.ra.NetAppConnectionImpl/connection-impl-class
/connection-definition
transaction-supportNoTransaction/transaction-support
authentication-mechanism
authentication-mechanism-typeBasicPassword/authentication-mechanism-type
credential-interfacejavax.resource.spi.security.PasswordCredential/credential-interface
/authentication-mechanism
reauthentication-supporttrue/reauthentication-support
/outbound-resourceadapter
This is the error I get
20:40:21,447 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.jca:service=NoTxCM,name=netapp_conn_factory
state: CONFIGURED
I Depend On: jboss.jca:service=ManagedConnectionPool,name=netapp_conn_factory
jboss.jca:service=CachedConnectionManager
Depends On Me: jboss.jca:service=ConnectionFactoryBinding,name=netapp_conn_fac
tory
ObjectName: jboss.jca:service=ManagedConnectionPool,name=netapp_conn_factory
state: CONFIGURED
I Depend On: jboss.jca:service=ManagedConnectionFactory,name=netapp_conn_facto
ry
Depends On Me: jboss.jca:service=NoTxCM,name=netapp_conn_factory
ObjectName: jboss.jca:service=ManagedConnectionFactory,name=netapp_conn_factory
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployment,name='storageservice.rar'
Depends On Me: jboss.jca:service=ManagedConnectionPool,name=netapp_conn_factor
y
ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=netapp_conn_factory
state: CONFIGURED
I Depend On: jboss.jca:service=NoTxCM,name=netapp_conn_factory
Depends On Me:
MBEANS THAT ARE THE ROOT