请教Tomcat: out of memory and ssl exception

03-06-09 jazzmonk

Tomcat out of memory error! 发表时间: 2003-5-28 下午5:04

运行到一定时间,后台总抛出下面异常,前台也报告页面错误。

过了一会儿,运行又恢复正常了。

是不是jvm分配内存太小了?

我设置了参数:CATALINA_OPTS=-Xms256m -Xmx512m

出错时,查看java.exe占用内存为90M,应该够用的呀!

望解惑,先谢了!

java.lang.OutOfMemoryError

<<no stack trace available>>

×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

tomcat ssl 加密问题 发表时间: 2003-5-27 下午3:53

按照tomcat 4.0的ssl文档,配置后,用https://能正常使用web,但tomcat后台总有异常抛出,如下。哪位大虾遇到过此情况,望解惑,另外,加密后性能的影响会不会很大?先谢了!

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain(D

ashoA6275)

at org.apache.tomcat.util.net.JSSESupport.getPeerCertificateChain(JSSESu

pport.java:118)

at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:

543)

at org.apache.coyote.Response.action(Response.java:216)

at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapte

r.java:314)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22

1)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

:405)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

ssConnection(Http11Protocol.java:380)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java

:508)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:533)

at java.lang.Thread.run(Thread.java:484)

[WARN] Http11Processor - -Exception getting SSL attributes <javax.net.ssl.SSLPe

erUnverifiedException: peer not authenticated>