jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Chantepie <cchante...@corsaire.fr>
Subject Re: accessing JCR over JNDI
Date Fri, 10 Oct 2008 09:30:57 GMT
Blanco Emanuele a écrit :
> I'm deploying the web application on the same JBoss... this is the reason why I wonder
it still won't work. It should work like you tell me... can you post your web.xml, jboss-web.xml
and code where you make the lookup?
I've nothing related to JNDI in my web.xml or jboss-web.xml, and my 
lookup is as following :

InitialContext ctx = new InitialContext();
Repository repo = (Repository) ctx.lookup("java:jcr/MyRepo");


View raw message