[
http://issues.apache.org/jira/browse/GERONIMO-538?page=comments#action_57160 ]
Ralf Barkow commented on GERONIMO-538:
--------------------------------------
Just double-checked the failing tests in Eclipse v3.0.1 with j2re1.4.2_05. One
passed, the other two failed again; Trace see below.
(1) LoginKerberosNonGeronimoTest passed.
(2) LoginKerberosTest failed / Trace:
java.lang.SecurityException: Anmeldekonfiguration kann nicht gefunden werden.
at com.sun.security.auth.login.ConfigFile.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at javax.security.auth.login.Configuration$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.Configuration.getConfiguration(Unknown
Source)
at javax.security.auth.login.LoginContext$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.init(Unknown Source)
at javax.security.auth.login.LoginContext.<init>(Unknown Source)
at
org.apache.geronimo.security.jaas.LoginKerberosTest.testLogin(LoginKerberosTest.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: java.io.IOException: Anmeldekonfiguration kann nicht gefunden werden.
at com.sun.security.auth.login.ConfigFile.init(Unknown Source)
... 30 more
(3) TimeoutTest failed / Trace :
org.apache.geronimo.security.jaas.ExpiredLoginModuleException
at
org.apache.geronimo.security.jaas.JaasLoginService.loginSucceeded(JaasLoginService.java:286)
at
org.apache.geronimo.security.jaas.JaasLoginService$$FastClassByCGLIB$$1b5fde8c.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:658)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
at
org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:92)
at
org.apache.geronimo.security.jaas.JaasLoginServiceMBean$$EnhancerByCGLIB$$9c2fe183.loginSucceeded(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.geronimo.proxy.ReflexiveInterceptor.invoke(ReflexiveInterceptor.java:44)
at
org.apache.geronimo.security.remoting.jmx.RequestChannelInterceptorInvoker.onRequest(RequestChannelInterceptorInvoker.java:76)
at
org.activeio.adapter.AsynchChannelToServerRequestChannel.onPacket(AsynchChannelToServerRequestChannel.java:74)
at
org.apache.geronimo.security.remoting.jmx.JaasLoginServiceRemotingServer$2.onPacket(JaasLoginServiceRemotingServer.java:112)
at
org.activeio.filter.PacketAggregatingAsynchChannel$1.packetAssembled(PacketAggregatingAsynchChannel.java:43)
at
org.activeio.filter.PacketAggregator.addRawPacket(PacketAggregator.java:65)
at
org.activeio.filter.PacketAggregatingAsynchChannel.onPacket(PacketAggregatingAsynchChannel.java:53)
at
org.activeio.adapter.SynchToAsynchChannelAdapter.run(SynchToAsynchChannelAdapter.java:149)
at java.lang.Thread.run(Unknown Source)
> Test failures in the security module
> ------------------------------------
>
> Key: GERONIMO-538
> URL: http://issues.apache.org/jira/browse/GERONIMO-538
> Project: Apache Geronimo
> Type: Bug
> Components: buildsystem, security
> Versions: 1.0-M4
> Environment: Microsoft Windows 2000 [Version 5.00.2195] SP4 DE
> Maven v. 1.0.1
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
> Reporter: Ralf Barkow
> Priority: Minor
> Attachments: TEST-org.apache.geronimo.security.jaas.TimeoutTest.txt
>
> The following three unit tests are constantly failing in my environment :-
> - org.apache.geronimo.security.jaas.LoginKerberosNonGeronimoTest
> - org.apache.geronimo.security.jaas.LoginKerberosTest
> - org.apache.geronimo.security.jaas.TimeoutTest
> Test-reports :-
> - TEST-org.apache.geronimo.security.jaas.LoginKerberosNonGeronimoTest.txt
> and
> - TEST-org.apache.geronimo.security.jaas.LoginKerberosTest.txt
> are empty (0 byte size).
> Please find attached the test report of
> TEST-org.apache.geronimo.security.jaas.TimeoutTest.txt.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira