AnsweredAssumed Answered

instalación alfresco community-4.2-c linux 64 bits

Question asked by miguelejas on Dec 19, 2013
Latest reply on Dec 23, 2013 by miguelejas
Buenas, he instalado alfresco versión 4.2c en linux y lo estoy intentado configurar para oracla 11g y tengo un error que no soy capaz de solventar. La librería de oracle que estoy utilizando es ojdbc14-1.0.jar y el amp de creación de esquema de bbdd utilizo oracle-alfresco-4.2-b.amp. Adjunto el contenido de mi alfresco-global.properties:

###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-4.2.c/alf_data

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=oracle.jdbc.OracleDriver
db.url=jdbc:oracle:thin:@//ora11gdes.sescam.jclm.es:1529/ALFRESCO
db.username=alfresco
db.password=alfresco
db.name=alfresco
db.pool.validate.query=SELECT 1 FROM DUAL

### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=/opt/alfresco-4.2.c/libreoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
img.root=/opt/alfresco-4.2.c/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco-4.2.c/common/bin/pdf2swf
swf.languagedir=/opt/alfresco-4.2.c/common/japanese

jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco-4.2.c/libreoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=eac2d371655e14c1dc0744fd60a70251

### E-mail site invitation setting ###
notification.email.siteinvite=false

### License location ###
dir.license.external=/opt/alfresco-4.2.c

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

authentication.chain=ldap1:ldap


Os adjunto el error que me da:

13:23:58,982 ERROR [org.alfresco.repo.domain.schema.SchemaBootstrap] Unable to dump schema to directory /opt/alfresco-4.2.c/tomcat/temp/Alfresco
java.lang.RuntimeException: Unable to execute export.
        at org.alfresco.util.schemacomp.ExportDb.execute(ExportDb.java:178)
        at org.alfresco.util.schemacomp.DbToXML.execute(DbToXML.java:70)
        at org.alfresco.util.schemacomp.MultiFileDumper.dumpFiles(MultiFileDumper.java:102)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.attemptDumpSchema(SchemaBootstrap.java:1967)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.dumpSchema(SchemaBootstrap.java:1941)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.dumpSchema(SchemaBootstrap.java:1921)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.dumpSchema(SchemaBootstrap.java:1934)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.executeScriptFile(SchemaBootstrap.java:1102)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.executeScriptUrl(SchemaBootstrap.java:1001)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.checkSchemaPatchScripts(SchemaBootstrap.java:972)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.updateSchema(SchemaBootstrap.java:842)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1539)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
        at org.alfresco.util.schemacomp.ExportDb.extractSchema(ExportDb.java:333)
        at org.alfresco.util.schemacomp.ExportDb.execute(ExportDb.java:209)
        at org.alfresco.util.schemacomp.ExportDb.execute(ExportDb.java:174)
        … 35 more

Leyendo en la comunidad puede que sea por el .amp que no cree bien las tablas del esquema bbdd de oracle, y es posible que tengo que utilizar otra versión. Alguien ha instalado esta versión de alfresco con oracle 11g? Alguien me puede decir algo sobre este error?

Outcomes