[jboss-jira] [JBoss JIRA] Updated: (JBAS-6925) Tests in org.jboss.test.cluster failing with IBM JDK 1.5 - servlet jsp not deployed
Martin Malina (JIRA)
jira-events at lists.jboss.org
Fri May 15 11:58:47 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Malina updated JBAS-6925:
--------------------------------
Attachment: server.log-JBAS-6925-sun
For comparison I'm adding the server log when run with Sun JDK 1.5. There are still some exceptions, but far less of them and the tests pass:
17:53:03,971 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
> Tests in org.jboss.test.cluster failing with IBM JDK 1.5 - servlet jsp not deployed
> -----------------------------------------------------------------------------------
>
> Key: JBAS-6925
> URL: https://jira.jboss.org/jira/browse/JBAS-6925
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Affects Versions: JBossAS-5.1.0.CR1
> Environment: IBM JDK 1.5
> Reporter: Martin Malina
> Assignee: Shelly McGowan
> Attachments: server.log-JBAS-6925, server.log-JBAS-6925-sun
>
>
> Some clustered tests are failing with IBM JDK 1.5.
> This is the list:
> org.jboss.test.cluster.defaultcfg.web.field.test.FieldBasedSessionPassivationTestCase
> org.jboss.test.cluster.defaultcfg.web.field.test.ScopedFieldBasedTestCase
> org.jboss.test.cluster.multicfg.web.field.test.FieldBasedTestCase
> org.jboss.test.cluster.multicfg.web.field.test.UndeployFieldTestCase
> In total this cause 105 failures in the AS testsuite (the test cases are run several times with different clustering configuration).
> The failures all look the same. This is an example from org.jboss.test.cluster.defaultcfg.web.field.test.FieldBasedSessionPassivationTestCase.testSessionPassivationWMaxIdle:
> Get OK with url: http://10.16.93.37:8080/http-field-pass/setSession.jsp responseCode: 500
> junit.framework.AssertionFailedError: Get OK with url: http://10.16.93.37:8080/http-field-pass/setSession.jsp responseCode: 500
> at org.jboss.test.cluster.testutil.WebTestBase.makeGet(WebTestBase.java:115)
> at org.jboss.test.cluster.defaultcfg.web.test.SessionPassivationTestCase.testSessionPassivationWMaxIdle(SessionPassivationTestCase.java:155)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> at junit.extensions.TestSetup.run(TestSetup.java:25)
> In the server log, you can see errors like this:
> 17:14:48,650 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
> at org.jboss.aop.Domain$1.run(Domain.java:124)
> at org.jboss.aop.Domain$1.run(Domain.java:121)
> at java.security.AccessController.doPrivileged(AccessController.java:197)
> at org.jboss.aop.Domain.getDomainName(Domain.java:119)
> at org.jboss.test.cluster.web.aop.Person$PersonAdvisor.initialise(Person$PersonAdvisor.java)
> at org.jboss.test.cluster.web.aop.Person$PersonAdvisor.<init>(Person$PersonAdvisor.java)
> at org.jboss.test.cluster.web.aop.Person.<clinit>(Person.java)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
> at org.apache.jsp.setSession_jsp._jspService(setSession_jsp.java:65)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
> at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:135)
> at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
> at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
> 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:158)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:810)
--
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