Hi Guys,
Can anybody let me know how to deploy Tamino JCA under JBoss 4.2.2. I tried many times, but failed. the system give me a excetpion “javax.naming.NameNotFoundException: TaminoEmc not bound”
My code is blow:
tamino-service.xml, it is put in JBOSS_HOME/server/default/deploy
<DOCTYPE>
<connection>
<tx-connection-factory>
<jndi>TaminoEmc</jndi>
<xa-transaction/>
<rar>TaminoJCA_localTx.rar</rar>
<connection>com.softwareag.tamino.db.api.connector.TaminoDataSource</connection>
<config>com.softwareag.tamino.db.api.connector.TaminoDataSource</config>
<config>http://10.10.20.79/tamino/EMC</config>
<config>administrator</config>
<config>shinetech</config>
</tx-connection-factory>
</connection>
Java code
InitialContext ic = new InitialContext();
TaminoDataSource tds1 = (TaminoDataSource) ic.lookup("TaminoEmc");