<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>148387</bug_id>
          
          <creation_ts>2006-09-20 08:53 0000</creation_ts>
          <short_desc>tomcat 5.5 CATALINA_TMPDIR not set appropriately</short_desc>
          <delta_ts>2006-09-20 10:55:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>chris.lear@laculine.com</reporter>
          <assigned_to>wltjr@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>chris.lear@laculine.com</who>
            <bug_when>2006-09-20 08:53:06 0000</bug_when>
            <thetext>In /etc/conf.d/tomcat-5.5, it says this:

# (Optional) Directory path location of temporary directory the JVM should
# use (java.io.tmpdir).  Defaults to $CATALINA_BASE/temp.
CATALINA_TMPDIR=&quot;/var/tmp/tomcat-5.5/&quot;

But, as far as I can see, CATALINA_TMPDIR is never set if this &quot;optional&quot; line is removed.

I&apos;ll upload a patch to /etc/init.d/tomcat-5.5 that I think fixes the problem (code taken from tomcat&apos;s catalina.sh)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chris.lear@laculine.com</who>
            <bug_when>2006-09-20 08:55:59 0000</bug_when>
            <thetext>Created an attachment (id=97549)
Patch to /etc/init.d/tomcat-5.5

Sets CATALINA_TMPDIR if not set, in line with information in /etc/conf.d/tomcat-5.5 (and as per upstream catalina.sh)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wltjr@gentoo.org</who>
            <bug_when>2006-09-20 10:55:22 0000</bug_when>
            <thetext>Ok sorry about that must have missed that and the other when making the init script some time back. Interesting no one has caught those till now. Although we have had some other issues with the init script and logging.

Thanks for catching that and for the patch. I have made the changes in the init script and committed to tree. Closing bug.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>97549</attachid>
            <date>2006-09-20 08:55 0000</date>
            <desc>Patch to /etc/init.d/tomcat-5.5</desc>
            <filename>tomcat-5.5.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHRvbWNhdC01LjUgIDIwMDYtMDktMjAgMTY6Mzk6MDAuMDAwMDAwMDAwICswMTAwCisrKyAv
cm9vdC90b21jYXQtNS41LmZpeGVkICAgICAgMjAwNi0wOS0yMCAxNjo0MDowMC4wMDAwMDAwMDAg
KzAxMDAKQEAgLTUsNiArNSwxMCBAQAoKIGluaXRfZW52X3ZhcnMoKSB7CiAgICAgICAgIyBTZXQg
c29tZSBzYW5lIGRlZmF1bHRzCisgICAgICAgaWYgWyAteiAiJENBVEFMSU5BX1RNUERJUiIgXSA7
IHRoZW4KKyAgICAgICAgICMgRGVmaW5lIHRoZSBqYXZhLmlvLnRtcGRpciB0byB1c2UgZm9yIENh
dGFsaW5hCisgICAgICAgICBDQVRBTElOQV9UTVBESVI9IiRDQVRBTElOQV9CQVNFIi90ZW1wCisg
ICAgICAgZmkKICAgICAgICBKUERBX1RSQU5TUE9SVD0ke0pQREFfVFJBTlNQT1JUOj0iZHRfc29j
a2V0In0KICAgICAgICBKUERBX0FERFJFU1M9JHtKUERBX0FERFJFU1M6PSI4MDAwIn0KICAgICAg
ICBKUERBX09QVFM9JHtKUERBX09QVFM9Ii1YZGVidWcgLVhydW5qZHdwOnRyYW5zcG9ydD0ke0pQ
REFfVFJBTlNQT1JUfSxhZGRyZXNzPSR7SlBEQV9BRERSRVNTfSxzZXJ2ZXI9eSxzdXNwZW5kPW4i
fQoK
</data>        

          </attachment>
    </bug>

</bugzilla>