cancel
Showing results for 
Search instead for 
Did you mean: 
jeesshnasree
Starfighter Starfighter
Starfighter
  • 7,352 Views

What are the causes for JVM down without error

Jump to solution

Hi All,

could you please help me on JBOSS JVM Down, but logs deoes not contain any error.

 

1.could you please let me , what are causes for JVM down,

2. How to troubleshoot the issue,

3. How to fix the issue 

 

its a rare situation and and don’t have logs . Kindly suggest for solution. I hope might be receive the solution .

Labels (1)
18 Replies
RuGI
Mission Specialist
Mission Specialist
  • 3,540 Views

What is the version of JBoss you are using?

 
"Aurum nostrom non est aurum vulgo"
0 Kudos
jeesshnasree
Starfighter Starfighter
Starfighter
  • 3,503 Views

hi @RuGI,

 

jboss 6.4 version

0 Kudos
RuGI
Mission Specialist
Mission Specialist
  • 3,521 Views

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
jeesshnasree
Starfighter Starfighter
Starfighter
  • 3,510 Views

Hi @RuGI,

 

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

0 Kudos
RuGI
Mission Specialist
Mission Specialist
  • 9,114 Views

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"
jeesshnasree
Starfighter Starfighter
Starfighter
  • 3,482 Views

hi @RuGI,

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

0 Kudos
RuGI
Mission Specialist
Mission Specialist
  • 3,475 Views

All right!

Tell us if that configuration solves your problem.  ;)

---

"Aurum nostrom non est aurum vulgo"
0 Kudos
jeesshnasree
Starfighter Starfighter
Starfighter
  • 3,470 Views

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
RuGI
Mission Specialist
Mission Specialist
  • 3,462 Views

You're welcome!

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