As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hallo,I have downloaded and installed Russ Danners JCR to JNDI adapter(http://issues.alfresco.com/browse/AR-1131)but when running the Web-test-application the following error occurs:>>>error during JNDI lookup for [jcr/baseRepository] [javax.naming.NameNotFoundException: Name jcr is not bound in this Context]<<<Has anyone experience with this adapter?My environment:Windows XPTomcat 5.5Alfresco 1.4Java 6RegardsMarkus
[STDOUT] error during JNDI lookup for [jcr/baseRepository] [java.lang.NullPointerException]
vRetComponent = NonSerializableFactory.lookup(pName);
I've tried the JCR-JNDI test app and it works fine, but when I try to do the same from a portlet, I get a nullpointer exception…[STDOUT] error during JNDI lookup for [jcr/baseRepository] [java.lang.NullPointerException]Is there any reason why this shouldn't work from a portlet context?code that returns null (pName is "jcr/baseRepository"):vRetComponent = NonSerializableFactory.lookup(pName);I'm running it on JBoss, WinXP…
:!: Advice: Do not use JNDI-JCR bridges current version (Version 5 from Jira) with JBoss. With solutions attached test application you can see that it throws exceptions and rolls back operations. Also, even if test application fetches data from Alfresco I didn't manage to get handle of JCR repository adapter with JBoss from JNDI even if it worked just fine with Tomcat. If you want to see when Mbean is run please change JBoss logging level. It is run, and works somehow, as you can see with test app, but there must be issues on it since in addtion to exceptions it seems to hang after setup through spring is failed. :?: What would be working way of integrating Tomcat (Development) & JBoss (Production) + Liferay + Alfresco? Everything should be running within same virtual machine.Does anyone have complete Maven2 script for embedding Alfresco 2.0 SDK or is there any put to public? This is the thing I am wanting to try next.- Jukkis