NameNotFoundException during lookup
ndpar Apr 26, 2003 6:02 AMHi,
I deployed connector (*.rar + *-ds.xml) in JB3.2, but could not lookup connection factory in JNDI tree from a client.
JB log is
11:43:21,975 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss/jboss-3.2.0/server/ndp/deploy/ndp-connector-caas.rar
11:43:22,075 INFO [RARMetaData] Loading JBoss Resource Adapter for CAAS EIS
11:43:22,075 INFO [RARMetaData] License terms present. See deployment descriptor.
11:43:22,075 INFO [RARDeployer] looking for nested deployments in : file:/D:/jboss/jboss-3.2.0/server/ndp/deploy/ndp-connector-caas.rar
11:43:22,095 INFO [RARDeployer] nested deployment: file:/D:/jboss/jboss-3.2.0/server/ndp/tmp/deploy/server/ndp/deploy/ndp-connector-caas.rar/34.ndp-connector-caas.rar-contents/ndp-connector-caas.jar
11:43:22,115 INFO [JARDeployer] looking for nested deployments in : file:/D:/jboss/jboss-3.2.0/server/ndp/tmp/deploy/server/ndp/deploy/ndp-connector-caas.rar/34.ndp-connector-caas.rar-contents/ndp-connector-caas.jar
11:43:22,145 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.2.0/server/ndp/deploy/ndp-connector-caas.rar
11:43:22,155 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss/jboss-3.2.0/server/ndp/deploy/ndp-connector-caas-ds.xml
11:43:22,185 INFO [XSLSubDeployer] transformed into doc: [#document: null]
11:43:22,185 INFO [SARDeployer] looking for nested deployments in : file:/D:/jboss/jboss-3.2.0/server/ndp/deploy/ndp-connector-caas-ds.xml
11:43:22,256 INFO [RARDeployment] Creating
11:43:22,256 INFO [RARDeployment] Created
11:43:22,266 INFO [JBossManagedConnectionPool] Creating
11:43:22,266 INFO [JBossManagedConnectionPool] Created
11:43:22,266 INFO [NoTxConnectionManager] Creating
11:43:22,266 INFO [NoTxConnectionManager] Created
11:43:22,266 INFO [RARDeployment] Starting
11:43:22,316 INFO [RARDeployment] Started
11:43:22,316 INFO [JBossManagedConnectionPool] Starting
11:43:22,326 INFO [JBossManagedConnectionPool] Started
11:43:22,326 INFO [NoTxConnectionManager] Starting
11:43:22,356 INFO [ndp/CAASConnectionFactory] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=NoTxCM,name=ndp/CAASConnectionFactory to JNDI name 'java:/ndp/CAASConnectionFactory'
11:43:22,366 INFO [NoTxConnectionManager] Started
11:43:22,376 INFO [MainDeployer] Deployed package: file:/D:/jboss/jboss-3.2.0/server/ndp/deploy/ndp-connector-caas-ds.xml
Client's log
11:50:53,645 [INFO, CAASClient] Created context=javax.naming.InitialContext@df503, URL=localhost:1199, Factory=org.jnp.interfaces.NamingContextFactory
11:50:53,645 [INFO, CAASClient] Looking up a 'ndp/CAASConnectionFactory'
11:50:54,947 [ERROR, CAASClient] ndp not bound
javax.naming.NameNotFoundException: ndp not bound
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at org.ndp.ra.client.CAASClient.testConnection(CAASClient.java:43)
at org.ndp.ra.client.CAASClient.main(CAASClient.java:70)
Can somebody help me?
Thanks,
Andy