You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Markku Saarela <ma...@iki.fi> on 2008/11/07 18:09:53 UTC

Jackrabbit with Geronimo JCA model 2 deployment failed in repository login.

Hi,

Jackrabbit 1.4 (1.4.1 core)  JCA deployed to Geronimo 2.1.1. Web 
application or ejb session bean  failed with repository login. 
InitialContext lookup find Repository but calling repository.login( new 
SimpleCredentials( "system", "manager".toCharArray() ) ); method results 
exception:

Caused by: javax.resource.ResourceException: No subject for container 
managed security
        at 
org.apache.geronimo.connector.outbound.SubjectInterceptor.getConnection(SubjectIntercepto 

r.java:51)
        at 
org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(Connecti 

onHandleInterceptor.java:43)
        at 
org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java 

:39)
        at 
org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(Connec 

tionTrackingInterceptor.java:66)
        at 
org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(Abstr 

actConnectionManager.java:87)
        at 
org.apache.jackrabbit.jca.JCARepositoryHandle.login(JCARepositoryHandle.java:98) 


So how to configure Geronimo to provide subject to connector?

Another question: best practicies for define HomeDir and ConfigFile 
properties in geronimo-ra.xml?

rgds,

Markku