Hi list, Here's the temporary solution I found: I just deactivated the workflow for the website activation.
The "actions" are stored in the configuration tree at the following location: /modules/admininterface/commands/website There you'll see the different actions executed when someone tries to activate content from the website repository using the admincentral. What I did was just to delete the node "website", after this the default configuration is used, which plainly activates the stuff. Hope this helps you too Christian Cheers Claudio ******************************************** IPH Informatik AG Herr Claudio Greuter Lagerhausstrasse 9 8400 Winterthur Switzerland Tel: +41 (0)52 203 26 72 Fax: +41 (0)52 233 94 71 Email: [EMAIL PROTECTED] ******************************************** -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 1. März 2007 10:32 To: [email protected] Subject: Re: [magnolia-user] Problem with publishing Hi list, I have got the same problem as Christian. Fortunately I've built a custom activation that bypasses the Workflow, because it seems the root of the evil is something in the workflow engine. My bypassing activation works fine Activating content from the Admincentral does not work in my setup. I set up two magnolia environments which have the same behaviour, so I guess it s a general problem. The Stacktrace is different that Christians, although the error message seems to be the same: ERROR info.magnolia.module.workflow.jcr.JCRExpressionStore 28.02.2007 21:59:39 -- contentIterator() failed to set up an iterator java.lang.NullPointerException at info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.<init >(JCRExpressionStore.java:395) at info.magnolia.module.workflow.jcr.JCRExpressionStore.contentIterator(JCR ExpressionStore.java:167) at openwfe.org.engine.impl.expool.SimpleExpressionPool.contentIterator(Simp leExpressionPool.java:989) at openwfe.org.engine.impl.expool.SimpleExpressionPool.purge(SimpleExpressi onPool.java:1009) at openwfe.org.engine.impl.expool.SimpleExpressionPool$1.run(SimpleExpressi onPool.java:192) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) My Magnolia Setup is Magnolia 3.0.1 on MYSQL with No Lucene Search index configured. Are there any solutions to this issue until now? Any fast help is greatly appreciated, because I was in the middle of a migration when I noticed this error. Thanks, Claudio ******************************************** IPH Informatik AG Herr Claudio Greuter Lagerhausstrasse 9 8400 Winterthur Switzerland Tel: +41 (0)52 203 26 72 Fax: +41 (0)52 233 94 71 Email: [EMAIL PROTECTED] ******************************************** -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Freitag, 2. Februar 2007 01:06 To: [email protected] Subject: [magnolia-user] Problem with publishing Hi everyone. I have been developing on my local workstation a site using the standard magnoliaPublic and magnoliaAuthor. Both running on the same tomcat instance. I am using MySQL for storing the repositories. With that setup I had no issue publishing items from Author and seeing it on the public instance. Now I moved the MySQL db on my Unix production server. In that setup I got one server running the public instance and one server running the author instance + the MySQL db. Everything seems to be set up fine in that case. However when I try to Activate/Publish some items I don't get the message in my inbox. And if I look at the Catalina log I get the stack trace copied below. I must admit that I am a bit puzzled by the error generated. I am not sure on where to start to search for the source of the problem... I did a query with the JCR Queries tool available from the AdminCentral for the repository Expressions and I got that result: / /jcr:primaryType=rep:root /jcr:system[rep:system] /ee[nt:unstructured] I am not sure if this is the correct content or not... Anyone has any idea on where I should start to look in order to fix my problem. Alternatively is "disabling" the workflow a somehow workable fix? Thanks, Christian INFO: Server startup in 38640 ms ERROR info.magnolia.module.workflow.jcr.JCRExpressionStore JCRExpressionStore.java(contentIterator:170) 01.02.2007 23:21:13 contentIterator() failed to set up an iterator javax.jcr.RepositoryException: Exception building query: javax.jcr.nodetype.NoSuchNodeTypeException: {}expression at org.apache.jackrabbit.core.query.lucene.LuceneQueryBuilder.createQuery(L ucen eQueryBuilder.java:169) at org.apache.jackrabbit.core.query.lucene.QueryImpl.execute(QueryImpl.java :147 ) at org.apache.jackrabbit.core.query.QueryImpl.execute(QueryImpl.java:130) at info.magnolia.cms.core.search.QueryImpl.execute(QueryImpl.java:45) at info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.<init >(JC RExpressionStore.java:398) at info.magnolia.module.workflow.jcr.JCRExpressionStore.contentIterator(JCR Expr essionStore.java:167) at openwfe.org.engine.impl.expool.SimpleExpressionPool.contentIterator(Simp leEx pressionPool.java:989) at openwfe.org.engine.impl.expool.SimpleExpressionPool.reschedule(SimpleExp ress ionPool.java:1412) at openwfe.org.engine.impl.expool.SimpleExpressionPool.trigger(SimpleExpres sion Pool.java:1490) at openwfe.org.time.Scheduler$Entry.trigger(Scheduler.java:482) at openwfe.org.time.Scheduler.wakeup(Scheduler.java:453) at openwfe.org.time.Scheduler$SchedulerThread.run(Scheduler.java:569) WARN org.apache.jackrabbit.core.NodeImpl NodeImpl.java(<init>:136) 01.02.2007 23:21:13 Fallback to nt:unstructured due to unknown node type '{}expression' of node /ee WARN org.apache.jackrabbit.core.ItemManager ItemManager.java(getDefinition:156) 01.02.2007 23:21:13 property at /ee/value has invalid definitionId (-1965292585) ERROR info.magnolia.module.workflow.jcr.JCRExpressionStore JCRExpressionStore.java(storeExpression:119) 01.02.2007 23:21:33 storeExpression() store exception failed javax.jcr.nodetype.NoSuchNodeTypeException: {}expression at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeTyp e(No deTypeRegistry.java:867) at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeTyp e(No deTypeRegistry.java:1010) at org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.getNodeType(Node Type ManagerImpl.java:173) at org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.getNodeType(Node Type ManagerImpl.java:298) ..... christian sylvestre ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/developer.html ----------------------------------------------------------------
