I posted a response about this topic a couple of weeks ago. You must
go to tyrex, download the sources, get the ots.jar package and put it
into %TOMCAT_HOME%/common/lib. There's a small dependence in tyrex
upon CORBA classes, ant ots.jar contains the required files.

Hi.

--
Fabrizio Giudici, Ph.D. - Senior Consultant
Java(TM) Architect, Mentor, Senior Writer
email  [EMAIL PROTECTED]
mobile +39 348 1506941 - fax +39 02 700510536
Member of ADI (Italian Ph.D. Association)

> -----Original Message-----
> From: Mark Muffett [mailto:[EMAIL PROTECTED]]
> Sent: marted� 12 febbraio 2002 14.12
> To: [EMAIL PROTECTED]
> Subject: Tyrex & Tomcat
>
>
> 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(Transaction
> Server.jav
> a:200)
>  at
> tyrex.server.TransactionServer.getTransactionDomain(TransactionSer
> ver.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]>
>
>
>


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

Reply via email to