tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: ....how to get tomcat running ? .........
Date Fri, 02 Nov 2001 21:40:29 GMT
In Linux land, a seg fault in Tomcat is typically caused by a bug in Sun's 
JVM 1.3.  Try adding 'ulimit -s 2048' to startup.sh before the line calling 
catalina.sh.  The bug specifically has to do with how Sun's JVM handles 
memory when it sees 'unlimited' for a stack space in the Linux environment.  
Couldn't tell you the exact bug parade number, but it's posted at Sun's site. 
 I've heard it's fixed in JDK 1.4, but I haven't tried it.

--David Smith

On Friday 02 November 2001 01:41 pm, you wrote:
> I am running into the same types of problems with
> Linux 7.0 running on a pentium....
>
> Has anyone here installed tomcat4 on Linux on a
> pentium box....why is this so painful? the previous
> install 3 and less were straightforward....
>
> Philippe. (totally frustrated)
>
> --- Jeff Kean <jvkean@mc.net> wrote:
> > try getting jdk1.3 +
> >
> > -jeff
> > ----- Original Message -----
> > From: "asheesh" <asheesh@q2aindia.com>
> > To: <tomcat-user@jakarta.apache.org>
> > Sent: Wednesday, July 11, 2001 12:39 AM
> > Subject: Re: ....how to get tomcat running ?
> > .........
> >
> > > have u changed port from 8080 to 8100 ? if no then
> >
> > try localhost:8080
> >
> > > regards
> > > asheesh
> > >
> > > ----- Original Message -----
> > > From: sunil <sunil_p_thomas@yahoo.com>
> > > To: <tomcat-user@jakarta.apache.org>
> > > Sent: Thursday, October 11, 2001 12:49 PM
> > > Subject: ....how to get tomcat running ? .........
> > >
> > > > hi
> > > >
> > > > please help me with the following problem.
> > > > I  use a RedHat Linux 6.2  . JDK 1.2 .
> > > > Recently i 've downloaded the
> >
> > tomcat4-4.0-1.noarch.rpm and installed it
> > .
> >
> > > > but when i tried to start it by
> >
> > "etc/rc.d/init.d/tomcat4 start"
> >
> > > > it says ok . but i couldn't connect to
> >
> > http://localhost:8100 .
> >
> > > > i tried "ps aux  " and there was no java process
> >
> > running .
> >
> > > > the catalina.out log file is given below .
>
> ***************************************************************************
>*
>
> > > **********************
> > >
> > > > Starting service Tomcat-Standalone
> > > > Apache Tomcat/4.0
> > > > SIGSEGV   11*  segmentation violation
> > > > stackpointer=0xbfffec64
> > > >
> > > > Full thread dump Classic VM
> >
> > (Linux_JDK_1.2_pre-release-v2, native
> >
> > > threads):
> > > >      "Finalizer" (TID:0x404ce320,
> >
> > sys_thread_t:0x80cc5f0, state:CW,
> > native
> >
> > > > ID:0xc04) prio=8
> > > > at java.lang.Object.wait(Native Method)
> > > > at java.lang.ref.ReferenceQueue.remove(Compiled
> >
> > Code)
> >
> > > > at java.lang.ref.ReferenceQueue.remove(Compiled
> >
> > Code)
> >
> > > > at
>
> java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
>
> > > >      "Reference Handler" (TID:0x404ce3b0,
> >
> > sys_thread_t:0x80c7e38,
> >
> > > state:CW,
> > >
> > > > native ID:0x803) prio=10
> > > > at java.lang.Object.wait(Native Method)
> > > > at java.lang.Object.wait(Compiled Code)
> > > > at
>
> java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
>
> > > >      "SIGQUIT handler" (TID:0x404ce3e0,
> >
> > sys_thread_t:0x80c08d0, state:R,
> >
> > > > native ID:0x402) prio=5
> > > >      "main" (TID:0x404ce1e0,
> >
> > sys_thread_t:0x804c048, state:R, native
> >
> > > > ID:0x400) prio=5
> > > > at
>
> org.apache.catalina.core.StandardContext.setResources(Compiled
>
> > Code)
> >
> > > > at
>
> org.apache.catalina.core.StandardContext.start(Compiled
>
> > Code)
> >
> > > > at
>
> org.apache.catalina.core.ContainerBase.start(Compiled
>
> > Code)
> >
> > > > at
>
> org.apache.catalina.core.ContainerBase.start(Compiled
>
> > Code)
> >
> > > > at
>
> org.apache.catalina.core.StandardEngine.start(Compiled
>
> > Code)
> >
> > > > at
>
> org.apache.catalina.core.StandardService.start(Compiled
>
> > Code)
> >
> > > > at
>
> org.apache.catalina.core.StandardServer.start(Compiled
>
> > Code)
> >
> > > > at
> >
> > org.apache.catalina.startup.Catalina.start(Compiled
> > Code)
> >
> > > > at
>
> org.apache.catalina.startup.Catalina.execute(Compiled
>
> > Code)
> >
> > > > at
>
> org.apache.catalina.startup.Catalina.process(Compiled
>
> > Code)
> >
> > > > at java.lang.reflect.Method.invoke(Native
> >
> > Method)
> >
> > > > at
> >
> > org.apache.catalina.startup.Bootstrap.main(Compiled
> > Code)
> >
> > > > Monitor Cache Dump:
> >
> > java.lang.ref.ReferenceQueue$Lock@404CE338/40503D78:
> > <unowned>
> >
> > > > Waiting to be notified:
> > > >     "Finalizer" (0x80cc5f0)
>
> org.apache.catalina.core.StandardHost@404FB600/405DBFC0:
> > owner
> > "main"
> >
> > > > (0x804c048) 1 entry
> > > >      org.apache.catalina.Service[2]: owner
> >
> > "main" (0x804c048) 1 entry
> >
> > > >      <unknown key> (0x404d3e71): owner "main"
> >
> > (0x804c048) 1 entry
> >
> > java.lang.ref.Reference$Lock@404CE3C0/405038A8:
> > <unowned>
> >
> > > > Waiting to be notified:
> > > >     "Reference Handler" (0x80c7e38)
>
> org.apache.catalina.core.StandardContext@404F59A8/40605920:
> > owner
> >
> > > > "main" (0x804c048) 2 entries
>
> org.apache.catalina.core.StandardEngine@404CB6B0/405A2CD0:
> > owner
> >
> > > > "main" (0x804c048) 2 entries
> > > >
> > > >
> > > > Registered Monitor Dump:
> > > >      PCMap lock: <unowned>
> > > >      utf8 hash table: <unowned>
> > > >      JNI pinning lock: <unowned>
> > > >      JNI global reference lock: <unowned>
> > > >      BinClass lock: <unowned>
> > > >      Class linking lock: <unowned>
> > > >      System class loader lock: <unowned>
> > > >      Code rewrite lock: <unowned>
> > > >      Heap lock: <unowned>
> > > >      Monitor cache lock: owner "main"
> >
> > (0x804c048) 1 entry
> >
> > > >      Thread queue lock: owner "main" (0x804c048)
> >
> > 1 entry
> >
> > > >      Monitor registry: owner "main" (0x804c048)
> >
> > 1 entry
>
> ***************************************************************************
>*
>
> > > ***************************
> > >
> > > > please tell me what is wrong with this .
> > > > how this can be solved .
> > > >
> > > > many thanks.
> > > >    Sunil
>
> _________________________________________________________
>
> > > > Do You Yahoo!?
> > > > Get your free @yahoo.com address at
> >
> > http://mail.yahoo.com
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe:
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list:
> > <mailto:tomcat-user-owner@jakarta.apache.org>
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message