Re: Tomcat 4.0 + Cocoon2 rc1 on RedHat 6.2

2001-09-25 Thread Sergio Carvalho


If you are using a recent linux, like Suse 7.1/7.2 or RH 7.1, try doing:
ulimit -s 1024
before launching any Java application. This is a documented bug, and is a side
effect of a bug correction in recent glibc (JDK relied on the erroneous
behaviour).

On Mon, 24 Sep 2001 17:05:08 -0600, Lajos Moczar wrote:
From: Lajos Moczar [EMAIL PROTECTED]
--

 Hi all:
 
 I tried this install today, using JDK 1.2.2_006. The Tomcat code is the 
 4.0 release version and Cocoon2 is the version announced this morning. 
 When I access http://localhost:8080/cocoon, Tomcat core dumps with stuff 
 like this (in catalina.out):
 
 ***
 
 SIGSEGV   11*  segmentation violation
  si_signo [11]: SIGSEGV   11*  segmentation violation
  si_errno [0]: Success
  si_code [0]: SI_USER [pid: 0, uid: 0]
  stackpointer=0x44884e28
 
 Full thread dump Classic VM (1.2.2_006, green threads):
  Thread-16 (TID:0x40e40510, sys_thread_t:0x9252658, state:R) prio=5
  at java.lang.ClassLoader.findLoadedClass(Native Method)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  at 
 org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
 p(Unknown Source)
  at 
 org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
 p(Unknown Source)
  at 
 org.apache.cocoon.sitemap.AbstractSitemap.compose(AbstractSitemap.jav
 a:122)
 
 ***
 
 Has anyone else seen this? I've never successfully run any Cocoon2 build 
 on my Linux Box with any version of Catalina. Getting kinda frustrating. 
 Any ideas will be welcome.
 
 
 Lajos Moczar
 galatea.com
 
 
 -
 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]
 


--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you

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




Tomcat 4.0 + Cocoon2 rc1 on RedHat 6.2

2001-09-24 Thread Lajos Moczar

Hi all:

I tried this install today, using JDK 1.2.2_006. The Tomcat code is the 
4.0 release version and Cocoon2 is the version announced this morning. 
When I access http://localhost:8080/cocoon, Tomcat core dumps with stuff 
like this (in catalina.out):

***

SIGSEGV   11*  segmentation violation
 si_signo [11]: SIGSEGV   11*  segmentation violation
 si_errno [0]: Success
 si_code [0]: SI_USER [pid: 0, uid: 0]
 stackpointer=0x44884e28

Full thread dump Classic VM (1.2.2_006, green threads):
 Thread-16 (TID:0x40e40510, sys_thread_t:0x9252658, state:R) prio=5
 at java.lang.ClassLoader.findLoadedClass(Native Method)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
p(Unknown Source)
 at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
p(Unknown Source)
 at 
org.apache.cocoon.sitemap.AbstractSitemap.compose(AbstractSitemap.jav
a:122)

***

Has anyone else seen this? I've never successfully run any Cocoon2 build 
on my Linux Box with any version of Catalina. Getting kinda frustrating. 
Any ideas will be welcome.


Lajos Moczar
galatea.com


-
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: Tomcat 4.0 + Cocoon2 rc1 on RedHat 6.2

2001-09-24 Thread Jeff Turner

Other than the obvious try a different JDK advice, you might try
looking carefully at what jars you have installed. Tomcat 4.0 comes with
a lot of miscellaneous crud in common/lib.

Eg, I found that Cocoon 1.8 would cause this sort of VM crash if I used
an earlier version of xalan.jar than the one bundled with Cocoon. I
ended up switching to Saxon. Also when installing Cocoon on JRun 3.x, I
found I had to remove JRun's lib/ext/activation.jar, or things would
crash like this.

--Jeff

On Mon, Sep 24, 2001 at 05:05:08PM -0600, Lajos Moczar wrote:
 Hi all:
 
 I tried this install today, using JDK 1.2.2_006. The Tomcat code is the 
 4.0 release version and Cocoon2 is the version announced this morning. 
 When I access http://localhost:8080/cocoon, Tomcat core dumps with stuff 
 like this (in catalina.out):
 
 ***
 
 SIGSEGV   11*  segmentation violation
 si_signo [11]: SIGSEGV   11*  segmentation violation
 si_errno [0]: Success
 si_code [0]: SI_USER [pid: 0, uid: 0]
 stackpointer=0x44884e28
[..]
 
 Lajos Moczar
 galatea.com

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