I've built cocoon 2.1.6 and the latest 2.1.x SVN release using jdk 1.4.2
and 1.5.0_01 under Tomcat 5.5.6.  There are some tweaks you need to do
to tools/tasks/init-build.xml in order to compile with jdk 1.5.
Basically you have to change the target.vm and target lines to equal
1.5.  However in local.build.properties, you still have to set source.vm
to 1.4.

Unfortunately, there are still some resulting issues with the build.
JSP pages as shown by the JSP samples block come up blank.  One of the
Groovy samples (groovy markup generator) failed with a null pointer
exception.

There may be other issues, but I've not run all of the samples.

I also tried running cocoon 2.1.6 built under jdk 1.4.2 and Tomcat
5.5.6.  The JSP pages came up blank, and I didn't test the Groovy markup
generator.

Finally, I tried a recent SVN 2.1.x version built using jdk 1.4.2 and
running under Tomcat 5.5.6 with jdk 1.5.0_01.  The results were the
same.

1. Blank output page for the JSP sample block
   <html><body></body></html>

2. Null pointer exception with the Groovy markup example
   Caused by: org.apache.bsf.BSFException: exception from Groovy:
      java.lang.RuntimeException: java.lang.NullPointerException
         at org.codehaus.groovy.bsf.GroovyEngine.exec(GroovyEngine.java:167)

My environment for jdk 1.5:

Fedora Core 3 2.6.9-1.681_FC3
jdk 1.5.0_01-b08
Tomcat 5.5.6 with the changes made to web.xml to use Sun's javac
cocoon 2.1.x 122882M or cocoon 2.1.6

my environment for jdk 1.4:

Fedora Core 3 2.6.9-1.681_FC3
jdk 1.4.2_06-b03
Tomcat 5.0.28
cocoon 2.1.x 122882M or cocoon 2.1.6

In short, I think there are still some challenges with Cocoon 2.1.x, jdk 1.5.0, 
and Tomcat 5.5.x.

/mde/
just my two cents . . . .




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to