<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tomcat not starting as part of system boot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663973#M242523</link>
    <description>thank you all, a combination of sourcing the profile file and nohup has resolved the problem.</description>
    <pubDate>Mon, 07 Nov 2005 11:25:32 GMT</pubDate>
    <dc:creator>sudheer_7</dc:creator>
    <dc:date>2005-11-07T11:25:32Z</dc:date>
    <item>
      <title>Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663965#M242515</link>
      <description>Hello there!,&lt;BR /&gt;&lt;BR /&gt;I have a server(L2000, HP-ux 11.11) and tomcat is set to start as part of the system boot, /sbin/rc2.d/S901tomcat. But it would not start on its own. rc.log says "Tomcat started", but it dies after some time. When the system is completely booted up, and when I log in and try to run the same script it would start and remain without any problems.&lt;BR /&gt;&lt;BR /&gt;Attaching the script if it would be useful.&lt;BR /&gt;&lt;BR /&gt;Pleasse anyone has got any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Sudheer</description>
      <pubDate>Thu, 03 Nov 2005 11:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663965#M242515</guid>
      <dc:creator>sudheer_7</dc:creator>
      <dc:date>2005-11-03T11:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663966#M242516</link>
      <description>There is a startup script for tomcat in /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;Add a set -x to it right after the shell definition at the top.&lt;BR /&gt;&lt;BR /&gt;This may get you some diagnostics as to why it failed.&lt;BR /&gt;&lt;BR /&gt;You could also modify it to start the tomcat with the tusc utility and gather information on the process and why it dies.&lt;BR /&gt;&lt;BR /&gt;These symptoms however are typical of an environment problem.&lt;BR /&gt;&lt;BR /&gt;There is some environment setting that tomcat gets in normal run mode that it does not get in startup mode.&lt;BR /&gt;&lt;BR /&gt;Typically this line of code at the top will help:&lt;BR /&gt;&lt;BR /&gt;. /etc/profile&lt;BR /&gt;. /homedir/.profile&lt;BR /&gt;&lt;BR /&gt;sometimes you only need one and homedir must be changed above to the actual home directory of the user that starts tomcat.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 03 Nov 2005 12:50:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663966#M242516</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-11-03T12:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663967#M242517</link>
      <description>Thank you Steve for the suggestions. set -x option is already done, but I have not any clue of why it exits. tomcat startup is done by root and I called both /etc/profile and the roots profile within the script. Even then it dies after some time. &lt;BR /&gt;&lt;BR /&gt;Enabled tusc on startup, it has given me a very long list of processes. tusc -f -o and directed the output to a file. There is a 145 KB file created, I am not able to make out much from it. Attaching the last few lines from the trace file..</description>
      <pubDate>Fri, 04 Nov 2005 08:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663967#M242517</guid>
      <dc:creator>sudheer_7</dc:creator>
      <dc:date>2005-11-04T08:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663968#M242518</link>
      <description>&lt;BR /&gt;do you have any messages in your catalina.out &lt;BR /&gt;file ??&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Nov 2005 08:52:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663968#M242518</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2005-11-04T08:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663969#M242519</link>
      <description>I have checked the catalina.out file. Did not find any message which seemed to be errors</description>
      <pubDate>Fri, 04 Nov 2005 11:17:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663969#M242519</guid>
      <dc:creator>sudheer_7</dc:creator>
      <dc:date>2005-11-04T11:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663970#M242520</link>
      <description>one thing I observed now is that, tomcat uses java1.4, I can see the process starting up, and when a process using java1.3 starts up it gets killed. Not sure what that process is. I have done a tusc on the pid of tomcat's java (tusc 443) and the last few lines of the same is attached.</description>
      <pubDate>Fri, 04 Nov 2005 11:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663970#M242520</guid>
      <dc:creator>sudheer_7</dc:creator>
      <dc:date>2005-11-04T11:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663971#M242521</link>
      <description>Look for a core file, the Tomcat startup script may be running but then quietly aborting.</description>
      <pubDate>Fri, 04 Nov 2005 18:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663971#M242521</guid>
      <dc:creator>Scot Bean</dc:creator>
      <dc:date>2005-11-04T18:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663972#M242522</link>
      <description>&lt;BR /&gt;put a 'nohup' in your tomcat startup file in /sbin/init.d/&lt;TOMCATSTARTUP&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;nohup $TOMCAT_HOME/bin/startup.sh 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;/TOMCATSTARTUP&gt;</description>
      <pubDate>Mon, 07 Nov 2005 02:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663972#M242522</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2005-11-07T02:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tomcat not starting as part of system boot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663973#M242523</link>
      <description>thank you all, a combination of sourcing the profile file and nohup has resolved the problem.</description>
      <pubDate>Mon, 07 Nov 2005 11:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-not-starting-as-part-of-system-boot/m-p/3663973#M242523</guid>
      <dc:creator>sudheer_7</dc:creator>
      <dc:date>2005-11-07T11:25:32Z</dc:date>
    </item>
  </channel>
</rss>

