Blanco Emanuele a écrit :
I've nothing related to JNDI in my web.xml or jboss-web.xml, and my lookup is as following :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?
InitialContext ctx = new InitialContext();
Repository repo = (Repository) ctx.lookup("java:jcr/MyRepo");
Cédric
