Apple Resources from JVM in Mac IOS


If you have troubles in your JBoss(eap or 7.1) Applications like com.apple.laf or com.apple.laf.resources looking for LookAndFeel or MaskFormatters here are the solutions:

1 - Find for /jboss-(eap/7.1)/bin/standalone.conf

2 - Find for this code:

if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
   JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"
fi

3 - Put this line below execution like this:

if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
   JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"
   JBOSS_MODULES_SYSTEM_PKGS="$JBOSS_MODULES_SYSTEM_PKGS,com.apple.laf,com.apple.laf.resources"
fi

Ok.. restart you JBoss and enjoy ;)