-
1. Re: Deploy a Resource Adapter(eg blackbox)
darranl Jun 21, 2004 8:31 AM (in response to sysuser1)You need to create a *-ds.xml file that described how to deploy the resource adapter.
-
2. Re: Deploy a Resource Adapter(eg blackbox)
sysuser1 Jun 21, 2004 9:28 AM (in response to sysuser1)Antwort
-
3. Re: Deploy a Resource Adapter(eg blackbox)
sysuser1 Jun 21, 2004 9:35 AM (in response to sysuser1)hello,
this is my *-ds.xml (blackbox-notx-ds.xml) file in the /deploy directory.
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<tx-connection-factory>
<jndi-name>BlackBoxNoTx</jndi-name>
<xa-transaction/>
<adapter-display-name>BlackBoxNoTx</adapter-display-name>
</tx-connection-factory>
</connection-factories>
but if i want to make the lookup ("java:comp/env/BlackBoxNoTx")...i get the error
BlackBoxNoTx not bound -
4. Re: Deploy a Resource Adapter(eg blackbox)
sysuser1 Jun 21, 2004 9:49 AM (in response to sysuser1)here is the output of my jboss...with one error
15:46:37,736 INFO [MainDeployer] Starting deployment of package: file:/C:/DevTo
ols/jboss-3.2.3/server/default/deploy/blackbox-notx-ds.xml
15:46:37,766 INFO [MainDeployer] Deployed package: file:/C:/DevTools/jboss-3.2.
3/server/default/deploy/blackbox-notx-ds.xml
15:46:37,776 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@f4877f5f { url=file:/C:/DevTools/jboss-3.2.
3/server/default/deploy/blackbox-notx.rar }
deployer: org.jboss.resource.RARDeployer@4d76b4
status: null
state: FAILED
watch: file:/C:/DevTools/jboss-3.2.3/server/default/deploy/blackbox-notx.rar
lastDeployed: 1087825403797
lastModified: 1087825403787
mbeans:
]MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=TxCM,name=blackbox
state: CONFIGURED
I Depend On: jboss.jca:service=ManagedConnectionPool,name=blackbox
jboss.jca:service=CachedConnectionManager
jboss:service=TransactionManager
Depends On Me: , ObjectName: jboss.jca:service=ManagedConnectionPool,name=black
box
state: CONFIGURED
I Depend On: jboss.jca:service=ManagedConnectionFactory,name=blackbox
Depends On Me: jboss.jca:service=TxCM,name=blackbox
, ObjectName: jboss.jca:service=ManagedConnectionFactory,name=blackbox
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployment,name=BlackBoxNoTx
Depends On Me: jboss.jca:service=ManagedConnectionPool,name=blackbox
] -
5. Re: Deploy a Resource Adapter(eg blackbox)
sysuser1 Jun 21, 2004 11:10 AM (in response to sysuser1)the content of my ra.xml file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'>
<display-name>BlackBoxNoTx</display-name>
<vendor-name>Java Software</vendor-name>
<spec-version>1.0</spec-version>
<eis-type>Map</eis-type>
1.0
<managedconnectionfactory-class>com.sun.connector.blackbox.NoTxManagedConnectionFactory</managedconnectionfactory-class>
<connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
<connectionfactory-impl-class>com.sun.connector.blackbox.JdbcDataSource</connectionfactory-impl-class>
<connection-interface>java.sql.Connection</connection-interface>
<connection-impl-class>com.sun.connector.blackbox.JdbcConnection</connection-impl-class>
<transaction-support>NoTransaction</transaction-support>
<config-property>
<config-property-name>connectionURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>jdbc:oracle:thin:@srvdb:1521:srvdb92</config-property-value>
</config-property>
<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.security.PasswordCredential</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>