[
https://issues.apache.org/jira/browse/GERONIMO-6140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg closed GERONIMO-6140.
-----------------------------------
Resolution: Won't Fix
Closing old outdated issues.
Note that the Apache Geronimo Application Server itself was declared EOL in
2017 and we do not maintain the server parts anymore.
We still do actively maintain many of the Java EE / Jakarta EE which saw the
light during creation of the Apache Geronimo Aplication Server.
If you feel that this ticket still affects one of those components then please
feel free to reopen the ticket.
thanks, your Apache Geronimo team!
> Fix testsuite errors in Geronimo trunk
> --------------------------------------
>
> Key: GERONIMO-6140
> URL: https://issues.apache.org/jira/browse/GERONIMO-6140
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Kevan Lee Miller
> Assignee: Ming Xia
> Priority: Major
>
> There are a few testsuite problems in the current trunk
> 1) CI testsuite builds are always failing because of port conflicts
> 2) testsuite failures aren't being reflected in the testsuite summary (or
> testsuite failures aren't stopping the test)
> 3) geronimo/server/trunk/testsuite/web-testsuite/test-tomcat/ and
> geronimo/server/trunk/testsuite/aries-testsuite/require-bundle-test/RequireBundle-eba
> appear to have the same basic problem:
> {code}
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.354 sec <<<
> FAILURE!
> testTomcatHost(org.apache.geronimo.testsuite.tomcat.TestTomcat) Time
> elapsed: 0 sec <<< FAILURE!
> junit.framework.AssertionFailedError: responseCode expected:<200> but
> was:<404>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:201)
> at
> org.apache.geronimo.testsuite.tomcat.TestTomcat.testTomcatHost(TestTomcat.java:42)
> {code}
> 4)
> /Users/kevan/geronimo/server/trunk/testsuite/javaee6-testsuite/commonannotation1.1-test/
> {code}
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.455 sec <<<
> FAILURE!
> testDataSourceDefinition(org.apache.geronimo.sample.dataSourceDefinition.test.DataSourceDefinitionTest)
> Time elapsed: 0.348 sec <<< FAILURE!
> java.io.IOException: <html><head><title>Apache Tomcat/7.0.19.2 - Error
> report</title><style><!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;backgro\
> und-color:#525D76;font-size:22px;} H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3 {font-family:Tahoma,Ari\
> al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> {font-\
> family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A\
> {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
> </head><body><h1>HTTP Status 500 - </h1><HR size="1"
> noshade="noshade"><p><b>type<\
> /b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b>
> <u>The server encountered an internal error () that prevented it from
> fulfilling\
> this request.</u></p><p><b>exception</b>
> <pre>javax.servlet.ServletException: Error instantiating servlet class
> org.apache.geronimo.sample.servlet.DataSou\
> rceDefinitionServlet
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:818)
> org.apache.geron\
> imo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
> org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(Protec\
> tedTargetValve.java:53)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> org.apache.catalina.valves.AccessLogValve.invo\
> ke(AccessLogValve.java:851)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
> org.apache.coyote.http11.Http11Processor.\
> process(Http11Processor.java:278)
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
> org.apache.tomcat.ut\
> il.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
> org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
> org.apache.geronimo.poo\
> l.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373)
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> ja\
> va.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> java.lang.Thread.run(Thread.java:680)</pre></p><p><b>root cause</b> <pre>java\
> .lang.InstantiationException: Some objects to be injected were not found in
> jndi: [javax.naming.NameNotFoundException: osgi:service/mydatasource]
> org.apac\
> he.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:174)
> org.apache.geronimo.tomcat.TomcatInstanceManager.newInstance(TomcatInstanceManager.java:74)\
>
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:818)
> org.apache.geronimo.tomcat.valve.Geron\
> imoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
> org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53\
> )
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java\
> :851)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
> org.apache.coyote.http11.Http11Processor.process(Http11Processo\
> r.java:278)
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
> org.apache.tomcat.util.net.JIoEndpoint$Soc\
> ketProcessor.run(JIoEndpoint.java:302)
> org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
> org.apache.geronimo.pool.ThreadPool$ContextCl\
> assLoaderRunnable.run(ThreadPool.java:373)
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> java.util.concurrent.Thr\
> eadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> java.lang.Thread.run(Thread.java:680)</pre></p><p><b>note</b> <u>The full
> stack trace of the root c\
> ause is available in the Apache Tomcat/7.0.19.2 logs.</u></p><HR size="1"
> noshade="noshade"><h3>Apache Tomcat/7.0.19.2</h3></body></html>
> at org.apache.geronimo.testsupport.HttpUtils.doGET(HttpUtils.java:41)
> at
> org.apache.geronimo.sample.dataSourceDefinition.test.DataSourceDefinitionTest.checkResponse(DataSourceDefinitionTest.java:49)
> at
> org.apache.geronimo.sample.dataSourceDefinition.test.DataSourceDefinitionTest.testDataSourceDefinition(DataSourceDefinitionTest.java:42)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)