[jboss-jira] [JBoss JIRA] Commented: (JBAS-5626) Fix org.jboss.test.web.* tests

Jeff Zhang (JIRA) jira-events at lists.jboss.org
Wed Aug 20 03:54:35 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBAS-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12425792#action_12425792 ] 

Jeff Zhang commented on JBAS-5626:
----------------------------------

Look inside today

CookieUnitTestCase: 
The failed reason is the cookie include "commented" attribute, (see the comment in CookieUnitTestCase "//RFC2109:Note that there is no Comment attribute").  The strange is I tested both on tomcat 6 and tomcat 5.5, deploy jbosstest-cookie.war, the "commented" attributes are all set .But the test can be passed on Jboss Beta4 and RC1

EncAnnotationsUnitTestCase:
The test failed after Aug.14. 
The exception track:
 14:34:22,853 ERROR [[ENCServlet]] Allocate exception for servlet ENCServlet
javax.naming.NameNotFoundException: jboss not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:564)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:572)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:578)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:317)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1251)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:760)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
        at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44)
        at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75)
        at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99)
        at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:354)
        at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:239)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
        at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
        at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:595)

It seems some code changed (in org.jboss.web.tomcat.service) caused failing.
I will continue looking them.

> Fix org.jboss.test.web.* tests
> ------------------------------
>
>                 Key: JBAS-5626
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5626
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>            Reporter: Dimitris Andreadis
>            Assignee: Jeff Zhang
>             Fix For: JBossAS-5.0.0.CR2
>
>
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-TestSuite-sun15/653/testReport/
> Plenty of org.jboss.test.web.test.* tests to try and fix!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list