They have to be somewhere in the classpath. This could be inside your ejb-jar
in the root directory, in the dist/conf/default directory, or any other directory
or archive in the server classpath.

----- Original Message ----- 
From: "Raffael Herzog" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 8:13 AM
Subject: [JBoss-user] Problems with sample JAAS ServerLoginModule


> 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!
> 
> 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to