I have a question on resource managers.

I have entered a JDBC datasource on my Resource managers tab of the
deployment tool in hopes that I could access the data source from a
remote client.

I have the "Resource name" equal to the second argument in my data
source declaration in the jboss.conf.

I have the "JNDI-name of DataSource" set to "store.DataSource" (which I
want to be the exported JNDI name).

If I try to lookup "store.DataSource", it fails (the error is below).
If I try to lookup the Hypersonic source to which it is bound, I get a
javax.naming.Reference object back.  (The Hypersonic source is running
in standalone mode, not client-server mode.)

I'm assuming I should be able to lookup the name "store.DataSource".  Do
I have this configured incorrectly?

Thanks for any help on this.

(Here's the error I get:)

[Default] javax.naming.NameNotFoundException: store.DataSource not bound
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:280)
        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:265)
        at javax.naming.InitialContext.lookup(Unknown Source)

--
Kevin Lewis
Middle Reliever
Axys Solutions
http://www.AxysSolutions.com/


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to