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
But my other nodes are running fine , with the same config !!
Thanks & Regards
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.
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
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.
1 of 1 people found this helpful
I 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.
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
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.
Try adding :
and uncommenting appender definition for CONSOLE.