Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 28665 invoked from network); 12 Jul 2007 12:21:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2007 12:21:01 -0000 Received: (qmail 8645 invoked by uid 500); 12 Jul 2007 12:20:54 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 8622 invoked by uid 500); 12 Jul 2007 12:20:54 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 8607 invoked by uid 99); 12 Jul 2007 12:20:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 05:20:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [194.31.14.20] (HELO mail20.dbh.de) (194.31.14.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 05:20:51 -0700 Received: from unknown (HELO exchange.dbh.de) ([172.22.22.26]) by mail20.dbh.de with ESMTP; 12 Jul 2007 14:20:29 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: geronimo2.0: authentication denied X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 12 Jul 2007 14:20:29 +0200 Message-ID: In-Reply-To: <200707121345.50996.francisco@x-hive.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: geronimo2.0: authentication denied Thread-Index: AcfEegXm/vJWRaVuSd6Ejr3jt10ChQAA3k9w From: "Ueberbach, Michael" To: X-Virus-Checked: Checked by ClamAV on apache.org Hello Francisco, I got the same exception when connecting to geronimo from an remote = client (standalone java app). In my case it helped simply not to specify any principal. So see what = happens if you ommit the two properties =20 java.naming.security.principal =3D system java.naming.security.credentials =3D manager I think that's not the full answer to your question. Maybe someone other = can explain how to configure an authentification for an application = installed on geronimo. regards Michael =20 =20 -----Urspr=FCngliche Nachricht----- Von: Francisco Borges [mailto:francisco@x-hive.com]=20 Gesendet: Donnerstag, 12. Juli 2007 13:46 An: user@geronimo.apache.org Betreff: geronimo2.0: authentication denied Hello, Now (using 127.0.0.1) when trying to get the initialcontext, I get=20 javax.naming.AuthenticationException: This principle is not authorized. at org.apache.openejb.client.JNDIContext.authenticate(JNDIContext.java:148) at org.apache.openejb.client.JNDIContext.getInitialContext(JNDIContext.java:= 120) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at = javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) [ETC] Looking at the openejb code, "this principle is not authorized" only = means that the authentication was denied. But I could not find the code = being used to implement the javax classes. [...] I initially thought that that could be related to this error when = starting Geronimo: ERROR [[/]] "Restricted listeners property file not found But according to D. Jencks this should not be causing any problems.=20 Any ideas?=20 -- Francisco Borges