You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2004/01/20 14:10:32 UTC

Re: Cannot publish a document in the default publication

Rudi Strasser wrote:

>Hi,
>
>when I try to publish a document in the default publication everyting seems to 
>be fine until the point when is publisch the document. The error message I 
>keep getting is:
><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>An Error Occurredorg.apache.lenya.cms.task.ExecutionExceptionTarget `publish' 
>does not exist in this project.
>

this target is missing indeed

src/cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks/targets.xml

strange. I will file a bug.

Michi



> org.apache.lenya.cms.task.ExecutionException: 
>Target `publish' does not exist in this project. 
>org.apache.lenya.cms.task.ExecutionException: Target `publish' does not exist 
>in this project. org.apache.lenya.cms.task.ExecutionException: Target 
>`publish' does not exist in this project. at 
>org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:171) at 
>org.apache.lenya.cms.task.AntTask.execute(AntTask.java:271) at 
>org.apache.lenya.cms.task.DefaultTaskWrapper.execute(DefaultTaskWrapper.java:290) 
>at org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:102) at 
>org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:157) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161) 
>at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351) 
>at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161) 
>at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351) 
>at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:176) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163) 
>at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108) 
>at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161) 
>at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351) 
>at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304) 
>at org.apache.cocoon.Cocoon.process(Cocoon.java:640) at 
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104) at 
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 
>at 
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 
>at 
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 
>at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 
>at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at 
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
>at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 
>at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at 
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at 
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) 
>at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 
>at 
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) 
>at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 
>at 
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) 
>at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 
>at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at 
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) 
>at 
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 
>at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 
>at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at 
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193) at 
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at 
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) 
>at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589) 
>at 
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) 
>at java.lang.Thread.run(Thread.java:534) Caused by: Target `publish' does not 
>exist in this project. at 
>org.apache.tools.ant.Project.tsort(Project.java:1681) at 
>org.apache.tools.ant.Project.topoSort(Project.java:1603) at 
>org.apache.tools.ant.Project.executeTarget(Project.java:1205) at 
>org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:168) ... 70 
>more 
>  
>
> 
>So I wonder if what is the reason for that ?
>
>/Rudi
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Cannot publish a document in the default publication

Posted by Andreas Hartmann <an...@apache.org>.
Rudi Strasser wrote:

[...]
>>
>>The Ant target concept causes problems when used together with
>>the scheduler. That's why one should use POJOs, at least for
>>publishing and deactivating. I have to update the default
>>publication when I find the time, hopefully this week.
> 
> WTF is POJO ??

Plain old java objects (in contrast to Ant targets)

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Cannot publish a document in the default publication

Posted by Rudi Strasser <ru...@gmx.de>.
On Thursday 22 January 2004 10:56, Andreas Hartmann wrote:
> Rudi Strasser wrote:
>
> [...]
>
> > I tried to figure out what needs to be done in order to be able to
> > correct the publish target, however, I was confused by the subtle
> > differences in tasks.xconf and targets.xml in the config directory. I
> > find the 'publish' target in tasks.xconf
> > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> >   <task id="publish" class="org.apache.lenya.cms.task.AntTask">
> >     <label>Publish</label>
> >     <parameter name="target" value="publish"/>
> >   </task>
> >
> >
> > but as far as I understand the rationale the should be a corresponding
> > target in the targets.xml file, which is not there.
> >
> > Hmmmmmmmmm !!!????!!!!?????
>
> The Ant target concept causes problems when used together with
> the scheduler. That's why one should use POJOs, at least for
> publishing and deactivating. I have to update the default
> publication when I find the time, hopefully this week.
WTF is POJO ??


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Cannot publish a document in the default publication

Posted by Andreas Hartmann <an...@apache.org>.
Rudi Strasser wrote:

[...]
> 
> I tried to figure out what needs to be done in order to be able to correct the 
> publish target, however, I was confused by the subtle differences in 
> tasks.xconf and targets.xml in the config directory. I find the 'publish' 
> target in tasks.xconf 
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>   <task id="publish" class="org.apache.lenya.cms.task.AntTask">
>     <label>Publish</label>
>     <parameter name="target" value="publish"/>
>   </task>
> 
> 
> but as far as I understand the rationale the should be a corresponding target 
> in the targets.xml file, which is not there.
> 
> Hmmmmmmmmm !!!????!!!!?????

The Ant target concept causes problems when used together with
the scheduler. That's why one should use POJOs, at least for
publishing and deactivating. I have to update the default
publication when I find the time, hopefully this week.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Cannot publish a document in the default publication

Posted by Rudi Strasser <ru...@gmx.de>.
On Tuesday 20 January 2004 15:16, Andreas Hartmann wrote:
> Peter Shipley wrote:
>
> [...]
>
> >> Gregor removed some targets on 2004-01-15.
> >> I guess we have to reflect the changes in tasks.xconf.
> >
> > Hi,
> >
> > I believe "deactivateDocument" was also among the the missing/moved
> > targets (at least for me).
>
> Yes, you're right.

I tried to figure out what needs to be done in order to be able to correct the 
publish target, however, I was confused by the subtle differences in 
tasks.xconf and targets.xml in the config directory. I find the 'publish' 
target in tasks.xconf 
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  <task id="publish" class="org.apache.lenya.cms.task.AntTask">
    <label>Publish</label>
    <parameter name="target" value="publish"/>
  </task>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

but as far as I understand the rationale the should be a corresponding target 
in the targets.xml file, which is not there.

Hmmmmmmmmm !!!????!!!!?????

/Rudi

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Cannot publish a document in the default publication

Posted by Andreas Hartmann <an...@apache.org>.
Peter Shipley wrote:

[...]
>>
>> Gregor removed some targets on 2004-01-15.
>> I guess we have to reflect the changes in tasks.xconf.
>>
>>
> Hi,
> 
> I believe "deactivateDocument" was also among the the missing/moved 
> targets (at least for me).

Yes, you're right.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Cannot publish a document in the default publication

Posted by Peter Shipley <ps...@nomensa.com>.
Andreas Hartmann wrote:

> Michael Wechner wrote:
>
>> Rudi Strasser wrote:
>>
>>> Hi,
>>>
>>> when I try to publish a document in the default publication 
>>> everyting seems to be fine until the point when is publisch the 
>>> document. The error message I keep getting is:
>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>> An Error Occurredorg.apache.lenya.cms.task.ExecutionExceptionTarget 
>>> `publish' does not exist in this project.
>>>
>>
>> this target is missing indeed
>>
>> src/cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks/targets.xml
>
>
> Gregor removed some targets on 2004-01-15.
> I guess we have to reflect the changes in tasks.xconf.
>
>
Hi,

I believe "deactivateDocument" was also among the the missing/moved 
targets (at least for me).

Regards

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Cannot publish a document in the default publication

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:

> Rudi Strasser wrote:
> 
>> Hi,
>>
>> when I try to publish a document in the default publication everyting 
>> seems to be fine until the point when is publisch the document. The 
>> error message I keep getting is:
>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> An Error Occurredorg.apache.lenya.cms.task.ExecutionExceptionTarget 
>> `publish' does not exist in this project.
>>
> 
> this target is missing indeed
> 
> src/cocoon-lenya/src/webapp/lenya/pubs/default/config/tasks/targets.xml

Gregor removed some targets on 2004-01-15.
I guess we have to reflect the changes in tasks.xconf.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org