Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 10716 invoked from network); 3 Mar 2006 17:27:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Mar 2006 17:27:07 -0000 Received: (qmail 68655 invoked by uid 500); 3 Mar 2006 17:27:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 68468 invoked by uid 500); 3 Mar 2006 17:27:50 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 68457 invoked by uid 99); 3 Mar 2006 17:27:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 09:27:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of flamefew@gmail.com designates 64.233.162.192 as permitted sender) Received: from [64.233.162.192] (HELO zproxy.gmail.com) (64.233.162.192) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2006 09:27:49 -0800 Received: by zproxy.gmail.com with SMTP id s18so747192nze for ; Fri, 03 Mar 2006 09:27:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qnXrejauDFALnAXw/ca67LOKONIq8eXpMDWOB4NHNzsTftlH7kT60ifn8qoTH2o4gUHCCB6I+HWSz3NDaMtlz94ENxAtKy0bgsQaEuy7YP4pJ3MN7F5JEV8iUNla3/vkr7QkrJEiZ3h79vQ5hphV6AiN0Wtjk7HPPV9GPBR+YUc= Received: by 10.36.17.13 with SMTP id 13mr466378nzq; Fri, 03 Mar 2006 09:27:28 -0800 (PST) Received: by 10.36.12.17 with HTTP; Fri, 3 Mar 2006 09:27:28 -0800 (PST) Message-ID: <31cc37360603030927q6493885er47f00215054045b9@mail.gmail.com> Date: Fri, 3 Mar 2006 09:27:28 -0800 From: "Henri Yandell" To: dev@geronimo.apache.org Subject: Re: Help! Security Module In-Reply-To: <20060303160013.79582.qmail@web31711.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060303144745.49893.qmail@web31711.mail.mud.yahoo.com> <20060303160013.79582.qmail@web31711.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Could you the pom file you made so I can sit and stare at the errors too? := ) Hen On 3/3/06, anita kulshreshtha wrote: > That did not help. I am loading all the properties > defined in log4j.configuration via ant > > Do I need to set the property log4j.configuration? > to file:log4j.properties? Maven/ant does not like ":". > > Thanks > Anita > > --- anita kulshreshtha wrote: > > > Never mind... I just saw 2 delete dir lines! no > > mkdir > > :( > > > > Thanks > > Anita > > > > --- anita kulshreshtha wrote: > > > > > Hi, > > > I am migrating security module to M2 (rev > > > 382374). > > > Some tests are failing. These tests pass with M1 > > > build. > > > > > > :------------------------------------------------------------------------= ------- > > > Battery: > > > > > org.apache.geronimo.security.jaas.LoginKerberosTest > > > > > > -------------------------------------------------------------------------= ------ > > > Tests run: 1, Failures: 0, Errors: 1, Time > > elapsed: > > > 0.437 sec > > > > > > > > > testLogin(org.apache.geronimo.security.jaas.LoginKerberosTest) > > > Time elapsed: 0.406 sec <<< ERROR! > > > > > > [ stdout ] > > > > > > --------------------------------------------------------------- > > > > > > > > > > > > [ stderr ] > > > > > > --------------------------------------------------------------- > > > > > > > > > > > > [ stacktrace ] > > > > > > ----------------------------------------------------------- > > > > > > java.lang.SecurityException: Unable to locate a > > > login > > > configuration > > > at > > > > > > com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97) > > > at > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method) > > > at ............................... > > > The login.config in m1 build is defined by > > > project.properties as : > > > > > > maven.junit.jvmargs=3D-Djava.security.auth.login.config=3Dsrc/test-data/d= ata/login.config > > > I have set this property in pom.xml > > (attached). > > > What is missing here? > > > > > > Thanks > > > Anita > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam > > > protection around > > > http://mail.yahoo.com > > > > -------------------------------------------------------------------------= ------ > > > Battery: > > > > > org.apache.geronimo.security.jaas.LoginKerberosTest > > > > > > -------------------------------------------------------------------------= ------ > > > Tests run: 1, Failures: 0, Errors: 1, Time > > elapsed: > > > 0.437 sec > > > > > > > > > testLogin(org.apache.geronimo.security.jaas.LoginKerberosTest) > > > Time elapsed: 0.406 sec <<< ERROR! > > > > > > [ stdout ] > > > > > > --------------------------------------------------------------- > > > > > > > > > > > > [ stderr ] > > > > > > --------------------------------------------------------------- > > > > > > > > > > > > [ stacktrace ] > > > > > > ----------------------------------------------------------- > > > > > > java.lang.SecurityException: Unable to locate a > > > login configuration > > > at > > > > > > com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97) > > > at > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method) > > > at > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:39) > > > at > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:27) > > > at > > > > > > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > > > at java.lang.Class.newInstance0(Class.java:308) > > > at java.lang.Class.newInstance(Class.java:261) > > > at > > > > > > javax.security.auth.login.Configuration$3.run(Configuration.java:221) > > > at > > > java.security.AccessController.doPrivileged(Native > > > Method) > > > at > > > > > > javax.security.auth.login.Configuration.getConfiguration(Configuration.ja= va:215) > > > at > > > > > > javax.security.auth.login.LoginContext$1.run(LoginContext.java:170) > > > at > > > java.security.AccessController.doPrivileged(Native > > > Method) > > > at > > > > > > javax.security.auth.login.LoginContext.init(LoginContext.java:167) > > > at > > > > > > javax.security.auth.login.LoginContext.(LoginContext.java:292) > > > at > > > > > > org.apache.geronimo.security.jaas.LoginKerberosTest.testLogin(LoginKerber= osTest.java:87) > > > at > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) > > > at > > java.lang.reflect.Method.invoke(Method.java:324) > > > at > > > > > junit.framework.TestCase.runTest(TestCase.java:154) > > > at > > > > > junit.framework.TestCase.runBare(TestCase.java:127) > > > at > > > > > > junit.framework.TestResult$1.protect(TestResult.java:106) > > > at > > > > > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > at > > > > > junit.framework.TestResult.run(TestResult.java:109) > > > at > > junit.framework.TestCase.run(TestCase.java:118) > > > at > > > > > > junit.framework.TestSuite.runTest(TestSuite.java:208) > > > at > > > junit.framework.TestSuite.run(TestSuite.java:203) > > > at > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:25) > > > at > > java.lang.reflect.Method.invoke(Method.java:324) > > > at > > > > > > org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.= java:242) > > > at > > > > > > org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:= 216) > > > at > > > > > > org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215) > > > =3D=3D=3D message truncated =3D=3D=3D > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >