cancel
Showing results for 
Search instead for 
Did you mean: 

JCR RMI - Security Issues + Jboss

danul
Champ in-the-making
Champ in-the-making
Hi there,

I've started working with the JCR RMI implementation that is provided through the Alfresco Forge, however I've hit a couple of snags which i'm hoping you guys can help with…

Firstly, once i had the implementation running, I was unable to get it to bind with the JBoss (4.0.4 GA, JVM 5, Linux) RMI implementation.  It always returned an error about the object not being in the table.  If anyone has encountered this and has a solution, I'd be very appreciative.  The only way at this point i've been able to work around is getting Alfresco to point to rmiregistry instead (not really ideal…)

Secondly, I'm able to run the simple example that is provided with the JCR RMI implementation without any problems, however when I try and extend this out to build up the example JCR app in the wiki, I'm finding RMI is throwing Security Access exceptions, and complaining it doesn't have permission to the class loader.  Does this sound familiar to anyone?  Would anyone have sample policy configurations or ideas of how to get around this?

The setup will be alfresco running on one server, while the physical app runs on another.

I greatly appreciate any help any one may have.

Thanks,

Daniel
1 REPLY 1

danul
Champ in-the-making
Champ in-the-making
For those interested I've solved half of my problem.  I'm not an RMI guru so i'd need to guess as to what it's actually up to, however adding the alfresco libraries to my client code has fixed the problem.

However I still havn't worked out why it can't bind to JBoss RMI.

Daniel