Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JBOSS NOT RUNNING..PLS HELP!  RSS feed

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed,java1.4,J2ee and tomcat.My application (JMS related) runs fine when i run it with J2EE.I have to run the same application in JBOSS3.2.3.
I installed JBOSS and let the server run by the run.sh command.I got 23,000 lines of info+warnings.The server starts and then shutdowns towars the end.I am unable to figure out the problem:
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3
JAVA: /usr/java/j2sdk1.4.1_06/bin/java
JAVA_OPTS: -server -Dprogram.name=run.sh
CLASSPATH: /home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3/bin/run.jar:/usr/java/j2sdk1.4.1_06/lib/tools.jar
=========================================15:38:29,870 INFO [Server] Starting JBoss (MX MicroKernel)...
15:38:29,872 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
15:38:29,873 INFO [Server] Home Dir: /home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3
15:38:29,873 INFO [Server] Home URL: file:/home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3/
15:38:29,873 INFO [Server] Library URL: file:/home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3/lib/
15:38:29,875 INFO [Server] Patch URL: null
15:38:29,875 INFO [Server] Server Name: all
15:38:29,875 INFO [Server] Server Home
.
.
15:38:37,458 INFO [SubscriptionMgr] Executing resource: "/mbeans.xml"
15:38:37,461 INFO [SubscriptionMgr] Subscription manager done
15:38:37,464 INFO [SnmpAgentService] Starting heartbeat controller ...
15:38:37,465 WARN [Heartbeat] Heartbeat disabled
15:38:37,507 INFO [SnmpAgentService] Snmp Agent going active
5:38:45,204 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader rg.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@1898115
15:38:45,205 INFO [Engine] StandardManager[/jboss-net]: Seeding random number generator class java.security.SecureRandom
certificates -> request attribute Valve
15:38:55,598 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader rg.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@c37f31
15:38:55,599 INFO [Engine] StandardManager[/jmx-console]: Seeding random number generator class java.security.SecureRandom
5:40:41,380 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/home/starksm/JBoss/Releases/jboss-3.2/testsuite/output/lib/unpacked/loadingresource1.ear/
15:40:41,386 INFO [ResourceTest] Stopping jboss.test:name=LoadingResource,version=2
15:40:41,392 WARN [ServiceController] Ignoring request to stop nonexistent service: jboss.test:name=LoadingResource,version=2
15:40:41,392 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/home/starksm/JBoss/Releases/jboss-3.2/testsuite/output/lib/unpacked/loadingresource2.ear/
15:40:41,393 WARN [ServiceController] Ignoring request to destroy nonexistent service: jboss.test:name=LoadingResource,version=2
15:40:41,393 WARN [ServiceController] Ignoring request to remove nonexistent service: jboss.test:name=LoadingResource,version=2
5:42:36,303 WARN [WrappedConnection] Closing a statement you left open, please do your own housekeeping
java.lang.Exception: STACK TRACE
at org.jboss.resource.adapter.jdbc.WrappedConnection.registerStatement(WrappedConnection.java:805)
at org.jboss.resource.adapter.jdbc.WrappedStatement.<init>(WrappedStatement.java:43)
at
15:46:26,155 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract void org.jboss.test.exception.EntityExceptionTester.applicationErrorInTx() throws java.rmi.RemoteException, causedBy:
org.jboss.test.exception.ApplicationError: Application error from within an inherited transaction
at
ethod: public abstract void org.jboss.test.exception.EntityExceptionTester.runtimeExceptionInTx() throws java.rmi.RemoteException, causedBy:
java.lang.RuntimeException: Runtime exception from within an inherited transaction
at org.jboss.test.exception.EntityExceptionTesterBean.runtimeExceptionInTx(EntityExceptionTesterBean.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.Nat
---lot of warnings here---
rg.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812)
17:25:29,506 INFO [TransactionManagerService] Stopping jboss:service=TransactionManager
17:25:29,507 INFO [JaasSecurityManagerService] Stopping jboss.security:service=JaasSecurityManager
17:25:29,508 INFO [XMLLoginConfig] Stopping jboss.security:service=XMLLoginConfig
17:25:29,508 INFO [SecurityConfig] Stopping jboss.security:service=SecurityConfig
17:25:29,508 INFO [JNDIView] Stopping jboss:service=JNDIView
17:25:29,508 INFO [NamingService] Stopping jboss:service=Naming
17:25:29,508 INFO [NamingService] Stopping
17:25:29,509 INFO [NamingService] Stopped
17:25:29,509 INFO [WebService] Stopping jboss:service=WebService
17:25:29,509 INFO [Log4jService] Stopping jboss.system:type=Log4jService,service=Logging
17:25:29,510 INFO [LocalJBossServerDomain] Stopping jboss.management.local:j2eeType=J2EEDomain,name=Manager
17:25:29,526 INFO [LocalJBossServerDomain] Found 49 domain mbeans
17:25:29,561 INFO [Server] Shutting down all services
Shutting down
17:25:29,562 INFO [ServiceController] Stopping 9 services
17:25:29,563 INFO [SARDeployer] Stopping jboss.system:service=ServiceDeployer
17:25:29,563 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@5329c5
17:25:29,563 INFO [JARDeployer] Stopping jboss.system:service=JARDeployer
17:25:29,563 INFO [MainDeployer] Stopping jboss.system:service=MainDeployer
17:25:29,563 INFO [ServiceController] Stopped 6 services
17:25:29,590 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
Pls help..coz i am new to JBOSS
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sonyia,
What is the port that you have set to JBOSS startup. Sometimes, It got stuck with port. By default, I think Jboss-3.2.3 has a port 8043. If you have tomcat or any other server configured in the same system with the same port. It may collide each other server port and thus, would not able to start perfectly.
Pls check and get back to me. Iam using Jboss-3.2.3. Its fine.
Asadullah

Originally posted by sonyia nandan:
I have installed,java1.4,J2ee and tomcat.My application (JMS related) runs fine when i run it with J2EE.I have to run the same application in JBOSS3.2.3.
I installed JBOSS and let the server run by the run.sh command.I got 23,000 lines of info+warnings.The server starts and then shutdowns towars the end.I am unable to figure out the problem:
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3
JAVA: /usr/java/j2sdk1.4.1_06/bin/java
JAVA_OPTS: -server -Dprogram.name=run.sh
CLASSPATH: /home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3/bin/run.jar:/usr/java/j2sdk1.4.1_06/lib/tools.jar
=========================================15:38:29,870 INFO [Server] Starting JBoss (MX MicroKernel)...
15:38:29,872 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
15:38:29,873 INFO [Server] Home Dir: /home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3
15:38:29,873 INFO [Server] Home URL: file:/home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3/
15:38:29,873 INFO [Server] Library URL: file:/home/starksm/JBoss/Releases/jboss-3.2/build/output/jboss-3.2.3/lib/
15:38:29,875 INFO [Server] Patch URL: null
15:38:29,875 INFO [Server] Server Name: all
15:38:29,875 INFO [Server] Server Home
.
.
15:38:37,458 INFO [SubscriptionMgr] Executing resource: "/mbeans.xml"
15:38:37,461 INFO [SubscriptionMgr] Subscription manager done
15:38:37,464 INFO [SnmpAgentService] Starting heartbeat controller ...
15:38:37,465 WARN [Heartbeat] Heartbeat disabled
15:38:37,507 INFO [SnmpAgentService] Snmp Agent going active
5:38:45,204 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader rg.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@1898115
15:38:45,205 INFO [Engine] StandardManager[/jboss-net]: Seeding random number generator class java.security.SecureRandom
certificates -> request attribute Valve
15:38:55,598 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader rg.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@c37f31
15:38:55,599 INFO [Engine] StandardManager[/jmx-console]: Seeding random number generator class java.security.SecureRandom
5:40:41,380 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/home/starksm/JBoss/Releases/jboss-3.2/testsuite/output/lib/unpacked/loadingresource1.ear/
15:40:41,386 INFO [ResourceTest] Stopping jboss.test:name=LoadingResource,version=2
15:40:41,392 WARN [ServiceController] Ignoring request to stop nonexistent service: jboss.test:name=LoadingResource,version=2
15:40:41,392 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/home/starksm/JBoss/Releases/jboss-3.2/testsuite/output/lib/unpacked/loadingresource2.ear/
15:40:41,393 WARN [ServiceController] Ignoring request to destroy nonexistent service: jboss.test:name=LoadingResource,version=2
15:40:41,393 WARN [ServiceController] Ignoring request to remove nonexistent service: jboss.test:name=LoadingResource,version=2
5:42:36,303 WARN [WrappedConnection] Closing a statement you left open, please do your own housekeeping
java.lang.Exception: STACK TRACE
at org.jboss.resource.adapter.jdbc.WrappedConnection.registerStatement(WrappedConnection.java:805)
at org.jboss.resource.adapter.jdbc.WrappedStatement.<init>(WrappedStatement.java:43)
at
15:46:26,155 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract void org.jboss.test.exception.EntityExceptionTester.applicationErrorInTx() throws java.rmi.RemoteException, causedBy:
org.jboss.test.exception.ApplicationError: Application error from within an inherited transaction
at
ethod: public abstract void org.jboss.test.exception.EntityExceptionTester.runtimeExceptionInTx() throws java.rmi.RemoteException, causedBy:
java.lang.RuntimeException: Runtime exception from within an inherited transaction
at org.jboss.test.exception.EntityExceptionTesterBean.runtimeExceptionInTx(EntityExceptionTesterBean.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.Nat
---lot of warnings here---
rg.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812)
17:25:29,506 INFO [TransactionManagerService] Stopping jboss:service=TransactionManager
17:25:29,507 INFO [JaasSecurityManagerService] Stopping jboss.security:service=JaasSecurityManager
17:25:29,508 INFO [XMLLoginConfig] Stopping jboss.security:service=XMLLoginConfig
17:25:29,508 INFO [SecurityConfig] Stopping jboss.security:service=SecurityConfig
17:25:29,508 INFO [JNDIView] Stopping jboss:service=JNDIView
17:25:29,508 INFO [NamingService] Stopping jboss:service=Naming
17:25:29,508 INFO [NamingService] Stopping
17:25:29,509 INFO [NamingService] Stopped
17:25:29,509 INFO [WebService] Stopping jboss:service=WebService
17:25:29,509 INFO [Log4jService] Stopping jboss.system:type=Log4jService,service=Logging
17:25:29,510 INFO [LocalJBossServerDomain] Stopping jboss.management.local:j2eeType=J2EEDomain,name=Manager
17:25:29,526 INFO [LocalJBossServerDomain] Found 49 domain mbeans
17:25:29,561 INFO [Server] Shutting down all services
Shutting down
17:25:29,562 INFO [ServiceController] Stopping 9 services
17:25:29,563 INFO [SARDeployer] Stopping jboss.system:service=ServiceDeployer
17:25:29,563 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@5329c5
17:25:29,563 INFO [JARDeployer] Stopping jboss.system:service=JARDeployer
17:25:29,563 INFO [MainDeployer] Stopping jboss.system:service=MainDeployer
17:25:29,563 INFO [ServiceController] Stopped 6 services
17:25:29,590 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
Pls help..coz i am new to JBOSS

 
sonyia nandan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Thanks was able to run JBOSS
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!