Chapter 23. Troubleshooting
23.1. Troubleshooting Your JBoss Enterprise SOA Platform Installation
- JBOSS_HOME set incorrectly
- If the optional environmental variable, JBOSS_HOME, is set then it must point to the correct directory. If you have multiple installations, check that it is pointing to the one that you are trying to run.
Warning
Do not set this variable unless you have a specific need to do so. - Java installed incorrectly
- If the Java environment has been installed or configured incorrectly, then the JBoss Enterprise SOA Platform will not function.
- VM Cannot Allocate Sufficient Memory
- This error occurs when there is not enough free memory available to the system to satisfy the JBoss Enterprise SOA Platform';s requirements. You can increase the amount available in one of three ways: by exiting applications, allocating more virtual memory, or physically increasing the amount of RAM installed on the system.
23.2. Troubleshooting the Boot Process
- "Address already in use" - There is already a server running on port 8080.
- "Java not found" - The Java JRE may not be installed, or if it is, your PATH environment variable is not set to locate the java runtime.
- "Class not found" - The CLASSPATH environment variable is not set properly. You really don't need to set this variable as the server startup script sets it for you.
- If you see any of these errors, examine the server.log messages that come before and after the error message for additional information regarding the root cause of the error.
23.3. End-Point Reference
23.4. Troubleshooting Registry Services
Important
23.5. Remove an End-Point Reference from the Registry
Prerequisites
- Ensure the system is in an inactive state
Procedure 23.1. Task
- Open the end-point reference file in your text editor.
- Set the end-point reference's remove-old-service tag value to true:
<jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"> <property name="remove-old-service" value="true"/> </jms-listener>Warning
Always use this option with caution, because the entire service, including every one of its end-point references, will be removed. - Save the file and exit.
23.6. Apache Scout
org.jboss.soa.esb.scout.proxy.transportClass class, one each for SOAP, SAAJ, RMI and Embedded Java (Local).
23.7. Service Registry and Apache Scout Troubleshooting Checklist
- If you decide to use remote method invocation, be sure to obtain the
juddi-client.jarfile, (SOA_ROOT/jboss-as./server/PROFILE/deployers/esb.deployer/lib/juddi-client-VERSION.jar) - Ensure that the
jbossesb-properties.xmlfile is on the class-path and that it is being read correctly. If not, the Registry try to use "null" as the name with which to instantiate classes. - Make sure that
META-INF/esb.juddi.client.xmlfile specifies a valid transport. - Make sure that the
persistence.xmlfile's settings are valid and that the Hibernate dialect you have chosen matches that used by the database. - Ensure that the
esb.juddi.xmlfile is on the class-path. This contains some of the Registry's configuration settings. - Sometimes, if a service fails or does not shut down cleanly, old entries may linger on in the Registry. Remove these manually.
23.8. Further Service Registry Troubleshooting Resources
- The JBoss jUDDI Wiki: http://www.jboss.org/community/docs/DOC-11217
- The JBoss ESB User Forum: http://community.jboss.org/en/jbossesb?view=discussions.
23.9. Java Message Service
23.10. IBM Websphere MQ Java Message Service Provider Diagnostic Tracing Functionality
23.11. Diagnostic Trace
23.12. Enable Diagnostic Tracing for the IBM Websphere MQ JCA Adapter
./run.sh shell script, you should use the following approach:
Procedure 23.2. Task
Open the run.conf File
Open the file in a text editor:vi SOA_ROOT/jboss-as/bin/run.conf.Edit the run.conf File
Appending the following lines onto the end of the file:# Settings to enable WebSphere MQ resource adapter trace JAVA_OPTS="$JAVA_OPTS -DtraceEnabled=true -DtraceDestination=wmq_jca.trc -DtraceLevel=10 -DlogWriterEnabled=false"
Enable Client Logging
Still in the text editor, set the MQJMS_TRACE_LEVEL property:# Settings to enable WebSphere MQ resource adapter and client trace JAVA_OPTS="$JAVA_OPTS -DtraceEnabled=true -DtraceDestination=wmq_jca.trc -DtraceLevel=10 -DlogWriterEnabled=false -DMQJMS_TRACE_LEVEL=base"
Save
Save the file and exit.
23.13. Enable Diagnostic Tracing for the IBM Websphere MQ Java Client
Procedure 23.3. Task
Call the enableTrace Static Method
Call thecom.ibm.mq.MQEnvironment's enableTrace static method.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.