Re: Frustrated by Tomcat4 & Cocoon2

2001-08-23 Thread Sergio Carvalho


I had core dumps of the Java VM after upgrading to Suse 7.2, because of a clash
with the new glibc. It might be what you are seeing. If it is, then the proposed
solution by Sun is to execute: 
 ulimit -s 2048
before launching the java virtual machine. This limits the stack size, which was
the behaviour of the previous glibc.

On Thu, 23 Aug 2001 15:28:54 +0100, "Lamb, Mark" <[EMAIL PROTECTED]> wrote:
--
Q
> Hi All,
> 
> I am getting really frustrated trying to get Cocoon2 to run under Tomcat4.
> 
> I have a Linux Mandrake 8.0 machine with Java 1.3.1 installed.
> Tomcat 4.0-b7 has been downloaded, installed and I have confirmed that it
> works correctly.
> Jakarta Ant 1.4.1 Beta 1 has been installed and is working.
> Cocoon2-b2 was downloaded.
> I modified cocoon2/webapp/WEB-INF/web.xml so that the following lines appear
> 
> 
> 
> extra-classpath
>  
> /usr/jakarta/jakarta-tomcat-4.0-b7/common/lib/servlet.jar m-value>
> 
> 
> I then built the cocoon app with the command
> ant -Dinclude.webapp.libs=yes webapp
> 
> Finally I copy cocoon.war into $TOMCAT_HOME/webapp and start tomcat with the
> command 'catalina.sh run'.
> 
> After a few moments, tomcat crashed with the following error:
> 
> ./catalina.sh: line:170 16997 Segmentation fault  (core dumped)
> $JAVA_HOME/bin/java $CATALINA_OPTS -classpath $CP
> -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap "$@"
> start
> 
> I have had a look at catalina.sh and line 170 is the very last line in the
> script, so that doesnt help much.
> 
> Has anyone seen this before or can anyone help me ...
> 
> Thanks,
> Mark.
> 
> -
> 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: Frustrated by Tomcat4 & Cocoon2

2001-08-23 Thread Lamb, Mark

Thanks a lot everyone,
That worked a treat - it was really starting to bug me :)

Cheers again,
Mark.

-
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: Frustrated by Tomcat4 & Cocoon2

2001-08-23 Thread Marcus Crafter

Hi Mark,

The problem you are experiencing is a known problem with jdk1.3.1. It
does not occur with jdk1.3.0. Nevertheless, there is a fix. Which is
to add the string '-classic' to your $CATALINA_OPTS environment
variable. This should fix the issue.

Hope that helps mate.

Cheers,

Marcus

On Thu, 23 Aug 2001, Lamb, Mark wrote:

> Hi All,
> 
> I am getting really frustrated trying to get Cocoon2 to run under Tomcat4.
> 
> I have a Linux Mandrake 8.0 machine with Java 1.3.1 installed.
> Tomcat 4.0-b7 has been downloaded, installed and I have confirmed that it
> works correctly.
> Jakarta Ant 1.4.1 Beta 1 has been installed and is working.
> Cocoon2-b2 was downloaded.
> I modified cocoon2/webapp/WEB-INF/web.xml so that the following lines appear
> 
> 
> 
> extra-classpath
>  
> /usr/jakarta/jakarta-tomcat-4.0-b7/common/lib/servlet.jar m-value>
> 
> 
> I then built the cocoon app with the command
> ant -Dinclude.webapp.libs=yes webapp
> 
> Finally I copy cocoon.war into $TOMCAT_HOME/webapp and start tomcat with the
> command 'catalina.sh run'.
> 
> After a few moments, tomcat crashed with the following error:
> 
> ./catalina.sh: line:170 16997 Segmentation fault  (core dumped)
> $JAVA_HOME/bin/java $CATALINA_OPTS -classpath $CP
> -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap "$@"
> start
> 
> I have had a look at catalina.sh and line 170 is the very last line in the
> script, so that doesnt help much.
> 
> Has anyone seen this before or can anyone help me ...
> 
> Thanks,
> Mark.
> 
> -
> 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]>
> 
> 

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Open Software Associates GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
&&&:


-
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: Frustrated by Tomcat4 & Cocoon2

2001-08-23 Thread Christopher Cobb

Try 1.3.

"Lamb, Mark" wrote:

> Hi All,
>
> I am getting really frustrated trying to get Cocoon2 to run under Tomcat4.
>
> I have a Linux Mandrake 8.0 machine with Java 1.3.1 installed.
> Tomcat 4.0-b7 has been downloaded, installed and I have confirmed that it
> works correctly.
> Jakarta Ant 1.4.1 Beta 1 has been installed and is working.
> Cocoon2-b2 was downloaded.
> I modified cocoon2/webapp/WEB-INF/web.xml so that the following lines appear
>
> 
> extra-classpath
>
> /usr/jakarta/jakarta-tomcat-4.0-b7/common/lib/servlet.jar m-value>
> 
>
> I then built the cocoon app with the command
> ant -Dinclude.webapp.libs=yes webapp
>
> Finally I copy cocoon.war into $TOMCAT_HOME/webapp and start tomcat with the
> command 'catalina.sh run'.
>
> After a few moments, tomcat crashed with the following error:
>
> ./catalina.sh: line:170 16997 Segmentation fault  (core dumped)
> $JAVA_HOME/bin/java $CATALINA_OPTS -classpath $CP
> -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap "$@"
> start
>
> I have had a look at catalina.sh and line 170 is the very last line in the
> script, so that doesnt help much.
>
> Has anyone seen this before or can anyone help me ...
>
> Thanks,
> Mark.
>
> -
> 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: Frustrated by Tomcat4 & Cocoon2

2001-08-23 Thread java guru

Hi.,
  There were earlier reports of "segmentation fault"
on linux platform 'coz of sun jdk. Sun also have faq
on that issue and workaround..

Your problem may/maynot be related with that...try it
out..

Good luck




 --- "Lamb, Mark" <[EMAIL PROTECTED]> wrote: > Hi
All,
> 
> I am getting really frustrated trying to get Cocoon2
> to run under Tomcat4.
> 
> I have a Linux Mandrake 8.0 machine with Java 1.3.1
> installed.
> Tomcat 4.0-b7 has been downloaded, installed and I
> have confirmed that it
> works correctly.
> Jakarta Ant 1.4.1 Beta 1 has been installed and is
> working.
> Cocoon2-b2 was downloaded.
> I modified cocoon2/webapp/WEB-INF/web.xml so that
> the following lines appear
> 
> 
> 
> extra-classpath
>  
>
/usr/jakarta/jakarta-tomcat-4.0-b7/common/lib/servlet.jar m-value>
> 
> 
> I then built the cocoon app with the command
> ant -Dinclude.webapp.libs=yes webapp
> 
> Finally I copy cocoon.war into $TOMCAT_HOME/webapp
> and start tomcat with the
> command 'catalina.sh run'.
> 
> After a few moments, tomcat crashed with the
> following error:
> 
> ./catalina.sh: line:170 16997 Segmentation fault
>  (core dumped)
> $JAVA_HOME/bin/java $CATALINA_OPTS -classpath $CP
> -Dcatalina.home=$CATALINA_HOME
> org.apache.catalina.startup.Bootstrap "$@"
> start
> 
> I have had a look at catalina.sh and line 170 is the
> very last line in the
> script, so that doesnt help much.
> 
> Has anyone seen this before or can anyone help me
> ...
> 
> Thanks,
> Mark.
> 
>
-
> 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]>
>  

=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in/ groups.yahoo.com

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




Frustrated by Tomcat4 & Cocoon2

2001-08-23 Thread Lamb, Mark

Hi All,

I am getting really frustrated trying to get Cocoon2 to run under Tomcat4.

I have a Linux Mandrake 8.0 machine with Java 1.3.1 installed.
Tomcat 4.0-b7 has been downloaded, installed and I have confirmed that it
works correctly.
Jakarta Ant 1.4.1 Beta 1 has been installed and is working.
Cocoon2-b2 was downloaded.
I modified cocoon2/webapp/WEB-INF/web.xml so that the following lines appear



extra-classpath
 
/usr/jakarta/jakarta-tomcat-4.0-b7/common/lib/servlet.jar


I then built the cocoon app with the command
ant -Dinclude.webapp.libs=yes webapp

Finally I copy cocoon.war into $TOMCAT_HOME/webapp and start tomcat with the
command 'catalina.sh run'.

After a few moments, tomcat crashed with the following error:

./catalina.sh: line:170 16997 Segmentation fault  (core dumped)
$JAVA_HOME/bin/java $CATALINA_OPTS -classpath $CP
-Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap "$@"
start

I have had a look at catalina.sh and line 170 is the very last line in the
script, so that doesnt help much.

Has anyone seen this before or can anyone help me ...

Thanks,
Mark.

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