<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tomcat on PolloChang 工作筆記</title>
    <link>http://pollochang.work/tags/tomcat/</link>
    <description>Recent content in Tomcat on PolloChang 工作筆記</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-TW</language>
    <copyright>© 2026 PolloChang</copyright>
    <lastBuildDate>Wed, 18 Jun 2025 22:21:10 +0800</lastBuildDate><atom:link href="http://pollochang.work/tags/tomcat/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Tomcat Attachment Error</title>
      <link>http://pollochang.work/worknot/tomcat-attachment-error/</link>
      <pubDate>Wed, 18 Jun 2025 22:21:10 +0800</pubDate>
      
      <guid>http://pollochang.work/worknot/tomcat-attachment-error/</guid>
      <description>&lt;p&gt;這幾天在公司測試環境頻繁的出現下面的錯誤訊息:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Caused by: org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException: attachment&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;這條訊息是這樣說的: 檔案數量限制 (Could not parse multipart servlet request) 。&lt;/p&gt;&#xA;&lt;p&gt;我苦思了兩天，回想這一個禮拜我都沒有任何維護測試環境的紀錄，為什麼卻在這兩天開發的工程師頻頻像我反應類似的錯誤訊息，而且他們都說自己的本機環境不會上道測試機反而會出錯。最終我實在忍不住到處詢問期胎維護工程師。我們大約找了半天左右才發現是 tomcat 9.0.106 新增對 &lt;code&gt;multi-part request&lt;/code&gt; 的限制，預設是 10。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>來架個網站吧-23.網站環境建置-建立AP</title>
      <link>http://pollochang.work/post/1000-23.%E7%B6%B2%E7%AB%99%E7%92%B0%E5%A2%83%E5%BB%BA%E7%BD%AE-%E5%BB%BA%E7%AB%8Bap/</link>
      <pubDate>Wed, 28 Feb 2024 19:20:17 +0800</pubDate>
      
      <guid>http://pollochang.work/post/1000-23.%E7%B6%B2%E7%AB%99%E7%92%B0%E5%A2%83%E5%BB%BA%E7%BD%AE-%E5%BB%BA%E7%AB%8Bap/</guid>
      <description>&lt;h1 class=&#34;relative group&#34;&gt;來架個網站吧-23.網站環境建置-建立AP&#xA;    &lt;div id=&#34;來架個網站吧-23網站環境建置-建立ap&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e4%be%86%e6%9e%b6%e5%80%8b%e7%b6%b2%e7%ab%99%e5%90%a7-23%e7%b6%b2%e7%ab%99%e7%92%b0%e5%a2%83%e5%bb%ba%e7%bd%ae-%e5%bb%ba%e7%ab%8bap&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h1&gt;&#xA;&#xA;&lt;h6 class=&#34;relative group&#34;&gt;tags: &lt;code&gt;來架個網站吧&lt;/code&gt; &lt;code&gt;tomcat&lt;/code&gt;&#xA;    &lt;div id=&#34;tags-來架個網站吧-tomcat&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#tags-%e4%be%86%e6%9e%b6%e5%80%8b%e7%b6%b2%e7%ab%99%e5%90%a7-tomcat&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h6&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://ithelp.ithome.com.tw/articles/10317824&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;我是目錄&lt;/a&gt;&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
