Re: Bug 16580; compiling xsp with classpath

2003-02-18 Thread Stefano Mazzocchi
Christopher Oliver wrote: Yes, we should report this bug to tomcat-dev. It seems to be difficult to debug tomcat. I tried running tomcat/cocoon under a debugger ("catalina.bat jpda run") and the jvm crashed when I attached the debugger. Then I went through the trouble of setting up the classpa

Re: Bug 16580; compiling xsp with classpath

2003-02-17 Thread kiss the sun and walk on air
On Monday, February 17, 2003, at 01:01 PM, Christopher Oliver wrote: Unfortunately 1.4.0 on windows appears to be also, since that's what I'm using. Have you had success using a java debugger with Cocoon? Yes, all the time. Java 1.3.1 on Win2k, Linux and Mac OS X. The 'jpda start' on the Tomca

Re: Bug 16580; compiling xsp with classpath

2003-02-17 Thread Christopher Oliver
Unfortunately 1.4.0 on windows appears to be also, since that's what I'm using. Have you had success using a java debugger with Cocoon? Regards, Chris Peter Royal wrote: On Monday, February 17, 2003, at 12:40 PM, Christopher Oliver wrote: Yes, we should report this bug to tomcat-dev. It see

Re: Bug 16580; compiling xsp with classpath

2003-02-17 Thread Peter Royal
On Monday, February 17, 2003, at 12:40 PM, Christopher Oliver wrote: Yes, we should report this bug to tomcat-dev. It seems to be difficult to debug tomcat. I tried running tomcat/cocoon under a debugger ("catalina.bat jpda run") and the jvm crashed when I attached the debugger. Then I went t

Re: Bug 16580; compiling xsp with classpath

2003-02-17 Thread Christopher Oliver
Yes, we should report this bug to tomcat-dev. It seems to be difficult to debug tomcat. I tried running tomcat/cocoon under a debugger ("catalina.bat jpda run") and the jvm crashed when I attached the debugger. Then I went through the trouble of setting up the classpath and sourcepath and laun

Re: Bug 16580; compiling xsp with classpath

2003-02-17 Thread Sylvain Wallez
Christopher Oliver wrote: OK. I get it. The old version of Xalan that comes with the JDK incorrectly throws that exception when processing one of Cocoon's stylesheets. By placing a new version of Xalan in Tomcat's endorsed directory (http://java.sun.com/j2se/1.4/docs/guide/standards) the new

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Christopher Oliver
OK. I get it. The old version of Xalan that comes with the JDK incorrectly throws that exception when processing one of Cocoon's stylesheets. By placing a new version of Xalan in Tomcat's endorsed directory (http://java.sun.com/j2se/1.4/docs/guide/standards) the newer version of Xalan is loade

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Christopher Oliver
OK. Here you go. EmbeddedJavaCompiler is an implementation of LanguageCompiler that doesn't depend on CLASSPATH but instead uses the thread context class loader to load dependent classes. I've attached a working version (minimally tested) . I've also attached a new version of JavaLanguage.java

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Joerg Heinicke
Not exactly, but the JDK 1.4 comes with older versions of Xalan, Xerces and so on and there seem to be some incompatibilities. And normally JDK classes are loaded first => the well-known endorsed problem. Joerg Christopher Oliver wrote: Yes, adding xsltc-X.jar to common/endorsed fixed that

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Christopher Oliver
Yes, adding xsltc-X.jar to common/endorsed fixed that problem. But what exactly caused it in the first place? Can someone explain? Regards, Chris Ugo Cei wrote: Christopher Oliver wrote: Sylvain, Can you explain the connection between Xalan.jar, the endorsed directory, and the error me

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Ugo Cei
Christopher Oliver wrote: Sylvain, Can you explain the connection between Xalan.jar, the endorsed directory, and the error message below? Unfortunately, I already tried copying xalan-2.4.1.jar, xercesImpl-2.1.0.jar and xml-apis.jar into %TOMCAT_HOME%/lib/endorsed but still got the same error.

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Christopher Oliver
Sylvain, Can you explain the connection between Xalan.jar, the endorsed directory, and the error message below? Unfortunately, I already tried copying xalan-2.4.1.jar, xercesImpl-2.1.0.jar and xml-apis.jar into %TOMCAT_HOME%/lib/endorsed but still got the same error. Regards, Chris Sylvain W

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Sylvain Wallez
Christopher Oliver wrote: Actually I am in the process of trying to do this but got immediately stopped by the below when I first tried to run cocoon (built from today's cvs), Anyone care to help? Regards, Chris ERROR (2003-02-16) 13:12.15:159 [access] (/cocoon/documents/index.html) Th

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Stefano Mazzocchi
Christopher Oliver wrote: Actually I am in the process of trying to do this but got immediately stopped by the below when I first tried to run cocoon (built from today's cvs), Anyone care to help? Regards, Chris ERROR (2003-02-16) 13:12.15:159 [access] (/cocoon/documents/index.html) Thr

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Christopher Oliver
Actually I am in the process of trying to do this but got immediately stopped by the below when I first tried to run cocoon (built from today's cvs), Anyone care to help? Regards, Chris ERROR (2003-02-16) 13:12.15:159 [access] (/cocoon/documents/index.html) Thread-10/CocoonServlet: Probl

Re: Bug 16580; compiling xsp with classpath

2003-02-16 Thread Stefano Mazzocchi
Vadim Gritsenko wrote: [EMAIL PROTECTED] wrote: Hi there As I cannot submit stuff in bugzilla on nagoya, You just need to create an account, that's it. I'll just add a little comment here: The "patch" to pizza I've made works fine, with the limitation that it cannot use star-imports "im

Re: Bug 16580; compiling xsp with classpath

2003-02-14 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: Hi there As I cannot submit stuff in bugzilla on nagoya, You just need to create an account, that's it. I'll just add a little comment here: The "patch" to pizza I've made works fine, with the limitation that it cannot use star-imports "import net.something.*" o

Bug 16580; compiling xsp with classpath

2003-02-14 Thread jakob . dalsgaard
Hi there As I cannot submit stuff in bugzilla on nagoya, I'll just add a little comment here: The "patch" to pizza I've made works fine, with the limitation that it cannot use star-imports "import net.something.*" on packages loaded from the classloader. The downside is that the pizza source