Hi,
What kind of object did you get (what class)?
An easy way to find out is add System.out.println(...)
Thomas
On 1/17/07, Andrea K. <[EMAIL PROTECTED]> wrote:
I configured my server (OC4J) to user jca connector. The jndi name is
jcr/GlobalRepository, but when i try to bind it i get a classcastexception
casting to Repository. Can you explain where i go wrong?
To connect I use code like this:
...
Repository rep=(Repository) new
InitialContext().lookup("jcr/globalRepository");
Session session=rep.login();
session.close();
...
Thanks.
--
View this message in context:
http://www.nabble.com/Jca-Connector-tf3028162.html#a8413232
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.