You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kenny Chow <ky...@yahoo.com> on 2002/06/29 18:11:47 UTC

Re: [Q] SunSpot Portal Demo Error(NullPointerException) in Cocoon 2.0.2 and 2.1-dev

[Please use plain text]
Hi there, your problem should be due to using jdk1.4.
I suggest 1.3 instead, which is what I run with tomcat
404 and cocoon2.1-dev. This combination works fine.

--- ninja@linuxone.co.kr wrote:

<HR>

<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: ����"><P
style="margin-top:3px; margin-bottom:3px;">Hi,</P>
<P style="margin-top:3px; margin-bottom:3px;">I'm
currently trying to run cocoon, actually I'm very
interested in sunspot portal. But I've got</P>
<P style="margin-top:3px; margin-bottom:3px;">problem
when I run login to the portal demo with guest/guest.
It emits NullPointerException</P>
<P style="margin-top:3px; margin-bottom:3px;">and
after searching mailing lists I've found the same
question but no answer. I'm running</P>
<P style="margin-top:3px; margin-bottom:3px;">JDK
1.4.0_02 and Tomcat 4.0.4 with cocoon 2.0.2 and cocoon
2.1-dev.</P>
<P style="margin-top:3px;
margin-bottom:3px;">&nbsp;</P>
<P style="margin-top:3px; margin-bottom:3px;">Can
anyone help me?</P>
<P style="margin-top:3px;
margin-bottom:3px;">&nbsp;</P></BODY>


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: [Q] SunSpot Portal Demo Error(NullPointerException) in Cocoon 2.0.2 and 2.1-dev

Posted by Jeroen ter Voorde <j....@home.nl>.
I had this problem too. Catalina
uses -Djava.endorsed.dirs=${CATALINA_HOME}/common/lib to
override the default endorsed dirs.


----- Original Message -----
From: "Carsten Ziegeler" <cz...@s-und-n.de>
To: <co...@xml.apache.org>
Sent: Tuesday, July 02, 2002 12:14 PM
Subject: RE: [Q] SunSpot Portal Demo Error(NullPointerException) in Cocoon
2.0.2 and 2.1-dev


>
>
> > -----Original Message-----
> > From: Tom von Schwerdtner [mailto:tvon@adelphia.net]
> > Sent: Tuesday, July 02, 2002 5:03 AM
> > To: cocoon-users@xml.apache.org
> > Subject: Re: [Q] SunSpot Portal Demo Error(NullPointerException) in
> > Cocoon 2.0.2 and 2.1-dev
> >
> >
> > On Monday 01 July 2002 03:07 am, Carsten Ziegeler wrote:
> > > Yes, this problem is related to JDK 1.4. You can either switch
> > > to JDK 1.3 or you have to put the versions of Xalan and Xerces
> > > shipped with Cocoon into the lib/endorsed direcoty of your JRE
> > > 1.4. There is a section in the installation docs about running
> > > Cocoon with JDK 1.4.
> >
> > FYI: I was having this problem with 1.4 on linux (Gentoo) and I
> > had to add
> > '-Djava.endorsed.dirs=${JAVA_HOME}/jre/lib/endorsed' to my CATALINA_OPTS
> > because it wasnt looking there by default.
> >
> The JDK 1.4 should look there by default. Strange.
>
> Carsten
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: [Q] SunSpot Portal Demo Error(NullPointerException) in Cocoon 2.0.2 and 2.1-dev

Posted by Carsten Ziegeler <cz...@s-und-n.de>.

> -----Original Message-----
> From: Tom von Schwerdtner [mailto:tvon@adelphia.net]
> Sent: Tuesday, July 02, 2002 5:03 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: [Q] SunSpot Portal Demo Error(NullPointerException) in
> Cocoon 2.0.2 and 2.1-dev
> 
> 
> On Monday 01 July 2002 03:07 am, Carsten Ziegeler wrote:
> > Yes, this problem is related to JDK 1.4. You can either switch
> > to JDK 1.3 or you have to put the versions of Xalan and Xerces
> > shipped with Cocoon into the lib/endorsed direcoty of your JRE
> > 1.4. There is a section in the installation docs about running
> > Cocoon with JDK 1.4.
> 
> FYI: I was having this problem with 1.4 on linux (Gentoo) and I 
> had to add 
> '-Djava.endorsed.dirs=${JAVA_HOME}/jre/lib/endorsed' to my CATALINA_OPTS 
> because it wasnt looking there by default.
> 
The JDK 1.4 should look there by default. Strange.

Carsten

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: [Q] SunSpot Portal Demo Error(NullPointerException) in Cocoon 2.0.2 and 2.1-dev

Posted by Tom von Schwerdtner <tv...@adelphia.net>.
On Monday 01 July 2002 03:07 am, Carsten Ziegeler wrote:
> Yes, this problem is related to JDK 1.4. You can either switch
> to JDK 1.3 or you have to put the versions of Xalan and Xerces
> shipped with Cocoon into the lib/endorsed direcoty of your JRE
> 1.4. There is a section in the installation docs about running
> Cocoon with JDK 1.4.

FYI: I was having this problem with 1.4 on linux (Gentoo) and I had to add 
'-Djava.endorsed.dirs=${JAVA_HOME}/jre/lib/endorsed' to my CATALINA_OPTS 
because it wasnt looking there by default.

-T
--
Tom von Schwerdtner <tv...@etria.org>
http://www.etria.org/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: [Q] SunSpot Portal Demo Error(NullPointerException) in Cocoon 2.0.2 and 2.1-dev

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Yes, this problem is related to JDK 1.4. You can either switch
to JDK 1.3 or you have to put the versions of Xalan and Xerces
shipped with Cocoon into the lib/endorsed direcoty of your JRE
1.4. There is a section in the installation docs about running 
Cocoon with JDK 1.4.

Carsten

> -----Original Message-----
> From: Kenny Chow [mailto:kycaeolus@yahoo.com]
> Sent: Saturday, June 29, 2002 6:12 PM
> To: cocoon-users@xml.apache.org; ninja@linuxone.co.kr
> Subject: Re: [Q] SunSpot Portal Demo Error(NullPointerException) in
> Cocoon 2.0.2 and 2.1-dev
> 
> 
> [Please use plain text]
> Hi there, your problem should be due to using jdk1.4.
> I suggest 1.3 instead, which is what I run with tomcat
> 404 and cocoon2.1-dev. This combination works fine.
> 
> --- ninja@linuxone.co.kr wrote:
> 
> <HR>
> 
> <BODY style="FONT-SIZE: 10pt; FONT-FAMILY: 1<82"><P
> style="margin-top:3px; margin-bottom:3px;">Hi,</P>
> <P style="margin-top:3px; margin-bottom:3px;">I'm
> currently trying to run cocoon, actually I'm very
> interested in sunspot portal. But I've got</P>
> <P style="margin-top:3px; margin-bottom:3px;">problem
> when I run login to the portal demo with guest/guest.
> It emits NullPointerException</P>
> <P style="margin-top:3px; margin-bottom:3px;">and
> after searching mailing lists I've found the same
> question but no answer. I'm running</P>
> <P style="margin-top:3px; margin-bottom:3px;">JDK
> 1.4.0_02 and Tomcat 4.0.4 with cocoon 2.0.2 and cocoon
> 2.1-dev.</P>
> <P style="margin-top:3px;
> margin-bottom:3px;">&nbsp;</P>
> <P style="margin-top:3px; margin-bottom:3px;">Can
> anyone help me?</P>
> <P style="margin-top:3px;
> margin-bottom:3px;">&nbsp;</P></BODY>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>