Deploy Alfresco 3.2 con JBoss 5.1

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
acarol
Member II

Deploy Alfresco 3.2 con JBoss 5.1

Estamos instalando Alfresco 3.2 en un servidor JBoss 5.1, el entorno es el siguiente:
SO
Linux alfresco.in-primis.cat 2.6.18-164.6.1.el5xen #1 SMP Tue Nov 3 17:53:47 EST 2009 i686 i686 i386 GNU/Linux
JBoss 5.1
Alfersco 3.2 (alfresco-community-war-3.2.tar.gz)
Java: java-1.6.0-openjdk, java-1.6.0-openjdk-demo, java-1.6.0-openjdk-devel, java-1.6.0-openjdk-javadoc, java-1.6.0-openjdk-src
VERSIÓN: 1.6.0 RELEASE:1.7.b09.el5
MYSQL 5.0.45

————– El error ——————

07:48:46,967 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from FileHandler@22145513[path=alfresco.war/WEB-INF/classes/alfresco/repository.properties context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/repository.properties]
07:48:46,970 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from FileHandler@13887662[path=alfresco.war/WEB-INF/classes/alfresco/domain/transaction.properties context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/domain/transaction.proper...]
07:48:46,971 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [vfsfile:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco-global.properties]
07:48:47,052 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from FileHandler@32145929[path=alfresco.war/WEB-INF/classes/alfresco/alfresco-shared.properties context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/alfresco-shared.propertie...]
07:48:47,425 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerComponent' defined in
FileHandler@32976727[path=alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml]: Cannot resolve reference to bean '&indexerAndSearcherFactory' while setting bean property 'storeRedirectorProxyFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerAndSearcherFactory' defined in FileHandler@32976727[path=alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml]: Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in FileHandler@32976727[path=alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [org.alfresco.repo.search.MLAnalysisMode] for property 'defaultMLIndexAnalysisMode'; nested exception is java.lang.IllegalArgumentException: Unsupported value: EXACT_LANGUAGE_AND_ALL
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerAndSearcherFactory' defined in FileHandler@32976727[path=alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml]: Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in FileHandler@32976727[path=alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [org.alfresco.repo.search.MLAnalysisMode] for property 'defaultMLIndexAnalysisMode'; nested exception is java.lang.IllegalArgumentException: Unsupported value: EXACT_LANGUAGE_AND_ALL
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in FileHandler@32976727[path=alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml context=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/ real=file:/opt/jboss/jboss-5.1.0.GA/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [org.alfresco.repo.search.MLAnalysisMode] for property 'defaultMLIndexAnalysisMode'; nested exception is java.lang.IllegalArgumentException: Unsupported value: EXACT_LANGUAGE_AND_ALL
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [org.alfresco.repo.search.MLAnalysisMode] for property 'defaultMLIndexAnalysisMode'; nested exception is java.lang.IllegalArgumentException: Unsupported value: EXACT_LANGUAGE_AND_ALL
Caused by: java.lang.IllegalArgumentException: Unsupported value: EXACT_LANGUAGE_AND_ALL
   at sun.beans.editors.EnumEditor.setValue(EnumEditor.java:71)
   at sun.beans.editors.EnumEditor.setAsText(EnumEditor.java:101)
   at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:343)
   at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:319)
   at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:192)
   at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
   at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:380)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1112)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   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.getBeansOfType(DefaultListableBeanFactory.java:248)
   at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:820)
   at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:597)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
   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 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
   at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
   at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
   at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
   at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
   at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
   at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
   at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
   at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
   at $Proxy38.start(Unknown Source)
   at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
   at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
   at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
   at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
   at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
   at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
   at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
   at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
   at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
   at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
   at org.jboss.system.ServiceController.start(ServiceController.java:460)
   at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
   at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
   at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
   at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
   at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
   at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
   at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
   at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
   at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
   at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
   at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
   at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
   at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
   at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
   at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
   at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
   at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
   at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
   at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
   at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
   at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
   at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
   at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
   at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
   at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
   at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
   at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
   at org.jboss.Main.boot(Main.java:221)
   at org.jboss.Main$1.run(Main.java:556)
   at java.lang.Thread.run(Thread.java:636)
—————————————–
El fichero alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################

#
# Sample custom content and index data location
#
dir.root=/srv/alfresco/alf_data
index.recovery.mode=FULL

#
# Sample database connection properties
#
db.username=xxxxxx
db.password=xxxxxx

#
# Property to control whether schema updates are performed automatically.
# Updates must be enabled during upgrades as, apart from the static upgrade scripts,
# there are also auto-generated update scripts that will need to be executed.  After
# upgrading to a new version, this can be disabled.
#
db.schema.update=true

#
# MySQL connection
#
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://192.168.0.6:3306/alfrescoxxx

# The well known RMI registry port is defined in the alfresco-shared.properties file
# alfresco.rmi.services.port=50500
#
# RMI service ports for the individual services.
# These seven services are available remotely.
#
# Assign individual ports for each service for best performance
# or run several services on the same port. You can even run everything on 50500 if needed.
#
# Select 0 to use a random unused port.
#
#avm.rmi.service.port=50501
#avmsync.rmi.service.port=50502
#attribute.rmi.service.port=50503
#authentication.rmi.service.port=50504
#repo.rmi.service.port=50505
#action.rmi.service.port=50506
#wcm-deployment-receiver.rmi.service.port=50507
——-




Lo mejor de todo es que lo tenemos funcionando en un Fedora 12.
No soy capaz de ver que pasa, alguna idea?

Muchas grácias por la ayuda.
3 Replies
pjcaracuel_2349
Active Member

Re: Deploy Alfresco 3.2 con JBoss 5.1

Buenas,

No se si seguiras con esta incidencia, pero si aun persiste, podias echarle un vistazo a este post:
http://forums.alfresco.com/en/viewtopic.php?f=14&t=14548

Saludos
acarol
Member II

Re: Deploy Alfresco 3.2 con JBoss 5.1

buenas,
he leido el mensaje, tiene logica.
El problema es que tengo una instal·lación que funciona con OpenJDK 1.6.0 Release 33.b16.fc12, con un fedora core 12, y
en el CentOS tengo OpenJDK 1.6.0.0 Release 1.7.b09.el5.

Alguien tiene Jboss 5.1 Alfresco 3.2 con OpenJDK 1.6.0.0 Release 1.7.b09.el5?

gracias por todo
acarol
Member II

Re: Deploy Alfresco 3.2 con JBoss 5.1

buenas,
el problema está solucionado!
ver http://forums.alfresco.com/es/viewtopic.php?f=5&t=2275#p9097
Gracias