4 Replies Latest reply: Apr 19, 2012 9:57 AM by kolesar RSS

No log on shutdown command

kolesar Newbie

Hi All,

 

I read many documentation abotu shutdown jboss, but I have not found anything for my problem. I sincerely hope that we will be able to help me.

 

When I run (port 8380, and for 8080 is the same)

/bin/shutdown.sh -s jnp://serverone:1399

 

I can not see anything in server.log or boot.log files.

 

When I found in documentation, on this command in server.log should write like this:
2007-05-11 18:44:10,317 DEBUG [org.jboss.system.server.Server] Shutdown operation called, exitOnShutdown: true, blockingShutdown: false
2007-05-11 18:44:10,317 TRACE [org.jboss.system.server.Server] Shutdown caller:

...

...

 

That I might need something to configure? If yes, what?

 

BR

kolesar

  • 1. Re: No log on shutdown command
    Wolf-Dieter Fink Master

    What version do you use?

    Does the JBoss goes down or continue processing?

    If you use 'kill <PID>' the server shutdown correctly?

    Maybe you loggging spprss the message.

  • 2. Re: No log on shutdown command
    kolesar Newbie

    Thanks for replay,

     

    Version 4.2.2

    Succesifully down

     

    But, I want message in log. That message is necessary for me.

  • 3. Re: No log on shutdown command
    Wolf-Dieter Fink Master

    check whether you set 'org.jboss.system.server.Server' to the appropriate logging level, that should be work.

  • 4. Re: No log on shutdown command
    kolesar Newbie

    Hm,

    I have found this in my jboss-log4 config file

     

       <!--

           | Logs these events to SNMP:

               - server starts/stops

               - cluster evolution (node death/startup)

               - When an EJB archive is deployed (and associated verified messages)

               - When an EAR archive is deployed

     

       <category name="org.jboss.system.server.Server">

         <priority value="INFO" />

         <appender-ref ref="TRAP_LOG"/>

       </category>

       ...

    I'm try uncomment "org.jboss.system.server.Server" block, but I do not see any changes, any (new) log in server.log file.

     

    Notes:

    I started jboss as:

    ./run.sh -b 0.0.0.0 -c default -Dvisualization........ &

     

     

    If I stoped jboss with command:

    /bin/shutdown.sh -s tchilroec02:1099 > /dev/null 2>&1

    In console (where I started run.sh script) I see log message:

    Shutdown complete

    Halting VM

     

    but, in server.log does not any log about shuting jboss.