AnsweredAssumed Answered

WebSphere 6.1 Problema Alfresco 3.2

Question asked by alfa on Sep 3, 2010
Latest reply on Sep 9, 2010 by alfa
Alguien ha tenido este problema instalando dos aplicaciones alfresco en un mismo WebSphere 6.1 con dos contextos diferentes de Alfresco:

http://localhost:9081/alfresco1

http://localhost:9081/alfresco2

El primer alfresco arranca y funciona bien, cuando se arranca el segundo aparece este error:


Error Message: Error creating bean with name 'ftsIndexerTrigger' defined in class path resource [alfresco/scheduled-jobs-context.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: javax.management.InstanceNotFoundException: Alfresco:Name=Schedule,Group=DEFAULT,Type=MonitoredSimpleTrigger,Trigger=ftsIndexerTrigger
Error Code: 0
Target Servlet: null
Error Stack:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftsIndexerTrigger' defined in class path resource [alfresco/scheduled-jobs-context.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: javax.management.InstanceNotFoundException: Alfresco:Name=Schedule,Group=DEFAULT,Type=MonitoredSimpleTrigger,Trigger=ftsIndexerTrigger
     Caused by: java.lang.RuntimeException: javax.management.InstanceNotFoundException: Alfresco:Name=Schedule,Group=DEFAULT,Type=MonitoredSimpleTrigger,Trigger=ftsIndexerTrigger
     at org.alfresco.enterprise.repo.management.DynamicMBeanExporter.registerMBean(DynamicMBeanExporter.java:97)
     at org.alfresco.enterprise.scheduler.MonitoredRAMJobStore.storeTrigger(MonitoredRAMJobStore.java:120)
     at org.quartz.simpl.RAMJobStore.storeJobAndTrigger(RAMJobStore.java:196)
     at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:703)
     at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:255)
     at org.alfresco.util.AbstractTriggerBean.afterPropertiesSet(AbstractTriggerBean.java:118)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
     at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)
     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
     at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)
     at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:653)
     at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:370)
     at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:293)
     at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:93)
     at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:162)
     at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:673)
     at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:626)
     at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
     at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
     at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1274)
     at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1138)
     at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
     at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:817)
     at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:921)
     at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2124)
     at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
     Caused by: javax.management.InstanceNotFoundException: Alfresco:Name=Schedule,Group=DEFAULT,Type=MonitoredSimpleTrigger,Trigger=ftsIndexerTrigger
     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1028)
     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:372)
     at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:545)
     at com.ibm.ws.management.MBeanFactoryImpl.deactivateMBean(MBeanFactoryImpl.java:1068)
     at com.ibm.ws.management.PlatformMBeanServer.unregisterMBean(PlatformMBeanServer.java:572)
     at org.alfresco.enterprise.repo.management.DynamicMBeanExporter.registerMBean(DynamicMBeanExporter.java:91)
     … 35 more
    
Si paro el primer alfresco el segundo funciona.

Outcomes