>>>>> "Kevin" == Kevin Gaasch <[EMAIL PROTECTED]> writes:

    Kevin> Claude,
    Kevin>         This option should allow the VM to find your login configuration.

    Kevin> -Djava.security.auth.login.config==./auth.config

    Kevin> Make sure you replace the "./" with the path to you configuration file.

Ignoring the fact that you have two equals signs, most likely, if you do it
like this, you'll get a confusing exception that says "no protocol".

That's because the "java.security.auth.login.config" property value is supposed
to be a URL, not an ordinary file path.  If the file is in the current
directory, you'd have to do "file:auth.conf" (using the conventional name for
it).  It would be preferable if you could store the file in a jar file and
reference it from that.  I believe there's some variation of the "file"
protocol that allows this, but I don't remember exactly how to do that (which
I'm going to have to figure out in the near future).

--
===================================================================
David M. Karr          ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to