tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dilip Sankhla <dilipsank...@gmail.com>
Subject Re: Exception in thread "http-bio-8081-exec-9" java.lang.StackOverflowError
Date Thu, 20 Feb 2014 09:18:47 GMT
How do you launch it?

>>>> lunching from cmd line from bin/startup.sh

Check your launch configuration options for java

>>>>>> My java configurations are

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/
JAVA_OPTS="-Xss160k -Xms512m -Xmx2040m -XX:MaxPermSize=128M
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
-Dorg.apache.catalina.session.StandardSession.ACTIVITY_CHECK=true "
JPDA_ADDRESS=5007
JPDA_TRANSPORT=dt_socket

And i found i had copied configurations from tomcat 6 ...after
changing Xxx to 256k my problem resolved.

.
What is your stack size  that it overflows after a dozen of function calls?

>>>> Yes its overflows after some calls.


Thanks

On Tue, Feb 18, 2014 at 3:52 PM, Konstantin Kolinko
<knst.kolinko@gmail.com> wrote:
> 2014-02-18 13:49 GMT+04:00 Dilip Sankhla <dilipsankhla@gmail.com>:
>> * I am getting below mention error, every thing was working fine with
>> tomcat 6. Please Help
>>
>>
>> My tomcat and java configurations are
>>
>> Server version: Apache Tomcat/7.0.50
>> Server built:   Dec 19 2013 10:18:12
>> Server number:  7.0.50.0
>> OS Name:        Mac OS X
>> OS Version:     10.7.5
>> Architecture:   x86_64
>> JVM Version:    1.7.0_51-b13
>> JVM Vendor:     Oracle Corporation
>>
>
> How do you launch it?
>
> Check your launch configuration options for java.
> What is your stack size  that it overflows after a dozen of function calls?
>
>>
>> and thread dump is
>>
>>
>> Exception in thread "http-bio-8081-exec-9" java.lang.StackOverflowError
>>     at java.net.SocketInputStream.socketRead0(Native Method)
>>    at java.net.SocketInputStream.read(SocketInputStream.java:152)
>>     at java.net.SocketInputStream.read(SocketInputStream.java:122)
>>     at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:516)
>>     at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:501)
>>     at org.apache.coyote.http11.Http11Processor.setRequestLineReadTimeout(Http11Processor.java:173)
>>     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:950)
>>     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>>     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
>>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>     at java.lang.Thread.run(Thread.java:744)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>



-- 
Dilip K. Sankhla

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


Mime
View raw message