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 Phillip Neumann <bo...@sofsis.cl> on 2004/06/27 21:11:54 UTC

----> problem in SAX transform:

Hello.

Im running jetspeed-1.5, with tomcat4.1.30 and apache2.0.49 over freebsd
5.2.1.

Instalation went smooth. When i load the jetspeed container in my
browser i see:

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


the FAQ says:
Jetspeed RSS feeds are giving this message in the portlet: "problem in
SAX transform: org.apache.xml.utils.WrappedRuntimeException: The output
format must have a '{http://xml.apache.org/xalan}content-handler'
property!"Copy the xalan.jar from Jetspeed distribution to
$CATALINA_HOME/common/endorsed directory (or JDK endorsed directory) 



Ive done exactly that, restarting tomcat, and its having the same
problem.
root@book /usr/local/jakarta-tomcat4.1/common/endorsed> ls -la
total 1966
drwxr-xr-x  2 www  www     512 27 jun 18:59 .
drwxr-xr-x  5 www  www     512 27 jun 18:24 ..
-rw-r--r--  1 www  www  906248 27 jun 18:53 xalan.jar
-rw-r--r--  1 www  www  927669 27 jun 18:24 xercesImpl.jar
-rw-r--r--  1 www  www  123705 27 jun 18:24 xmlParserAPIs.jar


i got that file from the installed jetspeed.war file(ive just unzip it)
. the filename was xalan-2.3.1.jar

im new to this tomcat stuff.. how would i search where the problem is? 
so i can use jetspeed without problems?

Thanks in advance,
-- 
Phillip Neumann <bo...@sofsis.cl>


---------------------------------------------------------------------
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:

Posted by Raphaël Luta <ra...@apache.org>.
Le 28 juin 04, à 19:26, Phillip Neumann a écrit :
> El lun, 28-06-2004 a las 02:26, Eric L. Wittle escribió:
>> Phillip Neumann wrote:
>>
>>> Hello.
>>>
>>> Im running jetspeed-1.5, with tomcat4.1.30 and apache2.0.49 over 
>>> freebsd
>>> 5.2.1.
>>>
>>> Instalation went smooth. When i load the jetspeed container in my
>>> browser i see:
>>>
>>> problem in SAX transform: 
>>> org.apache.xml.utils.WrappedRuntimeException:
>>> The output format must have a
>>> '{http://xml.apache.org/xalan}content-handler' property!
>>>
>>>
>>> <snip>
>> You've probably mixed versions of xerces and xalan; they have to be
>> compatible. Either downgrade your version of xerces (which may cause
>> problems in Tomcat), or upgrade your version of Xalan to the one
>> compatible with the version of Xerces in the endorsed directory. You 
>> can
>> both from http://xml.apache.org/.
>
> Ok.Ill describe the things ive made to try to fix this:
>
> 1) use xalan-2.3.1.jar and xerceImpl-2.0.2.jar that comes wiht jetspeed
> 1.5 as xalan.jar and xerceImpl.jar in the endorsed directory:
>       -> No luck
>
> 2) use xalan from jetspeed-1.5 with xerceImpl that comes with my tomcat
> instalation (how do i know what version is it?)
> 	-> No luck
>
> 3) use xalan-2.6.0 with xerceImpl.jar from tomcat instalation
> 	-> No luck
>
> 4) use xalan from jetspeed with xerce-2.6.2
> 	-> No luck
>
> 5) use xalan-2.6.0 with xerce-2.6.2
> 	-> No luck
> <snip>

Make sure you don't have any other versions of xerces/xalan in your 
system
classpath, especially check your <j2sdk/j2re root>/jre/ext/lib 
directory for a
rogue xerces or xalan.

Since you're on Unix, a simple "find / -name 'xalan*'" should give you 
all
xalan instances found on your system.

--
Raphaël Luta - raphael@apache.org
Apache Jetspeed - Enterprise Portal in Java
http://portals.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:

Posted by Phillip Neumann <bo...@sofsis.cl>.
El lun, 28-06-2004 a las 02:26, Eric L. Wittle escribió:
> Phillip Neumann wrote:
> 
> >Hello.
> >
> >Im running jetspeed-1.5, with tomcat4.1.30 and apache2.0.49 over freebsd
> >5.2.1.
> >
> >Instalation went smooth. When i load the jetspeed container in my
> >browser i see:
> >
> >problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException:
> >The output format must have a
> >'{http://xml.apache.org/xalan}content-handler' property!
> >
> >
> >the FAQ says:
> >Jetspeed RSS feeds are giving this message in the portlet: "problem in
> >SAX transform: org.apache.xml.utils.WrappedRuntimeException: The output
> >format must have a '{http://xml.apache.org/xalan}content-handler'
> >property!"Copy the xalan.jar from Jetspeed distribution to
> >$CATALINA_HOME/common/endorsed directory (or JDK endorsed directory) 
> >
> >
> >
> >Ive done exactly that, restarting tomcat, and its having the same
> >problem.
> >root@book /usr/local/jakarta-tomcat4.1/common/endorsed> ls -la
> >total 1966
> >drwxr-xr-x  2 www  www     512 27 jun 18:59 .
> >drwxr-xr-x  5 www  www     512 27 jun 18:24 ..
> >-rw-r--r--  1 www  www  906248 27 jun 18:53 xalan.jar
> >-rw-r--r--  1 www  www  927669 27 jun 18:24 xercesImpl.jar
> >-rw-r--r--  1 www  www  123705 27 jun 18:24 xmlParserAPIs.jar
> >
> >
> >i got that file from the installed jetspeed.war file(ive just unzip it)
> >. the filename was xalan-2.3.1.jar
> >
> >im new to this tomcat stuff.. how would i search where the problem is? 
> >so i can use jetspeed without problems?
> >
> >Thanks in advance,
> >  
> >
> You've probably mixed versions of xerces and xalan; they have to be 
> compatible. Either downgrade your version of xerces (which may cause 
> problems in Tomcat), or upgrade your version of Xalan to the one 
> compatible with the version of Xerces in the endorsed directory. You can 
> both from http://xml.apache.org/.

Ok.Ill describe the things ive made to try to fix this:

1) use xalan-2.3.1.jar and xerceImpl-2.0.2.jar that comes wiht jetspeed
1.5 as xalan.jar and xerceImpl.jar in the endorsed directory:
      -> No luck

2) use xalan from jetspeed-1.5 with xerceImpl that comes with my tomcat
instalation (how do i know what version is it?)
	-> No luck

3) use xalan-2.6.0 with xerceImpl.jar from tomcat instalation
	-> No luck

4) use xalan from jetspeed with xerce-2.6.2
	-> No luck

5) use xalan-2.6.0 with xerce-2.6.2
	-> No luck


at this point i have this:
root@www /usr/local/jakarta-tomcat5.0/common/endorsed> ls -la
total 8576
drwxr-xr-x  4 www   www      512 Jun 28 17:20 .
drwxr-xr-x  5 www   www      512 Jun 27 22:10 ..
-rw-r--r--  1 root  www   105573 Jun 28 17:19 bsf.jar
drwxr-xr-x  4 www   www      512 Jun 28 17:00 f
drwxr-xr-x  2 www   www      512 Jun 28 17:01 originales
-rw-r--r--  1 root  www    60047 Jun 28 17:19 resolver.jar
-rw-r--r--  1 root  www  3149484 Jun 28 17:20 xalan.jar
-rw-r--r--  1 root  www    40169 Jun 28 17:20 xalansamples.jar
-rw-r--r--  1 root  www  3930231 Jun 28 17:20 xalanservlet.war
-rw-r--r--  1 root  www  1010806 Jun 28 17:19 xercesImpl.jar
-rw-r--r--  1 root  www   134936 Jun 28 17:19 xercesSamples.jar
-rw-r--r--  1 root  www   124724 Jun 28 17:19 xml-apis.jar
-rw-r--r--  1 root  www   124724 Jun 28 17:19 xmlParserAPIs.jar
-rw-r--r--  1 root  www     6142 Jun 28 17:19 xsltcapplet.jar
-rw-r--r--  1 root  www     2486 Jun 28 17:19 xsltcbrazil.jar
-rw-r--r--  1 root  www     4328 Jun 28 17:19 xsltcejb.jar
-rw-r--r--  1 root  www     3032 Jun 28 17:20 xsltcservlet.jar


I really wish to use this software.
Any tips/comments are welcome...

Btw, im installing this in 
http://www.sofsis.cl:8180/jetspeed





Thank you in advance,







> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
-- 
Phillip Neumann <bo...@sofsis.cl>


---------------------------------------------------------------------
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:

Posted by "Eric L. Wittle" <er...@wittle.net>.
Phillip Neumann wrote:

>Hello.
>
>Im running jetspeed-1.5, with tomcat4.1.30 and apache2.0.49 over freebsd
>5.2.1.
>
>Instalation went smooth. When i load the jetspeed container in my
>browser i see:
>
>problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException:
>The output format must have a
>'{http://xml.apache.org/xalan}content-handler' property!
>
>
>the FAQ says:
>Jetspeed RSS feeds are giving this message in the portlet: "problem in
>SAX transform: org.apache.xml.utils.WrappedRuntimeException: The output
>format must have a '{http://xml.apache.org/xalan}content-handler'
>property!"Copy the xalan.jar from Jetspeed distribution to
>$CATALINA_HOME/common/endorsed directory (or JDK endorsed directory) 
>
>
>
>Ive done exactly that, restarting tomcat, and its having the same
>problem.
>root@book /usr/local/jakarta-tomcat4.1/common/endorsed> ls -la
>total 1966
>drwxr-xr-x  2 www  www     512 27 jun 18:59 .
>drwxr-xr-x  5 www  www     512 27 jun 18:24 ..
>-rw-r--r--  1 www  www  906248 27 jun 18:53 xalan.jar
>-rw-r--r--  1 www  www  927669 27 jun 18:24 xercesImpl.jar
>-rw-r--r--  1 www  www  123705 27 jun 18:24 xmlParserAPIs.jar
>
>
>i got that file from the installed jetspeed.war file(ive just unzip it)
>. the filename was xalan-2.3.1.jar
>
>im new to this tomcat stuff.. how would i search where the problem is? 
>so i can use jetspeed without problems?
>
>Thanks in advance,
>  
>
You've probably mixed versions of xerces and xalan; they have to be 
compatible. Either downgrade your version of xerces (which may cause 
problems in Tomcat), or upgrade your version of Xalan to the one 
compatible with the version of Xerces in the endorsed directory. You can 
both from http://xml.apache.org/.

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