发帖    主题    评论    推荐    标签    作者    订阅    查搜    注册   登陆   关注
 
面向对象 设计模式 领域驱动设计 企业架构 框架 开发教程 微服务 大数据 扩展性 并发编程 事件驱动 分布式 SOA

jboss问题,请各位高手指教!

2005-09-20 13:52
赞助商链接

最近在用jboss4部署一个应用。但是应用每次启动一段时间就出现
Exception in thread "http-0.0.0.0-8080"
2005-09-19 16:29:46,768 INFO [STDOUT] java.lang.OutOfMemoryError: unable to create new native thread
2005-09-19 16:29:46,768 INFO [STDOUT] at java.lang.Thread.start0(Native Method)
2005-09-19 16:29:46,768 INFO [STDOUT] at java.lang.Thread.start(Thread.java:574)
2005-09-19 16:29:46,769 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.start(MasterSlaveWorkerThread.java:135)
2005-09-19 16:29:46,769 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.newWorkerThread(PoolTcpEndpoint.java:595)
2005-09-19 16:29:46,769 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.createWorkerThread(PoolTcpEndpoint.java:574)
2005-09-19 16:29:46,769 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.run(PoolTcpEndpoint.java:631)
2005-09-19 16:29:46,769 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)

一会就
2005-09-20 09:38:19,939 DEBUG [org.jboss.system.server.Server] Shutting down
2005-09-20 09:38:19,939 DEBUG [org.jboss.system.server.Server] exitOnShutdown: true
2005-09-20 09:38:19,939 DEBUG [org.jboss.system.server.Server] blockingShutdown: false
2005-09-20 09:38:19,939 INFO [org.jboss.system.server.Server] LifeThread.run exits!
2005-09-20 09:38:19,941 INFO [org.jboss.system.server.Server] Shutting down the JVM now!
2005-09-20 09:38:19,942 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown
2005-09-20 09:38:19,942 INFO [STDOUT] Exception in thread "Thread-685"
2005-09-20 09:38:19,943 INFO [STDOUT] java.lang.OutOfMemoryError: unable to create new native thread
2005-09-20 09:38:19,943 INFO [STDOUT] at java.lang.Thread.start0(Native Method)
2005-09-20 09:38:19,943 INFO [STDOUT] at java.lang.Thread.start(Thread.java:574)
2005-09-20 09:38:19,943 INFO [STDOUT] at java.lang.Shutdown.runHooks(Shutdown.java:128)
2005-09-20 09:38:19,943 INFO [STDOUT] at java.lang.Shutdown.sequence(Shutdown.java:173)
2005-09-20 09:38:19,943 INFO [STDOUT] at java.lang.Shutdown.exit(Shutdown.java:218)
2005-09-20 09:38:19,943 INFO [STDOUT] at java.lang.Runtime.exit(Runtime.java:90)
2005-09-20 09:38:19,944 INFO [STDOUT] at org.jboss.system.server.ServerImpl$2.run(ServerImpl.java:652)

没反映了,jboss进程还在,真奇怪。

服务器初始虚拟机参数如下:
JAVA_OPTS="-server -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Xss512k -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewSize=500m"

2005-09-20 15:21

可能你参数中有些问题,你使用无参数启动看看是否还这样?

赞助商链接

赞助商链接

返回顶部

移动版 关于本站 使用帮助 联系管理员 最佳分辨率1366x768
OpenSource JIVEJDON Powered by JdonFramework Code © 2002-20 jdon.com