Hey Lenya developers,

would be nice if you could change the template that is used for displaying an error so that you get these reports and not Cocoon :-)

Regards
Joerg

On 16.10.2007 9:04 Uhr, Anirudhdha Jani (JIRA) wrote:

Problems using lenya 1.2  with JBOSS application server. doesnt generate pages.
-------------------------------------------------------------------------------

                 Key: COCOON-2140
                 URL: https://issues.apache.org/jira/browse/COCOON-2140
             Project: Cocoon
          Issue Type: Bug
          Components: * Cocoon Core
            Reporter: Anirudhdha Jani


An Error Occurred

C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)

org.apache.lenya.cms.task.ExecutionException: C:\Program 
Files\jboss-4.0.5.GA\server\default\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\config\tasks\targets.xml:139:
 org.apache.lenya.cms.authoring.CreatorException: 
javax.xml.transform.TransformerException: java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)

cause: java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)

full exception chain stacktrace[hide]

org.apache.lenya.cms.task.ExecutionException: C:\Program 
Files\jboss-4.0.5.GA\server\default\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\config\tasks\targets.xml:139:
 org.apache.lenya.cms.authoring.CreatorException: 
javax.xml.transform.TransformerException: java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)
        at org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:128)
        at org.apache.lenya.cms.task.AntTask.execute(AntTask.java:228)
        at 
org.apache.lenya.cms.task.DefaultTaskWrapper.execute(DefaultTaskWrapper.java:245)
        at org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:63)
        at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:124)
...
Caused by: C:\Program 
Files\jboss-4.0.5.GA\server\default\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\config\tasks\targets.xml:139:
 org.apache.lenya.cms.authoring.CreatorException: 
javax.xml.transform.TransformerException: java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)
        at 
org.apache.lenya.cms.ant.DocumentCreatorTask.execute(DocumentCreatorTask.java:60)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:125)
        ... 61 more
Caused by: org.apache.lenya.cms.authoring.CreatorException: 
javax.xml.transform.TransformerException: java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)
        at 
org.apache.lenya.cms.authoring.DocumentCreator.create(DocumentCreator.java:145)
        at 
org.apache.lenya.cms.ant.DocumentCreatorTask.execute(DocumentCreatorTask.java:48)
        ... 68 more
Caused by: javax.xml.transform.TransformerException: 
java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:296)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:329)
        at 
org.apache.lenya.xml.DocumentHelper.writeDocument(DocumentHelper.java:200)
        at 
org.apache.lenya.cms.authoring.DefaultCreator.create(DefaultCreator.java:182)
        at 
org.apache.lenya.cms.authoring.DocumentCreator.create(DocumentCreator.java:133)
        ... 69 more
Caused by: java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:286)
        ... 73 more

stacktrace[hide]

java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp10227lenya-exp.war\lenya\pubs\default\content\authoring\foo\index_en.xml
 (The system cannot find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:286)
        at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:329)
        at 
org.apache.lenya.xml.DocumentHelper.writeDocument(DocumentHelper.java:200)
        at 
org.apache.lenya.cms.authoring.DefaultCreator.create(DefaultCreator.java:182)
        at 
org.apache.lenya.cms.authoring.DocumentCreator.create(DocumentCreator.java:133)
        at 
org.apache.lenya.cms.ant.DocumentCreatorTask.execute(DocumentCreatorTask.java:48)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:125)
        at org.apache.lenya.cms.task.AntTask.execute(AntTask.java:228)
        at 
org.apache.lenya.cms.task.DefaultTaskWrapper.execute(DefaultTaskWrapper.java:245)
        at org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:63)
...

If you need help and this information is not enough, you are invited to read 
the Cocoon FAQ.
If you still don't find the answers you need, can send a mail to the Cocoon 
mailing lists, remembering to:

    * specify the version of Cocoon you're using, or we'll assume that you are 
talking about the latest released version;
    * specify the platform-operating system-version-servlet container version;
    * send any pertinent error message;
    * send pertinent log snippets;
    * send pertinent sitemap snippets;
    * send pertinent parts of the page that give you problems.

For more detailed technical information, take a look at the log files in the 
log directory of Cocoon, which is placed by default in the WEB-INF/logs/ folder 
of your cocoon webapp context.
If the logs don't give you enough information, you might want to increase the 
log level by changing the Logging configuration which is by default the 
WEB-INF/logkit.xconf file.

If you think you found a bug, please report it to Apache Cocoon issue tracker; 
a message will automatically be sent to the developer mailing list and you'll 
be kept in contact automatically with the further progress on that bug.

Thanks, and sorry for the trouble if this is our fault.

The Apache Cocoon Project

Reply via email to