I'm migrating my application for jBoss 2.0 to jBoss 2.2. Before, I
used my own JAAS login modules which I now like to replace by the
jBoss login modules. Now the problem: Login seems to work, but if I
call the first method on a bean, I get a NullPointerException. There's
nothing in the jBoss logs, so I don't get any stack trace or any other
useful information.
After having a look at the source code, I found the location in the
source, where it probably happens:
InputStream
is=Thread.currentThread().getContextClassLoader().getResource(propertiesName).openStream();
Because the documentation doesn't say anything about the location of
users.properties and roles.properties, I probably put them to the
wrong place --> getResource() returns null --> NullPointerException.
So where am I supposed to put these files?
Thanks in advance!
--
(o_ Raffael Herzog
//\ [EMAIL PROTECTED]
V_/_
May the penguin be with you!
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user