<?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 tomcat server and rksh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-server-and-rksh/m-p/2965944#M815191</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;how do I start the Tomcat server 4.1 as user 'www' using rksh?&lt;BR /&gt;&lt;BR /&gt;OS: HP-UX 11.00&lt;BR /&gt;&lt;BR /&gt;The tomcat server should be started from the start/stop script /sbin/init.d/hpws_tomcat. The command to start tomcat should be something like:&lt;BR /&gt;su www -c startup.sh&lt;BR /&gt;&lt;BR /&gt;Since rksh is used the command cannot contain any slash (/). Therefore, ~www/.profile contains following lines:&lt;BR /&gt;PATH=/www/tomcat/bin:~/bin&lt;BR /&gt;export PATH&lt;BR /&gt;ksh(1) mentions that restrictions get activated after .profile is executed (i.e. PATH can be set within .profile).&lt;BR /&gt;&lt;BR /&gt;startup.sh is in /www/tomcat/bin. HPWS_TOMCAT_HOME is defined as /www/tomcat. File permissions are ok.&lt;BR /&gt;&lt;BR /&gt;Executing '/sbin/init.d/hpws_tomcat start' results:&lt;BR /&gt;rksh: startup.sh:  not found&lt;BR /&gt;ERROR: Could not start Tomcat.&lt;BR /&gt;&lt;BR /&gt;Tomcat server would start if I use ksh and the command 'su www -c $HPWS_TOMCAT_HOME/bin/startup.sh'.&lt;BR /&gt;&lt;BR /&gt;So, how would you start the tomcat server from user www with rksh?</description>
    <pubDate>Mon, 05 May 2003 15:53:37 GMT</pubDate>
    <dc:creator>Thomas Schler_1</dc:creator>
    <dc:date>2003-05-05T15:53:37Z</dc:date>
    <item>
      <title>tomcat server and rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-server-and-rksh/m-p/2965944#M815191</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;how do I start the Tomcat server 4.1 as user 'www' using rksh?&lt;BR /&gt;&lt;BR /&gt;OS: HP-UX 11.00&lt;BR /&gt;&lt;BR /&gt;The tomcat server should be started from the start/stop script /sbin/init.d/hpws_tomcat. The command to start tomcat should be something like:&lt;BR /&gt;su www -c startup.sh&lt;BR /&gt;&lt;BR /&gt;Since rksh is used the command cannot contain any slash (/). Therefore, ~www/.profile contains following lines:&lt;BR /&gt;PATH=/www/tomcat/bin:~/bin&lt;BR /&gt;export PATH&lt;BR /&gt;ksh(1) mentions that restrictions get activated after .profile is executed (i.e. PATH can be set within .profile).&lt;BR /&gt;&lt;BR /&gt;startup.sh is in /www/tomcat/bin. HPWS_TOMCAT_HOME is defined as /www/tomcat. File permissions are ok.&lt;BR /&gt;&lt;BR /&gt;Executing '/sbin/init.d/hpws_tomcat start' results:&lt;BR /&gt;rksh: startup.sh:  not found&lt;BR /&gt;ERROR: Could not start Tomcat.&lt;BR /&gt;&lt;BR /&gt;Tomcat server would start if I use ksh and the command 'su www -c $HPWS_TOMCAT_HOME/bin/startup.sh'.&lt;BR /&gt;&lt;BR /&gt;So, how would you start the tomcat server from user www with rksh?</description>
      <pubDate>Mon, 05 May 2003 15:53:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-server-and-rksh/m-p/2965944#M815191</guid>
      <dc:creator>Thomas Schler_1</dc:creator>
      <dc:date>2003-05-05T15:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server and rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-server-and-rksh/m-p/2965945#M815192</link>
      <description>No idea from anybody?</description>
      <pubDate>Wed, 07 May 2003 07:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-server-and-rksh/m-p/2965945#M815192</guid>
      <dc:creator>Thomas Schler_1</dc:creator>
      <dc:date>2003-05-07T07:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: tomcat server and rksh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-server-and-rksh/m-p/2965946#M815193</link>
      <description>You have to use "su - -c ...", otherwise the .profile is not executed at all.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 07 May 2003 08:47:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tomcat-server-and-rksh/m-p/2965946#M815193</guid>
      <dc:creator>Klaus Crusius</dc:creator>
      <dc:date>2003-05-07T08:47:17Z</dc:date>
    </item>
  </channel>
</rss>

