jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markku Saarela <markku.saar...@iki.fi>
Subject Jackrabbit with Geronimo JCA model 2 deployment failed in repository login.
Date Fri, 07 Nov 2008 17:09:53 GMT
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


Mime
View raw message