Date: Mon, 25 Nov 2002 11:45:05 +0200 (EET) From: Mantzios Achilleus <mantzios@softlab.ece.ntua.gr> To: <freebsd-java@FreeBSD.ORG> Subject: Jboss, -Xss with hotspot on -release 4.7p2 Message-ID: <Pine.SOL.4.31.0211251131580.3353-100000@theseas.softlab.ece.ntua.gr>
next in thread | raw e-mail | index | archive | help
I have (i think) built hotspot (core) on stable 4.7.
When i run jboss 3.0.1 with -Xss30m i get:
Stack size of 30720 Kb exceeds current limit of 1024 Kb.
(Stack sizes are rounded up to a multiple of the system page size.)
I then try to use this limit with -Xss1m.
When i run jboss with hotspot (core)
i get sigbus (10).
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0x29a77288
Function name=Java_java_net_InetAddressImpl_getHostByAddr
Library=/usr/local/jdk1.3.1/jre/lib/i386/libnet.so
Current Java thread:
at java.net.InetAddressImpl.getHostByAddr(Native Method)
at java.net.InetAddress.getHostName(InetAddress.java:156)
at java.net.InetAddress.getHostName(InetAddress.java:127)
at java.net.InetAddress.toString(InetAddress.java:265)
at java.lang.String.valueOf(String.java:1947)
at java.lang.StringBuffer.append(StringBuffer.java:370)
- locked <4001e2c8> (a java.lang.StringBuffer)
at java.net.ServerSocket.toString(ServerSocket.java:316)
at java.lang.String.valueOf(String.java:1947)
at java.lang.StringBuffer.append(StringBuffer.java:370)
- locked <4001e280> (a java.lang.StringBuffer)
at org.jboss.web.WebServer.start(WebServer.java:162)
at org.jboss.web.WebService.startService(WebService.java:104)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950)
at $Proxy0.start(Unknown Source)
at
org.jboss.system.ServiceController.start(ServiceController.java:384)
- locked <402cf590> (a org.jboss.system.ServiceController)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:565)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:319)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
at org.jboss.Main.boot(Main.java:142)
at org.jboss.Main$1.run(Main.java:375)
at java.lang.Thread.run(Thread.java:484)
Error: Cannot print dynamic libraries. Function not implemented for
FreeBSD
Local Time = Mon Nov 25 11:40:27 2002
Elapsed Time = -2147483648
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Core VM (1.3.1-internal interpreted mode)
-----
- Where is this the limit of stacksize limited to 1mb???
(i mean i cannot set it to -Xss30m)
The only kernel related sysctl variable is kern.usrstack: 3217031168.
Also ulimit stacksize is set to 65M.
- Has anyone come across to thos problem in
Java_java_net_InetAddressImpl_getHostByAddr??
I will try compiler1,2...
Achilleus
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.31.0211251131580.3353-100000>
