DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43242>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43242 Summary: New HttpSession created in HttpServletRequest under IPv6 Product: Tomcat 5 Version: 5.5.20 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Connector:Coyote AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Our JNLP clients use PostMethod.execute to send and receive data to a particular servlet. Customers can launch the JNLP client from the home page. If the home page is launched via browser with http://<somehostname>:8080/homepage or http://<someip>:8080/homepage Everything works fine. The problem is when tomcat is running on a host with an IPv6 tunnel So if a JNLP client was launched from a home page that was brought up like: http://[2002:8a2a:f915::1]:8080/homepage Then a new HttpSession will exist in the HttpServletRequest. Below is a simple servlet each time its invoked via the JNLP clients PostMethod.execute, a new session ID will be printed if the client was launched via IPv6 address. import java.io.*; import javax.servlet.*; import javax.servlet.http.*; /** * web.xml registrations: * * <servlet> * <servlet-name>MyTestServlet</servlet-name> * <servlet-class> * com.aprisma.spectrum.app.web.servlet.MyTestServlet * </servlet-class> * <load-on-startup>3</load-on-startup> * </servlet> * * <servlet-mapping> * <servlet-name>MyTestServlet</servlet-name> * <url-pattern>/test/MyTestServlet</url-pattern> * </servlet-mapping> * */ public class MyTestServlet extends HttpServlet { public void doPost( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { System.out.println( request.getSession().getId() ); } } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]