I want to use the JNDI facilties for DataSources.  I have Tomcat 4.0.1 and
I'm using tyrex-0.9.7.jar (which comes with Tomcat).

I can't get it to work.  It compiles, but when I run the page and try to get
a database connection, it gives the error:

java.lang.NoClassDefFoundError: org/omg/CosTransactions/Inactive
 at
tyrex.server.TransactionServer.createTransactionDomain(TransactionServer.jav
a:200)
 at
tyrex.server.TransactionServer.getTransactionDomain(TransactionServer.java:1
83)
 at tyrex.tm.Tyrex.(Tyrex.java:77)
 at tyrex.tm.ResourceManager.run(ResourceManager.java:118)
 at java.security.AccessController.doPrivileged(Native Method)
 at tyrex.tm.ResourceManager.enlistResource(ResourceManager.java:91)
 at tyrex.jdbc.EnlistedConnection.enlist(EnlistedConnection.java:241)
 at tyrex.jdbc.EnlistedConnection.(EnlistedConnection.java:129)
 at tyrex.jdbc.ServerDataSource.getConnection(ServerDataSource.java:258)
 at tyrex.jdbc.ServerDataSource.getConnection(ServerDataSource.java:223)
 at AccessLog.doGet(AccessLog.java:190)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 ....

Have I made a stupid error? or should I use a different version of Tyrex, or
Tomcat, or should I try to find omg.jar (which I have searched for, but can
find only on the Orbix site).

Thanks for any help

Mark


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to