-
1. Re: JBoss Server Startup is Stuck !!
rsprasad Jul 9, 2010 3:54 AM (in response to saswatamandal)Just check your JAVA_HOME environment variable.
From the server log , third line,
JAVA: C:\Program Files\Java\jdk1.5.0_22\\bin\java
there are two '\\' backslashes.
It is supposed to be or could be:
JAVA: C:\Program Files\Java\jdk1.5.0_22\bin\java
-
2. Re: JBoss Server Startup is Stuck !!
saswatamandal Jul 9, 2010 5:11 AM (in response to rsprasad)But my other nodes are running fine , with the same config !!
Thanks & Regards
saswata mandal.
-
3. Re: JBoss Server Startup is Stuck !!
peterj Jul 9, 2010 10:09 AM (in response to saswatamandal)What are the logging settings in server/node2/jboss-log4j.xml? It looks to me like the CONSOLE logger is not turned on. Check the server/node2/log/server.log and see if the "started in xxx seconds" message is in there. In other words, I doubt that JBoss AS is stuck.
-
4. Re: JBoss Server Startup is Stuck !!
saswatamandal Jul 9, 2010 10:38 AM (in response to peterj)The boot.log :- is stuck at that point .
The server.log :-
2010-07-09 15:24:36,412 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 1m:4s:643ms
The Jboss-Log4j.xml :- attached with post.
I think the server instance has started at background !!
-
jboss-log4j.xml 11.0 KB
-
-
5. Re: JBoss Server Startup is Stuck !!
peterj Jul 9, 2010 11:23 AM (in response to saswatamandal)The boot log is not stuck - it only goes that far. The console log that you posted and the boot.log file are output by the bootstrap process. Then when the main app server runs, it writes to the server.log. According the the log4j.xml file, the CONSOLE log was turned off. And the app server is not running in the background - if you CTRL-C the app server will react to that and shut down properly.
-
6. Re: JBoss Server Startup is Stuck !!
peterj Jul 9, 2010 11:34 AM (in response to peterj)1 of 1 people found this helpfulI guess what I really meant by the last senetnce is that just because there is no console output does not mean that the app server is "running in the background". Nor does it mean that the app server is "hung". The app server is still running, it is just not logging anything to the console. That is not a bad thing.
-
7. Re: JBoss Server Startup is Stuck !!
saswatamandal Jul 19, 2010 8:22 AM (in response to peterj)Hi Peter,
As you mentioned ,the console log is turned off in the log4j.xml that I have posted in the previous post.
How can I turn it on , so that the " Started in 1m23s23ms" is displayed in the console.
Thanks & REgards
saswata mandal.
-
8. Re: JBoss Server Startup is Stuck !!
peterj Jul 19, 2010 11:04 AM (in response to saswatamandal)Go to the ASYNC appender and uncomment the CONSOLE appender-ref.
P.S. I am not sure if there are any issues with using the AsyncAppender with the ConsoleAppender, and unfortunately I don't have my Log4J book handy to consult regarding that.
-
9. Re: JBoss Server Startup is Stuck !!
rsprasad Jul 27, 2010 3:19 AM (in response to saswatamandal)Try adding :
<root>
<priority value="ERROR"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>and uncommenting appender definition for CONSOLE.