Errors during VM update, JBoss no longer starts

The following two files were missing:

  • /usr/lib/jvm/java-1.6.0/jre/lib/security/US_export_policy.jar
  • /usr/lib/jvm/java-1.6.0/jre/lib/security/local_policy.jar

Example error log snippet:

15 Mar 2012 21:19:27,768 ERROR AbstractKernelController : incrementState : 959 - Error installing to Start: name=WebServer state=Create
java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.SunJCE_b
at javax.crypto.Cipher.getInstance(DashoA13*..)
at com.sun.net.ssl.internal.ssl.JsseJce.getCipher(JsseJce.java:180)

Looking at some JBOSS properties in jmx-console

Here's how to look at some JBOSS properties in the jmx-console

Note: You can change the current state of your server, but only during run time, configuration files are not updated. So, it's a nice way to look via a GUI and play a bit too.

http://haldevjbs##.hq.halw.com:8080/jmx-console/
where ## is your machine number

credentials:
admin/admin

Put jboss*:* in ObjectFilter name in upper right corner

Click on the link (search for):
name=SystemProperties,type=Service

Click on the "Invoke" button for showAll

You'll see all of the system properties

Another one to try (go back, and search)
Click on the link:
service=JNDIView

Click on the "Invoke" button for list

Another one to try:

Put jboss.system*:* in ObjectFilter name in upper right corner

Click on the link:
type=server

You'll see information about your server