[JBoss JIRA] Created: (JBAS-4332) bin/run.sh should force IPv4 on Linux systems
by Dimitris Andreadis (JIRA)
bin/run.sh should force IPv4 on Linux systems
---------------------------------------------
Key: JBAS-4332
URL: http://jira.jboss.com/jira/browse/JBAS-4332
Project: JBoss Application Server
Issue Type: Task
Security Level: Public (Everyone can see)
Components: System service
Reporter: Dimitris Andreadis
Assigned To: Dimitris Andreadis
Fix For: JBossAS-4.2.0.CR2, JBossAS-5.0.0.Beta3
There is an issue in the Linux kernel that causes ipv6 to not work correctly with JDK 1.5 and lower. As a result, jbossas does not start by default on Linux unless ipv4 is forced. To that end, run.sh needs updating.
Something like:
if [ "`uname`" = "Linux" ]; then
JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
fi
fi
So that Linux systems use ipv4
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBAS-4210) HTTP request dispatched to the wrong servlet
by Thomas Diesler (JIRA)
HTTP request dispatched to the wrong servlet
--------------------------------------------
Key: JBAS-4210
URL: http://jira.jboss.com/jira/browse/JBAS-4210
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Here is a web.xml that contains more than one servlet
<web-app version='2.4' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd'>
<servlet>
<servlet-name>ServletTest</servlet-name>
<servlet-class>org.jboss.test.ws.jaxrpc.jbws1093.ServletTest</servlet-class>
</servlet>
<servlet>
<servlet-name>TestEndpoint</servlet-name>
<servlet-class>org.jboss.ws.integration.jboss50.JBossServiceEndpointServlet</servlet-class>
<init-param>
<param-name>ServiceEndpointImpl</param-name>
<param-value>org.jboss.test.ws.jaxrpc.jbws1093.TestEndpointImpl</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>ServletTest</servlet-name>
<url-pattern>/ServletTest</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>TestEndpoint</servlet-name>
<url-pattern>/TestEndpoint</url-pattern>
</servlet-mapping>
</web-app>
A request to
http://localhost:8080/jaxrpc-jbws1093/ServletTest
is incorrectly dispatched to the TestEndpoint
22:48:15,930 ERROR [[ServletTest]] Servlet.service() for servlet ServletTest threw exception
org.jboss.ws.WSException: Cannot obtain endpoint for: jboss.ws:context=jaxrpc-jbws1093,endpoint=ServletTest
at org.jboss.ws.core.server.AbstractServiceEndpointServlet.initServiceEndpoint(AbstractServiceEndpointServlet.java:161)
at org.jboss.ws.integration.jboss50.JBossServiceEndpointServlet.initServiceEndpoint(JBossServiceEndpointServlet.java:49)
at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
To reproduce run
[tdiesler@tdvaio jbossws-tests]$ ant -Dtest=org.jboss.test.ws.jaxrpc.jbws1093.JBWS1093TestCase one-test
one-test:
[junit] Running org.jboss.test.ws.jaxrpc.jbws1093.JBWS1093TestCase
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 6.324 sec
[junit] Test org.jboss.test.ws.jaxrpc.jbws1093.JBWS1093TestCase FAILED
This seems to be related to the latest updates to the tomcat service
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months