You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alex Nelson <an...@ansoftcomputing.com> on 2003/05/08 05:39:50 UTC

Re: Grrrrrr

LOL Here we go again.

Tomcat - 4.1.24
JDK - 1.4.1_02
Cocoon - 2.1M1 (source archive download. NOT from CVS)

Tomcat endorsed directory: (/var/tomcat/common/endorsed)

-rw-r--r--    1 tomcat4  tomcat4   1031036 May  7 23:27 xalan-2.4.1.jar
-rw-r--r--    1 tomcat4  tomcat4   1728861 May  7 23:27 xercesImpl.jar
-rw-r--r--    1 tomcat4  tomcat4    108484 May  7 23:27 xml-apis.jar
-rw-r--r--    1 tomcat4  tomcat4   1306667 May  7 23:27 xsltc.jar


JAVA is running with the -Djava.endorsed.dirs option enabled. (Verified
with ps)

And I get the following classic error:

org.apache.xml.utils.WrappedRuntimeException: The output format must
have a '{http://xml.apache.org/xslt}content-handler' property!

If there is any more information you need, please don't hesitate to ask.
-- 
Alex Nelson
ANSoft Computing
www.ansoftcomputing.com
"We make systems work!"


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


Re: Grrrrrr

Posted by Mark Eggers <it...@yahoo.com>.
Alex,

According to my download of 2.1 M1 source (zip file):

xalan-2.5.0.jar          2,645,149
xercesImpl-2.4.0.jar       895,924
xml-apis.jar               124,720

----------
You have:

Tomcat endorsed directory:
/var/tomcat/common/endorsed)
 
1031036 May 7 23:27 xalan-2.4.1.jar
1728861 May 7 23:27 xercesImpl.jar
108484  May 7 23:27 xml-apis.jar
1306667 May 7 23:27 xsltc.jar

----------

I do not have xsltc.jar.  I have not modified my
startup (as an NT service), so there is no
-Djava.endorsed.dirs switch in my registry.

I am running the following on Windows/2000 Pro with
the latest service packs.

j2sdk 1.4.1_02-b06
Tomcat 4.1.24
Apache 2.0.43

The war from the M1 source zip file was built with all
blocks enabled, debugging enabled, and optimization
enabled.

I have since moved to the latest CVS release, with the
following changes in %TOMCAT_HOME%\common\endorsed

05/06/2003  02:09a 2,631,999 xalan-20030506.jar
04/24/2003  02:44a   895,924 xercesImpl-2.4.0.jar
04/24/2003  02:44a   124,720 xml-apis.jar

It appears that you have jars in your endorsed
directory from a previous release.

HTH

/mde/
just my two cents . . . .

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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


Re: Grrrrrr

Posted by Geoff Howard <co...@leverageweb.com>.
OK, this should be working.  My guesses (in order of execution):

- Do a sanity check and make sure you are really running tomcat
out of the same directory you think you are. (/var/tomcat)
- You mention confirming that tomcat is using -Djava.endorsed.dirs.  Can you
confirm what value tomcat is using for that property?  Maybe 4.1.24 uses
a new directory?  If ps cuts it off, it's in the startup scripts for tomcat
(probably catalina.sh)
- Are all the jars in endorsed the same as their counterparts in
   WEB-INF/lib?
- Can you find any mentions of problems specific to 4.1.24 in the archives?
- I assume you got xalan-2.4.1 and xsltc.jar from cvs history?  Did you get
them from the same day?
- Try removing both xalan and xsltc from both endorsed and WEB-INF/lib, and
replacing them with the latest xalan from cvs (if you haven't tried this 
already).

You don't need to go to Jetty if you don't want to - this will work.

Geoff

At 11:39 PM 5/7/2003, you wrote:
>LOL Here we go again.
>
>Tomcat - 4.1.24
>JDK - 1.4.1_02
>Cocoon - 2.1M1 (source archive download. NOT from CVS)
>
>Tomcat endorsed directory: (/var/tomcat/common/endorsed)
>
>-rw-r--r--    1 tomcat4  tomcat4   1031036 May  7 23:27 xalan-2.4.1.jar
>-rw-r--r--    1 tomcat4  tomcat4   1728861 May  7 23:27 xercesImpl.jar
>-rw-r--r--    1 tomcat4  tomcat4    108484 May  7 23:27 xml-apis.jar
>-rw-r--r--    1 tomcat4  tomcat4   1306667 May  7 23:27 xsltc.jar
>
>
>JAVA is running with the -Djava.endorsed.dirs option enabled. (Verified
>with ps)
>
>And I get the following classic error:
>
>org.apache.xml.utils.WrappedRuntimeException: The output format must
>have a '{http://xml.apache.org/xslt}content-handler' property!
>
>If there is any more information you need, please don't hesitate to ask.
>--
>Alex Nelson
>ANSoft Computing
>www.ansoftcomputing.com
>"We make systems work!"


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


Re: Grrrrrr

Posted by Stephan Michels <st...@apache.org>.

On 7 May 2003, Alex Nelson wrote:

> LOL Here we go again.
>
> Tomcat - 4.1.24
> JDK - 1.4.1_02
> Cocoon - 2.1M1 (source archive download. NOT from CVS)
>
> Tomcat endorsed directory: (/var/tomcat/common/endorsed)
>
> -rw-r--r--    1 tomcat4  tomcat4   1031036 May  7 23:27 xalan-2.4.1.jar
> -rw-r--r--    1 tomcat4  tomcat4   1728861 May  7 23:27 xercesImpl.jar
> -rw-r--r--    1 tomcat4  tomcat4    108484 May  7 23:27 xml-apis.jar
> -rw-r--r--    1 tomcat4  tomcat4   1306667 May  7 23:27 xsltc.jar
>
>
> JAVA is running with the -Djava.endorsed.dirs option enabled. (Verified
> with ps)
>
> And I get the following classic error:
>
> org.apache.xml.utils.WrappedRuntimeException: The output format must
> have a '{http://xml.apache.org/xslt}content-handler' property!
>
> If there is any more information you need, please don't hesitate to ask.

I think tomcat override the classpath again, have you tried jetty?
In most cases Jetty works out of the box.

Stephan.


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