我正在JBOSS中运行web应用程序,作为4.2.2。
注意到jboss服务器自动关闭,在server.log中观察到以下异常
14:20:38,048 INFO [Server] Runtime shutdown hook called, forceHalt: true
14:20:38,049 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
我希望启用TRACE for org.jboss.system.server.Server in jboss-log4j.xml,希望在服务器关闭时获得更多信息。
请告诉我如何在TRAC
我在JBoss服务器上遇到了问题。在此服务器中,超过10个应用程序正在运行,JBoss会抛出异常或警告。
我如何区分哪个应用程序(war)抛出错误或警告。动态显示war名称和警告/错误的内容。
下面的错误让我感到困惑,是哪个应用程序抛出了这些错误。
11:11:19,361 WARN [org.jboss.jca.adapters.jdbc.WrappedConnection] (http-web-1377112) Closing a statement you left open, please do your own housekeeping: java.lang.Throwable:
/jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect [standalone@localhost:9990 /] patch apply /opt/jboss-eap-7.2 --preserve=[bin/init.d/jboss-eap-rhel.sh,bin/standalone
在尝试从命令行运行JAVA可执行jar时,我得到了以下异常:
Exception in thread "main" org.jboss.weld.exceptions.DeploymentException: java.lang.Internand
at org.jboss.weld.executor.AbstractExecutorServices.checkForExceptions(AbstractExec
at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExc
在maven中运行junit测试时,我不断收到此错误: com.datastax.driver.core.TransportException: /127.0.0.1通道已关闭
它最终会导致OutOfMemory异常。
我正在使用cassandra-unit运行嵌入式cassandra集群。在几个测试用例之后,它开始抛出以下错误:java.util.concurrent.ExecutionException: com.datastax.driver.core.TransportException: [/127.0.0.1] Channel has been closed at com.
我在运行我的应用程序时遇到了这种错误。它偶尔会发生,所以我不知道我的代码中到底是什么导致了这个错误。该异常不会告知任何明确的细节。
堆栈跟踪的一部分。
java.lang.IllegalStateException: Trying to return an unknown connection2! org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@c74ff1
at org.jboss.resource.connectionmanager.CachedConnectionManager.unregisterConnec
我正在学习使用Jboss,所以我试着安装它。我下载了它并解压缩成C:。我已经创建了环境变量,一切正常。
当我启动standalone.bat时,我有一个java异常:我必须做什么来修复它?
16:14:04,199 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
16:14:04,204 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: A