AnsweredAssumed Answered

RMI error installing Alfresco

Question asked by amurguia on Aug 24, 2007
Hello! I'm trying to install Alfresco in OC4J 10.1.3.3.0. When I start OC4J, I get this error. Why I'm getting this error? Hope you can help me with this.


14:29:28,181 WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
14:29:28,331 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: Unauthorized access from application: alfresco to MBean: connector:name=rmi
Caused by:
java.lang.SecurityException: Unauthorized access from application: alfresco to MBean: connector:name=rmi
   at oracle.oc4j.admin.jmx.shared.UserMBeanServer.checkRegisterAccess(UserMBeanServer.java:873)
   at oracle.oc4j.admin.jmx.shared.UserMBeanServer.registerMBean(UserMBeanServer.java:400)
   at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.registerMBean(LocalizationFilterMBeanServer.java:348)
   at org.springframework.jmx.support.MBeanRegistrationSupport.doRegister(MBeanRegistrationSupport.java:162)
   at org.springframework.jmx.support.ConnectorServerFactoryBean.afterPropertiesSet(ConnectorServerFactoryBean.java:145)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:270)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1141)
   at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
   at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
   at com.evermind.server.Application.getHttpApplication(Application.java:570)
   at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
   at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
   at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
   at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
   at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
   at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
   at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
   at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
   at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
   at java.lang.Thread.run(Thread.java:595)
2007-08-24 14:29:28.472 ERROR J2EE HTTP-00004 Se ha producido un error interno al intentar instanciar la aplicación Web: alfresco definida en la dirección Web OC4J 10g (10.1.3) Default Web Site. Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: Unauthorized access from application: alfresco to MBean: connector:name=rmi

Outcomes