<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zabadaq</author_name>
  <author_url>https://blog.hatena.ne.jp/zabadaq/</author_url>
  <blog_title>tipsを掻き集めてknowledgeを目指す日記</blog_title>
  <blog_url>https://zabadaq.hatenadiary.org/</blog_url>
  <categories>
    <anon>Tomcat</anon>
  </categories>
  <description>ロードバランサーで複数のAPサーバーへリクエストを振り分ける場合、セッション維持する必要があります。Tomcatでは設定ファイルを編集することでjsessionidにサーバー固有の文字列を付加させることができます。ロードバランサー側でURLの文字列を判断して、振り分け処理が出来る場合は、Tomcat側で付加させた文字列を判断して振り分け処理をすればセッション維持は可能ということになります。 jsessionidに「tomcat1」という文字列を付加させたい場合は$TOMCAT/confにあるserver.xmlについて下記のようにjvmRouteの後に付加させたい文字列を記述することでOKです…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzabadaq.hatenadiary.org%2Fentry%2F20080323%2F1206287951&quot; title=&quot;jsessionidに特定の文字列を付加させる - tipsを掻き集めてknowledgeを目指す日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-03-23 00:59:11</published>
  <title>jsessionidに特定の文字列を付加させる</title>
  <type>rich</type>
  <url>https://zabadaq.hatenadiary.org/entry/20080323/1206287951</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
