You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by anita kulshreshtha <a_...@yahoo.com> on 2004/12/26 15:27:27 UTC
Security Test failure in Tomcat Module
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
Re: Security Test failure in Tomcat Module
Posted by anita kulshreshtha <a_...@yahoo.com>.
Hi Jeff, Jacek,
Thanks, I have updated everything and now it
builds fine. I am sorry for being sloppy about the
revision number. The information I submitted was from
target/test-reports.
Thanks
Anita
--- Jacek Laskowski <jl...@apache.org> wrote:
> Jeff Genender wrote:
> > 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.
>
> I've just sync'ed the sources and it works for me
> too (which surprised
> me a lot as on the other computer it didn't work
> because of some XML
> processing stuff).
>
> The most valuable information is in the respective
> test report files in
> target/test-reports.
>
> Jacek
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
Re: Security Test failure in Tomcat Module
Posted by Jacek Laskowski <jl...@apache.org>.
Jeff Genender wrote:
> 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.
I've just sync'ed the sources and it works for me too (which surprised
me a lot as on the other computer it didn't work because of some XML
processing stuff).
The most valuable information is in the respective test report files in
target/test-reports.
Jacek
Re: Security Test failure in Tomcat Module
Posted by Jeff Genender <jg...@savoirtech.com>.
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
Re: Security Test failure in Tomcat Module
Posted by Jeff Genender <jg...@savoirtech.com>.
I'll take a look at this.
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