Home > Archive > EAserver > December 2005 > ConnCache and com.sybase.jaguar.conncache.ssa









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ConnCache and com.sybase.jaguar.conncache.ssa

2005-12-02, 7:24 am

Hi!

I have a Connection Cache that has com.sybase.jaguar.conncache.ssa to true.
How can I use it with the naming context?
The code does not work if the ssa is set to true.

javax.sql.DataSource ds = (javax.sql.DataSource)
_ncontext.lookup("java:comp/env/jdbc/myDB");
_connection = ds.getConnection();

Is it possible to set some properties for the datasource or for the
connection to make it work?

/Remus


Ulf

2005-12-08, 7:25 am

Is it a Sybase DB? If not I'm not sure it will work...
/Ulf
> Hi!
>
> I have a Connection Cache that has
> com.sybase.jaguar.conncache.ssa to true. How can I use it
> with the naming context? The code does not work if the ssa
> is set to true.
>
> javax.sql.DataSource ds = (javax.sql.DataSource)
> _ncontext.lookup("java:comp/env/jdbc/myDB");
> _connection = ds.getConnection();
>
> Is it possible to set some properties for the datasource
> or for the connection to make it work?
>
> /Remus
>
>

Kevin Bates

2005-12-22, 11:24 am

What error message are you seeing in the Jaguar.log? What version of
EAServer are you running?

Kevin


<Ulf> wrote in message news:43982b32.5e00.1681692777@sybase.com...[color=darkred]
> Is it a Sybase DB? If not I'm not sure it will work...
> /Ulf


2005-12-23, 3:24 am

The problem it was relaying on the DB.
By using ssa we had in the DB checks after the jagadmin (username) so it
didn't work.
I just created another connection with ssa false instead.

/Remus

"Kevin Bates" <kbates@sybase.com> wrote in message
news:43aace69$1@foru
ms-1-dub...
> What error message are you seeing in the Jaguar.log? What version of
> EAServer are you running?
>
> Kevin
>
>
> <Ulf> wrote in message news:43982b32.5e00.1681692777@sybase.com...
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com