RuGI
Mission Specialist
Mission Specialist
  • 1,490 Views

Re: What are the causes for JVM down without error

Jump to solution

What is the version of JBoss you are using?

 
"Aurum nostrom non est aurum vulgo"
0 Kudos
Reply
Loading...
jeesshnasree
Flight Engineer
Flight Engineer
  • 1,453 Views

Re: What are the causes for JVM down without error

Jump to solution

hi @RuGI,

 

jboss 6.4 version

0 Kudos
Reply
Loading...
RuGI
Mission Specialist
Mission Specialist
  • 1,473 Views

Re: What are the causes for JVM down without error

Jump to solution

OK, do you use it in standalone mode? or as a domain.

I ask these questions to find out where your configuration file is and to know where to validate that the logs are active.

Version 6.4 is not the most current, do you use that version for questions with your client?

 

---

 

"Aurum nostrom non est aurum vulgo"
0 Kudos
Reply
Loading...
jeesshnasree
Flight Engineer
Flight Engineer
  • 1,462 Views

Re: What are the causes for JVM down without error

Jump to solution

Hi @RuGI,

 

standalone mode . could you please let me know if any queries.

0 Kudos
Reply
Loading...
RuGI
Mission Specialist
Mission Specialist
  • 3,023 Views

Re: What are the causes for JVM down without error

Jump to solution

In the folder of your installation (we will call it JBOSS_HOME), this path must exist:
JBOSS_HOME / standalone / configuration

In that folder there is a file called:
standalone.xml

This file has all the configuration of your server.
You are going to locate the subsystem of logs, it is this:

        <subsystem xmlns="urn:jboss:domain:logging:1.5">
            <console-handler name="CONSOLE">
                <level name="INFO"/>
                <formatter>
                    <named-formatter name="COLOR-PATTERN"/>
                </formatter>
            </console-handler>
            <periodic-rotating-file-handler name="FILE" autoflush="true">
                <formatter>
                    <named-formatter name="PATTERN"/>
                </formatter>
                <file relative-to="jboss.server.log.dir" path="server.log"/>
                <suffix value=".yyyy-MM-dd"/>
                <append value="true"/>
            </periodic-rotating-file-handler>
            <logger category="com.arjuna">
                <level name="WARN"/>
            </logger>
            <logger category="org.apache.tomcat.util.modeler">
                <level name="WARN"/>
            </logger>
            <logger category="org.jboss.as.config">
                <level name="DEBUG"/>
            </logger>
            <logger category="sun.rmi">
                <level name="WARN"/>
            </logger>
            <logger category="jacorb">
                <level name="WARN"/>
            </logger>
            <logger category="jacorb.config">
                <level name="ERROR"/>
            </logger>
            <root-logger>
                <level name="INFO"/>
                <handlers>
                    <handler name="CONSOLE"/>
                    <handler name="FILE"/>
                </handlers>
            </root-logger>
            <formatter name="PATTERN">
                <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
            </formatter>
            <formatter name="COLOR-PATTERN">
                <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
            </formatter>
        </subsystem>
        
        
Assign all your logs to DEBUG level:

<subsystem xmlns="urn:jboss:domain:logging:1.5">
            <console-handler name="CONSOLE">
                <level name="DEBUG"/>
                <formatter>
                    <named-formatter name="COLOR-PATTERN"/>
                </formatter>
            </console-handler>
            <periodic-rotating-file-handler name="FILE" autoflush="true">
                <formatter>
                    <named-formatter name="PATTERN"/>
                </formatter>
                <file relative-to="jboss.server.log.dir" path="server.log"/>
                <suffix value=".yyyy-MM-dd"/>
                <append value="true"/>
            </periodic-rotating-file-handler>
            <logger category="com.arjuna">
                <level name="DEBUG"/>
            </logger>
            <logger category="org.apache.tomcat.util.modeler">
                <level name="DEBUG"/>
            </logger>
            <logger category="org.jboss.as.config">
                <level name="DEBUG"/>
            </logger>
            <logger category="sun.rmi">
                <level name="DEBUG"/>
            </logger>
            <logger category="jacorb">
                <level name="DEBUG"/>
            </logger>
            <logger category="jacorb.config">
                <level name="DEBUG"/>
            </logger>
            <root-logger>
                <level name="DEBUG"/>
                <handlers>
                    <handler name="CONSOLE"/>
                    <handler name="FILE"/>
                </handlers>
            </root-logger>
            <formatter name="PATTERN">
                <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
            </formatter>
            <formatter name="COLOR-PATTERN">
                <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
            </formatter>
        </subsystem>
        
        
Restart your server.

All the logs are in the folder:
JBOSS_HOME/standalone/log

 

Whatever happens, it must be reflected in the logs.

----

 

"Aurum nostrom non est aurum vulgo"

View solution in original post

0 Kudos
Reply
Loading...
jeesshnasree
Flight Engineer
Flight Engineer
  • 1,434 Views

Re: What are the causes for JVM down without error

Jump to solution

hi @RuGI,

thanks for share valuable information . i will configure   accordingly .finally awesome .

0 Kudos
Reply
Loading...
RuGI
Mission Specialist
Mission Specialist
  • 1,427 Views

Re: What are the causes for JVM down without error

Jump to solution

All right!

Tell us if that configuration solves your problem.  Smiley Wink

---

"Aurum nostrom non est aurum vulgo"
0 Kudos
Reply
Loading...
jeesshnasree
Flight Engineer
Flight Engineer
  • 1,422 Views

Re: What are the causes for JVM down without error

Jump to solution

Hi @RuGI,

 

i configure DEBUG in all level as per your document in standalone.xml . I hope in future if JVM automatically stop then  logs will be generate for the issue.  Thanks for your valuable support.

https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html...

 

0 Kudos
Reply
Loading...
RuGI
Mission Specialist
Mission Specialist
  • 1,414 Views

Re: What are the causes for JVM down without error

Jump to solution

You're welcome!

"Aurum nostrom non est aurum vulgo"
0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.