Hi Anita,

I just updated to revision 123364...and all tests work:

[junit] Running org.apache.geronimo.tomcat.SecurityTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 8.497 sec

If you can give more information, hopefully I can help you out. Which revision are you at with Geronimo?

Jeff

anita kulshreshtha wrote:
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

Reply via email to