DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25823>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25823 Session problem when using Internet Explorer 6.0 on Windows XP sp1 Summary: Session problem when using Internet Explorer 6.0 on Windows XP sp1 Product: Tomcat 4 Version: 4.1.29 Platform: PC OS/Version: Linux Status: NEW Severity: Blocker Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi all I have a major problem persisting sessions (HttpSession) on the mentioned platform. Here is an example: session.setAttribute("Test","Test"); When I reload the browser the "Test" attribute is gone. This problem arose when I put on Service Pack 1 for Win XP. Here is a short introduction to my webapp architecture: - I have an apache 1.3 installed, with mod_jk. - I have implemented a frontcontroller pattern. One servlet receives all requests and forwards them, depending on a set of rules, to a jsp page. As mentioned earlier. It all works fine in other browsers for example Mozilla. But not in Explorer 6.0 on WinXP sp1. >From server.xml: <Host name="ny_kww" debug="0" appBase="webapps" unpackWARs="true"> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="uffe_kww." suffix=".log" timestamp="true"/> <Context path="" docBase="kww" debug="0" reloadable="true" crossContext="true"> <Resource name="jdbc/KWW" auth="Container" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/KWW"> <parameter> <name>factory</name> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> </parameter> <!-- Maximum number of dB connections in pool. Make sure you configure your mysqld max_connections large enough to handle all of your db connections. Set to 0 for no limit. --> <parameter> <name>maxActive</name> <value>100</value> </parameter> <!-- Maximum number of idle dB connections to retain in pool. Set to 0 for no limit. --> <parameter> <name>maxIdle</name> <value>30</value> </parameter> <!-- Maximum time to wait for a dB connection to become available in ms, in this example 10 seconds. An Exception is thrown if this timeout is exceeded. Set to -1 to wait indefinitely. --> <parameter> <name>maxWait</name> <value>10000</value> </parameter> <!-- MySQL dB username and password for dB connections --> <parameter> <name>username</name> <value>scott</value> </parameter> <parameter> <name>password</name> <value>tiger</value> </parameter> <!-- Class name for mm.mysql JDBC driver --> <parameter> <name>driverClassName</name> <value>org.gjt.mm.mysql.Driver</value> </parameter> <!-- The JDBC connection url for connecting to your MySQL dB. The autoReconnect=true argument to the url makes sure that the mm.mysql JDBC Driver will automatically reconnect if mysqld closed the connection. mysqld by default closes idle connections after 8 hours. --> <parameter> <name>url</name> <value>jdbc:mysql://localhost:3306/database?autoReconnect=true</value> </parameter> </ResourceParams> </Context> </Host> >From web.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>front</servlet-name> <servlet-class>FrontController</servlet-class> </servlet> <servlet-mapping> <servlet-name>front</servlet-name> <url-pattern>/request/*</url-pattern> </servlet-mapping> <taglib> <taglib-uri>/render-taglib</taglib-uri> <taglib-location>/WEB-INF/tlds/render-taglib.tld</taglib-location> </taglib> <taglib> <taglib-uri>/navigation-taglib</taglib-uri> <taglib-location>/WEB-INF/tlds/navigation-taglib.tld</taglib-location> </taglib> <taglib> <taglib-uri>/channel-taglib</taglib-uri> <taglib-location>/WEB-INF/tlds/channel-taglib.tld</taglib-location> </taglib> <resource-ref> <description>My SQL Datasource for kww</description> <res-ref-name>jdbc/KWW</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </web-app> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]