Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 96463 invoked by uid 500); 17 Sep 2002 14:18:21 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 96431 invoked from network); 17 Sep 2002 14:18:17 -0000 Message-ID: <3653CEFF0149D41191560090275174ACB825AE@mercurio.ba.technisys.com.ar> From: Alejandro Raiczyk To: "'cocoon-users@xml.apache.org'" Cc: Mariano Goldman , =?iso-8859-1?Q?Sebasti=E1?= =?iso-8859-1?Q?n_Zubrinic?= Subject: RE: Cocoon in multiple webapp Date: Tue, 17 Sep 2002 11:15:32 -0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C25E54.AF1814D0" X-Virus-Scanned: by AMaViS perl-11 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C25E54.AF1814D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Antonio: I did read what Vadim said, and I did what says in the install docs. = That doc says that u have to compile the code if u want to use JDBC, and = that=B4s not my case. Anyway, I downloded the C2 distribution for JDK 1.4. I=B4m running about 20 applications. You can come whenever u want, every day a server exploits here ... Alejandro -----Mensaje original----- De: Antonio Gallardo Rivera [mailto:agallardo@agsoftware.dnsalias.com]=20 Enviado el: Martes, 17 de Septiembre de 2002 11:06 a.m. Para: cocoon-users@xml.apache.org Asunto: Re: Cocoon in multiple webapp Read down, the guru Vadim said:: Ahem... Seems like nobody reading install docs... http://xml.apache.org/cocoon/installing/index.html *"**Java 1.4 configuration"* Have you tried to download the source code and compile it? Please read = the=20 link, that Vadim sent to you. How many application are you using? BTW, can you invite me to see how a server exploid? ;) Antonio Gallardo El Martes, 17 de Septiembre de 2002 07:19, Alejandro Raiczyk = escribi=F3: > Well, I've tried all: > > - I put all cocoon jars under $CATALINA_HOME/common/lib > - I added the extra-classpath in the web.xml of my webapps > - I copied the xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar to > $JAVA_HOME/jre/lib/endorsed > - I deleted the work dir > > and I'm getting the same exception as before ... > > If someone knows something else, please help !!! > I don=B4t know what to do. I must install a development server for 20 people, > each one having it=B4s own context and running cocoon 2. The machine = has 256 > mb of RAM and if I put all cocoon=B4s jar in each webapp, the server = will > exploid! > > -----Mensaje original----- > De: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net] > Enviado el: Martes, 17 de Septiembre de 2002 09:46 a.m. > Para: cocoon-users@xml.apache.org > Asunto: Re: Cocoon in multiple webapp > > Antonio Gallardo Rivera wrote: > >Try this maybe it helps you: > > > >If you are using 1.4 (I am using 1.4.1RC) You must to copy the = following > >libraries to your Java libs: > > > >PROBLEM: When you are trying to use sunRise and your plataform is = (or > >similar): > > > > Cocoon 2.0.3 > > Tomcat 2.1.8 or 2.1.9 > > Java 1.4 or 1.4.1 > > > >You get the following error: > > > >java.lang.NullPointerException > > > >java.lang.NullPointerException at > = >org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:86= 9) > >at > > = org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871= ) > > >at > > = org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871= ) > > >at > > org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:= 836 > > >at > >org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(SimpleSe= ssi > >o > > n > > >Context.java:173) > >at > > org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:= 691 > > >.... > > > >CAUSE: > >You have to configure java to work with this libraries: > > xalan-2.3.1.jar > > xercesImpl-2.0.0.jar > > xml-apis.jar > > > >SOLUTION: > >1-Stop Tomcat. > >2-Create a directory named "endorsed" at $JAVA_HOME/jre/lib/ > >3-Copy from Cocoon the following files to the recent created = directory: > > xalan-2.3.1.jar > > xercesImpl-2.0.0.jar > > xml-apis.jar > >4-Restart Tomcat > > Ahem... Seems like nobody reading install docs... > > http://xml.apache.org/cocoon/installing/index.html > *"**Java 1.4 configuration"* > > > Vadim > > >THANKS: > > > >Many thanks to Matthew Langham that provide me the link to: > > > = >http://marc.theaimsgroup.com/?l=3Dxml-cocoon-users&m=3D102927633032114&= w=3D2 > > > >Antonio Gallardo > > > > > >CocoonServlet.java > > > >El Lunes, 16 de Septiembre de 2002 15:15, Ryan Agler escribi=F3: > >>Also a lot of times when I'm trying to get things to work with = Tomcat > >>requiring me to stop-and-start it a lot, "catalina.sh stop" wont = kill > >>all the java processes on my system. Then I get all kinds of = errors > >>when I start it back up. Make sure there are no rogue processes = running > >>and if there are, kill them. In the stop section of my catalina.sh = file > >>I added a line to not only kill all processes, but also delete the = work > >>directory: > >> > >>rm -rf $CATALINA_HOME/work > >>killall /jdk/bin/java > >> > >>good luck > >> > >>-----Original Message----- > >>From: Alejandro Raiczyk [mailto:alejandror@technisys.net] > >>Sent: Monday, September 16, 2002 2:38 PM > >>To: 'cocoon-users@xml.apache.org' > >>Subject: RE: Cocoon in multiple webapps > >> > >>I=B4ve tried, but it didn=B4t work: > >>type fatal > >>message null > >>description java.lang.NullPointerException > >>sender org.apache.cocoon.servlet.CocoonServlet > >>source Cocoon servlet > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: ------_=_NextPart_001_01C25E54.AF1814D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Cocoon in multiple webapp

Antonio:

I did read what Vadim said, and I did what says in = the install docs. That doc says that u have to compile the code if u = want to use JDBC, and that=B4s not my case. Anyway, I downloded the C2 = distribution for JDK 1.4.

I=B4m running about 20 applications.

You can come whenever u want, every day a server = exploits here ...

Alejandro

-----Mensaje original-----
De: Antonio Gallardo Rivera [mailto:agallardo@agsof= tware.dnsalias.com]
Enviado el: Martes, 17 de Septiembre de 2002 11:06 = a.m.
Para: cocoon-users@xml.apache.org
Asunto: Re: Cocoon in multiple webapp

Read down, the guru Vadim said::

Ahem... Seems like nobody reading install = docs...

http://xml.apache.org/cocoon/installing/index.html=
 *"**Java 1.4 configuration"*

Have you tried to download the source code and = compile it? Please read the
link, that Vadim sent to you.

How many application are you using?

BTW, can you invite me to see how a server exploid? = ;)

Antonio Gallardo


El Martes, 17 de Septiembre de 2002 07:19, Alejandro = Raiczyk escribi=F3:
> Well, I've tried all:
>
> - I put all cocoon jars under = $CATALINA_HOME/common/lib
> - I added the extra-classpath in the web.xml of = my webapps
> - I copied the xerces-XXX.jar, xalan-XXX.jar, = and the xml-apis.jar to
> $JAVA_HOME/jre/lib/endorsed
> - I deleted the work dir
>
> and I'm getting the same exception as before = ...
>
> If someone knows something else, please help = !!!
> I don=B4t know what to do. I must install a = development server for 20 people,
> each one having it=B4s own context and running = cocoon 2. The machine has 256
> mb of RAM and if I put all cocoon=B4s jar in = each webapp, the server will
> exploid!
>
> -----Mensaje original-----
> De: Vadim Gritsenko [mailto:vadim.gritsenko@veriz= on.net]
> Enviado el: Martes, 17 de Septiembre de 2002 = 09:46 a.m.
> Para: cocoon-users@xml.apache.org
> Asunto: Re: Cocoon in multiple webapp
>
> Antonio Gallardo Rivera wrote:
> >Try this maybe it helps you:
> >
> >If you are using 1.4 (I am using 1.4.1RC) = You must to copy the following
> >libraries to your Java libs:
> >
> >PROBLEM: When you are trying to use sunRise = and your plataform is (or
> >similar):
> >
> >        = Cocoon 2.0.3
> >        = Tomcat 2.1.8 or 2.1.9
> >        = Java 1.4 or 1.4.1
> >
> >You get the following error:
> >
> >java.lang.NullPointerException
> >
> >java.lang.NullPointerException at
> = >org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java= :869)
> >at
>
> = org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871= )
>
> >at
>
> = org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871= )
>
> >at
>
> = org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:= 836
>
> >at
> = >org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(Simpl= eSessi
> >o
>
> n
>
> >Context.java:173)
> >at
>
> = org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:= 691
>
> >....
> >
> >CAUSE:
> >You have to configure java to work with = this libraries:
> >        = xalan-2.3.1.jar
> >        = xercesImpl-2.0.0.jar
> >        = xml-apis.jar
> >
> >SOLUTION:
> >1-Stop Tomcat.
> >2-Create a directory named = "endorsed" at $JAVA_HOME/jre/lib/
> >3-Copy from Cocoon the following files to = the recent created directory:
> >        = xalan-2.3.1.jar
> >        = xercesImpl-2.0.0.jar
> >        = xml-apis.jar
> >4-Restart Tomcat
>
> Ahem... Seems like nobody reading install = docs...
>
> http://xml.apache.org/cocoon/installing/index.html=
> *"**Java 1.4 configuration"*
>
>
> Vadim
>
> >THANKS:
> >
> >Many thanks to Matthew Langham that provide = me the link to:
> >
> >http://marc.theaimsgroup.com/?l=3Dxml-co= coon-users&m=3D102927633032114&w=3D2
> >
> >Antonio Gallardo
> >
> >
> >CocoonServlet.java
> >
> >El Lunes, 16 de Septiembre de 2002 15:15, = Ryan Agler escribi=F3:
> >>Also a lot of times when I'm trying to = get things to work with Tomcat
> >>requiring me to stop-and-start it a = lot, "catalina.sh stop" wont kill
> >>all the java processes on my = system.  Then I get all kinds of errors
> >>when I start it back up.  Make = sure there are no rogue processes running
> >>and if there are, kill them.  In = the stop section of my catalina.sh file
> >>I added a line to not only kill all = processes, but also delete the work
> >>directory:
> >>
> >>rm -rf $CATALINA_HOME/work
> >>killall /jdk/bin/java
> >>
> >>good luck
> >>
> >>-----Original Message-----
> >>From: Alejandro Raiczyk [mailto:alejandror@technisys.net= ]
> >>Sent: Monday, September 16, 2002 2:38 = PM
> >>To: = 'cocoon-users@xml.apache.org'
> >>Subject: RE: Cocoon in multiple = webapps
> >>
> >>I=B4ve tried, but it didn=B4t = work:
> >>type fatal
> >>message null
> >>description = java.lang.NullPointerException
> >>sender = org.apache.cocoon.servlet.CocoonServlet
> >>source Cocoon servlet
>
> = ---------------------------------------------------------------------
> 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:     = <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   = <cocoon-users-help@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:     = <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   = <cocoon-users-help@xml.apache.org>

------_=_NextPart_001_01C25E54.AF1814D0--