cancel
Showing results for 
Search instead for 
Did you mean: 

Patch application problem installling under jBoss 5.1.0

richmitc
Champ in-the-making
Champ in-the-making
I have passed by other errors but not this one, so far, involving patch installation.  Any ideas?  Thanks.

21:54:37,365 INFO  [STDOUT] 21:54:37,365 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
21:54:38,130 INFO  [STDOUT] 21:54:38,129 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter]  Applying patch 'patch.imapFolders' (Creates folders tree necessary for IMAP functionality).
21:54:38,314 INFO  [STDOUT] 21:54:38,314 UserSmiley Frustratedystem ERROR [admin.patch.PatchExecuter] 08290000 java.lang.RuntimeException: Error during run as.
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:501)
        at org.alfresco.repo.admin.patch.impl.ImapFoldersPatch.applyInternal(ImapFoldersPatch.java:230)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:388)
        at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:382)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:233)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:414)
        at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:378)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489)
        at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:418)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatch(PatchServiceImpl.java:294)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.access$200(PatchServiceImpl.java:56)
        at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchServiceImpl.java:231)
        at org.alfresco.repo.admin.patch.PatchServiceImpl$2.execute(PatchServiceImpl.java:229)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyPatchAndDependencies(PatchServiceImpl.java:234)
        at org.alfresco.repo.admin.patch.PatchServiceImpl.applyOutstandingPatches(PatchServiceImpl.java:168)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy512.applyOutstandingPatches(Unknown Source)
1 REPLY 1

richmitc
Champ in-the-making
Champ in-the-making
I'm not sure what this was, but I came to the following conclusions as I was installing under JBoss 5.1.0:

1.  Some patches don't want you to be root.

2.  Most of the time you need to run as root, i.e. after you upgrade, if you are going to do all the default SMTP binding and such.

3.  If you are upgrading, your admin password had better be the default for the .acp installs that happen during upgrade.  I figured this out too late.  I thought I had backups for my alf_data and mysql databases, but I made a few attempts to restart the "old" version with those and couldn't get it before I gave up and went with clean versions.  Suggestions - change the admin password to the default before upgrading and then you may change it back again.

Sorry I can't be more specific, but I did not keep good notes.