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 Lionel Siau <ma...@siau.per.sg> on 2001/08/05 15:53:57 UTC

CVS build for WAR giving this error

Hi All,

org.apache.turbine.util.TurbineException: Error rendering Velocity template: /controls/html/jetspeed.vm: Error rendering Velocity template: /controls/html/jetspeed.vm: Invocation of method 'getContent' in class org.apache.jetspeed.portal.portlets.NewRSSPortlet threw exception class java.lang.NoSuchMethodError

can anyone tell me what this is?

Lionel

Re: CVS build for WAR giving this error

Posted by Paul Spencer <pa...@mikon.com>.
Lionel,
You may need to start in a second TOMCAT/JBoss to be used by Jetspeed. 
Because I need to run Cocoon, this is what I did.  According to all I
have read, this was not necessary, but it works!

Paul Spencer

Lionel Siau wrote:
> 
> Dear All,
> 
> from the mail advised, it was clear what the problem was but not the
> solution. This is found in another mail. Steps are :
> 
> <quote>
> 1.      Create a backup directory (I never do like deleting libraries, so I
> move them to an unregistered directory)
>          Ex. 'tomcat/oldlibs'
> 2.      Move 'jaxp.jar' and 'parser.jar' from the 'tomcat/lib' to the new
> backup directory
> 3.      Copy the 'xerces_1_3_1.jar' and 'xalan-2.0.1.jar' files from the
> 'tomcat/webapps/jetspeed/WEB-INF/lib/' directory to the 'tomcat/lib'
> directory.
> 4.      Restart tomcat
> </quote>
> 
> What is puzzling is that why does parser.jar and jaxp.jar need to be
> removed? I initially reordered them in the classpath and it should have
> settled it but somehow a preference is show to the original DOM libs. Also,
> this makes it potentially incompatible with all other apps eg jboss..:(
> 
> Lionel
> 
> ----- Original Message -----
> From: "Paul Spencer" <pa...@mikon.com>
> To: <je...@jakarta.apache.org>
> Sent: Monday, August 06, 2001 8:37 AM
> Subject: Re: CVS build for WAR giving this error
> 
> > See the following
> >
> > http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg00778.html
> >
> > Paul Spencer
> >
> > Lionel Siau wrote:
> > >
> > > Hi All,
> > >
> > > org.apache.turbine.util.TurbineException: Error rendering Velocity
> template: /controls/html/jetspeed.vm: Error rendering Velocity template:
> /controls/html/jetspeed.vm: Invocation of method 'getContent' in class
> org.apache.jetspeed.portal.portlets.NewRSSPortlet threw exception class
> java.lang.NoSuchMethodError
> > >
> > > can anyone tell me what this is?
> > >
> > > Lionel
> >
> > ---------------------------------------------------------------------
> > 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: CVS build for WAR giving this error

Posted by Lionel Siau <ma...@siau.per.sg>.
Dear All,

from the mail advised, it was clear what the problem was but not the
solution. This is found in another mail. Steps are :

<quote>
1.      Create a backup directory (I never do like deleting libraries, so I
move them to an unregistered directory)
         Ex. 'tomcat/oldlibs'
2.      Move 'jaxp.jar' and 'parser.jar' from the 'tomcat/lib' to the new
backup directory
3.      Copy the 'xerces_1_3_1.jar' and 'xalan-2.0.1.jar' files from the
'tomcat/webapps/jetspeed/WEB-INF/lib/' directory to the 'tomcat/lib'
directory.
4.      Restart tomcat
</quote>

What is puzzling is that why does parser.jar and jaxp.jar need to be
removed? I initially reordered them in the classpath and it should have
settled it but somehow a preference is show to the original DOM libs. Also,
this makes it potentially incompatible with all other apps eg jboss..:(


Lionel


----- Original Message -----
From: "Paul Spencer" <pa...@mikon.com>
To: <je...@jakarta.apache.org>
Sent: Monday, August 06, 2001 8:37 AM
Subject: Re: CVS build for WAR giving this error


> See the following
>
> http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg00778.html
>
> Paul Spencer
>
> Lionel Siau wrote:
> >
> > Hi All,
> >
> > org.apache.turbine.util.TurbineException: Error rendering Velocity
template: /controls/html/jetspeed.vm: Error rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method 'getContent' in class
org.apache.jetspeed.portal.portlets.NewRSSPortlet threw exception class
java.lang.NoSuchMethodError
> >
> > can anyone tell me what this is?
> >
> > Lionel
>
> ---------------------------------------------------------------------
> 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: CVS build for WAR giving this error

Posted by Paul Spencer <pa...@mikon.com>.
See the following
       
http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg00778.html

Paul Spencer

Lionel Siau wrote:
> 
> Hi All,
> 
> org.apache.turbine.util.TurbineException: Error rendering Velocity template: /controls/html/jetspeed.vm: Error rendering Velocity template: /controls/html/jetspeed.vm: Invocation of method 'getContent' in class org.apache.jetspeed.portal.portlets.NewRSSPortlet threw exception class java.lang.NoSuchMethodError
> 
> can anyone tell me what this is?
> 
> Lionel

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


Re: CVS build for WAR giving this error

Posted by Frans Thamura <ft...@yahoo.com>.
Would you read the last email from Raphael, he explain
about this.



There is no error like this in 1.3a2.

But do you look at your lib directory, is there the
caster is less than 0.93??? 

Frans



--- Lionel Siau <ma...@siau.per.sg> wrote:
> Hi,
> 
> possible, I have to try it out BUT jetspeed 1-3a1
> still works fine out of
> the box so why should a2 fail?. Did the guys change
> the XML parser? The
> stack trace is saying something esle abt a missing
> method.
> 
> In general, across my apps, the XML parser thing is
> driving me up the wall
> with the incompatibilities. :(
> 
> 
> Lionel
> 
> org.apache.turbine.util.TurbineException: Error
> rendering Velocity template:
> /controls/html/jetspeed.vm: Error rendering Velocity
> template:
> /controls/html/jetspeed.vm: Invocation of method
> 'getContent' in class
> org.apache.jetspeed.portal.portlets.NewRSSPortlet
> threw exception class
> java.lang.NoSuchMethodError
> 
> 
> ----- Original Message -----
> From: "hicham medkouri" <hi...@medkouri.com>
> To: <je...@jakarta.apache.org>
> Sent: Monday, August 06, 2001 6:10 AM
> Subject: Re: CVS build for WAR giving this error
> 
> 
> > Hi All,
> >
> > I have also this error, after a lot investigation,
> I found why.
> > I use Tomcat 3.2.2 as servlet container and his
> classpath is setting with
> an
> > old SAXParser (parser.jar).
> > So I set statically the classpath in order to use
> xalan-2.0.1 and
> > xerces_1_3_1.jar first like that
> > echo Setting your CLASSPATH statically.
> > if exist "%TOMCAT_HOME%\lib\xalan-2.0.1.jar" set
> > CP=%CP%;%TOMCAT_HOME%\lib\xalan-2.0.1.jar
> > if exist "%TOMCAT_HOME%\lib\xerces_1_3_1.jar" set
> > CP=%CP%;%TOMCAT_HOME%\lib\xerces_1_3_1.jar
> > if exist "%TOMCAT_HOME%\lib\ant.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\ant.jar
> > if exist "%TOMCAT_HOME%\lib\jasper.jar" set
> > CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar
> > if exist "%TOMCAT_HOME%\lib\jaxp.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
> > if exist "%TOMCAT_HOME%\lib\parser.jar" set
> > CP=%CP%;%TOMCAT_HOME%\lib\parser.jar
> > if exist "%TOMCAT_HOME%\lib\servlet.jar" set
> > CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar
> > if exist "%TOMCAT_HOME%\lib\webserver.jar" set
> > CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar
> >
> > Now it works fine.
> >
> > Hicham
> >
> >
> >
>
---------------------------------------------------------------------
> > 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
> 


=====
Let's Empowering Open Source Spirit... 
Open Source is Open Source. Shared Source is another things.

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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


Re: CVS build for WAR giving this error

Posted by Lionel Siau <ma...@siau.per.sg>.
Hi,

possible, I have to try it out BUT jetspeed 1-3a1 still works fine out of
the box so why should a2 fail?. Did the guys change the XML parser? The
stack trace is saying something esle abt a missing method.

In general, across my apps, the XML parser thing is driving me up the wall
with the incompatibilities. :(


Lionel

org.apache.turbine.util.TurbineException: Error rendering Velocity template:
/controls/html/jetspeed.vm: Error rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method 'getContent' in class
org.apache.jetspeed.portal.portlets.NewRSSPortlet threw exception class
java.lang.NoSuchMethodError


----- Original Message -----
From: "hicham medkouri" <hi...@medkouri.com>
To: <je...@jakarta.apache.org>
Sent: Monday, August 06, 2001 6:10 AM
Subject: Re: CVS build for WAR giving this error


> Hi All,
>
> I have also this error, after a lot investigation, I found why.
> I use Tomcat 3.2.2 as servlet container and his classpath is setting with
an
> old SAXParser (parser.jar).
> So I set statically the classpath in order to use xalan-2.0.1 and
> xerces_1_3_1.jar first like that
> echo Setting your CLASSPATH statically.
> if exist "%TOMCAT_HOME%\lib\xalan-2.0.1.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\xalan-2.0.1.jar
> if exist "%TOMCAT_HOME%\lib\xerces_1_3_1.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\xerces_1_3_1.jar
> if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar
> if exist "%TOMCAT_HOME%\lib\jasper.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar
> if exist "%TOMCAT_HOME%\lib\jaxp.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
> if exist "%TOMCAT_HOME%\lib\parser.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\parser.jar
> if exist "%TOMCAT_HOME%\lib\servlet.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar
> if exist "%TOMCAT_HOME%\lib\webserver.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar
>
> Now it works fine.
>
> Hicham
>
>
> ---------------------------------------------------------------------
> 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: CVS build for WAR giving this error

Posted by hicham medkouri <hi...@medkouri.com>.
Hi All,

I have also this error, after a lot investigation, I found why.
I use Tomcat 3.2.2 as servlet container and his classpath is setting with an
old SAXParser (parser.jar).
So I set statically the classpath in order to use xalan-2.0.1 and
xerces_1_3_1.jar first like that
echo Setting your CLASSPATH statically.
if exist "%TOMCAT_HOME%\lib\xalan-2.0.1.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\xalan-2.0.1.jar
if exist "%TOMCAT_HOME%\lib\xerces_1_3_1.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\xerces_1_3_1.jar
if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar
if exist "%TOMCAT_HOME%\lib\jasper.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar
if exist "%TOMCAT_HOME%\lib\jaxp.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
if exist "%TOMCAT_HOME%\lib\parser.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\parser.jar
if exist "%TOMCAT_HOME%\lib\servlet.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar
if exist "%TOMCAT_HOME%\lib\webserver.jar" set
CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar

Now it works fine.

Hicham


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