cancel
Showing results for 
Search instead for 
Did you mean: 

Mediawiki Integration with Labs (stable)

philnicholls
Champ in-the-making
Champ in-the-making
Hi all,

I think I have had mediawiki successfully integrated with Alfresco labs 3c in the past (i.e. I could browse wiki content, but not edit it, from Alfresco).

I've now moved to labs stable, but I get an install error:


16:20:43,868 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 2 module(s
).
16:20:43,919 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module
'phpIntegration' version 1.0.
16:20:44,091 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Installing modul
e 'org.alfresco.module.mediawikiintegration' version 1.1.
16:20:44,921 ERROR [org.springframework.web.context.ContextLoader] Context initi
alization failed
org.alfresco.error.AlfrescoRuntimeException: Failed to execute transaction-level
behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnCre
ateNodePolicy.onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationR
ef) in transaction 10de3d11-2b4e-4587-ab24-5b5a22baff21
        at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(Transactio
nBehaviourQueue.java:201)
        at org.alfresco.repo.policy.TransactionBehaviourQueue.beforeCommit(Trans
actionBehaviourQueue.java:133)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionS
ynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:710)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionS
ynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:690)
….

Has anyone successfully managed to get mediawiki to work with Alfresco labs (stable)?  [or should I just go back to 3c 🙂 ]
Thanks
Phil
20 REPLIES 20

loftux
Star Contributor
Star Contributor
I also spent a few hours this morning trying to get this to work. Got the exact same error.
Posting my complete log if someone has an idea what the error could be
12:45:44,472 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
12:46:03,038 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
12:46:16,402 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
12:46:16,927 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
12:46:19,097 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /home/petl/Program/Alfresco/labs3d/alf_data
12:46:19,148 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
12:46:19,428 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
12:46:19,463 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 3 module(s).
12:46:19,613 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Installing module 'org.alfresco.module.mediawikiintegration' version 1.1.
12:46:20,289 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'alfresco.sv.se' version 3.0.0.4.1.
12:46:20,355 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'phpIntegration' version 1.0.
12:46:20,465 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnCreateNodePolicy.onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef) in transaction 39783fc5-bbb9-483b-a68a-13360a52fb7e
   at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:201)
   at org.alfresco.repo.policy.TransactionBehaviourQueue.beforeCommit(TransactionBehaviourQueue.java:133)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:710)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:690)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:650)
   at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:835)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:645)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy57.startModules(Unknown Source)
   at org.alfresco.repo.module.ModuleStarter.onBootstrap(ModuleStarter.java:54)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   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(LifecycleSupport.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:516)
   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(DelegatingMethodAccessorImpl.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: net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:477)
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:355)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy7.getProperty(Unknown Source)
   at org.alfresco.module.mediawikiintegration.MediaWikiService.onCreateNode(MediaWikiService.java:232)
   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.alfresco.repo.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:179)
   at $Proxy10.onCreateNode(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor351.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(TransactionBehaviourQueue.java:189)
   … 47 more
This was tested on ubuntu 8.10, Tomcat (bundled), MySql, and Java6. Verified that phpIntegration worked before moving on to mediawiki module.

hont_vn1
Champ in-the-making
Champ in-the-making
I got the same issue for my fresh installation. Also verified that phpIntegration worked before installing mediawiki amp. Can anyone help?

mederic
Champ in-the-making
Champ in-the-making
Hello

I have looked at the Java source code to see what changed between the 3.0.0c and the 3.0.0stable. These are my conclusions:

In the 3.0.0c, modules were executed using system user credentials. This is not the case with 3.0.0stable: modules are executed using anonymous credentials, and as they are not allowed to, Java exceptions are thrown.
I modified the classes "org.alfresco.repo.module.ModuleComponentHelper", "org.alfresco.repo.module.ModuleServiceImpl", "org.alfresco.repo.admin.registry.RegistryServiceImpl" and several XML files, rewriting the references concerning "AuthenticationComponent" objects which existed on the previous software releases.

It seems to work fine on my development server, but I advice you to wait for a new official release of the software to deploy on your production server, all the more since there is probably a good (security) reason why Alfresco developers removed system user credentials for modules launcher.

Mederic

jan
Champ in-the-making
Champ in-the-making
Hi Meredic,

thanks for telling us what you found. This is very useful.

It would be interesting to get a response from an Alfresco engineer on this. It sounds like a major bug.
Maybe it should be reported as a bug?

Jan

soliphant
Champ in-the-making
Champ in-the-making
Any rumours on when a new release of Mediawiki will be available?

hanzo
Champ in-the-making
Champ in-the-making
I m also looking for the mediawiki integration for Alfresco Stable. I try the amp file from the http://wiki.alfresco.com/wiki/Labs_3_Final_download_files but i got an install error like the other posting here.  Smiley Sad

Any ideas??  :roll:

hanzo
Champ in-the-making
Champ in-the-making
Hi,

I post my complete log if someone has an idea what the error means.. also  i verified that phpIntegration worked before installing mediawiki amp from http://wiki.alfresco.com/wiki/Labs_3_Final_download_files  this is the wrong amp for 3 labs??? I try also the amp file from http://dev.alfresco.com/downloads/nightly/dist/ without success. or I have to modifie the classes??

Can anyone help?  :roll:

18.02.2009 16:58:16 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
18.02.2009 16:58:16 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 940 ms
18.02.2009 16:58:16 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
18.02.2009 16:58:16 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
18.02.2009 16:58:16 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
18.02.2009 16:58:19 org.apache.catalina.core.StandardContext addApplicationListe
ner
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is
already configured for this context. The duplicate definition has been ignored.
16:58:48,140  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading pro
perties file from class path resource [alfresco/file-servers.properties]
The connection URL: jdbc:mysql://localhost:3306/alfresco
16:59:07,375  INFO  [domain.schema.SchemaBootstrap] Schema managed by database d
ialect org.hibernate.dialect.MySQLInnoDBDialect.
16:59:09,421  INFO  [domain.schema.SchemaBootstrap] No changes were made to the
schema.
16:59:12,671 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco ro
ot data directory ('dir.root') is: C:\Alfresco\alf_data
16:59:12,734 User:System INFO  [admin.patch.PatchExecuter] Sucht nach anwendbare
n Patches
16:59:13,171 User:System INFO  [admin.patch.PatchExecuter] Es sind keine Patches
erforderlich
16:59:13,187 User:System INFO  [repo.module.ModuleServiceImpl] Found 3 module(s)
.
16:59:13,265 User:System INFO  [repo.module.ModuleServiceImpl] Starting module '
org.alfresco.module.vti' version 1.0.
16:59:13,453 User:System INFO  [repo.module.ModuleServiceImpl] Installing module
'org.alfresco.module.mediawikiintegration' version 1.1.
16:59:14,187 User:System INFO  [repo.module.ModuleServiceImpl] Starting module '
phpIntegration' version 1.0.
16:59:14,328 User:System ERROR [web.context.ContextLoader] Context initializatio
n failed
org.alfresco.error.AlfrescoRuntimeException: Failed to execute transaction-level
behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnCre
ateNodePolicy.onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationR
ef) in transaction 69e76d2d-59f9-4eaf-a86a-eb6e5adb21e4
        at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(Transactio
nBehaviourQueue.java:201)
        at org.alfresco.repo.policy.TransactionBehaviourQueue.beforeCommit(Trans
actionBehaviourQueue.java:133)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionS
ynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:710)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionS
ynchronizationImpl.doBeforeCommit(AlfrescoTransactionSupport.java:690)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionS
ynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:650)
        at org.springframework.transaction.support.TransactionSynchronizationUti
ls.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)
        at org.springframework.transaction.support.AbstractPlatformTransactionMa
nager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:835)
        at org.springframework.transaction.support.AbstractPlatformTransactionMa
nager.processCommit(AbstractPlatformTransactionManager.java:645)
        at org.springframework.transaction.support.AbstractPlatformTransactionMa
nager.commit(AbstractPlatformTransactionManager.java:632)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.
commitTransactionAfterReturning(TransactionAspectSupport.java:314)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:117)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:166)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy60.startModules(Unknown Source)
        at org.alfresco.repo.module.ModuleStarter.onBootstrap(ModuleStarter.java
:54)
        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.refres
h(AbstractApplicationContext.java:355)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:244)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:187)
        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: net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A va
lid SecureContext was not provided in the RequestContext
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credential
sNotFound(AbstractSecurityInterceptor.java:477)
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvo
cation(AbstractSecurityInterceptor.java:355)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInter
ceptor.invoke(MethodSecurityInterceptor.java:77)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:166)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:166)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.j
ava:275)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInte
rceptor.java:69)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:166)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:166)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy7.getProperty(Unknown Source)
        at org.alfresco.module.mediawikiintegration.MediaWikiService.onCreateNod
e(MediaWikiService.java:232)
        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.policy.JavaBehaviour$JavaMethodInvocationHandler.in
voke(JavaBehaviour.java:179)
        at $Proxy10.onCreateNode(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.policy.TransactionBehaviourQueue.execute(Transactio
nBehaviourQueue.java:189)
        … 47 more
18.02.2009 16:59:14 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
18.02.2009 16:59:14 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class
reloading, using NOPLoggerRepository.
18.02.2009 16:59:18 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
16:59:24,750  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Fram
ework
18.02.2009 16:59:25 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
18.02.2009 16:59:25 org.apache.catalina.startup.Catalina start
INFO: Server startup in 68375 ms
Exception in thread "indexThread7" java.lang.NullPointerException
        at org.alfresco.repo.search.impl.lucene.index.IndexInfo$AbstractSchedula
ble.run(IndexInfo.java:2745)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
        at java.lang.Thread.run(Thread.java:619)
Exception in thread "indexThread1" java.lang.NullPointerException
        at org.alfresco.repo.search.impl.lucene.index.IndexInfo$AbstractSchedula
ble.run(IndexInfo.java:2745)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
        at java.lang.Thread.run(Thread.java:619)
Exception in thread "indexThread5" java.lang.NullPointerException
        at org.alfresco.repo.search.impl.lucene.index.IndexInfo$AbstractSchedula
ble.run(IndexInfo.java:2745)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
        at java.lang.Thread.run(Thread.java:619)

mederic
Champ in-the-making
Champ in-the-making
Hello Hanzo,

this is the wrong amp for 3 labs???
Your version of the amp file is the lastest one. But as I said in my previous post, it does not work with Alfresco 3.0.0 stable apparently because of new security rules for external module launch.

or I have to modifie the classes??
I see 2 solutions for you:
- you download the Alfresco source files and you modify the classes as I described in my post (it's been working very fine on my server for almost 1 month)
- you wait for the next release of the software

:arrow: So, my question to Alfresco developers: when will a new version of the software be published?
Thanks,
Mederic

jan
Champ in-the-making
Champ in-the-making
Hi Meredic,

I asked Alfresco engineer MikeH and he said it should be raised as an issue in the JIRA, if not it won't get attention. Since you're the originator it seems best you do it. If not I can do it.