[ http://issues.apache.org/jira/browse/COCOON-1458?page=all ]

Ralph Goers updated COCOON-1458:
--------------------------------

    Bugzilla Id:   (was: 33763)
      Component: Blocks: XSP
                     (was: Blocks: (Undefined))
    Description: 
Environment
===========
fedora core 3 linux 2.6.10-1.766_FC3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)

Tomcat 5.5.7
    <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
            <compiler>javac</compiler>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>

Cocoon
URL: http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 155211
Node Kind: directory
Schedule: normal
Last Changed Author: sylvain
Last Changed Rev: 155210
Last Changed Date: 2005-02-24 09:02:09 -0800 (Thu, 24 Feb 2005)
Properties Last Updated: 2005-01-24 11:30:14 -0800 (Mon, 24 Jan 2005)

Build
=====
Cocoon builds fine under jdk1.5.0_01 with modifications to
tools/targets/init-build.xml to target the 1.5 jdk.

152c152
<            target="1.5"
---
>            target="1.4"
178c178
<            target="1.5"
---
>            target="1.4"

modification to lib/jars.xml
1177,1186d1176
<   <file>
<     <title>Jython</title>
<     <description>
<       Python interpretor in Java
<     </description>
<     <used-by>XSP</used-by>
<     <lib>optional/jython-2.1.jar</lib>
<     <homepage>http://www.jython.org</homepage>
<   </file>
<

Issue
=====
Accessing http://localhost:8080/cocoon/samples/blocks/xsp/python/hello generates
the folloing error:

Resource not found
org/python/core/PyObject
org.apache.cocoon.ResourceNotFoundException: org/python/core/PyObject
cause: org.apache.cocoon.ResourceNotFoundException: org/python/core/PyObject

Copying jython-2.1.jar into $TOMCAT_HOME/webapps/cocoon/WEB-INF/lib fixes the
problem.

jar -tf cocoon.war does not show the jar file in cocoon.war

  was:
Environment
===========
fedora core 3 linux 2.6.10-1.766_FC3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)

Tomcat 5.5.7
    <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
            <compiler>javac</compiler>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>

Cocoon
URL: http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 155211
Node Kind: directory
Schedule: normal
Last Changed Author: sylvain
Last Changed Rev: 155210
Last Changed Date: 2005-02-24 09:02:09 -0800 (Thu, 24 Feb 2005)
Properties Last Updated: 2005-01-24 11:30:14 -0800 (Mon, 24 Jan 2005)

Build
=====
Cocoon builds fine under jdk1.5.0_01 with modifications to
tools/targets/init-build.xml to target the 1.5 jdk.

152c152
<            target="1.5"
---
>            target="1.4"
178c178
<            target="1.5"
---
>            target="1.4"

modification to lib/jars.xml
1177,1186d1176
<   <file>
<     <title>Jython</title>
<     <description>
<       Python interpretor in Java
<     </description>
<     <used-by>XSP</used-by>
<     <lib>optional/jython-2.1.jar</lib>
<     <homepage>http://www.jython.org</homepage>
<   </file>
<

Issue
=====
Accessing http://localhost:8080/cocoon/samples/blocks/xsp/python/hello generates
the folloing error:

Resource not found
org/python/core/PyObject
org.apache.cocoon.ResourceNotFoundException: org/python/core/PyObject
cause: org.apache.cocoon.ResourceNotFoundException: org/python/core/PyObject

Copying jython-2.1.jar into $TOMCAT_HOME/webapps/cocoon/WEB-INF/lib fixes the
problem.

jar -tf cocoon.war does not show the jar file in cocoon.war


> jython jar not added to war in XSP block on build
> -------------------------------------------------
>
>          Key: COCOON-1458
>          URL: http://issues.apache.org/jira/browse/COCOON-1458
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: XSP
>     Versions: 2.1.8-dev (Current SVN)
>  Environment: Operating System: Linux
> Platform: PC
>     Reporter: Mark Eggers
>     Assignee: Cocoon Developers Team

>
> Environment
> ===========
> fedora core 3 linux 2.6.10-1.766_FC3
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
> Tomcat 5.5.7
>     <servlet>
>         <servlet-name>jsp</servlet-name>
>         <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
>         <init-param>
>             <param-name>fork</param-name>
>             <param-value>false</param-value>
>             <compiler>javac</compiler>
>         </init-param>
>         <init-param>
>             <param-name>xpoweredBy</param-name>
>             <param-value>false</param-value>
>         </init-param>
>         <load-on-startup>3</load-on-startup>
>     </servlet>
> Cocoon
> URL: http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 155211
> Node Kind: directory
> Schedule: normal
> Last Changed Author: sylvain
> Last Changed Rev: 155210
> Last Changed Date: 2005-02-24 09:02:09 -0800 (Thu, 24 Feb 2005)
> Properties Last Updated: 2005-01-24 11:30:14 -0800 (Mon, 24 Jan 2005)
> Build
> =====
> Cocoon builds fine under jdk1.5.0_01 with modifications to
> tools/targets/init-build.xml to target the 1.5 jdk.
> 152c152
> <            target="1.5"
> ---
> >            target="1.4"
> 178c178
> <            target="1.5"
> ---
> >            target="1.4"
> modification to lib/jars.xml
> 1177,1186d1176
> <   <file>
> <     <title>Jython</title>
> <     <description>
> <       Python interpretor in Java
> <     </description>
> <     <used-by>XSP</used-by>
> <     <lib>optional/jython-2.1.jar</lib>
> <     <homepage>http://www.jython.org</homepage>
> <   </file>
> <
> Issue
> =====
> Accessing http://localhost:8080/cocoon/samples/blocks/xsp/python/hello 
> generates
> the folloing error:
> Resource not found
> org/python/core/PyObject
> org.apache.cocoon.ResourceNotFoundException: org/python/core/PyObject
> cause: org.apache.cocoon.ResourceNotFoundException: org/python/core/PyObject
> Copying jython-2.1.jar into $TOMCAT_HOME/webapps/cocoon/WEB-INF/lib fixes the
> problem.
> jar -tf cocoon.war does not show the jar file in cocoon.war

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to