tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Wichman <h...@trimm.nl>
Subject Re: Unable to switch JDK from 1.3.1 to 1.4.2 on FreeBSD 4.8 Stable on Tomcat 5.0.25
Date Wed, 21 Jul 2004 12:47:19 GMT
Hi,
you might want to check this:
http://www.mail-archive.com/freebsd-questions@freebsd.org/msg60015.html

Which is related to the error displayed:
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location

greetz
Hans

At 02:23 PM 7/21/2004, Steffen Schumacher wrote:
>FreeBSD uses a OS-specific script (/usr/local/bin/tomcat50ctl) to start 
>and stop
>tomcat. Its a hardcoded c-executable, but from a ps -ax | grep java, I was
>able to execute what it did, only using the new jdk instead.
>But it didn't work:
>
>root@QoSrs% /usr/local/linux-sun-jdk1.4.2/bin/java -jar 
>-Dcatalina.home=/usr/local/jakarta-tomcat5.0 bin/bootstrap.jar start
>Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
>Jul 21, 2004 1:51:29 PM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on http-8180
>Jul 21, 2004 1:51:30 PM org.apache.catalina.startup.Catalina load
>INFO: Initialization processed in 1892 ms
>Jul 21, 2004 1:51:30 PM org.apache.catalina.core.StandardService start
>INFO: Starting service Catalina
>Jul 21, 2004 1:51:30 PM org.apache.catalina.core.StandardEngine start
>INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
>Jul 21, 2004 1:51:30 PM org.apache.catalina.core.StandardHost start
>INFO: XML validation disabled
>Jul 21, 2004 1:51:30 PM org.apache.catalina.core.StandardHost getDeployer
>INFO: Create Host deployer for direct deployment ( non-jmx )
>Jul 21, 2004 1:51:30 PM org.apache.catalina.core.StandardHostDeployer install
>INFO: Processing Context configuration file URL 
>file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/admin.xml
>Jul 21, 2004 1:51:32 PM org.apache.struts.util.PropertyMessageResources <init>
>INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
>returnNull=true
>Jul 21, 2004 1:51:32 PM org.apache.struts.util.PropertyMessageResources <init>
>INFO: Initializing, config='org.apache.struts.action.ActionResources', 
>returnNull=true
>Jul 21, 2004 1:51:33 PM org.apache.struts.util.PropertyMessageResources <init>
>INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
>returnNull=true
>Jul 21, 2004 1:51:35 PM org.apache.catalina.core.StandardHostDeployer install
>INFO: Processing Context configuration file URL 
>file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/balancer.xml
>
>Unexpected Signal : 11 occurred at PC=0x4A6D12C0
>Function=[Unknown.]
>Library=(N/A)
>
>NOTE: We are unable to locate the function name symbol for the error
>       just occurred. Please refer to release documentation for possible
>       reason and solutions.
>
>
>Current Java thread:
>
>Dynamic libraries:
>Can not get information for pid = 13232
>
>Heap at VM Abort:
>Heap
>  def new generation   total 576K, used 30K [0x4c770000, 0x4c810000, 
> 0x4cc50000)
>   eden space 512K,   5% used [0x4c770000, 0x4c777a40, 0x4c7f0000)
>   from space 64K,   0% used [0x4c800000, 0x4c800000, 0x4c810000)
>   to   space 64K,   0% used [0x4c7f0000, 0x4c7f0000, 0x4c800000)
>  tenured generation   total 4560K, used 2735K [0x4cc50000, 0x4d0c4000, 
> 0x50770000)
>    the space 4560K,  59% used [0x4cc50000, 0x4cefbf48, 0x4cefc000, 
> 0x4d0c4000)
>  compacting perm gen  total 6656K, used 6510K [0x50770000, 0x50df0000, 
> 0x54770000)
>    the space 6656K,  97% used [0x50770000, 0x50dcba58, 0x50dcbc00, 
> 0x50df0000)
>
>Local Time = Wed Jul 21 13:51:35 2004
>Elapsed Time = 7
>#
># HotSpot Virtual Machine Error : 11
># Error ID : 4F530E43505002EF
># Please report this error at
># http://java.sun.com/cgi-bin/bugreport.cgi
>#
># Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
>#
># An error report file has been saved as hs_err_pid13232.log.
># Please refer to the file for further information.
>#
>Abort (core dumped)
>
>The file reads:
>
>Unexpected Signal : 11 occurred at PC=0x4A6D12C0
>Function=[Unknown.]
>Library=(N/A)
>
>NOTE: We are unable to locate the function name symbol for the error
>       just occurred. Please refer to release documentation for possible
>       reason and solutions.
>
>
>Current Java thread:
>
>Dynamic libraries:
>Can not get information for pid = 13232
>
>Heap at VM Abort:
>Heap
>  def new generation   total 576K, used 30K [0x4c770000, 0x4c810000, 
> 0x4cc50000)
>   eden space 512K,   5% used [0x4c770000, 0x4c777a40, 0x4c7f0000)
>   from space 64K,   0% used [0x4c800000, 0x4c800000, 0x4c810000)
>   to   space 64K,   0% used [0x4c7f0000, 0x4c7f0000, 0x4c800000)
>  tenured generation   total 4560K, used 2735K [0x4cc50000, 0x4d0c4000, 
> 0x50770000)
>    the space 4560K,  59% used [0x4cc50000, 0x4cefbf48, 0x4cefc000, 
> 0x4d0c4000)
>  compacting perm gen  total 6656K, used 6510K [0x50770000, 0x50df0000, 
> 0x54770000)
>    the space 6656K,  97% used [0x50770000, 0x50dcba58, 0x50dcbc00, 
> 0x50df0000)
>
>Local Time = Wed Jul 21 13:51:35 2004
>Elapsed Time = 7
>#
># HotSpot Virtual Machine Error : 11
># Error ID : 4F530E43505002EF
># Please report this error at
># http://java.sun.com/cgi-bin/bugreport.cgi
>#
># Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
>#
>
>
>So now I'm trying a different build of the jdk, then the one I'm currently 
>using..
>
>
>
>
>On 21.07.2004 13:20:54 +0000, Hans Wichman wrote:
> > Hi,
> > maybe a dumm question, but you do have linux compatibility enabled in 
> order
> > to run 1.4.2?
> > In order words, you can execute a java 1.4.2 example program from the
> > command line?
> > greetz
> > Hans
> > At 01:14 PM 7/21/2004, you wrote:
> > >Hi
> > >all!
> > >
> > >
> > >
> > >I'm pretty new with all of this, so please bear with me on this
> > >one..
> > >
> > >
> > >
> > >I currently have tomcat installed using JDK 1.3.1, and all is working
> > >well.
> > >
> > >Unfortunately I need to upgrade to JDK 1.4.2, since it has some features
> > >which we
> > >need.
> > >
> > >
> > >
> > >Somehow I got the idea that it would be enough to shutdown tomcat, set
> > >JAVA_HOME, CLASSPATH
> > >and
> > >
> > >PATH env. variables to the new jdk, and startup tomcat
> > >again.
> > >
> > >However this does not
> > >work.
> > >
> > >The catalina.sh script finishes ok, but tomcat hangs.. no http 
> connections
> > >to it can be
> > >carried
> > >
> > >out.
> > >
> > >
> > >
> > >Both jdks and tomcat was built from the FreeBSD Ports
> > >Collection.
> > >
> > >
> > >
> > >Am I doing something wrong, or missing
> > >something?
> > >
> > >
> > >
> > >Kind
> > >Regards
> > >
> > >Steffen
> > >Schumacher
> > >
> > >
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message