RE: newbie help in classpath

2002-03-29 Thread Vadim Gritsenko

USE PLAIN TEXT EMAIL! 
And make sure you do not have any other Xerces/Xalan/XML api versions in
the classpath and in the JRE ext directory.

Vadim

-Original Message-
From: Peng, Meimin [mailto:[EMAIL PROTECTED]] 

Hi, 
This is my error message when I use cocoon-2.0.2-src and try to biuld ""
c:\cocoon-2.0.2>.\build.bat all"" 
Thanks. 
-Original Message- 
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 28, 2002 8:29 PM 
To: [EMAIL PROTECTED] 
Subject: RE: newbie help in classpath 

USE PLAIN TEXT EMAIL! 
And do not use system classpath variables. 
> It told me that I need to recompile with -deprecation and build 
failed. 
What's the error? 
Vadim 
-Original Message- 
From: Peng, Meimin [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 28, 2002 6:16 PM 
To: '[EMAIL PROTECTED]' 
Subject: newbie help in classpath 
Hi, 
I am newbie for cocoon. got stuck somewhere and couldn't make cocoon 
work. Please help.  
I download both cocoon-2.0.2-src.zip and cocoon-2.0-bin.zip. 
follow the http://xml.apache.org/cocoon/installing/index.html try to 
make cocoon work. 
The sys env I have is: jdk1.3.1; tomcat3.2 
First, I try to use cocoon-2.0.2-src to install concoon. But, I couldn't

find the cocoon.war file under 
cocoon/build/cocoon/ directory. The solution I have is I copy the 
cocoon.war from binary code and deploy it in the tomcat 
directory. 
This is error message I got when I run http://localhost:8080/cocoon/ 
(the currently app I have in tomcat are still running correctly) 
Cocoon 2 - Internal server error 


 
type fatal 
message SAX2 driver class org.apache.xerces.parsers.SAXParser not found 
description java.lang.ClassNotFoundException: 
org.apache.xerces.parsers.SAXParser 
sender org.apache.cocoon.servlet.CocoonServlet 
It seems like I didn't set the correct classpth. 
Here is the setting: java_home is c:\jdk1.3.1; tomcat_home is 
c:\jakarta-tomcat 
System variable is: 
.;C:\jdk1.3.1\lib\tools.jar;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\ru

ntime.zip;C:\SQLLIB\java\sqlj.zip;C:\SQLLIB\bin 
Second, I try to use binary code to build cocoon.war file 
I use this command "\build.bat -Dinclude.webapp.libs=yes webapp" 
It told me that I need to recompile with -deprecation and build failed. 
The API is too old. 
What can I do to create a new war file in cocoon?? 
any ideas?? Thank a million. 
--Zoe 
CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged 
and confidential.  Any use, copying or dissemination of any portion of 
this e-mail by or to anyone other than the intended recipient(s) is 
unauthorized.  If you have received this e-mail in error, please reply 
to sender and delete it from your system immediately. 

- 
Please check that your question has not already been answered in the 
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> 
To unsubscribe, e-mail: <[EMAIL PROTECTED]> 
For additional commands, e-mail: <[EMAIL PROTECTED]> 
CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged
and confidential.  Any use, copying or dissemination of any portion of
this e-mail by or to anyone other than the intended recipient(s) is
unauthorized.  If you have received this e-mail in error, please reply
to sender and delete it from your system immediately.
  
  


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

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: newbie help in classpath

2002-03-29 Thread Peng, Meimin
Title: RE: newbie help in classpath





Hi, 
This is my error message when I use cocoon-2.0.2-src and try to biuld "" c:\cocoon-2.0.2>.\build.bat all"" 
Thanks. 


-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 8:29 PM
To: [EMAIL PROTECTED]
Subject: RE: newbie help in classpath



USE PLAIN TEXT EMAIL!
And do not use system classpath variables.


> It told me that I need to recompile with -deprecation and build
failed.


What's the error?


Vadim


-Original Message-
From: Peng, Meimin [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 28, 2002 6:16 PM
To: '[EMAIL PROTECTED]'
Subject: newbie help in classpath


Hi, 
I am newbie for cocoon. got stuck somewhere and couldn't make cocoon
work. Please help.  
I download both cocoon-2.0.2-src.zip and cocoon-2.0-bin.zip. 
follow the http://xml.apache.org/cocoon/installing/index.html try to
make cocoon work. 
The sys env I have is: jdk1.3.1; tomcat3.2 
First, I try to use cocoon-2.0.2-src to install concoon. But, I couldn't
find the cocoon.war file under 
cocoon/build/cocoon/ directory. The solution I have is I copy the
cocoon.war from binary code and deploy it in the tomcat
directory. 
This is error message I got when I run http://localhost:8080/cocoon/
(the currently app I have in tomcat are still running correctly)
Cocoon 2 - Internal server error 

 
type fatal 
message SAX2 driver class org.apache.xerces.parsers.SAXParser not found 
description java.lang.ClassNotFoundException:
org.apache.xerces.parsers.SAXParser 
sender org.apache.cocoon.servlet.CocoonServlet 
It seems like I didn't set the correct classpth. 
Here is the setting: java_home is c:\jdk1.3.1; tomcat_home is
c:\jakarta-tomcat 
System variable is: 
.;C:\jdk1.3.1\lib\tools.jar;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\ru
ntime.zip;C:\SQLLIB\java\sqlj.zip;C:\SQLLIB\bin 
Second, I try to use binary code to build cocoon.war file 
I use this command "\build.bat -Dinclude.webapp.libs=yes webapp" 
It told me that I need to recompile with -deprecation and build failed.
The API is too old. 
What can I do to create a new war file in cocoon?? 
any ideas?? Thank a million. 
--Zoe 
CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged
and confidential.  Any use, copying or dissemination of any portion of
this e-mail by or to anyone other than the intended recipient(s) is
unauthorized.  If you have received this e-mail in error, please reply
to sender and delete it from your system immediately.



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


To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged and confidential.  Any use, copying or dissemination of any portion of this e-mail by or to anyone other than the intended recipient(s) is unauthorized.  If you have received this e-mail in error, please reply to sender and delete it from your system immediately.

  


 




error.log
Description: Binary data

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

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


RE: newbie help in classpath

2002-03-28 Thread Vadim Gritsenko

USE PLAIN TEXT EMAIL!
And do not use system classpath variables.

> It told me that I need to recompile with -deprecation and build
failed.

What's the error?

Vadim

-Original Message-
From: Peng, Meimin [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 28, 2002 6:16 PM
To: '[EMAIL PROTECTED]'
Subject: newbie help in classpath

Hi, 
I am newbie for cocoon. got stuck somewhere and couldn't make cocoon
work. Please help.  
I download both cocoon-2.0.2-src.zip and cocoon-2.0-bin.zip. 
follow the http://xml.apache.org/cocoon/installing/index.html try to
make cocoon work. 
The sys env I have is: jdk1.3.1; tomcat3.2 
First, I try to use cocoon-2.0.2-src to install concoon. But, I couldn't
find the cocoon.war file under 
cocoon/build/cocoon/ directory. The solution I have is I copy the
cocoon.war from binary code and deploy it in the tomcat
directory. 
This is error message I got when I run http://localhost:8080/cocoon/
(the currently app I have in tomcat are still running correctly)
Cocoon 2 - Internal server error 

 
type fatal 
message SAX2 driver class org.apache.xerces.parsers.SAXParser not found 
description java.lang.ClassNotFoundException:
org.apache.xerces.parsers.SAXParser 
sender org.apache.cocoon.servlet.CocoonServlet 
It seems like I didn't set the correct classpth. 
Here is the setting: java_home is c:\jdk1.3.1; tomcat_home is
c:\jakarta-tomcat 
System variable is: 
.;C:\jdk1.3.1\lib\tools.jar;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\ru
ntime.zip;C:\SQLLIB\java\sqlj.zip;C:\SQLLIB\bin 
Second, I try to use binary code to build cocoon.war file 
I use this command "\build.bat -Dinclude.webapp.libs=yes webapp" 
It told me that I need to recompile with -deprecation and build failed.
The API is too old. 
What can I do to create a new war file in cocoon?? 
any ideas?? Thank a million. 
--Zoe 
CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged
and confidential.  Any use, copying or dissemination of any portion of
this e-mail by or to anyone other than the intended recipient(s) is
unauthorized.  If you have received this e-mail in error, please reply
to sender and delete it from your system immediately.


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Newbie: help!

2002-03-01 Thread Vadim Gritsenko

> From: Rigamonti Vittorio [mailto:[EMAIL PROTECTED]]
> 
> Hi Zvika,
> 
> in this newsgroup you can find a lot of messages from desperate people
> that try to run cocoon2+tomcat4+jdk1.3 or 1.4.
> 
> I also tried and I failed.

Vittorio,

Download Tomcat 4.0.1 and follow
http://xml.apache.org/cocoon/installing/index.html

> In my opinion the point is that Tomcat 4 implements Servlet 2.3 spec
> and cocoon is developed on tomcat 3 servlet 2.2 spec.
> 
> If you are a newbie and you don't have the constraint to use Tomcat 4
> I think that the right starting point for you is:
> 
> cocoon+TOMCAT 3 + jdk1.3

Tomcat 4.0.1 is more newbie-friendly and installation is more
straightforward.

Regards,
Vadim



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Newbie: help!

2002-03-01 Thread Luca Morandini

Vittorio,

while I agree that Tomcat 4.0.2 and Cocoon 2.0.1 have some problems talking
to each other, I believe using Tomcat 4.0.1 and Cocoon 2.0 is safe and has
some advantages over using Tomcat 3.x.x (easier installation, better
performance and better integration with Windows 2000).

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Rigamonti Vittorio [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 01, 2002 12:46 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Newbie: help!
>
>
> Hi Zvika,
>
> in this newsgroup you can find a lot of messages from desperate people
> that try to run cocoon2+tomcat4+jdk1.3 or 1.4.
>
> I also tried and I failed.
>
> In my opinion the point is that Tomcat 4 implements Servlet 2.3 spec
> and cocoon is developed on tomcat 3 servlet 2.2 spec.
>
> If you are a newbie and you don't have the constraint to use Tomcat 4
> I think that the right starting point for you is:
>
> cocoon+TOMCAT 3 + jdk1.3
>
> Good luck,
> V
>
>
> -Original Message-
> From: Zvika Markfeld [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 01, 2002 12:33 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Newbie: help!
>
>
> Although a cocoon newbie, also a human being in need for help getting this
> thing started:
> I am trying to install c2.01 on Tomcat4.02, Win2k, JDK1.3.
> I installed the cocoon war file but when trying to access the main page
> (localhost:8080/cocoon) it generates the following exception:
>
> * javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
> exception
> * blah blah blah...
> * root cause
> * java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver
> * blah blah blah...
>
> So I bundled all the javax.xml.transform classes from Sun's XML
> Pack Winter
> Release(JAXP) and put them in Tomcat's common lib, which gave me the
> following exception:
> * The sitemap handler's sitemap is not available. Please check
> logs for the
> exact error.
> Importing the entire JAXP package made no difference. same error message.
>
> I checked installation & online docs, with no luck.
> zm.
>
>
>
> -Original Message-
> From: Colin Hall [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 27, 2002 7:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Uninterruptable Sleep
>
>
> Sorry, I've been out of town for a few days.
>
> >-Original Message-
> >From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, February 22, 2002 8:37 AM
> >To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> >Subject: RE: Uninterruptable Sleep
> >
> >
> >Colin,
> >
> >>I am using a source distribution I downloaded from from the
> >apache dist site
> >>at the end of January.
> >
> >Must be 2.01, or?
>
> Yes, it's 2.01
>
> >
> >>Some further information that might be of interest:
> >> - My testing environment did NOT exhibited this behaviour
> >even after I
> >>bombarded it for a full hour using jmeter running 30+ threads.
> >
> >Ahh jmeter on the same machine? I made very negative
> >experience with that
> >tool. For stressing my applications, I use the Microsoft Webapplication
> >Stress tool:
> ><http://www.microsoft.com/technet/treeview/default.asp?url=/Tec
> hNet/itsolutions/intranet/downloads/w
> >ebstres.asp>
>
> Thanks, I'll try it out.
>
> >
> >It's from MS , but it's (ahem) good.
> >
> >> - The production server went into this state within 2
> >minutes of running a
> >>scaled back version (6 threads) of the same jmeter test.
> >
> >Try it without JMeter again...
> >
> >>Production is RedHat 6.1 (2.2.12-20) jdk1.3.1_01
> >>Test is SuSe 6.4 (2.2.14) jdk1.3.0
> >>both are tomcat 3.2.3
> >>
> >>My config is:
> >> Tomcat:
> >>  -Xmx 256M  -Xms 128M
> >> StoreJanitor:
> >>  
> >>  
> >>
> >>After reading the links you've provided, I see that I may have to
> >>re-consider these settings.
> >
> >Indeed:
> >How many RAM has your machine?
>
> This is another strange thing.  There is 512M, but top only shows 64M...I
> think that I should update top
>
> >- Don't set the -Xms parameter, I read that somewhere in a performace
> >article. I have to update the

RE: Newbie: help!

2002-03-01 Thread Rigamonti Vittorio

Hi Zvika,

in this newsgroup you can find a lot of messages from desperate people
that try to run cocoon2+tomcat4+jdk1.3 or 1.4.

I also tried and I failed.

In my opinion the point is that Tomcat 4 implements Servlet 2.3 spec
and cocoon is developed on tomcat 3 servlet 2.2 spec.

If you are a newbie and you don't have the constraint to use Tomcat 4
I think that the right starting point for you is:

cocoon+TOMCAT 3 + jdk1.3

Good luck,
V


-Original Message-
From: Zvika Markfeld [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 12:33 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Newbie: help!


Although a cocoon newbie, also a human being in need for help getting this
thing started:
I am trying to install c2.01 on Tomcat4.02, Win2k, JDK1.3.
I installed the cocoon war file but when trying to access the main page
(localhost:8080/cocoon) it generates the following exception:

* javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
exception
* blah blah blah...
* root cause
* java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver
* blah blah blah...

So I bundled all the javax.xml.transform classes from Sun's XML Pack Winter
Release(JAXP) and put them in Tomcat's common lib, which gave me the
following exception:
* The sitemap handler's sitemap is not available. Please check logs for the
exact error.
Importing the entire JAXP package made no difference. same error message.

I checked installation & online docs, with no luck.
zm.



-Original Message-
From: Colin Hall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 7:06 PM
To: [EMAIL PROTECTED]
Subject: RE: Uninterruptable Sleep


Sorry, I've been out of town for a few days.

>-Original Message-
>From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 22, 2002 8:37 AM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: RE: Uninterruptable Sleep
>
>
>Colin,
>
>>I am using a source distribution I downloaded from from the
>apache dist site
>>at the end of January.
>
>Must be 2.01, or?

Yes, it's 2.01

>
>>Some further information that might be of interest:
>> - My testing environment did NOT exhibited this behaviour
>even after I
>>bombarded it for a full hour using jmeter running 30+ threads.
>
>Ahh jmeter on the same machine? I made very negative
>experience with that
>tool. For stressing my applications, I use the Microsoft Webapplication
>Stress tool:
>ebstres.asp>

Thanks, I'll try it out.

>
>It's from MS , but it's (ahem) good.
>
>> - The production server went into this state within 2
>minutes of running a
>>scaled back version (6 threads) of the same jmeter test.
>
>Try it without JMeter again...
>
>>Production is RedHat 6.1 (2.2.12-20) jdk1.3.1_01
>>Test is SuSe 6.4 (2.2.14) jdk1.3.0
>>both are tomcat 3.2.3
>>
>>My config is:
>> Tomcat:
>>  -Xmx 256M  -Xms 128M
>> StoreJanitor:
>>  
>>  
>>
>>After reading the links you've provided, I see that I may have to
>>re-consider these settings.
>
>Indeed:
>How many RAM has your machine?

This is another strange thing.  There is 512M, but top only shows 64M...I
think that I should update top

>- Don't set the -Xms parameter, I read that somewhere in a performace
>article. I have to update the Cocoon docs.
>- Don't set the -Xmx == RAM you have. Your machine needs some
>memory, too.
>- Set the heapsize always lower as the -Xmx paramter,
>otherwise your JVM
>can run out of Memory.
>- Don't set free memory that high, I think 10megs should be
>enough. Consider,
>this formel:
> if ((JVM totalMemory > heapsize AND JVM freeMemory() <
>freememory) == true)
>then the cleanup thread kicks in. Wrong settings can cause to
>many thread
>iteration.
>

OK, I'll use this config.

>>Are you aware of any kernel or JDK version issues that may
>cause problems?
>
>Nope, unfortunately it's always the code ;-).
>
>>Thanks for the information!
>
>No problem, you're welcome.
>
>BTW: can you try the latest CVS, just for comparing?
>

I will try it out. Thanks again!

>  ~Gerhard
>
>
>I just found the last bug...
>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. 

Re: Newbie: help!

2002-03-01 Thread Jerzy Kut

Try to read cocoon mail archive -
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg08269.html

Best regards
Jerzy Kut

P.S.Sorry - this is just reply to post of dylanb
Subject: Servlet.init() error running cocoon for the first time
You can try to read this for details :) don't be angry...

- Original Message -
From: "Zvika Markfeld" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 12:32 PM
Subject: Newbie: help!


> Although a cocoon newbie, also a human being in need for help getting this
> thing started:
> I am trying to install c2.01 on Tomcat4.02, Win2k, JDK1.3.
> I installed the cocoon war file but when trying to access the main page
> (localhost:8080/cocoon) it generates the following exception:
>
> * javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
> exception
> * blah blah blah...
> * root cause
> * java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver
> * blah blah blah...
>
> So I bundled all the javax.xml.transform classes from Sun's XML Pack
Winter
> Release(JAXP) and put them in Tomcat's common lib, which gave me the
> following exception:
> * The sitemap handler's sitemap is not available. Please check logs for
the
> exact error.
> Importing the entire JAXP package made no difference. same error message.
>
> I checked installation & online docs, with no luck.
> zm.
>
>
>
> -Original Message-
> From: Colin Hall [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 27, 2002 7:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Uninterruptable Sleep
>
>
> Sorry, I've been out of town for a few days.
>
> >-Original Message-
> >From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, February 22, 2002 8:37 AM
> >To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> >Subject: RE: Uninterruptable Sleep
> >
> >
> >Colin,
> >
> >>I am using a source distribution I downloaded from from the
> >apache dist site
> >>at the end of January.
> >
> >Must be 2.01, or?
>
> Yes, it's 2.01
>
> >
> >>Some further information that might be of interest:
> >> - My testing environment did NOT exhibited this behaviour
> >even after I
> >>bombarded it for a full hour using jmeter running 30+ threads.
> >
> >Ahh jmeter on the same machine? I made very negative
> >experience with that
> >tool. For stressing my applications, I use the Microsoft Webapplication
> >Stress tool:
> > hNet/itsolutions/intranet/downloads/w
> >ebstres.asp>
>
> Thanks, I'll try it out.
>
> >
> >It's from MS , but it's (ahem) good.
> >
> >> - The production server went into this state within 2
> >minutes of running a
> >>scaled back version (6 threads) of the same jmeter test.
> >
> >Try it without JMeter again...
> >
> >>Production is RedHat 6.1 (2.2.12-20) jdk1.3.1_01
> >>Test is SuSe 6.4 (2.2.14) jdk1.3.0
> >>both are tomcat 3.2.3
> >>
> >>My config is:
> >> Tomcat:
> >>  -Xmx 256M  -Xms 128M
> >> StoreJanitor:
> >>  
> >>  
> >>
> >>After reading the links you've provided, I see that I may have to
> >>re-consider these settings.
> >
> >Indeed:
> >How many RAM has your machine?
>
> This is another strange thing.  There is 512M, but top only shows 64M...I
> think that I should update top
>
> >- Don't set the -Xms parameter, I read that somewhere in a performace
> >article. I have to update the Cocoon docs.
> >- Don't set the -Xmx == RAM you have. Your machine needs some
> >memory, too.
> >- Set the heapsize always lower as the -Xmx paramter,
> >otherwise your JVM
> >can run out of Memory.
> >- Don't set free memory that high, I think 10megs should be
> >enough. Consider,
> >this formel:
> > if ((JVM totalMemory > heapsize AND JVM freeMemory() <
> >freememory) == true)
> >then the cleanup thread kicks in. Wrong settings can cause to
> >many thread
> >iteration.
> >
>
> OK, I'll use this config.
>
> >>Are you aware of any kernel or JDK version issues that may
> >cause problems?
> >
> >Nope, unfortunately it's always the code ;-).
> >
> >>Thanks for the information!
> >
> >No problem, you're welcome.
> >
> >BTW: can you try the latest CVS, just for comparing?
> >
>
> I will try it out. Thanks again!
>
> >  ~Gerhard
> >
> >
> >I just found the last bug...
> >
> >
> >
> >-
> >Please check that your question has not already been answered in the
> >FAQ before posting. 
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> -

RE: Newbie: help!

2002-03-01 Thread TREGAN Fabien

try cocoon 4.0.1

(allready discussed, search the archive)

>-Message d'origine-
>De: Zvika Markfeld [mailto:[EMAIL PROTECTED]]
>Date: vendredi 1 mars 2002 12:33
>À: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Objet: Newbie: help!
>
>
>Although a cocoon newbie, also a human being in need for help 
>getting this
>thing started:
>I am trying to install c2.01 on Tomcat4.02, Win2k, JDK1.3.
>I installed the cocoon war file but when trying to access the main page
>(localhost:8080/cocoon) it generates the following exception:
>
>* javax.servlet.ServletException: Servlet.init() for servlet 
>Cocoon2 threw
>exception
>* blah blah blah...
>* root cause
>* java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver
>* blah blah blah...
>
>So I bundled all the javax.xml.transform classes from Sun's 
>XML Pack Winter
>Release(JAXP) and put them in Tomcat's common lib, which gave me the
>following exception:
>* The sitemap handler's sitemap is not available. Please check 
>logs for the
>exact error.
>Importing the entire JAXP package made no difference. same 
>error message.
>
>I checked installation & online docs, with no luck.
>zm.
>
>
>
>-Original Message-
>From: Colin Hall [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, February 27, 2002 7:06 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Uninterruptable Sleep
>
>
>Sorry, I've been out of town for a few days.
>
>>-Original Message-
>>From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, February 22, 2002 8:37 AM
>>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>>Subject: RE: Uninterruptable Sleep
>>
>>
>>Colin,
>>
>>>I am using a source distribution I downloaded from from the
>>apache dist site
>>>at the end of January.
>>
>>Must be 2.01, or?
>
>Yes, it's 2.01
>
>>
>>>Some further information that might be of interest:
>>> - My testing environment did NOT exhibited this behaviour
>>even after I
>>>bombarded it for a full hour using jmeter running 30+ threads.
>>
>>Ahh jmeter on the same machine? I made very negative
>>experience with that
>>tool. For stressing my applications, I use the Microsoft 
>Webapplication
>>Stress tool:
>>hNet/itsolutions/intranet/downloads/w
>>ebstres.asp>
>
>Thanks, I'll try it out.
>
>>
>>It's from MS , but it's (ahem) good.
>>
>>> - The production server went into this state within 2
>>minutes of running a
>>>scaled back version (6 threads) of the same jmeter test.
>>
>>Try it without JMeter again...
>>
>>>Production is RedHat 6.1 (2.2.12-20) jdk1.3.1_01
>>>Test is SuSe 6.4 (2.2.14) jdk1.3.0
>>>both are tomcat 3.2.3
>>>
>>>My config is:
>>> Tomcat:
>>>  -Xmx 256M  -Xms 128M
>>> StoreJanitor:
>>>  
>>>  
>>>
>>>After reading the links you've provided, I see that I may have to
>>>re-consider these settings.
>>
>>Indeed:
>>How many RAM has your machine?
>
>This is another strange thing.  There is 512M, but top only 
>shows 64M...I
>think that I should update top
>
>>- Don't set the -Xms parameter, I read that somewhere in a performace
>>article. I have to update the Cocoon docs.
>>- Don't set the -Xmx == RAM you have. Your machine needs some
>>memory, too.
>>- Set the heapsize always lower as the -Xmx paramter,
>>otherwise your JVM
>>can run out of Memory.
>>- Don't set free memory that high, I think 10megs should be
>>enough. Consider,
>>this formel:
>> if ((JVM totalMemory > heapsize AND JVM freeMemory() <
>>freememory) == true)
>>then the cleanup thread kicks in. Wrong settings can cause to
>>many thread
>>iteration.
>>
>
>OK, I'll use this config.
>
>>>Are you aware of any kernel or JDK version issues that may
>>cause problems?
>>
>>Nope, unfortunately it's always the code ;-).
>>
>>>Thanks for the information!
>>
>>No problem, you're welcome.
>>
>>BTW: can you try the latest CVS, just for comparing?
>>
>
>I will try it out. Thanks again!
>
>>  ~Gerhard
>>
>>
>>I just found the last bug...
>>
>>
>>
>>-
>>Please check that your question has not already been answered in the
>>FAQ before posting. 
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>

-
Please c