[jboss-jira] [JBoss JIRA] Commented: (JBAS-7212) Web app context not being processed in JBoss 5.1 for Cactus test case
Brendan Farragher (JIRA)
jira-events at lists.jboss.org
Fri Aug 28 09:47:35 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-7212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12483384#action_12483384 ]
Brendan Farragher commented on JBAS-7212:
-----------------------------------------
Let me add the stacktrace that I am getting in JBoss 5.1, and also a reference to a similar servlet redirector exception that was logged in a JIRA for JSFUnit:
JBoss 5.1 server log after running test case
13:49:50,072 INFO [JBossASKernel] Created KernelDeployment for: test-cactus-ejb3-jboss5.jar
13:49:50,072 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=test-cactus-jboss5.ear,jar=test-cactus-ejb3-jboss5.jar,name=ConverterBean,service=EJB3
13:49:50,072 INFO [JBossASKernel] with dependencies:
13:49:50,072 INFO [JBossASKernel] and demands:
13:49:50,072 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
13:49:50,072 INFO [JBossASKernel] and supplies:
13:49:50,072 INFO [JBossASKernel] jndi:test-cactus-jboss5/ConverterBean/local-org.apache.cactus.sample.ejb3.IConvertLocal
13:49:50,072 INFO [JBossASKernel] jndi:test-cactus-jboss5/ConverterBean/remote
13:49:50,072 INFO [JBossASKernel] Class:org.apache.cactus.sample.ejb3.IConvertLocal
13:49:50,072 INFO [JBossASKernel] jndi:test-cactus-jboss5/ConverterBean/local
13:49:50,072 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=test-cactus-jboss5.ear,jar=test-cactus-ejb3-jboss5.jar,name=ConverterBean,service=EJB3) to KernelDeployment of: test-cactus-ejb3-jboss5.jar
13:49:50,073 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 1ba110e{name=jboss.j2ee:ear=test-cactus-jboss5.ear,jar=test-cactus-ejb3-jboss5.jar,name=ConverterBean,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
13:49:50,095 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=test-cactus-jboss5.ear,jar=test-cactus-ejb3-jboss5.jar,name=ConverterBean,service=EJB3
13:49:50,095 INFO [EJBContainer] STARTED EJB: org.apache.cactus.sample.ejb3.ConverterBean ejbName: ConverterBean
13:49:50,111 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
test-cactus-jboss5/ConverterBean/local - EJB3.x Default Local Business Interface
test-cactus-jboss5/ConverterBean/local-org.apache.cactus.sample.ejb3.IConvertLocal - EJB3.x Local Business Interface
13:49:50,177 INFO [TomcatDeployment] deploy, ctxPath=/test-cactus-jboss5-web
13:49:50,243 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
13:49:50,257 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
13:49:50,264 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 39s:967ms
13:50:01,474 ERROR [[ServletRedirector]] Servlet.service() for servlet ServletRedirector threw exception
javax.servlet.ServletException: non-HTTP request or response
at javax.servlet.http.HttpServlet.service(HttpServlet.java:800)
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.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:619)
13:50:01,491 ERROR [[ServletRedirector]] Servlet.service() for servlet ServletRedirector threw exception
javax.servlet.ServletException: non-HTTP request or response
at javax.servlet.http.HttpServlet.service(HttpServlet.java:800)
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.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:619)
Servlet redirection issue from JSFUnit JIRA:
https://jira.jboss.org/jira/browse/JSFUNIT-153
> Web app context not being processed in JBoss 5.1 for Cactus test case
> ---------------------------------------------------------------------
>
> Key: JBAS-7212
> URL: https://jira.jboss.org/jira/browse/JBAS-7212
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-5.1.0.GA
> Environment: JBoss 5.1.0GA, Cactus 1.8.1, Red Hat Developer Studio 2.0.0GA, Ubuntu Linux 9.04
> Reporter: Brendan Farragher
> Attachments: test-cactus-ejb3-jboss5.zip, test-cactus-jboss5-web.zip, test-cactus-jboss5.ear, test-cactus-jboss5.zip
>
>
> Configuring context-root in application.xml for Cactus test case works on JBoss 4.2.3 AS but not on JBoss 5.1 AS. Please deploy the attached .ear file to both JBoss 4.2.3 and JBoss 5.1 servers, and run Cactus test case from IDE. Cactus test app runs fine in JBoss 4.2.3, but not JBoss 5.1. Tried multiple configurations, including adding a context.xml file with the context path name to META-INF folder, and then to WEB-INF/lib (in separate tests). Both tests failed in JBoss 5.1.
> I have attached the .ear file that I tested with on my machine, and the Eclipse projects to build the web app. The code is from the samples/ejb3 folder of the Cactus 1.8.1 distribution.
> Thanks.
--
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