Jboss jndi exception

i deployed jca tuxedo in jboss and everything look good, the connexion is stablished, but when in my web appllication i try to do a lookup, the jndi dont get me the connection factory :
this is the log when im deploying de rar file :
2/13/12:2:30:44 PM:10:INFO[,registerClientSideResourceAdapter]TJA_0220:Tuxedo JCA Adapter, release 11gR1(11.1.1.2.1), resource archive version 1.1.0.0, build date: October 29 2010.
2/13/12:2:30:44 PM:10:TRACE[,TJAService]> ()
2/13/12:2:30:44 PM:10:DBG[,TJAService]xaAffinity = true
2/13/12:2:30:44 PM:10:TRACE[,TJAService]< return(10)
2/13/12:2:30:44 PM:10:TRACE[,][/TJAService/startTJAService/
2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo subcontext
2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo.services subcontext
2/13/12:2:30:44 PM:10:TRACE[,]/TJAService/startTJAService/110/TC Service started...
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Configuration Helper instantiated!
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Outbound routing service instantiated!
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Task Manager instantiated!
2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]> ()
2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]< return(10)
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC security service instantiated!
2/13/12:2:30:44 PM:10:INFO[,createRemoteAccessPoints#2]TJA_0201:INFO: RemoteAccessPoint Gdomtux created.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use Local to create default session profile property CredentialPolicy.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property MinEncryptBits.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 128 to create default session profile property MaxEncryptBits.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use NONE to create default session profile property Security.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 3,600,000 to create default session profile property RetryInterval.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 7,208,000 to create default session profile property MaxRetries.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Transaction service instantiated!
2/13/12:2:30:44 PM:10:INFO[,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint jcaTux and RemoteAccessPoint Gdomtux.
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (QSPACETEST)
2/13/12:2:30:44 PM:10:INFO[,]factory = null
2/13/12:2:30:44 PM:10:INFO[,]name = QSPACETEST
2/13/12:2:30:44 PM:10:INFO[,]iname = QSPACETEST
2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= QSPACETEST
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@104e583
2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource QSPACETEST created.
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (STRING)
2/13/12:2:30:44 PM:10:INFO[,]factory = null
2/13/12:2:30:44 PM:10:INFO[,]name = STRING
2/13/12:2:30:44 PM:10:INFO[,]iname = STRING
2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= STRING
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@781bc7
2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource STRING created.
2/13/12:2:30:44 PM:17:TRACE[,][/ScheduledReconnect/run/Gdomtux
2/13/12:2:30:45 PM:17:TRACE[,]]/ScheduledReconnect/run/10/return
2/13/12:2:30:45 PM:18:TRACE[,][/CeInvoke/com.oracle.tuxedo.adapter.config.DMSession@1701ba3
2/13/12:2:30:45 PM:18:TRACE[,]]/CeInvoke/10
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/get_sess_sec/
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/get_sess_sec/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_dom_target_name/Gdomtux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_dom_target_name/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_local_domain_name/jcaTux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_local_domain_name/10
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setRemoteDomainId/Gdomtux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setRemoteDomainId/10
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]disable keepalive
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kas = 0, kaExpTime = 0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaws = -1, kawExpTime = 0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaState = -1
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]< (10) return
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setKeepAliveWait/10000
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setKeepAliveWait/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAppKey/1
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAppKey/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAllowAnonymous/true
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAllowAnonymous/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setDfltAppKey/65536
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setDfltAppKey/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setEncryptionFlags/39
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setEncryptionFlags/10
2/13/12:2:30:45 PM:18:TRACE[,tpinit]>(weblogic.wtc.jatmi.TPINIT@baa0)
2/13/12:2:30:45 PM:18:TRACE[,tpinit]tpinfo.usrname: jcaTux
2/13/12:2:30:45 PM:18:TRACE[,do_connect]> (jcaTux) com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/alloc_TDOM/14/null
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/alloc_TDOM/10/TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
2/13/12:2:30:45 PM:18:TRACE[,][/write_dom_65_tfmh/jcaTux/10/134217727
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/header calculated_size=524
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/opcode calculated_size=540
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/total calculated_size=540
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=10/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/write_dom_65_tfmh/TdomTcb=TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=540/myMark=540/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_dom_65_tfmh/110/0/
2/13/12:2:30:45 PM:18:TRACE[,][/read_dom_65_tfmh/10
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=32/myOffset=0/myMark=0/myProtocol=10/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=544
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=0/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/read_dom_65_tfmh/opcode=GWNW_XATMI_PRE_NW_ACALL1_RPLY
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/available/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/available/50/0
2/13/12:2:30:45 PM:18:TRACE[,]/read_dom_65_tfmh/bufsize=544 available=0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=512
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=32
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_security_type 0
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_security_type
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_tm_release 103
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_tm_release
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_dom_protocol 16
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_dom_protocol
2/13/12:2:30:45 PM:18:TRACE[,]]/read_dom_65_tfmh/70/0/0
2/13/12:2:30:45 PM:18:DBG[,do_connect]Remote gateway support features = 159
2/13/12:2:30:45 PM:18:DBG[,do_connect]dom_protocol = 16
2/13/12:2:30:45 PM:18:DBG[,do_connect]do LLE protocol
2/13/12:2:30:45 PM:18:DBG[,do_connect]lle buffer size = 2048
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypKeyeOne/eflags 4
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypKeyeOne/70/640
2/13/12:2:30:45 PM:18:TRACE[,][/write_tfmh/
2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
2/13/12:2:30:45 PM:18:TRACE[,][/UserTcb/_tmpresend/java.io.DataOutputStream@12e3c04/weblogic.wtc.jatmi.tch@665e81
2/13/12:2:30:45 PM:18:TRACE[,]]/UserTcb/_tmpresend/60/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote user tcm/712
2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/_tmpresend/weblogic.wtc.jatmi.tch@3fcce8
2/13/12:2:30:45 PM:18:TRACE[,]/TdomTcb/_tmpresend/opcode=20/reqid=1
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/_tmpresend/20
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote tdom tcm/792
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/Not compressed/calculated_size=792/
2/13/12:2:30:45 PM:18:TRACE[,][/write_metahdr/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=16/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_metahdr/10/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/magic=-1862035368/ltype_idx=16/tmfmh_flag=65536
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/write(b)/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=792/myMark=792/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/write/30/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tfmh/100/0/
2/13/12:2:30:45 PM:18:DBG[,do_connect]...send LLE
2/13/12:2:30:45 PM:18:TRACE[,][/read_tfmh/
2/13/12:2:30:45 PM:18:TRACE[,][/read_metahdr/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=544/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/resetting mark for next Tuxedo buffer
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=384
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=0/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
2/13/12:2:30:45 PM:18:TRACE[,]]/read_metahdr/10
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=32/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=352
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=384/myMark=32
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/read(b)/232/0/232
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/read(b)/30/232
2/13/12:2:30:45 PM:18:TRACE[,]]/read_tfmh/80/0
2/13/12:2:30:45 PM:18:DBG[,do_connect]...recv LLE_RPLY
2/13/12:2:30:45 PM:18:DBG[,do_connect]recv size = 232
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypFinishOne/
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/decodeDH2/0
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/decodeDH2/10/224
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/generateFingerprint/
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/generateFingerprint/
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypFinishOne/130/LLE_DH2_128
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setELevel(4)/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setElevel/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setLLE/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setLLE/10/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setElevel/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setElevel/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setLLE/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setLLE/10/
2/13/12:2:30:45 PM:18:TRACE[,]/dsession(0)/do_connect/ready to use LLE
2/13/12:2:30:45 PM:18:DBG[,do_connect]ready to use LLE
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setUpTuxedoAAA/
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setUpTuxedoAAA/10/return 0
2/13/12:2:30:45 PM:18:DBG[,do_connect]chan = java.nio.channels.SocketChannel[connected local=192.168.19.156/192.168.19.156:36898 remote=/192.168.19.156:8888]
2/13/12:2:30:45 PM:18:DBG[,do_connect]myXidRplyObj = null
2/13/12:2:30:45 PM:18:DBG[,rdsession]myTimeService = java.util.Timer@797bc6
2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]< (10) return
2/13/12:2:30:45 PM:18:INFO[,do_connect]TJA_0130:Established connection to remote domain Gdomtux.
2/13/12:2:30:45 PM:18:TRACE[,do_connect]< return(350) success
2/13/12:2:30:45 PM:18:TRACE[,tpinit]< return(50) success, uid = 0
2/13/12:2:30:45 PM:18:TRACE[,][/ScheduledReconnect/connectingSuccess/session = __sess_0_0
2/13/12:2:30:45 PM:18:TRACE[,]]/ScheduledReconnect/connectingSuccess/10/return
but since my web application try to do a look up, i cant get the connection factory by jndi , the descriptor is :
<resource-adapter>
<archive>
TuxedoAdapter.rar
</archive>
<transaction-support>
NoTransaction
</transaction-support>
<connection-definitions>
<connection-definition class-name="com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory"
     jndi-name="java:jboss/eis/TuxedoConnectionFactory" enabled="true" use-java-context="false"/>
</connection-definitions>
</resource-adapter>
ctx = new InitialContext();
          cf = (TuxedoConnectionFactory) ctx.lookup("java:jboss/eis/TuxedoConnectionFactory");
          c = cf.getConnection();
Edited by: 907185 on 13/02/2012 12:01

i deployed jca tuxedo in jboss and everything look good, the connexion is stablished, but when in my web appllication i try to do a lookup, the jndi dont get me the connection factory :
this is the log when im deploying de rar file :
2/13/12:2:30:44 PM:10:INFO[,registerClientSideResourceAdapter]TJA_0220:Tuxedo JCA Adapter, release 11gR1(11.1.1.2.1), resource archive version 1.1.0.0, build date: October 29 2010.
2/13/12:2:30:44 PM:10:TRACE[,TJAService]> ()
2/13/12:2:30:44 PM:10:DBG[,TJAService]xaAffinity = true
2/13/12:2:30:44 PM:10:TRACE[,TJAService]< return(10)
2/13/12:2:30:44 PM:10:TRACE[,][/TJAService/startTJAService/
2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo subcontext
2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo.services subcontext
2/13/12:2:30:44 PM:10:TRACE[,]/TJAService/startTJAService/110/TC Service started...
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Configuration Helper instantiated!
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Outbound routing service instantiated!
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Task Manager instantiated!
2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]> ()
2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]< return(10)
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC security service instantiated!
2/13/12:2:30:44 PM:10:INFO[,createRemoteAccessPoints#2]TJA_0201:INFO: RemoteAccessPoint Gdomtux created.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use Local to create default session profile property CredentialPolicy.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property MinEncryptBits.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 128 to create default session profile property MaxEncryptBits.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use NONE to create default session profile property Security.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 3,600,000 to create default session profile property RetryInterval.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 7,208,000 to create default session profile property MaxRetries.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Transaction service instantiated!
2/13/12:2:30:44 PM:10:INFO[,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint jcaTux and RemoteAccessPoint Gdomtux.
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (QSPACETEST)
2/13/12:2:30:44 PM:10:INFO[,]factory = null
2/13/12:2:30:44 PM:10:INFO[,]name = QSPACETEST
2/13/12:2:30:44 PM:10:INFO[,]iname = QSPACETEST
2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= QSPACETEST
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@104e583
2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource QSPACETEST created.
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (STRING)
2/13/12:2:30:44 PM:10:INFO[,]factory = null
2/13/12:2:30:44 PM:10:INFO[,]name = STRING
2/13/12:2:30:44 PM:10:INFO[,]iname = STRING
2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= STRING
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@781bc7
2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource STRING created.
2/13/12:2:30:44 PM:17:TRACE[,][/ScheduledReconnect/run/Gdomtux
2/13/12:2:30:45 PM:17:TRACE[,]]/ScheduledReconnect/run/10/return
2/13/12:2:30:45 PM:18:TRACE[,][/CeInvoke/com.oracle.tuxedo.adapter.config.DMSession@1701ba3
2/13/12:2:30:45 PM:18:TRACE[,]]/CeInvoke/10
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/get_sess_sec/
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/get_sess_sec/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_dom_target_name/Gdomtux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_dom_target_name/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_local_domain_name/jcaTux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_local_domain_name/10
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setRemoteDomainId/Gdomtux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setRemoteDomainId/10
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]disable keepalive
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kas = 0, kaExpTime = 0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaws = -1, kawExpTime = 0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaState = -1
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]< (10) return
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setKeepAliveWait/10000
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setKeepAliveWait/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAppKey/1
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAppKey/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAllowAnonymous/true
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAllowAnonymous/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setDfltAppKey/65536
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setDfltAppKey/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setEncryptionFlags/39
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setEncryptionFlags/10
2/13/12:2:30:45 PM:18:TRACE[,tpinit]>(weblogic.wtc.jatmi.TPINIT@baa0)
2/13/12:2:30:45 PM:18:TRACE[,tpinit]tpinfo.usrname: jcaTux
2/13/12:2:30:45 PM:18:TRACE[,do_connect]> (jcaTux) com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/alloc_TDOM/14/null
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/alloc_TDOM/10/TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
2/13/12:2:30:45 PM:18:TRACE[,][/write_dom_65_tfmh/jcaTux/10/134217727
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/header calculated_size=524
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/opcode calculated_size=540
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/total calculated_size=540
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=10/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/write_dom_65_tfmh/TdomTcb=TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=540/myMark=540/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_dom_65_tfmh/110/0/
2/13/12:2:30:45 PM:18:TRACE[,][/read_dom_65_tfmh/10
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=32/myOffset=0/myMark=0/myProtocol=10/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=544
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=0/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/read_dom_65_tfmh/opcode=GWNW_XATMI_PRE_NW_ACALL1_RPLY
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/available/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/available/50/0
2/13/12:2:30:45 PM:18:TRACE[,]/read_dom_65_tfmh/bufsize=544 available=0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=512
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=32
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_security_type 0
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_security_type
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_tm_release 103
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_tm_release
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_dom_protocol 16
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_dom_protocol
2/13/12:2:30:45 PM:18:TRACE[,]]/read_dom_65_tfmh/70/0/0
2/13/12:2:30:45 PM:18:DBG[,do_connect]Remote gateway support features = 159
2/13/12:2:30:45 PM:18:DBG[,do_connect]dom_protocol = 16
2/13/12:2:30:45 PM:18:DBG[,do_connect]do LLE protocol
2/13/12:2:30:45 PM:18:DBG[,do_connect]lle buffer size = 2048
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypKeyeOne/eflags 4
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypKeyeOne/70/640
2/13/12:2:30:45 PM:18:TRACE[,][/write_tfmh/
2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
2/13/12:2:30:45 PM:18:TRACE[,][/UserTcb/_tmpresend/java.io.DataOutputStream@12e3c04/weblogic.wtc.jatmi.tch@665e81
2/13/12:2:30:45 PM:18:TRACE[,]]/UserTcb/_tmpresend/60/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote user tcm/712
2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/_tmpresend/weblogic.wtc.jatmi.tch@3fcce8
2/13/12:2:30:45 PM:18:TRACE[,]/TdomTcb/_tmpresend/opcode=20/reqid=1
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/_tmpresend/20
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote tdom tcm/792
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/Not compressed/calculated_size=792/
2/13/12:2:30:45 PM:18:TRACE[,][/write_metahdr/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=16/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_metahdr/10/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/magic=-1862035368/ltype_idx=16/tmfmh_flag=65536
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/write(b)/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=792/myMark=792/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/write/30/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tfmh/100/0/
2/13/12:2:30:45 PM:18:DBG[,do_connect]...send LLE
2/13/12:2:30:45 PM:18:TRACE[,][/read_tfmh/
2/13/12:2:30:45 PM:18:TRACE[,][/read_metahdr/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=544/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/resetting mark for next Tuxedo buffer
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=384
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=0/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
2/13/12:2:30:45 PM:18:TRACE[,]]/read_metahdr/10
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=32/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=352
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=384/myMark=32
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/read(b)/232/0/232
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/read(b)/30/232
2/13/12:2:30:45 PM:18:TRACE[,]]/read_tfmh/80/0
2/13/12:2:30:45 PM:18:DBG[,do_connect]...recv LLE_RPLY
2/13/12:2:30:45 PM:18:DBG[,do_connect]recv size = 232
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypFinishOne/
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/decodeDH2/0
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/decodeDH2/10/224
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/generateFingerprint/
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/generateFingerprint/
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypFinishOne/130/LLE_DH2_128
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setELevel(4)/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setElevel/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setLLE/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setLLE/10/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setElevel/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setElevel/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setLLE/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setLLE/10/
2/13/12:2:30:45 PM:18:TRACE[,]/dsession(0)/do_connect/ready to use LLE
2/13/12:2:30:45 PM:18:DBG[,do_connect]ready to use LLE
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setUpTuxedoAAA/
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setUpTuxedoAAA/10/return 0
2/13/12:2:30:45 PM:18:DBG[,do_connect]chan = java.nio.channels.SocketChannel[connected local=192.168.19.156/192.168.19.156:36898 remote=/192.168.19.156:8888]
2/13/12:2:30:45 PM:18:DBG[,do_connect]myXidRplyObj = null
2/13/12:2:30:45 PM:18:DBG[,rdsession]myTimeService = java.util.Timer@797bc6
2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]< (10) return
2/13/12:2:30:45 PM:18:INFO[,do_connect]TJA_0130:Established connection to remote domain Gdomtux.
2/13/12:2:30:45 PM:18:TRACE[,do_connect]< return(350) success
2/13/12:2:30:45 PM:18:TRACE[,tpinit]< return(50) success, uid = 0
2/13/12:2:30:45 PM:18:TRACE[,][/ScheduledReconnect/connectingSuccess/session = __sess_0_0
2/13/12:2:30:45 PM:18:TRACE[,]]/ScheduledReconnect/connectingSuccess/10/return
but since my web application try to do a look up, i cant get the connection factory by jndi , the descriptor is :
<resource-adapter>
<archive>
TuxedoAdapter.rar
</archive>
<transaction-support>
NoTransaction
</transaction-support>
<connection-definitions>
<connection-definition class-name="com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory"
     jndi-name="java:jboss/eis/TuxedoConnectionFactory" enabled="true" use-java-context="false"/>
</connection-definitions>
</resource-adapter>
ctx = new InitialContext();
          cf = (TuxedoConnectionFactory) ctx.lookup("java:jboss/eis/TuxedoConnectionFactory");
          c = cf.getConnection();
Edited by: 907185 on 13/02/2012 12:01

Similar Messages

  • Jndi exception using weblogic.Admin

    I was trying out the commands offered by weblogic.Admin to manage the packaged petstore server. I tried the following command and got jndi exception (null):
    command:java weblogic.Admin -url petstoreServer.com:7001 GET -pretty -type Server
    Error:Exception in thread "main" java.lang.IllegalArgumentException: JNDI naming exception: null
    at weblogic.management.commandline.CommandLine.findMBeanHome(CommandLine.java:460)
    at weblogic.management.commandline.CommandLine.doCommandline(CommandLine.java:86)
    at weblogic.management.commandline.CommandLine.<init>(CommandLine.java:69)
    at weblogic.Admin.main(Admin.java:689)
    I checked in the console. A jndi name for petstoreServer does exist.

    The current WebLogic 6.0 Beta-1 documentation incorrectly specifies the following in its example.
    java weblogic.Admin -url xyz.com:7001 GET -pretty -type Server
    This example falsely gives the impression that you must append ".com" to your host name. We will correct the document in the next revision to look like:
    java weblogic.Admin -url hrserver:7001 GET -pretty -type Server
    The -url petstoreServer.com:7001 parameter is incorrect. The command requires you to specify the <HostName>:<PortNumber> for the -url parameter.
    Regards,
    -Sachin
    Helen Semus wrote:
    I was trying out the commands offered by weblogic.Admin to manage the packaged petstore server. I tried the following command and got jndi exception (null):
    command:java weblogic.Admin -url petstoreServer.com:7001 GET -pretty -type Server
    Error:Exception in thread "main" java.lang.IllegalArgumentException: JNDI naming exception: null
    at weblogic.management.commandline.CommandLine.findMBeanHome(CommandLine.java:460)
    at weblogic.management.commandline.CommandLine.doCommandline(CommandLine.java:86)
    at weblogic.management.commandline.CommandLine.<init>(CommandLine.java:69)
    at weblogic.Admin.main(Admin.java:689)
    I checked in the console. A jndi name for petstoreServer does exist.--
    Sachin Thatte, Senior Software Engineer
    BEA Systems, Inc
    WWW: http://www.bea.com
    [att1.html]

  • JNDI Exception :  [System] not bound in naming services

    Hi All,
    Is there any way to resolve this JNDI exception "Invalid Path: [System/Launchers] not bound in naming service" ?
    Thanks in Advance

    This did not work dear. I assume when you say [Add ur datasource], you mean the name of the datasource, and I did as you told. I was wondering though that I have an independent java class which try to get data source from WSAD server, then how does web.xml help, may be I am not understanding the connection here.
    Just to let you know, that same java class gets the datasource from 4.0 test server. I am running both servers now i.e. 4.0 test and 5.0 test server on different ports, and only data source from 4.0 workd good. Do you have any other solution, which I can try.
    Is there any difference the way data source is accessed between 4.0 and 5.0 versions.
    Thanks in advance.
    Open web.xml, There will reference tab,, then take
    Resource, Add ur datasourse on where the Cursor points
    and then JNDI Name.
    U need to restart ..

  • JBOSS jndi Datasource: jdbc not bound

    Im adding an jndi Datasource to JBOSS 4.0.2.
    1. i copied jdbc driver to JBOSS_HOME/server/default/lib.
    2. i copied following ds.xml to JBOSS_HOME/server/default/deploy (its based ony the mysql-ds.xml from the samples)
    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
      <local-tx-datasource>
        <jndi-name>jndi-name</jndi-name>
        <connection-url>jdbc:mysql://localhost:3306/databasename</connection-url>
        <driver-class>org.gjt.mm.mysql.Driver</driver-class>
        <user-name>username</user-name>
        <password>password</password>
        <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
        <!-- sql to call when connection is created
        <new-connection-sql>some arbitrary sql</new-connection-sql>
          -->
        <!-- sql to call on an existing pooled connection when it is obtained from pool
        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
          -->
        <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
        <metadata>
           <type-mapping>mySQL</type-mapping>
        </metadata>
      </local-tx-datasource>
    </datasources>I look this up using java:jndi-name. Works perfect.
    For compatibility with other containers, i want to move my jndi-datasource to java:comp/env/jdbc/jndi-name
    So i change my ds-description:
    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
      <local-tx-datasource>
        <jndi-name>comp/env/jdbc/jndi-name</jndi-name>
        <connection-url>jdbc:mysql://localhost:3306/databasename</connection-url>
        <driver-class>org.gjt.mm.mysql.Driver</driver-class>
        <user-name>username</user-name>
        <password>password</password>
        <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
        <!-- sql to call when connection is created
        <new-connection-sql>some arbitrary sql</new-connection-sql>
          -->
        <!-- sql to call on an existing pooled connection when it is obtained from pool
        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
          -->
        <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
        <metadata>
           <type-mapping>mySQL</type-mapping>
        </metadata>
      </local-tx-datasource>
    </datasources>Looking this up with java:comp/env/jdbc/jndi-name leads to Could not find datasource: java:comp/env/jdbc/jndi-name
    javax.naming.NameNotFoundException: jdbc not bound
    Some lines above jboss prints:
    [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=comp/env/jdbc/jndi-name,service=DataSourceBinding to JNDI name 'java:comp/env/jdbc/jndi-name
    Please can somebody explain what the problem is about binding a datasource somewhere else than directly to "java:"

    In web.xml making the following entry:
    <web-app>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    Next, add a file jboss-web.xml under WEB-INF/ folder of the web-application. This file should contain entry as:
    <jboss-web>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <jndi-name>java:/jdbc/test</jndi-name>
    <res-auth>Container</res-auth>
    </resource-ref>
    </jboss-web>
    Next, in JBOSS_HOME/server/default/deploy folder make a xx-ds.xml file or else, a similiar file can be found in that same folder with the name hsqldb-ds.xml. Make following entries in that xml file:
    <datasources>
    <local-tx-datasource>
    <jndi-name>/jdbc/test</jndi-name>
    <type-mapping>MySQL</type-mapping>
    <connection-url>jdbc:mysql://localhost:3306/shopping_cart</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    <password>root123</password>
    <min-pool-size>1</min-pool-size>
    <max-pool-size>5</max-pool-size>
    </local-tx-datasource>
    This should bind the jndi name.
    In our client application, we need to look up as:
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:/jdbc/test");
    Connection conn = ds.getConnection();
    This works perfectly.

  • CF8 with JBoss JNDI datasource

    After installing and configuring a CF8 for J2EE running on
    JBoss 4.2.2.GA with Java 6, I have created a JNDI datasource for
    Oracle 10g in the oracle-ds.xml file. I have configured a CF8
    datasource that uses the JNDI resource.
    Any query that is NOT using cfqueryparam works quite well.
    As soon as cfqueryparam is used, I get an "Error casting an
    object of type org.jboss.resource.adapter.jdbc.WrappedConnection
    cannot be cast to coldfusion.server.j2ee.sql.JRunConnectionHandle
    to an incompatible type.".
    The configuration and the exception is pretty much the same
    as described in
    Problem
    description.
    This is clearly a CF8 bug and I was wondering if there is any
    known workaround for it.

    In web.xml making the following entry:
    <web-app>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    Next, add a file jboss-web.xml under WEB-INF/ folder of the web-application. This file should contain entry as:
    <jboss-web>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <jndi-name>java:/jdbc/test</jndi-name>
    <res-auth>Container</res-auth>
    </resource-ref>
    </jboss-web>
    Next, in JBOSS_HOME/server/default/deploy folder make a xx-ds.xml file or else, a similiar file can be found in that same folder with the name hsqldb-ds.xml. Make following entries in that xml file:
    <datasources>
    <local-tx-datasource>
    <jndi-name>/jdbc/test</jndi-name>
    <type-mapping>MySQL</type-mapping>
    <connection-url>jdbc:mysql://localhost:3306/shopping_cart</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    <password>root123</password>
    <min-pool-size>1</min-pool-size>
    <max-pool-size>5</max-pool-size>
    </local-tx-datasource>
    This should bind the jndi name.
    In our client application, we need to look up as:
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:/jdbc/test");
    Connection conn = ds.getConnection();
    This works perfectly.

  • JBoss, JSF exception: #{..} is not allowed in template text

    I've created a simple JSF login application using MyEclipse IDE. I deployed the application on JBoss 4.2.1. At first it failed to deploy. After some searching, I followed the instructions at:
    http://forum.java.sun.com/thread.jspa?threadID=5176676&messageID=9923048
    I deleted the JSF related jar files in the JSF application's WEB-INF/lib folder. The application was then only successfully deployed.
    Question #1:  Is there a conflict with the jar files, which prevents the application from being deployed.  Does someone know the right way to solve this issue
    Now when I access my page in the browser at the URL:
    http://localhost:8080/JSF_tutorial/userLogin.faces
    I see the following exception:
    org.apache.jasper.JasperException: /userLogin.jsp(32,29) #{..} is not allowed in template text
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
         org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:935)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    Question #2: How do I get rid of the above exception?
    thanks,

    tsc wrote:
    I've created a simple JSF login application using MyEclipse IDE. I deployed the application on JBoss 4.2.1. At first it failed to deploy. After some searching, I followed the instructions at:
    http://forum.java.sun.com/thread.jspa?threadID=5176676&messageID=9923048
    I deleted the JSF related jar files in the JSF application's WEB-INF/lib folder. The application was then only successfully deployed.
    Question #1:  Is there a conflict with the jar files, which prevents the application from being deployed.  Does someone know the right way to solve this issue
    I'm not entirely sure what you are asking here; do you want to be able to include an implementation of JSF with your WAR file? In any case, I suspect your question is answered on the JBoss Wiki pages for JSF.
    Now when I access my page in the browser at the URL:
    http://localhost:8080/JSF_tutorial/userLogin.faces
    I see the following exception:
    org.apache.jasper.JasperException: /userLogin.jsp(32,29) #{..} is not allowed in template text
    Question #2: How do I get rid of the above exception?
    My best guess is that you are somehow configured to use JSP 1.x instead of JSP 2.1 (see http://www.google.com/codesearch?q=jsp.error.el.template.deferred). Check your tag library tld versions.

  • Spring-jmx enabled with Jboss getting Exception

    Hi all,
    I am using JMX with Jboss ,
    I am getting follwing error frequently please help me.if i re-start the server this problem will not be ther.
    exception
    javax.servlet.ServletException: Failed to invoke operation
    org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:269)
    org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100)
    org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    root cause
    javax.management.MBeanException: RuntimeException thrown in
    RequiredModelMBean while trying to invoke operation reloadSuscriberOptions
    javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1090)
    javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:954)
    org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    org.jboss.mx.modelmbean.RequiredModelMBeanInvoker.invoke(RequiredModelMBeanInvoker.java:127)
    org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:258)
    org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:223)
    org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:262)
    org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100)
    org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    root cause
    java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken
    antlr.CharScanner.makeToken(CharScanner.java:173)
    org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:39)
    org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:580)
    org.hibernate.hql.antlr.HqlBaseLexer.nextToken(HqlBaseLexer.java:264)
    antlr.TokenBuffer.fill(TokenBuffer.java:69)
    antlr.TokenBuffer.LA(TokenBuffer.java:80)
    antlr.LLkParser.LA(LLkParser.java:52)
    org.hibernate.hql.antlr.HqlBaseParser.statement(HqlBaseParser.java:139)
    org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:248)
    org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:157)
    org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
    org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
    org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
    org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
    org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
    org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:59)
    org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1260)
    org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:103)
    sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:346)
    $Proxy79.createNamedQuery(Unknown Source)
    sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.springframework.orm.jpa.JpaTemplate$CloseSuppressingInvocationHandler.invoke(JpaTemplate.java:394)
    $Proxy79.createNamedQuery(Unknown Source)
    org.springframework.orm.jpa.JpaTemplate$11.doInJpa(JpaTemplate.java:334)
    org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:185)
    org.springframework.orm.jpa.JpaTemplate.executeFind(JpaTemplate.java:152)
    org.springframework.orm.jpa.JpaTemplate.findByNamedQuery(JpaTemplate.java:332)
    org.springframework.orm.jpa.JpaTemplate.findByNamedQuery(JpaTemplate.java:328)
    aero.sita.voyager.servicecontainer.persistence.PersistenceManagerImpl.findByNamedQuery(PersistenceManagerImpl.java:198)
    please help me

    Hi,
    we've a spring-webapp in a tomcat using jmx via org.springframework.jmx.export.MBeanExporter, and are facing the a similar problem.
    java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token
         at antlr.CharScanner.makeToken(CharScanner.java:173)
         at org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:39)
         at org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:580)
         at org.hibernate.hql.antlr.HqlBaseLexer.nextToken(HqlBaseLexer.java:264)
         at antlr.TokenBuffer.fill(TokenBuffer.java:69)
         at antlr.TokenBuffer.LA(TokenBuffer.java:80)
         at antlr.LLkParser.LA(LLkParser.java:52)
         at org.hibernate.hql.antlr.HqlBaseParser.statement(HqlBaseParser.java:139)
         at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:248)
         at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:157)
         at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
         at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
         at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)

  • JNDI Exception while trying to create home object

    Hi everyone,
    I'm trying out a test application to create a home object in a remote computer. I'm using the SUN Ref-Impl v1.3 . I ran the small code below,
    try {
    Hashtable env= new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
    env.put(Context.PROVIDER_URL, "iiop://localhost:1050");
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "guest123");
    InitialContext ic= new InitialContext(env);
    Object objRef= ic.lookup("jdbc/eVDB");
    System.out.println("DB conn success!");
    } catch (Exception ex) {
    ex.printStackTrace();
    System.out.println("Unable to conn DB... "+ ex.getMessage());
    I successfully accessed this Database object wrapped in an entity bean through .jsp .
    But when I ran the above code the follwing exception was emitted,
    javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
         at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
         at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
         at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
         at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
         at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at TestJNDI.main(TestJNDI.java:26)
    Unable to conn DB... null
    ========================
    If anybody can help me I would be most grateful. Thank you.

    i added the j2ee.jar and the out put changed.
    when i write,
    ic.lookup("eV/CheckLogin");
    it successfuly created the home object.
    But when I added a database JNDI reference it failed,
    when i wrote,
    ic.lookup("java:comp/env/jdbc/eVDB");
    the following exception occures,
    javax.naming.NameNotFoundException: No object bound for java:comp/env/jdbc/eVDB
         at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:116)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at TestJNDI.main(TestJNDI.java:30)
    and when i put,
    ic.lookup("jdbc/eVDB")
    the previous exception occures,
    javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
         at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
         at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
         at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
         at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
         at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at TestJNDI.main(TestJNDI.java:30)
    ===============
    <sigh> I'm stumped...

  • JNDI Exception on Cluster Redeployment

    "Does anyone know what was the resolution on the attached newsgroup posting? i am experiencing a similar
              

              Jerry Davis <[email protected]> wrote:
              >"Does anyone know what was the resolution on the attached newsgroup posting?
              > i am experiencing a similar
              This seems to have gotten chopped. I am seeing the following error when attempting
              to hot-deploy (through the admin console) a simple stateless EJB
              to the second managed server, and receive this exception. The first managed server
              receives the deployment no problem; it's only the second managed
              server that throws the exception.
              <Jun 14, 2001 4:56:39 PM CDT> <Error> <J2EE> <Error deploying application HelloWorld_EJB:
              Could not deploy: 'HelloWorld_EJB.jar': JNDI name in use
              >
              <Jun 14, 2001 4:56:39 PM CDT> <Error> <Management> <InvocationTargetException
              setting attribute Deployed on MBean wwt:Name=HelloWorld_EJB,Location=testlogic2Server,Type=ApplicationConfig
              to value true. Method: public void weblogic.management.mbeans.custom.Application.setDeployed(boolean)
              throws weblogic.management.DeploymentException,weblogic.management.UndeploymentException
              weblogic.management.DeploymentException: Could not deploy: 'HelloWorld_EJB.jar':
              JNDI name in use
              at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:35)
              at weblogic.j2ee.Application.deploy(Application.java:167)
              at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
              at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:217)
              at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:187)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1136)
              at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:773)
              at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:750)
              at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:256)
              at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
              at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
              at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(RemoteMBeanServerImpl_WLSkel.java:1075)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
              at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
              at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jun 14, 2001 4:56:39 PM CDT> <Error> <Cluster> <Conflict start: You tried to
              bind an object under the name HelloWorldBean_EO in the jndi tree. The object you
              have bound weblogic.rmi.cluster.ClusterableRemoteObject from prodlogic2 is non
              clusterable and you have tried to bind more than once from two or more servers.
              Such objects can only deployed from one server.>
              

  • JNDI  exception  ..PLEASE HELP

    hi
    i am using the following expression to create a DataSource object
    in my ejb application.
    InitialContext ic=new InitialContext();
    DataSource ds=(DataSource)ic.lookup("java:comp/env/jdbc/myAtmDB");
    con=ds.getConnection();
    When i deploy my app i am getting the following exception
    javax.naming.Invalidname exception...real JNDI name cannot be empty
    for jdbc/myAtmDB
    thanks
    bas

    The 'java:comp/env/jdbc/myAtmDB' name you are referencing to is a name that you use in your code. In fact it is just an alias. Next thing to do is to use the deployment tool to point the alias to the 'real JNDI name' of the DataSource. You have probably left an empty spot somewhere in the resource reference tab.
    regards,
    Bert

  • Trying to connect JConsole to JBOSS with exception

    Hy, I am trying to connect JConsole with jboss 4.0.3. So I go the bin folder of jboss instalation directory and I execute run.bat and everything is ok but when I open JConsole and I try to connect to jboss process in local processes section I get the next exception: ''
    21:10:02,437 INFO [STDOUT] javax.management.JMRuntimeException: Failed to load
    MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.C
    lassNotFoundException: org.jboss.mx.server.MBeanServerBuilderImpl
    21:10:02,437 INFO [STDOUT] .....
    Agent failed to start!
    I have tried many configurations in the run.bat and in the run.conf files of jboss but I get the same exception. I have checked the in the lib folder of jboss that the library jboss.jmx_jar has the class "org.jboss.mx.server.MBeanServerBuilderImpl". Any ideas, please?
    Thanks

    a brody wrote:
    Use this article to determine if crossover or a router is essential:
    http://support.apple.com/kb/HT2274?viewlocale=en_US
    according to the op, he's doing a G4 tower <---> Macbook pro.
    FTA: +Products that require a crossover cable if connecting to another product from this list...+
    a MBP isn't on the list that title heads up, so only a std ethernet is needed.
    I did this with a PM G3 <---> 15" PB one time. The crossover cable didn't work. The std cable did.

  • JNDI Exception in Webgain 4.1

    hi,
    Was wondering if anyone had run into this issue: I have a relatively simple
    RMI object held in BEA WLS 6.1 (its the RMI hello sample). The example
    works fine in a DOS command window with the normal WLS examples environment
    set.
    When I try basically the same code under Visual Cafe 4.1, the exception
    listed below occurs. The InitialContext is returned but the object lookup
    fails. I do have the 6.1 weblogic jar in my classpath for Cafe.
    TIA.
    kwc
    main (09:23:46): javax.naming.NameNotFoundException: Unable to resolve
    HelloServer. Resolved: '' Unresolved:'HelloServer' ; remaining name ''
    main (09:23:46): at
    weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRe
    quest.java:90)
    main (09:23:46): at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :247)
    main (09:23:46): at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :225)
    main (09:23:46): at
    weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStu
    b.java:121)
    main (09:23:46): at
    weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
    main (09:23:46): at
    javax.naming.InitialContext.lookup(InitialContext.java:350)
    main (09:23:47): at HelloClient.runHello(HelloClient.java:42)
    main (09:23:47): at
    TableExample3$DataUpdateThread.run(TableExample3.java:107)

    hi,
    Was wondering if anyone had run into this issue: I have a relatively simple
    RMI object held in BEA WLS 6.1 (its the RMI hello sample). The example
    works fine in a DOS command window with the normal WLS examples environment
    set.
    When I try basically the same code under Visual Cafe 4.1, the exception
    listed below occurs. The InitialContext is returned but the object lookup
    fails. I do have the 6.1 weblogic jar in my classpath for Cafe.
    TIA.
    kwc
    main (09:23:46): javax.naming.NameNotFoundException: Unable to resolve
    HelloServer. Resolved: '' Unresolved:'HelloServer' ; remaining name ''
    main (09:23:46): at
    weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRe
    quest.java:90)
    main (09:23:46): at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :247)
    main (09:23:46): at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :225)
    main (09:23:46): at
    weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStu
    b.java:121)
    main (09:23:46): at
    weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
    main (09:23:46): at
    javax.naming.InitialContext.lookup(InitialContext.java:350)
    main (09:23:47): at HelloClient.runHello(HelloClient.java:42)
    main (09:23:47): at
    TableExample3$DataUpdateThread.run(TableExample3.java:107)

  • JBoss classcast exception

    This thing has been drawing me crazy for a week now, and I have no explanation. May be somebody here could either explain it or even suggest a solution. I have a web services client built in java running on JBoss server. The deployable is an ear file which runs great on windows box and a linux box. All I had to do was to add jaxrpc.jar and jaxrpc-impl.jar file in the /opt/jboss/server/deploy/lib folder. However when I shipped it to another linux box, it started giving me the following exception:-
    2009-07-10 13:06:16,200 DEBUG [org.apache.catalina.loader.WebappClassLoader] --> Passing on ClassNotFoundException
    2009-07-10 13:06:16,200 DEBUG [org.apache.catalina.loader.WebappClassLoader] Delegating to parent classloader at end: java.net.FactoryURLClassLoader@25753d
    2009-07-10 13:06:16,201 DEBUG [org.apache.catalina.loader.WebappClassLoader] Loading class from parent
    2009-07-10 13:06:16,204 ERROR [STDERR] java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl
    2009-07-10 13:06:16,205 ERROR [STDERR] at com.sun.xml.rpc.streaming.XmlTreeWriter.addNewNode(XmlTreeWriter.java:108)
    2009-07-10 13:06:16,205 ERROR [STDERR] at com.sun.xml.rpc.streaming.XmlTreeWriter.startElement(XmlTreeWriter.java:142)
    2009-07-10 13:06:16,205 ERROR [STDERR] at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:558)
    2009-07-10 13:06:16,205 ERROR [STDERR] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:83)
    So what I did was to copy whole of JBoss from the linux box where it was working and place it on the box where it was throwing exception, but to no avail. ANy ideas or help would be greatly appreciated.

    The JAVA_HOME on both the machines is pointing to a mount point, so its actually the same jdk. I have however observed one difference in the log files on the machine where it is working as opposed to where it is not:-
    WORKING
    2009-07-13 10:37:29,602 DEBUG [org.springframework.core.CollectionFactory] Creating [org.apache.commons.collections.map.ListOrderedMap/CaseInsensitiveMap]
    2009-07-13 10:37:29,619 DEBUG [org.apache.catalina.loader.WebappClassLoader] getResourceAsStream(META-INF/services/javax.xml.soap.MessageFactory)
    2009-07-13 10:37:29,619 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Searching local repositories
    2009-07-13 10:37:29,619 DEBUG [org.apache.catalina.loader.WebappClassLoader]     findResource(META-INF/services/javax.xml.soap.MessageFactory)
    2009-07-13 10:37:29,630 DEBUG [org.apache.catalina.loader.WebappClassLoader]     --> Resource not found, returning null
    2009-07-13 10:37:29,630 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Delegating to parent classloader unconditionally java.net.FactoryURLClassLoader@7fbe19
    2009-07-13 10:37:29,630 DEBUG [org.apache.catalina.loader.WebappClassLoader]   --> Resource not found, returning null
    2009-07-13 10:37:29,630 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl, false)
    2009-07-13 10:37:29,633 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Searching local repositories
    2009-07-13 10:37:29,634 DEBUG [org.apache.catalina.loader.WebappClassLoader]     findClass(com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl)
    2009-07-13 10:37:29,634 DEBUG [org.apache.catalina.loader.WebappClassLoader]       findClassInternal(com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl)
    2009-07-13 10:37:29,634 DEBUG [org.apache.catalina.loader.WebappClassLoader]     --> Passing on ClassNotFoundException
    2009-07-13 10:37:29,634 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Delegating to parent classloader at end: java.net.FactoryURLClassLoader@7fbe19
    2009-07-13 10:37:29,634 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Loading class from parentAs oppsed to
    NOT WORKING:-
    2009-07-13 10:33:53,651 DEBUG [org.springframework.core.CollectionFactory] Creating [org.apache.commons.collections.map.ListOrderedMap/CaseInsensitiveMap]
    2009-07-13 10:33:53,665 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(org.jboss.ws.soap.MessageFactoryImpl, false)
    2009-07-13 10:33:53,665 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Searching local repositories
    2009-07-13 10:33:53,665 DEBUG [org.apache.catalina.loader.WebappClassLoader]     findClass(org.jboss.ws.soap.MessageFactoryImpl)
    2009-07-13 10:33:53,665 DEBUG [org.apache.catalina.loader.WebappClassLoader]       findClassInternal(org.jboss.ws.soap.MessageFactoryImpl)
    2009-07-13 10:33:53,666 DEBUG [org.apache.catalina.loader.WebappClassLoader]     --> Passing on ClassNotFoundException
    2009-07-13 10:33:53,666 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Delegating to parent classloader at end: java.net.FactoryURLClassLoader@4aca27
    2009-07-13 10:33:53,668 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Loading class from parent
    2009-07-13 10:33:53,706 DEBUG [org.apache.catalina.loader.WebappClassLoader] getResourceAsStream(META-INF/services/javax.xml.parsers.DocumentBuilderFactory)
    2009-07-13 10:33:53,706 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Searching local repositories
    2009-07-13 10:33:53,707 DEBUG [org.apache.catalina.loader.WebappClassLoader]     findResource(META-INF/services/javax.xml.parsers.DocumentBuilderFactory)
    2009-07-13 10:33:53,707 DEBUG [org.apache.catalina.loader.WebappClassLoader]     --> Resource not found, returning null
    2009-07-13 10:33:53,707 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Delegating to parent classloader unconditionally java.net.FactoryURLClassLoader@4aca27
    2009-07-13 10:33:53,707 DEBUG [org.apache.catalina.loader.WebappClassLoader]   --> Returning stream from parent
    2009-07-13 10:33:53,708 DEBUG [org.apache.catalina.loader.WebappClassLoader] loadClass(org.apache.xerces.jaxp.DocumentBuilderFactoryImpl, false)
    2009-07-13 10:33:53,711 DEBUG [org.apache.catalina.loader.WebappClassLoader] getResourceAsStream(META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration)
    2009-07-13 10:33:53,711 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Searching local repositories
    2009-07-13 10:33:53,711 DEBUG [org.apache.catalina.loader.WebappClassLoader]     findResource(META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration)
    2009-07-13 10:33:53,712 DEBUG [org.apache.catalina.loader.WebappClassLoader]     --> Resource not found, returning null
    2009-07-13 10:33:53,712 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Delegating to parent classloader unconditionally java.net.FactoryURLClassLoader@4aca27Any ideas as to why we have
    getResourceAsStream(META-INF/services/javax.xml.soap.MessageFactory)on one box as opposed to
    loadClass(org.jboss.ws.soap.MessageFactoryImpl, false)on the other, which later on leads to
    [org.apache.catalina.loader.WebappClassLoader]     findClass(org.jboss.ws.soap.SOAPFactoryImpl)
    2009-07-13 10:33:53,757 DEBUG [org.apache.catalina.loader.WebappClassLoader]       findClassInternal(org.jboss.ws.soap.SOAPFactoryImpl)
    2009-07-13 10:33:53,757 DEBUG [org.apache.catalina.loader.WebappClassLoader]     --> Passing on ClassNotFoundException
    2009-07-13 10:33:53,757 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Delegating to parent classloader at end: java.net.FactoryURLClassLoader@4aca27
    2009-07-13 10:33:53,759 DEBUG [org.apache.catalina.loader.WebappClassLoader]   Loading class from parent
    2009-07-13 10:33:53,762 ERROR [STDERR] java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl
    2009-07-13 10:33:53,763 ERROR [STDERR]      at com.sun.xml.rpc.streaming.XmlTreeWriter.addNewNode(XmlTreeWriter.java:108)
    2009-07-13 10:33:53,763 ERROR [STDERR]      at com.sun.xml.rpc.streaming.XmlTreeWriter.startElement(XmlTreeWriter.java:142)
    2009-07-13 10:33:53,763 ERROR [STDERR]      at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:558)So the exception is being triggered by a claanofoundException for
    org.jboss.ws.soap.SOAPFactoryImpl

  • Jndi exception

    hi all,
    i am getting this exception..I am using sun Application Sever 8.0
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory]
    my code is here:
    Properties prop = new Properties();
    prop.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.fscontext.RefFSContextFactory");
    prop.put(Context.PROVIDER_URL,"iiop://localhost:7676");
    JndiTemplate jndi = new JndiTemplate(prop);
    QueueConnectionFactory fabrika = (QueueConnectionFactory) jndi.lookup("qcf");
    my factory and url is correct for sun application server 8.0?
    thanks...

    C:\JBuilderX\jdk1.4\bin\javaw -classpath "C:\HelloRMIIIOP\HelloRMIIIOP\classes;C:\JBuilderX\lib\cx.jar;C:\JBuilderX\jdk1.4\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilderX\jdk1.4\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\JBuilderX\jdk1.4\jre\javaws\javaws.jar;C:\JBuilderX\jdk1.4\jre\lib\applet\WMPNS.jar;C:\JBuilderX\jdk1.4\jre\lib\charsets.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\cosnaming.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\dnsns.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\ldapsec.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\localedata.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\providerutil.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\sunjce_provider.jar;C:\JBuilderX\jdk1.4\jre\lib\im\indicim.jar;C:\JBuilderX\jdk1.4\jre\lib\im\thaiim.jar;C:\JBuilderX\jdk1.4\jre\lib\jce.jar;C:\JBuilderX\jdk1.4\jre\lib\jsse.jar;C:\JBuilderX\jdk1.4\jre\lib\plugin.jar;C:\JBuilderX\jdk1.4\jre\lib\rt.jar;C:\JBuilderX\jdk1.4\jre\lib\sunrsasign.jar;C:\JBuilderX\jdk1.4\lib\dt.jar;C:\JBuilderX\jdk1.4\lib\htmlconverter.jar;r" HelloServer
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.cosnaming.CNCtxFactory [Root exception is java.lang.ClassNotFoundException: com/sun/jndi/cosnaming/CNCtxFactory ]
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)Trouble: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.cosnaming.CNCtxFactory [Root exception is java.lang.ClassNotFoundException: com/sun/jndi/cosnaming/CNCtxFactory ]
         at javax.naming.InitialContext.<init>(InitialContext.java:175)
         at HelloServer.main(HelloServer.java:13)
    Caused by: java.lang.ClassNotFoundException: com/sun/jndi/cosnaming/CNCtxFactory
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
         ... 4 more
    please help!!!i its driving me nuts!!!

  • JBOSS JNDI

    I am trying to setup a datasource in jboss.
    I have done the following:
    in my C:\jboss-4.0.3SP1\server\default\deploy i have configured postgreSQL-ds.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
    <local-tx-datasource>
    <jndi-name>PostgresDS</jndi-name>
    <connection-url>jdbc:postgresql://pghost/db</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>xxx</user-name>
    <password></password>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>20</max-pool-size>
    <idle-timeout-minutes>0</idle-timeout-minutes>
    <track-statements/>
    </local-tx-datasource>
    </datasources>
    and put my jdbc driver in C:\jboss-4.0.3SP1\server\default\lib\postgresql.jar
    then i try to access it in my jsp page:
    <sql:setDataSource dataSource="PostgresDS" var="ab"/>
         <sql:transaction dataSource="${ab}">
         <sql:query var="rs">
              select * from table
         </sql:query>
         </sql:transaction>
    but it keep on saying no suitable driver found when i try to run my page.
    what have i done wrong?

    In web.xml making the following entry:
    <web-app>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    Next, add a file jboss-web.xml under WEB-INF/ folder of the web-application. This file should contain entry as:
    <jboss-web>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <jndi-name>java:/jdbc/test</jndi-name>
    <res-auth>Container</res-auth>
    </resource-ref>
    </jboss-web>
    Next, in JBOSS_HOME/server/default/deploy folder make a xx-ds.xml file or else, a similiar file can be found in that same folder with the name hsqldb-ds.xml. Make following entries in that xml file:
    <datasources>
    <local-tx-datasource>
    <jndi-name>/jdbc/test</jndi-name>
    <type-mapping>MySQL</type-mapping>
    <connection-url>jdbc:mysql://localhost:3306/shopping_cart</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    <password>root123</password>
    <min-pool-size>1</min-pool-size>
    <max-pool-size>5</max-pool-size>
    </local-tx-datasource>
    This should bind the jndi name.
    In our client application, we need to look up as:
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:/jdbc/test");
    Connection conn = ds.getConnection();
    This works perfectly.

Maybe you are looking for