Ri Ma [
https://community.jboss.org/people/bangau] created the discussion
"Accessing JNDI in a Session bean ckient"
To view the discussion, visit:
https://community.jboss.org/message/757780#757780
--------------------------------------------------------------
| | | | | |
| |
I want to to use a JCA Resource Adapter to connect from JBOSS AS 7.1.1 to the IBM host.
I created an Session Bean to connect to the access the the JNDI-Name
My source code looks like this
InitialContext ctx = new Intiacontext());
IMSConnectionFactory cf =
(IMSConnectionFactory)ctx.lookup("eis/IMSConnectionFactory");
I always get an exception
javax.naming.NameNotFoundException: eis.IMSConnectionFactory -- service
jboss.naming.context.java."eis.IMSConnectionFactory"
The
| | <connection-definitions> |
| | <connection-definition
class-name="com.ibm.connector2.ims.ico.IMSConnectionnFactory"
jndi-name="java:/eis/IMSConnectionFactory" enabled="true"
use-java-context="true" pool-name="java:/eis/IMSConnectionFactory">
|
| | <config-property name="Name"> |
| | IMS Connection |
| | </config-property> |
| | <xa-pool> |
| | <min-pool-size>10</min-pool-size> |
| | <max-pool-size>100</max-pool-size> |
| | </xa-pool> |
| | <security> |
| | <application/> |
| | </security> |
| | </connection-definition> |
| | </connection-definitions> |
Please help me!!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/757780#757780]
Start a new discussion in IronJacamar Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]