RE: [JBoss-user] unable to find login configuration file

2001-08-10 Thread Paul Austin
Title: RE: [JBoss-user] unable to find login configuration file






Under the conf directory there is one configuration directory for each config you have, normally this would be default and tomcat. Some older versions of jboss always looked for the auth.conf in the default directory. If you are using 2.4 there is an auth.conf in the tomcat directory as well.

Paul


-Original Message-

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]]On Behalf Of Carlos

Ferrão

Sent: 09 August 2001 23:38

To: jboss ml

Subject: [JBoss-user] unable to find login configuration file




    Hello list,

    I'm trying to use JAAS based security in JBoss and I've followed the

example in jboss site. I'm using the UsersRolesLoginModule. Everything works

ok but when I try the same example running Tomcat and JBoss separated, I get

a "Unable to find login configuration file". I guess this file is auth.conf

in jboss_home/client dir but I don't know how to tell Tomcat to find it. My

tomcat is running on a different machine but I'm using it with jboss

fine(communication with ejb's). I cannot use Jboss+tomcat because it

conflicts with tomcat+cocoon(if anyone has successfully been able to use

tomcat+cocoon integrated in jboss please let me know).

    Anyone knows how to make the login configuration file available to client

(standalone app or tomcat(jsp/servlets))??


    Thanks in advance,

    Carlos Ferrao



___

JBoss-user mailing list

[EMAIL PROTECTED]

http://lists.sourceforge.net/lists/listinfo/jboss-user





RE: [JBoss-user] unable to find login configuration file

2001-08-09 Thread Rune Hamnvik

Hello
You need to specify the java.security.auth.login.config parameter to Java.
Try
adding the folling to the java command in the bin/tomcat.sh script:

-Djava.security.auth.login.config=file:///home/JBoss-2.2.2_Tomcat-3.2.2/jbos
s/client/auth.conf

Of course, you need to change the path.

Rune Hamnvik
Mobinor AS

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Carlos
Ferrão
Sent: 10. august 2001 00:38
To: jboss ml
Subject: [JBoss-user] unable to find login configuration file



Hello list,
I'm trying to use JAAS based security in JBoss and I've followed the
example in jboss site. I'm using the UsersRolesLoginModule. Everything works
ok but when I try the same example running Tomcat and JBoss separated, I get
a "Unable to find login configuration file". I guess this file is auth.conf
in jboss_home/client dir but I don't know how to tell Tomcat to find it. My
tomcat is running on a different machine but I'm using it with jboss
fine(communication with ejb's). I cannot use Jboss+tomcat because it
conflicts with tomcat+cocoon(if anyone has successfully been able to use
tomcat+cocoon integrated in jboss please let me know).
Anyone knows how to make the login configuration file available to client
(standalone app or tomcat(jsp/servlets))??

Thanks in advance,
Carlos Ferrao


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


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