tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13671] New: - Setting a session attribute that do not implements the "serializable" interface will throw an IllegalArgumentException when it cannot find the associated resource standardSession.setAttribute.iae in a Japanese Machine.
Date Tue, 15 Oct 2002 21:16:14 GMT
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=13671>.
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=13671

Setting a session attribute that do not implements the "serializable" interface will throw
an IllegalArgumentException when it cannot find the associated resource standardSession.setAttribute.iae
in a Japanese Machine.

           Summary: Setting a session attribute that do not implements the
                    "serializable" interface will throw an
                    IllegalArgumentException when it cannot find the
                    associated resource standardSession.setAttribute.iae in
                    a Japanese Machine.
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ricardo@hottolink.co.jp


Version: Release: 4.1.12
Tomcat component: File:org.apache.catalina.session.StandardSession, Line 1239
Platform: 
OS: Windows 2000, Service Pack 3, Japanese
JVM: JDK 1.4.0_01 Standard Edition (build 1.4.0_01-b03)
Web Server: Don't matter
Log file excerpts:
"Cannot find message associated with key 'standardSession.setAttribute.iae'"
Stack Traces:
java.lang.IllegalArgumentException: Cannot find message associated with 
key 'standardSession.setAttribute.iae'
	at org.apache.catalina.session.StandardSession.setAttribute
(StandardSession.java:1239)
	at org.apache.catalina.session.StandardSessionFacade.setAttribute
(StandardSessionFacade.java:191)
	at org.apache.catalina.session.StandardSessionFacade.setAttribute
(StandardSessionFacade.java:191)
	at org.apache.jasper.runtime.PageContextImpl.setAttribute
(PageContextImpl.java:249)
	at org.apache.jsp.insertForm1_jsp._jspService(insertForm1_jsp.java:86)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:204)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:289)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
	at 
jp.co.hottolink.eCRMTool.util.webUtil.SetCharacterEncodingFilter.doFilter
(SetCharacterEncodingFilter.java:134)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:213)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:260)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:643)
	at org.apache.catalina.valves.CertificatesValve.invoke
(CertificatesValve.java:246)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2396)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:170)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:172)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:641)
	at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:469)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:405)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:380)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:508)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:533)
	at java.lang.Thread.run(Thread.java:536)
Example:
+Source Code:
session.setAttribute("ABCD.UserInfo", userInfo);
/* userInfo do not implement the "Serializable" interface */
Bug Fix Patch - A patch created using diff -u which fixes the bug. (If you have 
found a bug fix which can be applied to the Tomcat code) 
Miscellaneous - Any other information you feel will help track down the 
problem. For example other Java API's and versions being used with Tomcat. 

+Configuration:
<Manager distributable="true" 

Description:
Source Code
[
            throw new IllegalArgumentException
                (sm.getString("standardSession.setAttribute.iae"));
]
throws an IllegalArgumentException.
standardSession.setAttribute.iae is not found.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message