You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Marcel <ma...@rogers.com> on 2004/02/22 00:31:30 UTC

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException

Hi there,

Please, could you help me? Here's my problem: I have a Java 1.4.2_03,
Jetspeed 1.4, Tomcat 4.1.29 and basically everything works fine...so far.
The only problem I do have is the following exception thrown by the XSLT
portlet ("XSLT Demo" portlet):

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException: The
output format must have a '{http://xml.apache.org/xalan}content-handler'
property!

What's wrong?

I tried to put following jars into the Tomcat's common/endorsed directory:

xalan.jar
xercesImpl.jar
xml-apis.jar
xmlParserAPIs.jar

But no luck :o(( Of course, I restarted Tomcat several times...

Any ideas?

Thanks.

Marcel




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException

Posted by Stijn de Witt <St...@chello.nl>.
----- Original Message -----
From: "Jason Jones" <ja...@javacrawl.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Sunday, February 22, 2004 12:45 AM
Subject: RE: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


> Try just deleting these jars from the WEB-INF/lib directory (and the
common
> directory) all together.  I ran into similar problems and this seems to
> solve them.

By common directory, do you mean tomcat/common/endorsed?

In my jetspeed dist I have:

jetspeed/lib
    many jars including
    - xalan-2.3.1.jar
    - xml-apis.jar

jetspeed/webapp/WEB-INF/lib/
    - hsqldb.jar

In tomcat:

tomcat/common/endorsed/
    - xercesImpl.jar
    - xmlParserApis.jar

I get rid of the SAX parser problem by moving xalan-2.3.1.jar and
xml-apis.jar from jetspeed/lib to tomcat/common/endorsed/. Is there another
(maybe better) way?

-Stijn



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


XSLT Portlet ... Problem with importing other XSL modules

Posted by Marcel <ma...@rogers.com>.
Hi there,

I have another problem: my XSLT Portlet uses the stylesheet which imports
other XSL modules. I have all stylesheets in the directory
{tomcat}\webapps\jportal\xml. The main portlet stylesheet is found and
processed, but apparently the portlet does have a problem to find imported
modules and displays this error:

problem in SAX transform: javax.xml.transform.TransformerException: Had IO
Exception with stylesheet file: tables.xsl 

(tables.xsl is the first imported module)

Is there any way how to instruct the portlet or Jetspeed itself where to
look for stylesheets?

Thank you.

Marcel


-----Original Message-----
From: Marcel [mailto:marcel_p@rogers.com] 
Sent: Saturday, February 21, 2004 6:49 PM
To: 'Jetspeed Users List'
Subject: RE: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Thanks, Jason, that helped!

Cool!

-----Original Message-----
From: Jason Jones [mailto:jason@javacrawl.com] 
Sent: Saturday, February 21, 2004 6:46 PM
To: Jetspeed Users List
Subject: RE: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Try just deleting these jars from the WEB-INF/lib directory (and the common
directory) all together.  I ran into similar problems and this seems to
solve them.

-----Original Message-----
From: Marcel [mailto:marcel_p@rogers.com]
Sent: Saturday, February 21, 2004 5:32 PM
To: 'Jetspeed Users List'
Subject: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Hi there,

Please, could you help me? Here's my problem: I have a Java 1.4.2_03,
Jetspeed 1.4, Tomcat 4.1.29 and basically everything works fine...so far.
The only problem I do have is the following exception thrown by the XSLT
portlet ("XSLT Demo" portlet):

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException: The
output format must have a '{http://xml.apache.org/xalan}content-handler'
property!

What's wrong?

I tried to put following jars into the Tomcat's common/endorsed directory:

xalan.jar
xercesImpl.jar
xml-apis.jar
xmlParserAPIs.jar

But no luck :o(( Of course, I restarted Tomcat several times...

Any ideas?

Thanks.

Marcel




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException

Posted by Marcel <ma...@rogers.com>.
Thanks, Jason, that helped!

Cool!

-----Original Message-----
From: Jason Jones [mailto:jason@javacrawl.com] 
Sent: Saturday, February 21, 2004 6:46 PM
To: Jetspeed Users List
Subject: RE: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Try just deleting these jars from the WEB-INF/lib directory (and the common
directory) all together.  I ran into similar problems and this seems to
solve them.

-----Original Message-----
From: Marcel [mailto:marcel_p@rogers.com]
Sent: Saturday, February 21, 2004 5:32 PM
To: 'Jetspeed Users List'
Subject: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Hi there,

Please, could you help me? Here's my problem: I have a Java 1.4.2_03,
Jetspeed 1.4, Tomcat 4.1.29 and basically everything works fine...so far.
The only problem I do have is the following exception thrown by the XSLT
portlet ("XSLT Demo" portlet):

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException: The
output format must have a '{http://xml.apache.org/xalan}content-handler'
property!

What's wrong?

I tried to put following jars into the Tomcat's common/endorsed directory:

xalan.jar
xercesImpl.jar
xml-apis.jar
xmlParserAPIs.jar

But no luck :o(( Of course, I restarted Tomcat several times...

Any ideas?

Thanks.

Marcel




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException

Posted by Jason Jones <ja...@javacrawl.com>.
Try just deleting these jars from the WEB-INF/lib directory (and the common
directory) all together.  I ran into similar problems and this seems to
solve them.

-----Original Message-----
From: Marcel [mailto:marcel_p@rogers.com]
Sent: Saturday, February 21, 2004 5:32 PM
To: 'Jetspeed Users List'
Subject: problem in SAX transform:
org.apache.xml.utils.WrappedRuntimeException


Hi there,

Please, could you help me? Here's my problem: I have a Java 1.4.2_03,
Jetspeed 1.4, Tomcat 4.1.29 and basically everything works fine...so far.
The only problem I do have is the following exception thrown by the XSLT
portlet ("XSLT Demo" portlet):

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException: The
output format must have a '{http://xml.apache.org/xalan}content-handler'
property!

What's wrong?

I tried to put following jars into the Tomcat's common/endorsed directory:

xalan.jar
xercesImpl.jar
xml-apis.jar
xmlParserAPIs.jar

But no luck :o(( Of course, I restarted Tomcat several times...

Any ideas?

Thanks.

Marcel




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org