| Author |
ConnCache and com.sybase.jaguar.conncache.ssa
|
|
|
| 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
| |
|
| 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
| |
|
| 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...
>
>
|
|
|
|