geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Security Test failure in Tomcat Module
Date Sun, 26 Dec 2004 14:27:27 GMT
Hi,
   updated security and tomcat modules today, 
   build tomcat module with maven -o rebuild,  got the
following test failure - 

Testsuite: org.apache.geronimo.tomcat.SecurityTest
Tests run: 4, Failures: 1, Errors: 3, Time elapsed:
3.297 sec

------------- Standard Error -----------------
Dec 26, 2004 9:04:07 AM
org.apache.geronimo.kernel.Kernel boot
INFO: Starting boot
Dec 26, 2004 9:04:08 AM
org.apache.geronimo.kernel.Kernel boot
INFO: Booted
Dec 26, 2004 9:04:08 AM
org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
...............
................
...............
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 26, 2004 9:04:10 AM
org.apache.geronimo.security.SecurityServiceImpl
<init>
INFO: Security service started
Dec 26, 2004 9:04:10 AM
org.apache.geronimo.gbean.runtime.GBeanInstanceState
attemptFullStart
SEVERE: Error while starting:
objectName="geronimo.security:type=SecurityRealm,realm=demo-properties-realm"
java.lang.ClassCastException:
org.apache.geronimo.security.deploy.Principal
	at
org.apache.geronimo.security.realm.GenericSecurityRealm$$FastClassByCGLIB$$f31baa85.invoke(<generated>)
	at
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
	at 
...............
..............
...............
...............
Dec 26, 2004 9:04:10 AM
org.apache.geronimo.kernel.Kernel boot
INFO: Starting boot
Dec 26, 2004 9:04:10 AM
org.apache.geronimo.kernel.Kernel boot
INFO: Starting boot
Dec 26, 2004 9:04:10 AM
org.apache.geronimo.kernel.Kernel boot
INFO: Starting boot
------------- ---------------- ---------------
Testcase:
testNotAuthorized(org.apache.geronimo.tomcat.SecurityTest):
FAILED
gbean not started:
geronimo.security:type=SecurityRealm,realm=demo-properties-realm
junit.framework.AssertionFailedError: gbean not
started:
geronimo.security:type=SecurityRealm,realm=demo-properties-realm
	at
org.apache.geronimo.tomcat.AbstractWebModuleTest.start(AbstractWebModuleTest.java:215)
	at
org.apache.geronimo.tomcat.AbstractWebModuleTest.setUpSecurity(AbstractWebModuleTest.java:199)
	at
org.apache.geronimo.tomcat.SecurityTest.setUp(SecurityTest.java:554)

....................
....................
....................


Regards
Anita


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

Mime
View raw message