You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edmon Begoli <eb...@gmail.com> on 2005/02/04 00:04:00 UTC

Is there any option for .rar files on Tomcat 5.5.7

I understand that Tomcat is not a full J2EE app. server, but I would 
like to know if there
are any options to deploy .rar JCA adapters on Tomcat 5.5.7?

Thank you,
Edmon

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Is there any option for .rar files on Tomcat 5.5.7

Posted by Jacob Kjome <ho...@visi.com>.
But you can fake it by implementing a custom javax.naming.spi.ObjectFactory 
and returning an object implementing 
javax.resource.cci.ConnectionFactory.  I have done this to mimick the Kodo 
JDO JCA adapter so that whether the app is running in Weblogic or Tomcat, I 
access the JDO persistence manager in exactly the same way....

     public Connection getConnection()
     {
         return (javax.resource.cci.Connection) pmf().getPersistenceManager();
     }

note:  KodoPersistenceManager implements javax.resource.cci.Connection 
which is why this works.


See:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.html#Adding%20Custom%20Resource%20Factories


Jake

At 12:09 AM 2/4/2005 +0100, you wrote:
 >On Thu, 03 Feb 2005 18:04:00 -0500, Edmon Begoli <eb...@gmail.com> wrote:
 >> I understand that Tomcat is not a full J2EE app. server, but I would
 >> like to know if there
 >> are any options to deploy .rar JCA adapters on Tomcat 5.5.7?
 >
 >No, Tomcat doesn't support JCA, sorry.
 >
 >--
 >xxxxxxxxxxxxxxxxxxxxxxxxx
 >Rémy Maucherat
 >Developer & Consultant
 >JBoss Group (Europe) SàRL
 >xxxxxxxxxxxxxxxxxxxxxxxxx
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
 >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Is there any option for .rar files on Tomcat 5.5.7

Posted by Remy Maucherat <re...@gmail.com>.
On Thu, 03 Feb 2005 18:04:00 -0500, Edmon Begoli <eb...@gmail.com> wrote:
> I understand that Tomcat is not a full J2EE app. server, but I would
> like to know if there
> are any options to deploy .rar JCA adapters on Tomcat 5.5.7?

No, Tomcat doesn't support JCA, sorry.

-- 
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org