My JBoss 5.1 is running on a Debian 5 Operation System, I set the owner of all files of jboss to the user "jboss", all work fine.
But after I restart my EAR (there is a WAR and JAR in it) with the admin-console, I cannot access my application, because all classes in JAR are "missed", I got ClassDefNotFoundException. Actually the classes are there, the problem is the owner of these files are changed to "root".
I change them back, all work again, but in admin-console the EAR got a "unavailable" error icon.
What's wrong with that?
Is your JBoss process running as the "root" user or "jboss" user? It should be ran as the "jboss" user that owns the files...