03-07-2007 03:09 AM
03-12-2007 09:52 AM
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
at org.springframework.jmx.support.ConnectorServerFactoryBean.afterPropertiesSet(ConnectorServerFactoryBean.java:183)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at
…
03-14-2007 02:05 AM
03-15-2007 02:16 AM
I've read the wiki and forums, but it's still a little unclear to me when RMI is required to access the repository…
We are planning on using Liferay portal in combination with Alfresco CMS. If they are both running on the same Tomcat / JBoss server, do the liferay portlets have to connect to the repository through JCR-RMI or can they communicate directly with the JCR?
If anyone out there is using the Liferay/Alfresco combination I'd be interested in hearing how you went about it…
Thanks
03-15-2007 02:21 AM
I'm stuck at the very same spot. :? The one thing I'm doing different is not using Liferay. So, it's seems not to be a portal/database config issue, if that's any help.
I've tried with alfresco (tomcat) running and when it is shutdown. No difference really. So, it's prolly not tomcat config either. Did I forget to tweak Spring. Don't recall any instructions for that!!!
Where do I go from here :?:
03-15-2007 02:22 AM
I'm stuck at the very same spot. :? The one thing I'm doing different is not using Liferay. So, it's seems not to be a portal/database config issue, if that's any help.
I've tried with alfresco (tomcat) running and when it is shutdown. No difference really. So, it's prolly not tomcat config either. Did I forget to tweak Spring. Don't recall any instructions for that!!!
Where do I go from here :?:
03-15-2007 02:37 AM
I've tried with alfresco (tomcat) running and when it is shutdown. No difference really. So, it's prolly not tomcat config either. Did I forget to tweak Spring. Don't recall any instructions for that!!!
Are you running Alfresco AND the sample?Thanks, I thought so too. But this is something else.
If I had to take a guess, The sample probably loads the repository embedded in the sample application. That would lead to two applications trying to attach to the same port and you would have a problem.
03-16-2007 06:11 AM
Sorry I have not responded to this – because I am very busy at the moment working on a Liferay/Alfresco deploymentThanks for the reply!
You can do either. JCR-RMI would be used if you don’t have access to an in-process repository. By In-Process I mean that it’s in the same JVM (not the necessarily the same web app or class loader.) Each of our nodes has a local repository under it which allows us to access the content via JCR (with a hint of Alfresco Foundation calls for fast searches) with local calls. We export the JCR implementation in to JNDI and then pick it up with applications deployed in to the portal. These local repositories are fed by a central Alfresco instance that has a much wider scope (enterprise content management vs content delivery.)
Are you trying to link your own applications to the Alfresco JCR or Liferay’s?
Very to have missed this thread… I’ve been a little to busy to be active in the forums lately which is really drag’n me down.
[javac] 25. import org.alfresco.service.cmr.repository.NodeService;
[javac] ^———^
[javac] *** Semantic Error: The class file "NodeService.class" in … has an invalid format (bad string annotation constant).
03-16-2007 08:38 PM
Sorry I have not responded to this – because I am very busy at the moment working on a Liferay/Alfresco deploymentThanks for the reply!
You can do either. JCR-RMI would be used if you don’t have access to an in-process repository. By In-Process I mean that it’s in the same JVM (not the necessarily the same web app or class loader.) Each of our nodes has a local repository under it which allows us to access the content via JCR (with a hint of Alfresco Foundation calls for fast searches) with local calls. We export the JCR implementation in to JNDI and then pick it up with applications deployed in to the portal. These local repositories are fed by a central Alfresco instance that has a much wider scope (enterprise content management vs content delivery.)
Are you trying to link your own applications to the Alfresco JCR or Liferay’s?
Very to have missed this thread… I’ve been a little to busy to be active in the forums lately which is really drag’n me down.
What I'm trying to do is simply accessing the data stored in Alfresco's JCR from portlets in Liferay… Liferay and Alfresco will be running on the same server. I'm not at all familiar with JNDI so I'm gonna read up on that.
I just want to make sure I'm going about this the right way. I get the impression that the Alfresco/Liferay combination is widely used, but I can't seem to find much code/help/documentation on tying the two together…
Right now I'm trying to write a portlet that just accesses the repository and gets the first node, but the compiler has a problem with the NodeService class;
[javac] 25. import org.alfresco.service.cmr.repository.NodeService;
[javac] ^———^
[javac] *** Semantic Error: The class file "NodeService.class" in … has an invalid format (bad string annotation constant).
09-27-2007 05:58 PM
You can do either. JCR-RMI would be used if you don�t have access to an in-process repository. By In-Process I mean that it�s in the same JVM (not the necessarily the same web app or class loader.) Each of our nodes has a local repository under it which allows us to access the content via JCR (with a hint of Alfresco Foundation calls for fast searches) with local calls.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.