cancel
Showing results for 
Search instead for 
Did you mean: 

Actualización de la version Enterprise 3.1 a 3.3

cybermakoki
Champ in-the-making
Champ in-the-making
Hola a todos!!

Bueno, comentaros que estoy intentando actualizar mi Alfresco de la versión 3.1.1 a la versión 3.3.1

Os cuento lo que he hecho:

- He guardado el contenido de alf_data de la versión 3.1.1 y he hecho un backup de la base de datos mysql  (mysqldump)
- He instalado la versión 3.3 en un directorio diferente, he borrado la base de datos y he arrancado la nueva versión.
- Ha arrancado sin problemas y funciona bien.

Una vez que he visto que la versión 3.3 funcionaba correctamente

- He copiado el contenido de la carpeta alf_data de la versión 3.1.1 en la versión 3.3
- He restaurado la base de datos y he copiado todos los ficheros de la carpeta extension

Cuando he arrancado la versión 3.3 me ha dado el siguiente error:

12:06:57,854  ERROR [domain.schema.SchemaBootstrap] Ejecuci¾n de comandos fallid
a:
SQL: CREATE TABLE alf_lock_resource
(
   id BIGINT NOT NULL AUTO_INCREMENT,
   version BIGINT NOT NULL,
   qname_ns_id BIGINT NOT NULL,
   qname_localname VARCHAR(255) NOT NULL,
   CONSTRAINT fk_alf_lockr_ns FOREIGN KEY (qname_ns_id) REFERENCES alf_namespace
(id),
   PRIMARY KEY (id),
   UNIQUE INDEX idx_alf_lockr_key (qname_ns_id, qname_localname)
) TYPE=InnoDB
Error: Table 'alf_lock_resource' already exists
File: C:\ALFRES~2\tomcat\temp\Alfresco\AlfrescoSchema-MySQLInnoDBDialect-Update-
23278.sql
Line: 19
12:06:57,854  ERROR [domain.schema.SchemaBootstrap] Actualizaci¾n automßtica de
esquema fallida
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'alf_lock_resou
rce' already exists
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
        at com.mysql.jdbc.Util.getInstance(Util.java:381)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2548)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2477)
        at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:741)
        at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:587)
        at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStateme
nt.java:264)
        at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStateme
nt.java:264)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.executeStatement(Sche
maBootstrap.java:1120)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.executeScriptFile(Sch
emaBootstrap.java:1074)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.executeScriptUrl(Sche
maBootstrap.java:860)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.checkSchemaPatchScrip
ts(SchemaBootstrap.java:831)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.updateSchema(SchemaBo
otstrap.java:733)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBoo
tstrap.java:1280)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onAppl
icationEvent(AbstractLifecycleBean.java:56)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicas
tEvent(SafeApplicationEventMulticaster.java:78)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finish
Refresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(Context
LoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
12:06:57,963  ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 07190000 Actualizaci¾n automßtica d
e esquema fallida
        at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBoo
tstrap.java:1411)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onAppl
icationEvent(AbstractLifecycleBean.java:56)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicas
tEvent(SafeApplicationEventMulticaster.java:78)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finish
Refresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(Context
LoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'alf
_lock_resource' already exists
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
        at com.mysql.jdbc.Util.getInstance(Util.java:381)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2548)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2477)
        at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:741)
        at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:587)
        at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStateme
nt.java:264)
        at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStateme
nt.java:264)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.executeStatement(Sche
maBootstrap.java:1120)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.executeScriptFile(Sch
emaBootstrap.java:1074)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.executeScriptUrl(Sche
maBootstrap.java:860)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.checkSchemaPatchScrip
ts(SchemaBootstrap.java:831)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.updateSchema(SchemaBo
otstrap.java:733)
        at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBoo
tstrap.java:1280)
        … 34 more
19-ago-2010 12:06:58 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
19-ago-2010 12:06:58 org.apache.catalina.core.StandardContext start
GRAVE: Fall¾ en arranque del Contexto [/alfresco] debido a errores previos
19-ago-2010 12:06:58 org.apache.catalina.loader.WebappClassLoader clearReference
sJdbc
GRAVE: A web application registered the JBDC driver [org.postgresql.Driver] but
failed to unregister it when the web application was stopped. To prevent a memor
y leak, the JDBC Driver has been forcibly unregistered.

Creo que he hecho mal lo de la base de datos, he seguido los pasos de la wiki (http://wiki.alfresco.com/wiki/General_Upgrade_Process) pero igual no lo he entendido bien…

alguna ayudita por favor¿
30 REPLIES 30

cristinamr
World-Class Innovator
World-Class Innovator
Buenas de nuevo.

A ver, he encontrado este JIRA:

Hi,
This normally occurs after a configuration mismatch. Fix this:
   './alf_data'. 'dir.root' should be overridden to point to a specific folder.
by adding an entry into custom-repository.properties:
   dir.root=<concrete location of your data>

Then set your index rebuild mode to AUTO by adding this to your custom-repository.properties:
   index.recovery.mode=AUTO
Then delete your Lucene indexes and restart the server. They will automatically get rebuilt.

You can leave AUTO on, but running with a relative "dir.root" property is not supportable.

¿Podrías probar a ver si te lo soluciona? En el global.properties en vez de a FULL como lo tienes, prueba con AUTO.

Comentanos.

Un saludo!

PD: No desesperes que todo tiene solución Smiley Wink <– Eso sí: Vas a tener que echarle paciencia  :mrgreen:
--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

cybermakoki
Champ in-the-making
Champ in-the-making
Hola de nuevo!

Gracias Cristina por tu ayuda Smiley Wink

Intenté hacer lo que me pusiste pero me ha dado muchisimos errores… asiq he decidido empezar de nuevo… he conseguido que la versión 3.1.2 no me de errores aunque me sale lo siguiente al arrancar y mo mosquea bastante…

09:14:50,272 User:System INFO  [service.descriptor.DescriptorService] Alfresco s
tarted (Enterprise): Current version 3.1.2 (390) schema 1011 - Installed version
3.1.1 (229) schema 1009

Después he intentado arrancar la 3.3 pero nada, me da estos errores:

09:26:33,084  INFO  [management.subsystems.ChildApplicationContextFactory] Start
ing 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default]
09:26:33,131  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading
properties file from class path resource [alfresco/alfresco-shared.properties]
09:26:33,177  INFO  [management.subsystems.ChildApplicationContextFactory] Start
up of 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default] complete
09:26:34,787  INFO  [repo.admin.ConfigurationChecker] El directorio raÝz de Alfr
esco ('dir.root') es: C:\Alfresco_new\alf_data
09:26:34,896  INFO  [admin.patch.PatchExecuter] Comprobando si hay parches para
aplicar …
09:26:35,240  INFO  [admin.patch.PatchExecuter] Aplicando parche 'patch.webSiteA
ddModerated' (Changing Web Site visibility from a boolean to enum.).
09:26:35,256  ERROR [admin.patch.PatchExecuter] 07230000 java.lang.NullPointerEx
ception
        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881
)
        at org.alfresco.repo.site.SiteServiceImpl.getSiteRoot(SiteServiceImpl.ja
va:569)
        at org.alfresco.repo.site.SiteServiceImpl.listSites(SiteServiceImpl.java
:591)
        at org.alfresco.repo.site.SiteServiceImpl.listSites(SiteServiceImpl.java
:579)
        at org.alfresco.repo.admin.patch.impl.WebSiteAddModeratedPatch.applyInte
rnal(WebSiteAddModeratedPatch.java:56)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch
.java:416)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch
.java:409)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:232)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.ja
va:442)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.ja
va:405)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(Au
thenticationUtil.java:508)
        at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:
446)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServic
eImpl.java:297)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.access$200(PatchServic
eImpl.java:50)
        at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchService
Impl.java:226)
        at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchService
Impl.java:223)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependenc
ies(PatchServiceImpl.java:229)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatche
s(PatchServiceImpl.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
        at $Proxy97.applyOutstandingPatches(Unknown Source)
        at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(P
atchExecuter.java:83)
        at org.alfresco.repo.admin.patch.PatchExecuter.onBootstrap(PatchExecuter
.java:126)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onAppl
icationEvent(AbstractLifecycleBean.java:56)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicas
tEvent(SafeApplicationEventMulticaster.java:78)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finish
Refresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(Context
LoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

09:26:35,490  ERROR [admin.patch.PatchExecuter]
=== No se ha podido aplicar el parche         ===
ID: patch.webSiteAddModerated
RESULTADO:
07230000 java.lang.NullPointerException
        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881
)
        at org.alfresco.repo.site.SiteServiceImpl.getSiteRoot(SiteServiceImpl.ja
va:569)
        at org.alfresco.repo.site.SiteServiceImpl.listSites(SiteServiceImpl.java
:591)
        at org.alfresco.repo.site.SiteServiceImpl.listSites(SiteServiceImpl.java
:579)
        at org.alfresco.repo.admin.patch.impl.WebSiteAddModeratedPatch.applyInte
rnal(WebSiteAddModeratedPatch.java:56)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch
.java:416)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch
.java:409)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:232)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.ja
va:442)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.ja
va:405)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(Au
thenticationUtil.java:508)
        at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:
446)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServic
eImpl.java:297)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.access$200(PatchServic
eImpl.java:50)
        at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchService
Impl.java:226)
        at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchService
Impl.java:223)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:325)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependenc
ies(PatchServiceImpl.java:229)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatche
s(PatchServiceImpl.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
        at $Proxy97.applyOutstandingPatches(Unknown Source)
        at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(P
atchExecuter.java:83)
        at org.alfresco.repo.admin.patch.PatchExecuter.onBootstrap(PatchExecuter
.java:126)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onAppl
icationEvent(AbstractLifecycleBean.java:56)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicas
tEvent(SafeApplicationEventMulticaster.java:78)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finish
Refresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(Context
LoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

=====================================
09:26:35,662  ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 07230001 Not all patches could be a
pplied
        at org.alfresco.repo.admin.patch.PatchExecuter.applyOutstandingPatches(P
atchExecuter.java:118)
        at org.alfresco.repo.admin.patch.PatchExecuter.onBootstrap(PatchExecuter
.java:126)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onAppl
icationEvent(AbstractLifecycleBean.java:56)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicas
tEvent(SafeApplicationEventMulticaster.java:78)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finish
Refresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(Context
LoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
19)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
23-ago-2010 9:26:35 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
23-ago-2010 9:26:35 org.apache.catalina.core.StandardContext start
GRAVE: Fall¾ en arranque del Contexto [/alfresco] debido a errores previos
23-ago-2010 9:26:35 org.apache.catalina.loader.WebappClassLoader clearReferences
Jdbc
GRAVE: A web application registered the JBDC driver [org.postgresql.Driver] but
failed to unregister it when the web application was stopped. To prevent a memor
y leak, the JDBC Driver has been forcibly unregistered.
23-ago-2010 9:26:35 org.apache.catalina.loader.WebappClassLoader clearReferences
StopTimerThread

Y encima, al intentar arrancar de nuevo las versiones anteriores me dan error… supongo que es porque la licencia de la 3.3 ha pisado a la de la 3.1… porque me da este error:

09:31:47,175 User:System ERROR [repo.domain.NodePropertyValue] Unknown property
actual type ordinal number: 21
09:31:47,175 User:System ERROR [repo.domain.NodePropertyValue] Unknown property
actual type ordinal number: null
09:31:47,191 User:System WARN  [node.index.FullIndexRecoveryComponent] Los Ýndic
es no estßn sincronizados con la base de datos.
09:31:47,300 User:System ERROR [repo.domain.NodePropertyValue] Unknown property
actual type ordinal number: 21
09:31:47,300 User:System ERROR [repo.domain.NodePropertyValue] Unknown property
actual type ordinal number: null
09:31:47,316 User:System ERROR [web.context.ContextLoader] Context initializatio
n failed
org.alfresco.error.AlfrescoRuntimeException: Failed to initialise org.alfresco.e
nterprise.license.LicenseComponent
        at org.alfresco.repo.descriptor.DescriptorServiceImpl.constructSpecialSe
rvice(DescriptorServiceImpl.java:280)
        at org.alfresco.repo.descriptor.DescriptorServiceImpl.access$100(Descrip
torServiceImpl.java:51)
        at org.alfresco.repo.descriptor.DescriptorServiceImpl$1.execute(Descript
orServiceImpl.java:177)
        at org.alfresco.repo.descriptor.DescriptorServiceImpl$1.execute(Descript
orServiceImpl.java:172)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:322)
        at org.alfresco.repo.descriptor.DescriptorServiceImpl$2.doWork(Descripto
rServiceImpl.java:215)
        at org.alfresco.repo.descriptor.DescriptorServiceImpl$2.doWork(Descripto
rServiceImpl.java:213)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(Au
thenticationUtil.java:497)
        at org.alfresco.repo.descriptor.DescriptorServiceImpl.onBootstrap(Descri
ptorServiceImpl.java:211)
        at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLi
fecycleBean.java:62)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1
.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecut
or.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.m
ulticastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publis
hEvent(AbstractApplicationContext.java:246)
        at org.springframework.context.support.AbstractApplicationContext.finish
Refresh(AbstractApplicationContext.java:617)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:189)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3843)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
342)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)

        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719
)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.alfresco.repo.descriptor.DescriptorServiceImpl.constructSpecialSe
rvice(DescriptorServiceImpl.java:265)
        … 42 more
Caused by: java.lang.NullPointerException
        at org.alfresco.repo.domain.NodePropertyValue.getValue(NodePropertyValue
.java:945)
        at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.makeS
erializableValue(HibernateNodeDaoServiceImpl.java:4918)
        at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.colla
psePropertiesWithSameQNameAndListIndex(HibernateNodeDaoServiceImpl.java:4864)
        at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.conve
rtToPublicProperties(HibernateNodeDaoServiceImpl.java:4711)
        at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.getNo
deProperties(HibernateNodeDaoServiceImpl.java:1364)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
        at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(Tran
sactionalDaoInterceptor.java:68)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.domain.hibernate.DirtySessionMethodInterceptor.invo
ke(DirtySessionMethodInterceptor.java:381)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.transaction.SingleEntryTransactionResourceIntercept
or.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)
        at org.alfresco.repo.transaction.SingleEntryTransactionResourceIntercept
or.invoke(SingleEntryTransactionResourceInterceptor.java:138)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy2.getNodeProperties(Unknown Source)
        at org.alfresco.repo.node.db.DbNodeServiceImpl.getPropertiesImpl(DbNodeS
erviceImpl.java:1065)
        at org.alfresco.repo.node.db.DbNodeServiceImpl.getProperties(DbNodeServi
ceImpl.java:1056)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
        at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNo
deServiceInterceptor.java:110)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy7.getProperties(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvoc
ationHandler.invoke(StoreRedirectorProxyFactory.java:221)
        at $Proxy8.getProperties(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
        at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterce
ptor.java:176)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterce
ptor.java:176)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRe
fPropertyMethodInterceptor.java:217)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRe
fPropertyMethodInterceptor.java:217)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy7.getProperties(Unknown Source)
        at org.alfresco.repo.descriptor.RepositoryDescriptorDAOImpl.getDescripto
r(RepositoryDescriptorDAOImpl.java:178)
        at org.alfresco.enterprise.license.LicenseComponent.<init>(LicenseCompon
ent.java:99)
        … 47 more


estoy empezando a desesperar ya Smiley Sad

fegor
Star Collaborator
Star Collaborator
Hola, a ver, para actualizar Alfresco:

1. Mira la tabla de actualizaciones. Tendrás que hacer varios pasos de actualización, o sea, varias actualizaciones seguramente, para pasar de la 3.1.1 a la 3.1.2 primero y luego de la 3.1.2 a la 3.3, etc.
2. Haz copia de seguridad.
3. Si hay cambios en extensión (p.e. de la versión 3.1.x a la 3.3.x) quita los ficheros, pon los originales de la versión que quieres actualizar y modifica los datos de configuración ayudándote de los ficheros que tienes de la versión previa.
4. Sustituye los .war de alfresco, share, etc.
5. Borra el contenido de temp/ y de work/.
6. Inicia alfresco y debería realizar los cambios en las tablas de la versión previa y arrancar co nla nueva versión.

Un saludo.

fegor
Star Collaborator
Star Collaborator
Se me olvidaba, en todas las actualizaciona (todas), durante el primer inicio debes poner siempre el index.recovery.mode=FULL para que reindexe todos los documentos con la nueva versión.

Un saludo.

cybermakoki
Champ in-the-making
Champ in-the-making
Hola fgonzalez,

Te cuento lo que he hecho…

1. Versión inicial: 3.1.1 con licencia instalada.
2. Hago un backup de la base de datos con mysqldump
3. Guardo el contenido de alf_data de la versión 3.1.1
4. Instalo versión 3.1.2, modifico todos los archivos necesarios, carpeta extension incluida (modifico no sustituyo). En la versión 3.1.2 no creo la carpeta license (no se si esto está bien hecho)
5. Sustituyo el contenido alf_data en la versión 3.1.2
6. Arranco alfresco 3.1.2 y arranca bien excepto por el mensaje que sale que he puesto en post anterior.

Sigo los mismos pasos con la versión 3.3 pero me da error al aplicar el parche:

09:44:15,558  ERROR [admin.patch.PatchExecuter]
=== No se ha podido aplicar el parche         ===
ID: patch.webSiteAddModerated
RESULTADO:
07230000 java.lang.NullPointerException
        at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881

Y asi estoy, no avanzo más Smiley Sad

fegor
Star Collaborator
Star Collaborator
No tienes que iniciar la nueva versión con el alf_data + DB limpios… deja el alf_data y DB de la versión 3.1.2 y simplemente sustituye el .war

Un saludo.

cybermakoki
Champ in-the-making
Champ in-the-making
Es lo que he hecho, no he iniciado la nueva versión con la BD y el alf_data limpios…

cybermakoki
Champ in-the-making
Champ in-the-making
Creo que ya está….. me faltaba la carpeta Sites que la borré en su dia porque no me hacia falta… y parece ser que daba problemas para arrancar el Alfresco 3.3

de todas formas me sigue saliendo este mensaje:

12:21:01,739  INFO  [service.descriptor.DescriptorService] Alfresco started (Ent
erprise): Current version 3.3.1 (96) schema 4013 - Originally installed version
3.1.1 (229) schema 1009

Y dentro de Alfresco, en propiedades del sistema:

Installed Schema 1009
Installed Version 3.1.1 (229)
Server Schema 4013
Server Version 3.3.1 (96)

Es normal??

fegor
Star Collaborator
Star Collaborator
Claro, es normal, si actualizas de versión de indica la que tienes actualmente y la original desde la que fue instalada.

Un saludo.

cybermakoki
Champ in-the-making
Champ in-the-making
OK,

Gracias por la ayuda!!!

Ahora a pelearme con los errores jijiji