Hello everyone, I am trying to install ALFRESCO and I would try to use JCR-RMI for remote access to it. I followed the guide online, but when I start the server (JBoss-4.2.2GA) gives me the following error in the server log.
2008-05-29 18:25:25,952 INFO [STDOUT] 18:25:25,952 ERROR [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] 2008-05-29 18:25:25,952 INFO [STDOUT] 18:25:25,952 ERROR [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] 2008-05-29 18:25:25,952 INFO [STDOUT] 18:25:25,952 ERROR [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI [java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
While this is all the server log that me.
2008-05-29 17:33:55,046 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 2008-05-29 17:33:55,046 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Setting up property manager MBean and JMX layer 2008-05-29 17:33:55,186 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Starting recovery manager 2008-05-29 17:33:55,249 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Recovery manager started 2008-05-29 17:33:55,249 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] Binding TransactionManager JNDI Reference 2008-05-29 17:33:57,139 INFO [org.jboss.ejb3.EJB3Deployer] Starting java:comp multiplexer 2008-05-29 17:33:57,343 INFO [STDOUT] no object for null 2008-05-29 17:33:57,358 INFO [STDOUT] no object for null 2008-05-29 17:33:57,358 INFO [STDOUT] no object for null 2008-05-29 17:33:57,374 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType 2008-05-29 17:33:57,389 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType 2008-05-29 17:33:59,593 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] JBoss Web Services - Native 2008-05-29 17:33:59,593 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837) 2008-05-29 17:34:00,218 INFO [org.apache.catalina.startup.Embedded] Catalina naming disabled 2008-05-29 17:34:00,311 INFO [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programmi\Java\jdk1.6.0_01\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\MySQL\MySQL Server 5.0\bin 2008-05-29 17:34:00,358 INFO [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 2008-05-29 17:34:00,374 INFO [org.apache.coyote.ajp.AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 2008-05-29 17:34:00,374 INFO [org.apache.catalina.startup.Catalina] Initialization processed in 154 ms 2008-05-29 17:34:00,374 INFO [org.apache.catalina.core.StandardService] Starting service jboss.web 2008-05-29 17:34:00,374 INFO [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA 2008-05-29 17:34:00,405 INFO [org.apache.catalina.startup.Catalina] Server startup in 37 ms 2008-05-29 17:34:00,483 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/, warUrl=…/deploy/jboss-web.deployer/ROOT.war/ 2008-05-29 17:34:00,858 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/invoker, warUrl=…/deploy/http-invoker.sar/invoker.war/ 2008-05-29 17:34:00,952 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=…/deploy/jbossws.sar/jbossws-context.war/ 2008-05-29 17:34:01,061 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=…/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 2008-05-29 17:34:01,686 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/web-console, warUrl=…/deploy/management/console-mgr.sar/web-console.war/ 2008-05-29 17:34:01,968 INFO [org.jboss.mail.MailService] Mail Service bound to java:/Mail 2008-05-29 17:34:02,061 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-ha-local-jdbc.rar 2008-05-29 17:34:02,093 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-ha-xa-jdbc.rar 2008-05-29 17:34:02,108 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-local-jdbc.rar 2008-05-29 17:34:02,139 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-xa-jdbc.rar 2008-05-29 17:34:02,171 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jms/jms-ra.rar 2008-05-29 17:34:02,202 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/mail-ra.rar 2008-05-29 17:34:02,218 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/quartz-ra.rar 2008-05-29 17:34:02,233 INFO [org.jboss.resource.adapter.quartz.inflow.QuartzResourceAdapter] start quartz!!! 2008-05-29 17:34:02,280 INFO [org.quartz.simpl.SimpleThreadPool] Job execution threads will use class loader of thread: main 2008-05-29 17:34:02,296 INFO [org.quartz.core.QuartzScheduler] Quartz Scheduler v.1.5.2 created. 2008-05-29 17:34:02,296 INFO [org.quartz.simpl.RAMJobStore] RAMJobStore initialized. 2008-05-29 17:34:02,296 INFO [org.quartz.impl.StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 2008-05-29 17:34:02,296 INFO [org.quartz.impl.StdSchedulerFactory] Quartz scheduler version: 1.5.2 2008-05-29 17:34:02,296 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 2008-05-29 17:34:02,796 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'javaefaultDS' 2008-05-29 17:34:02,968 INFO [org.jboss.mq.server.jmx.Queue.A] Bound to JNDI name: queue/A 2008-05-29 17:34:02,968 INFO [org.jboss.mq.server.jmx.Queue.B] Bound to JNDI name: queue/B 2008-05-29 17:34:02,968 INFO [org.jboss.mq.server.jmx.Queue.C] Bound to JNDI name: queue/C 2008-05-29 17:34:02,968 INFO [org.jboss.mq.server.jmx.Queue.D] Bound to JNDI name: queue/D 2008-05-29 17:34:02,968 INFO [org.jboss.mq.server.jmx.Queue.ex] Bound to JNDI name: queue/ex 2008-05-29 17:34:02,983 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Bound to JNDI name: topic/testTopic 2008-05-29 17:34:02,983 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Bound to JNDI name: topic/securedTopic 2008-05-29 17:34:03,014 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Bound to JNDI name: topic/testDurableTopic 2008-05-29 17:34:03,014 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Bound to JNDI name: queue/testQueue 2008-05-29 17:34:03,046 INFO [org.jboss.mq.il.uil2.UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093 2008-05-29 17:34:03,061 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to JNDI name: queue/DLQ 2008-05-29 17:34:03,139 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 2008-05-29 17:34:39,280 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/alfresco, warUrl=…/tmp/deploy/tmp39116alfresco-exp.war/ 2008-05-29 17:34:44,139 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/alfresco]] Loading Spring root WebApplicationContext 2008-05-29 17:34:53,296 INFO [STDOUT] 17:34:53,296 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 2008-05-29 17:34:55,405 INFO [STDOUT] 17:34:55,405 WARN [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established. 2008-05-29 17:34:58,202 INFO [STDOUT] 17:34:58,202 ERROR [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] 2008-05-29 17:34:58,202 INFO [STDOUT] 17:34:58,202 ERROR [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] 2008-05-29 17:34:58,202 INFO [STDOUT] 17:34:58,202 ERROR [jcr.repository.JcrRmiBindingUtil] "error occured while binding JCR to RMI [java.rmi.ConnectIOException: non-JRMP server at remote endpoint] 2008-05-29 17:34:58,764 INFO [STDOUT] 17:34:58,764 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect. 2008-05-29 17:35:00,796 INFO [STDOUT] 17:35:00,796 INFO [domain.schema.SchemaBootstrap] No changes were made to the schema. 2008-05-29 17:35:01,639 INFO [STDOUT] 17:35:01,639 WARN [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder. 2008-05-29 17:35:01,639 INFO [STDOUT] 17:35:01,639 INFO [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data 2008-05-29 17:35:01,702 INFO [STDOUT] 17:35:01,702 INFO [admin.patch.PatchExecuter] Checking for patches to apply … 2008-05-29 17:35:01,764 INFO [STDOUT] 17:35:01,764 INFO [repo.module.ModuleServiceImpl] Found 0 module(s). 2008-05-29 17:35:01,905 INFO [STDOUT] 17:35:01,905 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_01-b06; maximum heap size 493,063MB 2008-05-29 17:35:01,905 INFO [STDOUT] 17:35:01,905 WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less than recommended 512MB 2008-05-29 17:35:01,905 INFO [STDOUT] 17:35:01,905 INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (482) schema 64 - Installed version 2.1.0 (482) schema 64 2008-05-29 17:35:04,671 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=…/deploy/jmx-console.war/ 2008-05-29 17:35:04,843 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 2008-05-29 17:35:04,858 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 2008-05-29 17:35:04,874 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 1m:12s:266ms 2008-05-29 17:36:11,702 INFO [STDOUT] 17:36:11,686 ERROR [shared_impl.config.MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.
Sorry for the late reply, things have been pretty crazy lately. Hopefully you have long since resolved your issue. However, I would be interested in knowing which port you were attempting to configure your server for. The JBoss naming service exposes JNP (JNDI) service to 1099 and (by default) exposes RMI naming service to 1098. I would suggest trying 1098.
Hello, do not worry for the delay 🙂 no problem. I abandoned the idea of using JCR-RMI and now I'm trying to use webservice that they certainly are better supported. If comnque can do a test and you do know. Thank you