Hi Ted,
I guess that
1) you use the outdated jboss-castor.jar that is referenced from
the site. This is completely my fault, after "java:/" changes in jBoss
were done, I updated CVS version of CastorJDO module and put new
binary to "jbossweb" CVS module, while the new site was constructed in
the "newsite" module.
So, right now you can get jboss-castor.jar via WebCVS from
jbossweb/castorjdo
2) Now the JNDI name of datasource should start from "java:/", so your
database.xml should be
<database name="ledgertango" engine="interbase" >
<mapping href="mapping.xml" />
<jndi name="java:/jdbc/ledgertango"/>
</database>
Other your settings seem to be okay.
Regards,
Oleg
Stockwell, Ted wrote:
ST> Hi,
ST> I have written a session bean that uses JDO and I am trying to get it to
ST> work in JBOSS.
ST> I have successfully used JDO outside of JBOSS so I'm pretty sure my problem
ST> is a JBOSS configuration problem.
ST> I have a small client application that gets a reference to my session bean
ST> and calls one of the session bean's methods.
ST> The result is this exception inside JBOSS...
ST> [LedgerServer] javax.naming.NameNotFoundException: jdo not bound
ST> [LedgerServer] at
ST> org.jnp.server.NamingServer.getBinding(NamingServer.java:474)
ST> <snip>
ST> [LedgerServer] at
ST> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
ST> [LedgerServer] at
ST> javax.naming.InitialContext.lookup(InitialContext.java:350)
ST> [LedgerServer] at
ST> org.ledgertango.ejb.LedgerServerEJB.findObject(LedgerServerEJB.java:48)
ST> [LedgerServer] at
ST> org.ledgertango.ejb.LedgerServerEJB.findUserByLogin(LedgerServerEJB.java:95)
ST> [LedgerServer] at java.lang.reflect.Method.invoke(Native Method)
ST> <snip>
ST> [LedgerServer] at
ST> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:6
ST> 43)
ST> [LedgerServer] at java.lang.Thread.run(Thread.java:484)
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]