<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Danté&#039;s Inferno</title>
	<atom:link href="http://www.cocoanet.us/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cocoanet.us/blog</link>
	<description>Music, Photography, Motorsports &#38; Politics</description>
	<lastBuildDate>Fri, 20 Apr 2012 07:02:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Cisco &amp; ProCurve Layer 3 Switches</title>
		<link>http://www.cocoanet.us/blog/2012/03/23/cisco-procurver-layer-3-switches/</link>
		<comments>http://www.cocoanet.us/blog/2012/03/23/cisco-procurver-layer-3-switches/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 06:59:59 +0000</pubDate>
		<dc:creator>DantePasquale</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[ProCurve]]></category>
		<category><![CDATA[VLAN Routing]]></category>

		<guid isPermaLink="false">http://www.cocoanet.us/blog/?p=683</guid>
		<description><![CDATA[Configure ProCurver and Cisco Layer 3 switches for InterVLAN routing]]></description>
			<content:encoded><![CDATA[<p>These are some sanitized notes on configuring ProCurve Layer 3 Switches to a Cisco Layer 3 Switch. The Cisco Switch is configured to do intervlan routing. If there isn&#8217;t a route on the switch, then it forwards the traffic to a <em>real</em> Cisco Router!</p>
<h2>ProCurve 2910 Layer 3 Switch</h2>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
show running-config
Running configuration:

; J9145A Configuration Editor; Created on release #W.14.38

hostname &quot;procurve-2910-1&quot;
time timezone -5
module 1 type J9145A
ip default-gateway 192.168.16.1
vlan 1
   name &quot;DEFAULT_VLAN&quot;
   untagged 1-4,6-9,11-13,15-24
   ip address 192.168.16.30 255.255.252.0
   no untagged 5,10,14
   exit
vlan 4
   name &quot;VLAN4&quot;
   untagged 5,14
   tagged 7
   no ip address
   exit
vlan 8
   name &quot;VLAN8&quot;
   untagged 10
   tagged 8
   no ip address
   exit
vlan 16
   name &quot;VLAN16&quot;
   tagged 16
   no ip address
   exit
ip timep manual 192.168.12.1
spanning-tree</pre>
<h2>Cisco 3560 Layer 3 Switch</h2>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
show running-config
Building configuration...

Current configuration : 3676 bytes
!
! Last configuration change at 20:06:49 EST Sun Jan 1 2012
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname catalyst-3560-1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$D5/v*r3289y&amp;^%^%$ejff93((((hiHDHF
enable password redhat
!
username PrivUserName privilege 15 secret 5 $1$/cUX$3XUtk7334879349348rqf
!
!
no aaa new-model
clock timezone EST -5
system mtu routing 1500
ip routing
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet0
 ip address 192.168.12.2 255.255.252.0
 no ip route-cache cef
 no ip route-cache
!
interface GigabitEthernet0/1
 description &quot;To 2901 Router&quot;
 no switchport
 ip address 192.168.20.1 255.255.252.0
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
 description &quot;To Direct Connect Server vlan4&quot;
 switchport access vlan 4
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
 description &quot;TRUNK to Procurve 1 port 7 on both&quot;
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 4
 switchport mode trunk
!
interface GigabitEthernet0/8
 description &quot;TRUNK to Procurve 2 port 7&quot;
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 4
 switchport mode trunk
!
interface GigabitEthernet0/9
 description &quot;TRUNK to Procurve 1 port XX Vlan8&quot;
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 8
 switchport mode trunk
!
interface GigabitEthernet0/10
 description TRUNK to Procurve 2  port XX Vlan8
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 8
 switchport mode trunk
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
 description To Direct Connect WS vlan8
 switchport access vlan 8
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
!
interface GigabitEthernet0/16
 description Trunk to Procurve 1 for Vlan16 MGMT
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 16
 switchport mode trunk
!
interface GigabitEthernet0/17
 description Trunk to Procurve 2 for Vlan16 MGMT
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 16
 switchport mode trunk
!
interface GigabitEthernet0/18
 description To Direct Access MGMT Vlan 16
 switchport access vlan 16
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/19
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
!
interface GigabitEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface GigabitEthernet1/3
!
interface GigabitEthernet1/4
!
interface TenGigabitEthernet1/1
!
interface TenGigabitEthernet1/2
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan4
 description &quot;Server vlan vlan4&quot;
 ip address 192.168.4.1 255.255.252.0
!
interface Vlan8
 description &quot;WorkStation_Vlan_8&quot;
 ip address 192.168.8.1 255.255.252.0
!
interface Vlan16
 description Management_Vlan_16
 ip address 192.168.16.1 255.255.252.0
!
interface Vlan24
 description &quot;Switch Management Vlan 24&quot;
 ip address 192.168.24.1 255.255.252.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.20.2
ip http server
ip http secure-server
!
ip sla enable reaction-alerts
snmp-server community public RO
!
!
line con 0
line vty 0 4
 password PASSWORD
 login
line vty 5 15
 password PASSWORD
 login
!
ntp clock-period 36027182
ntp peer 24.124.0.251 prefer
end
</pre>
<h2>Cisco 2901 Core Router</h2>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
show running-config
Building configuration...

Current configuration : 5737 bytes
!
! Last configuration change at 00:56:56 UTC Mon Jan 2 2012 by admin
! NVRAM config last updated at 21:29:10 UTC Sun Jan 1 2012 by admin
! NVRAM config last updated at 21:29:10 UTC Sun Jan 1 2012 by admin
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname rOUTER
!
boot-start-marker
boot system flash0:c2900-universalk9-mz.SPA.151-4.M3.bin
boot-end-marker
!
!
logging buffered 51200 warnings
enable secret 5 $YEF*&amp;efuhfe*UHe*&amp;&amp;&amp;e(9***
enable password redhat
!
no aaa new-model
!
no ipv6 cef
ip source-route
ip cef
!
!
!
!
!
ip domain name yourdomain.com
multilink bundle-name authenticated
!
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-3784501552
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-3784501552
 revocation-check none
 rsakeypair TP-self-signed-3784501552
!
!
crypto pki certificate chain TP-self-signed-3784501552
 certificate self-signed 01
  30820253 308201BC A0030201 02020101 300D0609 2A864886 F70D0101 04050030 

  E12AD51C 495F847A 713C5248 F4975966
  B163A703 7DD99193 E7F6CD89 569D499C FB66520F EB781F
  	quit
license udi pid CISCO2901/K9 sn FTX152682W2
!
!
username admin privilege 15 secret 5 $1$jmeWUHEFFUIEF87yr8732ry87qhrf
!
!
ip ssh version 2
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 description &quot;primary router interface 126.10.20.1&quot;
 ip address 126.10.20.1 255.0.0.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 description &quot;To Catalyst 3550 intervlan switch&quot;
 ip address 192.168.20.2 255.255.252.0
 duplex auto
 speed auto
!
ip forward-protocol nd
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip default-network 126.0.0.0
ip route 0.0.0.0 0.0.0.0 126.10.20.20
ip route 126.0.0.0 255.0.0.0 126.10.20.20
ip route 192.168.0.0 255.255.0.0 126.10.20.20
ip route 192.168.4.0 255.255.252.0 192.168.20.1
ip route 192.168.8.0 255.255.252.0 192.168.20.1
ip route 192.168.16.0 255.255.252.0 192.168.20.1
!
access-list 23 permit 10.10.10.0 0.0.0.7
!
!
!
control-plane
!
!
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------

Cisco Configuration Professional (Cisco CP) is installed on this device
and it provides the default username &quot;cisco&quot; for  one-time use. If you have
already used the username &quot;cisco&quot; to login to the router and your IOS image
supports the &quot;one-time&quot; user option, then this username has already expired.
You will not be able to login to the router with this username after you exit
this session.

It is strongly suggested that you create a new username with a privilege level
of 15 using the following command.

username &lt;myuser&gt; privilege 15 secret 0 &lt;mypassword&gt;

Replace &lt;myuser&gt; and &lt;mypassword&gt; with the username and password you want to
use.

-----------------------------------------------------------------------
^C
banner login ^C
-----------------------------------------------------------------------
Cisco Configuration Professional (Cisco CP) is installed on this device.
This feature requires the one-time use of the username &quot;cisco&quot; with the
password &quot;cisco&quot;. These default credentials have a privilege level of 15.

YOU MUST USE CISCO CP or the CISCO IOS CLI TO CHANGE THESE  PUBLICLY-KNOWN
CREDENTIALS

Here are the Cisco IOS commands.

username &lt;myuser&gt;  privilege 15 secret 0 &lt;mypassword&gt;
no username cisco

Replace &lt;myuser&gt; and &lt;mypassword&gt; with the username and password you want
to use. 

IF YOU DO NOT CHANGE THE PUBLICLY-KNOWN CREDENTIALS, YOU WILL NOT BE ABLE
TO LOG INTO THE DEVICE AGAIN AFTER YOU HAVE LOGGED OFF.

For more information about Cisco CP please follow the instructions in the
QUICK START GUIDE for your router or go to http://www.cisco.com/go/ciscocp
-----------------------------------------------------------------------
^C
!
line con 0
 login local
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 privilege level 15
 login local
 transport input telnet ssh
line vty 5 15
 privilege level 15
 login local
 transport input telnet ssh
!
scheduler allocate 20000 1000
end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cocoanet.us/blog/2012/03/23/cisco-procurver-layer-3-switches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to determine zone type for Solaris 10 container</title>
		<link>http://www.cocoanet.us/blog/2012/01/09/how-to-determine-zone-type-for-solaris-10-container/</link>
		<comments>http://www.cocoanet.us/blog/2012/01/09/how-to-determine-zone-type-for-solaris-10-container/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 21:47:19 +0000</pubDate>
		<dc:creator>DantePasquale</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.cocoanet.us/blog/?p=674</guid>
		<description><![CDATA[Click on this link. It tells you how to use pkgcond: http://nilesh-joshi.blogspot.com/2009/08/how-to-tell-if-server-is-global-or-non.html Click This 2 That&#8217;s all!]]></description>
			<content:encoded><![CDATA[<p>Click on this link. It tells you how to use pkgcond:</p>
<p><a href="http://nilesh-joshi.blogspot.com/2009/08/how-to-tell-if-server-is-global-or-non.html" title="Click On This">http://nilesh-joshi.blogspot.com/2009/08/how-to-tell-if-server-is-global-or-non.html</a></p>
<p><a href="http://nilesh-joshi.blogspot.com/2009/08/how-to-tell-if-server-is-global-or-non.html" title="http://nilesh-joshi.blogspot.com/2009/08/how-to-tell-if-server-is-global-or-non.html">Click This 2</a></p>
<p>That&#8217;s all!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cocoanet.us/blog/2012/01/09/how-to-determine-zone-type-for-solaris-10-container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Routing</title>
		<link>http://www.cocoanet.us/blog/2011/10/06/linux-routing/</link>
		<comments>http://www.cocoanet.us/blog/2011/10/06/linux-routing/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 20:19:10 +0000</pubDate>
		<dc:creator>DantePasquale</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.cocoanet.us/blog/?p=662</guid>
		<description><![CDATA[Ubuntu 11.04 Network Manager with 2 Interfaces Lately I&#8217;ve been using my T-Mobile Jet Stick Broadband to connect to the Internet from my current customer. The reason for this is mainly that I&#8217;m not allowed to put my laptop on their network for security reason (and HIPPA, probably). This morning I setup the HP ILO2 [...]]]></description>
			<content:encoded><![CDATA[<h2>Ubuntu 11.04 Network Manager with 2 Interfaces</h2>
<p>Lately I&#8217;ve been using my T-Mobile Jet Stick Broadband to connect to the Internet from my current customer. The reason for this is mainly that I&#8217;m not allowed to put my laptop on their network for security reason (and HIPPA, probably).</p>
<p>This morning I setup the HP ILO2 service processor on a DL380 G5 that I&#8217;m rebuilding with Oracle Linux 5.2 and wanted to be able to connect to directly to the ILO2 via the physical Ethernet port in my laptop. Additionally, I needed to simultaneously connected to the Internet via the T-Mobile stick.</p>
<p>For some reason, no matter the order I put the interfaces in, Network-Manager would always set the preferred routing over the physical cable!. Since that is only connected to a single ILO2, without a switch or router in between, that&#8217;s pretty useless as it tries to route all IP traffic via the ILO2!</p>
<p>So, I decided to plug both things in, then manipulate the routing table. Hopefully, here are all the commands to share:<br />
<h3>Initial Routing Table</h3>
<p>Routing table with the T-Mobile plugged in and with the ethernet plugged in. You can see the entry for the T-Mobile has an Iface entry of ppp0 (point-to-point) and the HP ILO2 has the interface of eth0.</p>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
126.10.8.0      0.0.0.0         255.255.252.0   U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
0.0.0.0         126.10.8.33     0.0.0.0         UG        0 0          0 eth0
</pre>
<blockquote><p>The important thing to notice is the default gateway, Flags=UG, is 126.10.8.33, which is the IP address of the HP ILO2 device. Not what we need!</p></blockquote>
<h2>Step 1: Remove that weird 169.254.0.0 entry</h2>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
sudo route del -net 169.254.0.0/16
[sudo] password for dante:
dante@dexter:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
126.10.8.0      0.0.0.0         255.255.252.0   U     1      0        0 eth0
0.0.0.0         126.10.8.33     0.0.0.0         UG    0      0        0 eth0
</pre>
<h2>Step 2: Now remove the <b>UG</b> route</h2>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
sudo route del -net 0.0.0.0 netmask 0.0.0.0 gw  126.10.8.33 eth0
dante@dexter:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
126.10.8.0      0.0.0.0         255.255.252.0   U     1      0        0 eth0
</pre>
<h2>Step 3: Add 10.64.64.64 as the default gateway</h2>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
sudo route add -net 0.0.0.0 netmask 0.0.0.0 gw 10.64.64.64 ppp0
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
126.10.8.0      0.0.0.0         255.255.252.0   U     1      0        0 eth0
0.0.0.0         10.64.64.64     0.0.0.0         UG    0      0        0 ppp0
</pre>
<h2>Step 4: Check traceroute for internet and lan</h2>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
dante@dexter:!$traceroute -n 126.10.8.33
traceroute to 126.10.8.33 (126.10.8.33), 30 hops max, 60 byte packets

dante@dexter:~$ traceroute -n 74.1.46.163
traceroute to 74.1.46.163 (74.1.46.163), 30 hops max, 60 byte packets
 1  10.168.187.42  96.535 ms  96.455 ms  96.419 ms
 2  10.168.187.45  96.386 ms  96.354 ms  96.242 ms
 3  10.168.187.68  96.204 ms  106.176 ms  106.149 ms
 4  10.168.187.49  106.124 ms  106.099 ms  106.078 ms
 5  10.170.206.5  106.058 ms  89.680 ms  89.613 ms
 6  10.170.206.10  89.580 ms  89.517 ms  89.484 ms
 7  10.161.59.13  89.454 ms  89.424 ms  99.408 ms
 8  10.176.188.194  99.377 ms  99.288 ms  89.795 ms
 9  10.176.188.150  89.728 ms  89.697 ms  89.666 ms
10  4.53.73.145  99.592 ms  99.476 ms  89.621 ms
11  * * *
12  166.90.203.2  89.443 ms  89.290 ms  89.255 ms
13  192.168.7.14  89.590 ms  89.474 ms  89.441 ms
14  74.1.46.161  99.324 ms  109.329 ms  109.300 ms
15  74.1.46.163  119.147 ms  109.635 ms  109.556 ms
</pre>
<p><script type="text/javascript"><!--
google_ad_client = "pub-4698231710827019";
google_ad_slot = "6388332876";
google_ad_width = 336;
google_ad_height = 280;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cocoanet.us/blog/2011/10/06/linux-routing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some thoughts on Seth Godin&#8217;s Recession Piece</title>
		<link>http://www.cocoanet.us/blog/2011/09/29/some-thoughts-on-seth-godins-recession-piece/</link>
		<comments>http://www.cocoanet.us/blog/2011/09/29/some-thoughts-on-seth-godins-recession-piece/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 04:30:14 +0000</pubDate>
		<dc:creator>DantePasquale</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.cocoanet.us/blog/?p=653</guid>
		<description><![CDATA[I was just reading one of Seth&#8217;s blog entries, refered to my by Lighting Essentials via his facebook page. Seth&#8217;s blog post can be found at: The forever recession (and the coming revolution) Trackback at &#8220;http://www.typepad.com/services/trackback/6a00d83451b31569e2015391e6aa1b970b&#8221;. I basically agree with most of Seth&#8217;s points about the death of the Industrial Revolution and the decline of [...]]]></description>
			<content:encoded><![CDATA[<p>I was just reading one of Seth&#8217;s blog entries, refered to my by <a href="http://www.twitter.com/wizwow" title="Don Giannatti">Lighting Essentials</a> via his facebook page. Seth&#8217;s blog post can be found at: <a href="http://sethgodin.typepad.com/seths_blog/2011/09/the-forever-recession.html" title="The forever recession (and the coming revolution)">The forever recession (and the coming revolution)</a> Trackback at &#8220;http://www.typepad.com/services/trackback/6a00d83451b31569e2015391e6aa1b970b&#8221;.</p>
<p>I basically agree with most of Seth&#8217;s points about the <i>death</i> of the Industrial Revolution and the decline of the proximity workers who could demand higher wages. In fact, this is something near and dear to my heart and I really don&#8217;t understand why there are no governments in the world, AFAIK, that are actually dealing with this. </p>
<p>I went to a trade show with some brass at Ford Motor Company way back in 1993. This event was to show the brass the new and improved machinery to use in plants to make components of automobiles. The thing that struck me most was when a vendor told us:</p>
<blockquote><p>The beauty of these new products is that they only require a <em>basic</em> 8th grade education. By basic, I mean, the worst schools in the US, if a person gets through 8th grade he/she is fully capable of operating this machine at peak efficiency!</p></blockquote>
<p>The VP from Ford looked at me and said, </p>
<blockquote><p>That&#8217;s fine and dandy for the bottom line, but what the hell are we going to do with all the people we put out of work&#8230;no one has a plan for that eventuality!</p></blockquote>
<p><b>Wow!</b>This was <strong>1993</strong>, and you know what, we still don&#8217;t have a plan!</p>
<p>It&#8217;s fine and dandy for Seth to say that if you have a connection, you have a factory. But that works for maybe 10% of the world&#8217;s population. You figure another 10% is basically agrarian, so what the hell do we, the remaining 80%, do for a living? How do we earn money so we can spend it on the 10% factory owners with their single laptop and the 10% of the folks that want to feed us????</p>
<p>It&#8217;s painfully obvious to me that the whole &#8216;Higher Education&#8217; will save us, is a crock. Mind you, I&#8217;m a strong believer in education as long as it&#8217;s education that teaches you how to think, how to solve problems, how to better communicate, how to have empathy and spirituality, but that ain&#8217;t what we got anymore. Higher education became an industry.</p>
<p>I communicate daily with college grads with some real world experience (>5 years) world-wide on almost a daily basis, and they haven&#8217;t learned the basics of how to learn! Great, as long as someone produces a manual, but who are we going to get to produce that manual? Some <em>factory on a laptop</em> operated by some unknown person with no references or credibility??? And who&#8217;s going to have a job to pay for this manual, so that the <em>factory owner</em> can afford their laptop and government subsidized Internet and electricity and health benefits????</p>
<p>Why is it only a handful of people world-wide are even asking this question??? </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cocoanet.us/blog/2011/09/29/some-thoughts-on-seth-godins-recession-piece/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat Thread Starvation Issue</title>
		<link>http://www.cocoanet.us/blog/2011/08/03/tomcat-thread-starvation-issue/</link>
		<comments>http://www.cocoanet.us/blog/2011/08/03/tomcat-thread-starvation-issue/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 01:07:45 +0000</pubDate>
		<dc:creator>DantePasquale</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.cocoanet.us/dantepasquale/blog/?p=638</guid>
		<description><![CDATA[Here are the issues we are having: Tomcat stress tests show that Tomcat reaches max_threads, then hangs, no more connections are made. System must be restarted to allow further processing. Package Versions: Apache: Apache HTTP Server Version 2.2 &#8211; prefork with mpm Tomcat: 6.0.20 JK Connector: Same as whatever is bundled in with Apache 2.2 [...]]]></description>
			<content:encoded><![CDATA[<h2>Here are the issues we are having:</h2>
<p>Tomcat stress tests show that Tomcat reaches max_threads, then hangs, no more connections are made. System must be restarted to allow further processing.</p>
<h3>Package Versions:</h3>
<p><b>Apache:</b>    Apache HTTP Server Version 2.2 &#8211; prefork with mpm<br />
<b>Tomcat:</b>     6.0.20<br />
<b>JK Connector:</b> Same as whatever is bundled in with Apache 2.2 (from customer)<br />
<b>Solaris</b>       Solaris 10 10/09 s10s_u8wos_08a SPARC</p>
<h3>Current? Startup CommandLine</h3>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
JAVA_OPTS=&quot;-Xss128k -Xms1024m -Xmx2564m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -verbose:gc -XX:+PrintGCDetails -XX:SurvivorRatio=6 -XX:NewSize=512M -XX:MaxNewSize=512M -XX:+DisableExplicitGC -Xloggc:gclog_tomcat.txt -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled&quot;
</pre>
<h3>Apache Version Info</h3>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
sh-3.00# ./httpd -V
Server version: Apache/2.2.17 (Unix)
Server built:   Nov  4 2010 07:26:31
Server's Module Magic Number: 20051115:25
Server loaded:  APR 1.4.2, APR-Util 1.3.10
Compiled using: APR 1.4.2, APR-Util 1.3.10
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR=&quot;server/mpm/prefork&quot;
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT=&quot;/usr/apache2_cgems&quot;
 -D SUEXEC_BIN=&quot;/usr/apache2_cgems/bin/suexec&quot;
 -D DEFAULT_PIDLOG=&quot;logs/httpd.pid&quot;
 -D DEFAULT_SCOREBOARD=&quot;logs/apache_runtime_status&quot;
 -D DEFAULT_LOCKFILE=&quot;logs/accept.lock&quot;
 -D DEFAULT_ERRORLOG=&quot;logs/error_log&quot;
 -D AP_TYPES_CONFIG_FILE=&quot;conf/mime.types&quot;
 -D SERVER_CONFIG_FILE=&quot;conf/httpd.conf&quot;
</pre>
<h3>prstat output when hung</h3>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
   PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID

 13030 ems       43  20 0.2 0.0 0.1 6.8  29 0.0  15   6  1K   0 java/349
 13030 ems      3.3 0.5 0.1 0.0 0.1 0.5  95 0.0   4   0 328   0 java/364
 13030 ems      2.9 0.5 0.0 0.0 0.0  62  34 0.0  10   0 353   0 java/344
 13030 ems      2.8 0.5 0.0 0.0 0.0 0.3  96 0.0   4   0 316   0 java/377
 13030 ems      2.2 0.1 0.0 0.0 0.0  28  70 0.0   4   0  19   0 java/10194
 13030 ems      2.0 0.1 0.0 0.0 0.0  34  64 0.0   4   0  20   0 java/10132
 13030 ems      2.0 0.1 0.0 0.0 0.0  49  49 0.0   3   0  16   0 java/10166
 13030 ems      2.0 0.1 0.0 0.0 0.0  38  60 0.0   3   0  16   0 java/10123
 13030 ems      1.9 0.1 0.0 0.0 0.0  36  62 0.0   3   0  18   0 java/10157
 13030 ems      1.9 0.1 0.0 0.0 0.0  38  60 0.0   3   0  17   0 java/10143
 13030 ems      1.8 0.1 0.0 0.0 0.0  39  59 0.0   3   0  17   0 java/10126
 13030 ems      1.8 0.1 0.0 0.0 0.0  35  63 0.0   3   0  18   0 java/10174
 13030 ems      1.8 0.1 0.0 0.0 0.0  33  65 0.0   3   0  17   0 java/10133
 13030 ems      1.8 0.1 0.0 0.0 0.0  36  62 0.0   3   0  17   0 java/10145
 13030 ems      1.8 0.1 0.0 0.0 0.0  39  59 0.0   3   0  17   0 java/10162
 13030 ems      1.7 0.1 0.0 0.0 0.0  50  48 0.0   3   0  16   0 java/10208
 13030 ems      1.7 0.1 0.0 0.0 0.0  43  55 0.0   3   0  16   0 java/10211
 13030 ems      1.7 0.1 0.0 0.0 0.0  47  51 0.0   3   0  15   0 java/10137
 13030 ems      1.6 0.1 0.0 0.0 0.0  35  63 0.0   3   0  16   0 java/10152
 13030 ems      1.6 0.1 0.0 0.0 0.0  34  65 0.0   3   0  16   0 java/10067
 13030 ems      1.6 0.1 0.0 0.0 0.0  48  50 0.0   3   0  15   0 java/10191
 13030 ems      1.6 0.1 0.0 0.0 0.0  40  59 0.0   3   0  15   0 java/10148
 13030 ems      1.5 0.0 0.0 0.0 0.0  37  62 0.0   3   0  15   0 java/10173
 13030 ems      1.5 0.1 0.0 0.0 0.0  33  66 0.0   3   0  15   0 java/9973
 13030 ems      1.5 0.0 0.0 0.0 0.0  44  54 0.0   3   0  14   0 java/10165
 13030 ems      1.5 0.0 0.0 0.0 0.0  53  45 0.0   2   0  13   0 java/10150
 13030 ems      1.4 0.0 0.0 0.0 0.0  40  58 0.0   3   0  14   0 java/10076
 13030 ems      1.4 0.1 0.0 0.0 0.0  41  58 0.0   3   0  14   0 java/10006
 13030 ems      1.3 0.0 0.0 0.0 0.0  67  31 0.0   2   0  12   0 java/10207
 13030 ems      1.3 0.0 0.0 0.0 0.0  38  60 0.0   3   0  14   0 java/9924
 13030 ems      1.3 0.0 0.0 0.0 0.0  41  58 0.0   2   0  13   0 java/10080
 13030 ems      1.3 0.0 0.0 0.0 0.0  45  54 0.0   3   0  13   0 java/9991
 13030 ems      1.2 0.1 0.0 0.0 0.0  40  59 0.0   3   0  13   0 java/9869
 13030 ems      1.2 0.0 0.0 0.0 0.0  42  56 0.0   2   0  13   0 java/10037
 13030 ems      1.2 0.0 0.0 0.0 0.0  60  39 0.0   2   0  11   0 java/10210
 13030 ems      1.2 0.0 0.0 0.0 0.0  50  48 0.0   2   0  12   0 java/10113
 13030 ems      1.2 0.1 0.0 0.0 0.0  45  54 0.0   3   0  12   0 java/9964
 13030 ems      1.2 0.0 0.0 0.0 0.0  57  42 0.0   2   0  10   0 java/10206
 13030 ems      0.8 0.4 0.1 0.0 0.0  98 0.1 0.0  27   0  29   0 java/108
Total: 1 processes, 828 lwps, load averages: 17.17, 22.55, 22.69
</pre>
<h3>workers.properties</h3>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
# Define 1 real worker using ajp13
worker.list=worker1,worker2,worker3,worker4
worker.maintain=10

# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8019
worker.worker1.lbfactor=1
worker.worker1.connection_pool_size=1
worker.worker1.connection_pool_timeout=10
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
worker.worker1.cache_timeout=10

# Set properties for worker2 (ajp13)
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8019
worker.worker2.lbfactor=1
worker.worker2.connection_pool_size=1
worker.worker2.connection_pool_timeout=10
worker.worker2.socket_keepalive=1
worker.worker2.socket_timeout=300
worker.worker2.cache_timeout=10

# Set properties for worker3 (ajp13)
worker.worker3.type=ajp13
worker.worker3.host=localhost
worker.worker3.port=8019
worker.worker3.lbfactor=1
worker.worker3.connection_pool_size=1
worker.worker3.connection_pool_timeout=10
worker.worker3.socket_keepalive=1
worker.worker3.socket_timeout=300
worker.worker3.cache_timeout=10

# Set properties for worker4 (ajp13)
worker.worker4.type=ajp13
worker.worker4.host=localhost
worker.worker4.port=8019
worker.worker4.lbfactor=1
worker.worker4.connection_pool_size=1
worker.worker4.connection_pool_timeout=10
worker.worker4.socket_keepalive=1
worker.worker4.socket_timeout=300
worker.worker4.cache_timeout=10
</pre>
<h3>httpd.conf</h3>
<p><span id="more-638"></span></p>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See &lt;URL:http://httpd.apache.org/docs/2.2&gt; for detailed information.
# In particular, see
# &lt;URL:http://httpd.apache.org/docs/2.2/mod/directives.html&gt;
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with &quot;/&quot; (or &quot;drive:/&quot; for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with &quot;/&quot;, the value of ServerRoot is prepended -- so &quot;logs/foo_log&quot;
# with ServerRoot set to &quot;/usr/apache2_cgems&quot; will be interpreted by the
# server as &quot;/usr/apache2_cgems/logs/foo_log&quot;.

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk.  If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot &quot;/usr/apache2_cgems&quot;

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the &lt;VirtualHost&gt;
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule authn_file_module libexec/mod_authn_file.so
LoadModule authn_dbm_module libexec/mod_authn_dbm.so
LoadModule authn_anon_module libexec/mod_authn_anon.so
LoadModule authn_dbd_module libexec/mod_authn_dbd.so
LoadModule authn_default_module libexec/mod_authn_default.so
LoadModule authz_host_module libexec/mod_authz_host.so
LoadModule authz_groupfile_module libexec/mod_authz_groupfile.so
LoadModule authz_user_module libexec/mod_authz_user.so
LoadModule authz_dbm_module libexec/mod_authz_dbm.so
LoadModule authz_owner_module libexec/mod_authz_owner.so
LoadModule authz_default_module libexec/mod_authz_default.so
LoadModule auth_basic_module libexec/mod_auth_basic.so
LoadModule auth_digest_module libexec/mod_auth_digest.so
LoadModule dbd_module libexec/mod_dbd.so
LoadModule dumpio_module libexec/mod_dumpio.so
LoadModule reqtimeout_module libexec/mod_reqtimeout.so
LoadModule ext_filter_module libexec/mod_ext_filter.so
LoadModule include_module libexec/mod_include.so
LoadModule filter_module libexec/mod_filter.so
LoadModule substitute_module libexec/mod_substitute.so
LoadModule deflate_module libexec/mod_deflate.so
LoadModule log_config_module libexec/mod_log_config.so
LoadModule log_forensic_module libexec/mod_log_forensic.so
LoadModule logio_module libexec/mod_logio.so
LoadModule env_module libexec/mod_env.so
LoadModule mime_magic_module libexec/mod_mime_magic.so
LoadModule cern_meta_module libexec/mod_cern_meta.so
LoadModule expires_module libexec/mod_expires.so
LoadModule headers_module libexec/mod_headers.so
LoadModule ident_module libexec/mod_ident.so
LoadModule usertrack_module libexec/mod_usertrack.so
LoadModule unique_id_module libexec/mod_unique_id.so
LoadModule setenvif_module libexec/mod_setenvif.so
LoadModule version_module libexec/mod_version.so
LoadModule proxy_module libexec/mod_proxy.so
LoadModule proxy_connect_module libexec/mod_proxy_connect.so
LoadModule proxy_ftp_module libexec/mod_proxy_ftp.so
LoadModule proxy_http_module libexec/mod_proxy_http.so
LoadModule proxy_scgi_module libexec/mod_proxy_scgi.so
LoadModule proxy_ajp_module libexec/mod_proxy_ajp.so
LoadModule proxy_balancer_module libexec/mod_proxy_balancer.so
#LoadModule ssl_module libexec/mod_ssl.so
LoadModule mime_module libexec/mod_mime.so
LoadModule dav_module libexec/mod_dav.so
LoadModule status_module libexec/mod_status.so
LoadModule autoindex_module libexec/mod_autoindex.so
LoadModule asis_module libexec/mod_asis.so
LoadModule info_module libexec/mod_info.so
LoadModule suexec_module libexec/mod_suexec.so
LoadModule cgi_module libexec/mod_cgi.so
LoadModule dav_fs_module libexec/mod_dav_fs.so
LoadModule vhost_alias_module libexec/mod_vhost_alias.so
LoadModule negotiation_module libexec/mod_negotiation.so
LoadModule dir_module libexec/mod_dir.so
LoadModule imagemap_module libexec/mod_imagemap.so
LoadModule actions_module libexec/mod_actions.so
LoadModule speling_module libexec/mod_speling.so
LoadModule userdir_module libexec/mod_userdir.so
LoadModule alias_module libexec/mod_alias.so
LoadModule rewrite_module libexec/mod_rewrite.so

&lt;IfModule !mpm_netware_module&gt;
&lt;IfModule !mpm_winnt_module&gt;
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User ems
Group ems
&lt;/IfModule&gt;
&lt;/IfModule&gt;

# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# &lt;VirtualHost&gt; definition.  These values also provide defaults for
# any &lt;VirtualHost&gt; containers you may define later in the file.
#
# All of these directives may appear inside &lt;VirtualHost&gt; containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g. admin@your-domain.com
#
ServerAdmin you@example.com

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80
#
ServerName mycompany.com:80

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot &quot;/usr/apache2_cgems/htdocs&quot;

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the &quot;default&quot; to be a very restrictive set of
# features.
#
&lt;Directory /&gt;
    Options FollowSymLinks
    AllowOverride None
&lt;/Directory&gt;

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
&lt;Directory &quot;/usr/apache2_cgems/htdocs&quot;&gt;
#
# Possible values for the Options directive are &quot;None&quot;, &quot;All&quot;,
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that &quot;MultiViews&quot; must be named *explicitly* --- &quot;Options All&quot;
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
    Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be &quot;All&quot;, &quot;None&quot;, or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
#
    AllowOverride None

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all

&lt;/Directory&gt;

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
&lt;IfModule dir_module&gt;
    DirectoryIndex index.html
&lt;/IfModule&gt;

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
&lt;FilesMatch &quot;^\.ht&quot;&gt;
    Order allow,deny
    Deny from all
&lt;/FilesMatch&gt;

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a &lt;VirtualHost&gt;
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a &lt;VirtualHost&gt;
# container, that host's errors will be logged there and not here.
#
ErrorLog &quot;logs/error_log&quot;

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

&lt;IfModule log_config_module&gt;
    #
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    #
    LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined
    LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b&quot; common
    LogFormat &quot;%{Referer}i -&gt; %U&quot; referer
	LogFormat &quot;%{User-agent}i&quot; agent

    &lt;IfModule logio_module&gt;
      # You need to enable mod_logio.c to use %I and %O
      #LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot; %I %O&quot; combinedio
    &lt;/IfModule&gt;

    #
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a &lt;VirtualHost&gt;
    # container, they will be logged here.  Contrariwise, if you *do*
    # define per-&lt;VirtualHost&gt; access logfiles, transactions will be
    # logged therein and *not* in this file.
    #
    CustomLog &quot;logs/access_log&quot; common

    #
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #
    #CustomLog &quot;logs/access_log&quot; combined
&lt;/IfModule&gt;

&lt;IfModule alias_module&gt;
    #
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar

    #
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    #
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  You will also likely
    # need to provide a &lt;Directory&gt; section to allow access to
    # the filesystem path.

    #
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client.  The same rules about trailing &quot;/&quot; apply to ScriptAlias
    # directives as to Alias.
    #
    ScriptAlias /cgi-bin/ &quot;/usr/apache2_cgems/cgi-bin/&quot;

&lt;/IfModule&gt;

&lt;IfModule cgid_module&gt;
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock logs/cgisock
&lt;/IfModule&gt;

#
# &quot;/usr/apache2_cgems/cgi-bin&quot; should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
&lt;Directory &quot;/usr/apache2_cgems/cgi-bin&quot;&gt;
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
&lt;/Directory&gt;

#
# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, &quot;text/plain&quot; is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use &quot;application/octet-stream&quot; instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain

&lt;IfModule mime_module&gt;
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig conf/mime.types

    #
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
#
    #AddType application/x-gzip .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

#
# AddHandler allows you to map certain file extensions to &quot;handlers&quot;:
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add &quot;ExecCGI&quot; to the &quot;Options&quot; directive.)
#
#AddHandler cgi-script .cgi

# For type maps (negotiated resources):
AddHandler type-map var

#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add &quot;Includes&quot; to the &quot;Options&quot; directive.)
#
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
&lt;/IfModule&gt;

#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type.  The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
MIMEMagicFile conf/magic

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 &quot;The server made a boo boo.&quot;
#ErrorDocument 404 /missing.html
#ErrorDocument 404 &quot;/cgi-bin/missing_handler.pl&quot;
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
#
#EnableMMAP off
#EnableSendfile off

# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.

# Server-pool management (MPM specific)
Include conf/extra/httpd-mpm.conf

# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
Include conf/extra/httpd-autoindex.conf

# Language settings
Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf

# Various default settings
Include conf/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
&lt;IfModule ssl_module&gt;
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
&lt;/IfModule&gt;
### BEGIN SCCAN_NMS_CONFIG mycompany SCCaN NMS Configuration
###
### AUTOMATICALLY GENERATED CONFIGURATION, DO NOT MODIFY THIS SECTION.
#Alias /OvDocs/ &quot;C:/Program Files/HP OpenView/www/htdocs/&quot;
#Alias /OvBackgrounds/ &quot;C:/Program Files/HP OpenView/backgrounds/&quot;
#ScriptAlias  /OpenView    &quot;C:/Program Files/HP OpenView/www/cgi-bin/OpenView&quot;
#ScriptAlias /OvCgi/ &quot;C:/Program Files/HP OpenView/www/cgi-bin/&quot;
#ScriptAlias  /ovcgi    &quot;C:/Program Files/HP OpenView/www/cgi-bin&quot;

#Added for HTTPS upload support
ScriptAlias /cgi-bin-putusers &quot;/usr/apache2_cgems/cgi-bin-putusers&quot;

&lt;Directory &quot;/mycompany/apps/myfm/fmserver/webapps&quot; &gt;
        Script PUT /cgi-bin-putusers/put.cgi
&lt;/Directory&gt;

&lt;Directory &quot;/usr/apache2_cgems/cgi-bin-putusers&quot;&gt;
    AllowOverride None
    &lt;Limit GET POST PUT&gt;
      Allow from all
    &lt;/Limit&gt;
    &lt;LimitExcept GET POST PUT&gt;
      Deny from all
    &lt;/LimitExcept&gt;
&lt;/Directory&gt;

#LoadModule auth_digest_module libexec/mod_auth_digest.so
#LoadModule proxy_module libexec/mod_proxy.so
#LoadModule proxy_http_module libexec/mod_proxy_http.so
#LoadModule rewrite_module libexec/mod_rewrite.so

#Added for remote server execution.
#wsm_hostname should be changed to the hostname of the WSM.
#&lt;IfModule mod_proxy.c&gt;
#    ProxyPass /prov/online http://[WSM_FQDN]:4083/prov/online
#    ProxyPass /prov http://[WSM_FQDN]:4082/prov
#&lt;/IfModule&gt;

#Added for virtual hosts
include /usr/apache2_cgems/conf/vhost.conf

# Load auth_external_module module
#LoadModule auth_external_module libexec/mod_auth_external.so
LoadModule authnz_external_module libexec/mod_authnz_external.so

# Load mod_jk module
# mod_jk is in the modules directory
LoadModule jk_module libexec/mod_jk.so 

# Declare the module for &lt;IfModule directive&gt;
&lt;IfModule mod_jk.c&gt;

# Where to find workers.properties
# Put workers.properties in the Tomcat directory
JkWorkersFile &quot;/mycompany/apps/myfm/fmserver/Tomcat/conf/workers.properties&quot;

# Where to put jk logs
# Apache logs (put mod_jk.log next to access_log)
#JkLogFile /usr/apache2_cgems/logs/mod_jk.log
#Adding code for piping mod_jk log is piped
#once in a month i.e every 30 days. The following is the syntax used
#for piping the logs. If instead of the time if size needs to be used then
#replace the time with the size in MB
JkLogFile /usr/apache2_cgems/logs/mod_jk.log 

# Set the jk log level [debug/error/info]
JkLogLevel error 

# Select the log format
JkLogStampFormat &quot;[%a %b %d %H:%M:%S %Y] &quot; 

# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories 

# JkRequestLogFormat set the request format
JkRequestLogFormat &quot;%w %V %T&quot; 

# Send everything for context /MyCfg/servlet/ to worker named worker1 (ajp13)
#JkMount /MyCfg/servlet/* worker1
#JkMount /MyCfg/* worker1

#JkMount /MyCfg/servlet/Login worker1
#JkMount /MyCfg/servlet/mycompanyWiMax worker1
#JkMount /MyCfg/servlet/*.jnlp worker1

#JkMount /MyCfg/*.jnlp worker1
#JkMount /MyCfg/servlet/*AsyncMsgPollServlet worker4
JkMount  /ACT worker2
JkMount  /ACT/* worker2

# Send the Online Help requests to worker3
#JkMount /MyoEMHelp/* worker3

# Send Prov Client requests to worker named worker2 (ajp13)
#JKMount /provClient worker2
#JKMount /provClient/* worker2
#JKMount /wonClient worker2
#JKMount /wonClient/* worker2

#Authenticate NE Users
&lt;Location /MyCfg/servlet/NeConfig.jnlp&gt;
#AuthType Digest
AuthName &quot;mycompany EMS&quot;
#AuthDigestFile &quot;/usr/apache2_cgems/passwd/digest&quot;
AuthType Basic
AuthExternal pwauth
AuthBasicProvider external
AuthBasicAuthoritative off
Require valid-user
&lt;/Location&gt;

#Authenticate EM Users
&lt;Location /MyCfg/servlet/EmConfig.jnlp&gt;
#AuthType Digest
AuthName &quot;mycompany EMS&quot;
#AuthDigestFile &quot;/usr/apache2_cgems/passwd/digest&quot;
AuthType Basic
AuthExternal pwauth
AuthBasicProvider external
AuthBasicAuthoritative off
Require valid-user
&lt;/Location&gt;

#Authenticate Account Manager Users
&lt;Location /mycompany/AccountManager.htm&gt;
#AuthType Digest
AuthName &quot;mycompany EMS&quot;
#AuthDigestFile &quot;/usr/apache2_cgems/passwd/digest&quot;
AuthType Basic
AuthExternal pwauth
AuthBasicProvider external
AuthBasicAuthoritative off
Require valid-user
&lt;/Location&gt;

#Authenticate NBI Users
&lt;Location /MyCfg/services/*&gt;
#AuthType Digest
AuthName &quot;mycompany NBI&quot;
#AuthDigestFile &quot;/usr/apache2_cgems/passwd/digest&quot;
AuthType Basic
AuthExternal pwauth
AuthBasicProvider external
AuthBasicAuthoritative off
Require valid-user
&lt;/Location&gt;

#Authenticate NBI Users for fileupload
&lt;Location /MyCfg/filetransfer/fileupload/*&gt;
#AuthType Digest
AuthName &quot;mycompany NBI&quot;
#AuthDigestFile &quot;/usr/apache2_cgems/passwd/digest&quot;
AuthType Basic
AuthExternal pwauth
AuthBasicProvider external
AuthBasicAuthoritative off
Require valid-user
&lt;/Location&gt;

#Authenticate NBI Users for filedownload
&lt;Location /MyCfg/filetransfer/filedownload/*&gt;
#AuthType Digest
AuthName &quot;mycompany NBI&quot;
#AuthDigestFile &quot;/usr/apache2_cgems/passwd/digest&quot;
AuthType Basic
AuthExternal pwauth
AuthBasicProvider external
AuthBasicAuthoritative off
Require valid-user
&lt;/Location&gt;

&lt;Location /MyCfg/services2/*&gt;
#AuthType Digest
AuthName &quot;mycompany NBI&quot;
#AuthDigestFile &quot;/usr/apache2_cgems/passwd/digest&quot;
AuthType Basic
AuthExternal pwauth
AuthBasicProvider external
AuthBasicAuthoritative off
Require valid-user
&lt;/Location&gt;

#Authenticate NMS Viewer
&lt;Location /MyCfg/servlet/Login&gt;
Allow from all
#AuthType Digest
#AuthName &quot;mycompany EMS&quot;
#AuthDigestFile &quot;/usr/apache2_cgems/passwd/digest&quot;
#AuthType Basic
#AuthExternal pwauth
#Require valid-user
AuthBasicProvider external
AuthBasicAuthoritative off
&lt;/Location&gt;

&lt;/IfModule&gt;

# For STIG
# enble SSLv3 and TLSv1, but not SSLv2
&lt;IfModule mod_ssl.c&gt;
SSLProtocol all -SSLv2
SSLCipherSuite HIGH:MEDIUM:+EXP:+eNULL
&lt;/IfModule&gt;

# Disable Trace and Track DEBUG functions in apache
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
#RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|HEAD)
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
&lt;/IfModule&gt;
TraceEnable off
### END SCCAN_NMS_CONFIG mycompany SCCaN NMS Configuration

# For STIG
# enble SSLv3 and TLSv1, but not SSLv2
&lt;IfModule mod_ssl.c&gt;
SSLProtocol all -SSLv2
SSLCipherSuite HIGH:MEDIUM:+EXP:+eNULL
&lt;/IfModule&gt;

TraceEnable off
</pre>
<p><!--more--></p>
<h3>server.xml</h3>
<pre class="brush: bash; light: false; title: Click this to expand this code block!; toolbar: true; notranslate">
&lt;?xml version='1.0' encoding='utf-8'?&gt;
&lt;!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the &quot;License&quot;); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
--&gt;
&lt;!-- Note:  A &quot;Server&quot; is not itself a &quot;Container&quot;, so you may not
     define subcomponents such as &quot;Valves&quot; at this level.
     Documentation at /docs/config/server.html
 --&gt;
&lt;Server port=&quot;8005&quot; shutdown=&quot;SHUTDOWN&quot;&gt;

  &lt;!--APR library loader. Documentation at /docs/apr.html --&gt;
  &lt;Listener className=&quot;org.apache.catalina.core.AprLifecycleListener&quot; SSLEngine=&quot;on&quot; /&gt;
  &lt;!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --&gt;
  &lt;Listener className=&quot;org.apache.catalina.core.JasperListener&quot; /&gt;
  &lt;!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html --&gt;
  &lt;Listener className=&quot;org.apache.catalina.mbeans.ServerLifecycleListener&quot; /&gt;
  &lt;Listener className=&quot;org.apache.catalina.mbeans.GlobalResourcesLifecycleListener&quot; /&gt;

  &lt;!-- Global JNDI resources
       Documentation at /docs/jndi-resources-howto.html
  --&gt;
  &lt;GlobalNamingResources&gt;
    &lt;!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate users
    --&gt;
    &lt;Resource name=&quot;UserDatabase&quot; auth=&quot;Container&quot;
              type=&quot;org.apache.catalina.UserDatabase&quot;
              description=&quot;User database that can be updated and saved&quot;
              factory=&quot;org.apache.catalina.users.MemoryUserDatabaseFactory&quot;
              pathname=&quot;conf/tomcat-users.xml&quot; /&gt;
  &lt;/GlobalNamingResources&gt;

  &lt;!-- A &quot;Service&quot; is a collection of one or more &quot;Connectors&quot; that share
       a single &quot;Container&quot; Note:  A &quot;Service&quot; is not itself a &quot;Container&quot;,
       so you may not define subcomponents such as &quot;Valves&quot; at this level.
       Documentation at /docs/config/service.html
   --&gt;
  &lt;Service name=&quot;Catalina&quot;&gt;

    &lt;!--The connectors can use a shared executor, you can define one or more named thread pools--&gt;
    &lt;!--
    &lt;Executor name=&quot;tomcatThreadPool&quot; namePrefix=&quot;catalina-exec-&quot;
        maxThreads=&quot;150&quot; minSpareThreads=&quot;4&quot;/&gt;
    --&gt;

    &lt;!-- A &quot;Connector&quot; represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking &amp; non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL HTTP/1.1 Connector on port 8080
    --&gt;
    &lt;Connector port=&quot;8110&quot; protocol=&quot;HTTP/1.1&quot;
               connectionTimeout=&quot;10000&quot;
               redirectPort=&quot;8445&quot; /&gt;
    &lt;!-- A &quot;Connector&quot; using the shared thread pool--&gt;
    &lt;!--
    &lt;Connector executor=&quot;tomcatThreadPool&quot;
               port=&quot;8080&quot; protocol=&quot;HTTP/1.1&quot;
               connectionTimeout=&quot;20000&quot;
               redirectPort=&quot;8445&quot; /&gt;
    --&gt;
    &lt;!-- Define a SSL HTTP/1.1 Connector on port 8445
         This connector uses the JSSE configuration, when using APR, the
         connector should be using the OpenSSL style configuration
         described in the APR documentation --&gt;
    &lt;Connector port=&quot;8445&quot; protocol=&quot;HTTP/1.1&quot; SSLEnabled=&quot;true&quot;
               maxThreads=&quot;150&quot; scheme=&quot;https&quot; secure=&quot;true&quot;
               clientAuth=&quot;false&quot; sslProtocol=&quot;TLS&quot; keystoreFile=&quot;/motorola/apps/mofm/saml/SAML/conf/keystore.jks&quot; keystorePass=&quot;changeit&quot; /&gt;

    &lt;!-- Define an AJP 1.3 Connector on port 8009 --&gt;
    &lt;Connector port=&quot;8019&quot; connectionTimeout=&quot;10000&quot; maxThreads=&quot;750&quot; minSpareThreads=&quot;20&quot; maxSpareThreads=&quot;50&quot; request.TomcatAuthentication=&quot;false&quot; protocol=&quot;AJP/1.3&quot; redirectPort=&quot;8445&quot; /&gt;

    &lt;!-- An Engine represents the entry point (within Catalina) that processes
         every request.  The Engine implementation for Tomcat stand alone
         analyzes the HTTP headers included with the request, and passes them
         on to the appropriate Host (virtual host).
         Documentation at /docs/config/engine.html --&gt;

    &lt;!-- You should set jvmRoute to support load-balancing via AJP ie :
    &lt;Engine name=&quot;Catalina&quot; defaultHost=&quot;localhost&quot; jvmRoute=&quot;jvm1&quot;&gt;
    --&gt;
    &lt;Engine name=&quot;Catalina&quot; defaultHost=&quot;localhost&quot;&gt;

      &lt;!--For clustering, please take a look at documentation at:
          /docs/cluster-howto.html  (simple how to)
          /docs/config/cluster.html (reference documentation) --&gt;
      &lt;!--
      &lt;Cluster className=&quot;org.apache.catalina.ha.tcp.SimpleTcpCluster&quot;/&gt;
      --&gt;        

      &lt;!-- The request dumper valve dumps useful debugging information about
           the request and response data received and sent by Tomcat.
           Documentation at: /docs/config/valve.html --&gt;
      &lt;!--
      &lt;Valve className=&quot;org.apache.catalina.valves.RequestDumperValve&quot;/&gt;
      --&gt;

      &lt;!-- This Realm uses the UserDatabase configured in the global JNDI
           resources under the key &quot;UserDatabase&quot;.  Any edits
           that are performed against this UserDatabase are immediately
           available for use by the Realm.  --&gt;
      &lt;Realm className=&quot;org.apache.catalina.realm.UserDatabaseRealm&quot;
             resourceName=&quot;UserDatabase&quot;/&gt;

      &lt;!-- Define the default virtual host
           Note: XML Schema validation will not work with Xerces 2.2.
       --&gt;
&lt;Host name=&quot;localhost&quot;  appBase=&quot;/motorola/apps/mofm/fmserver/webapps&quot;
            unpackWARs=&quot;true&quot; autoDeploy=&quot;true&quot;
            xmlValidation=&quot;false&quot; xmlNamespaceAware=&quot;false&quot;&gt;

        &lt;!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html --&gt;
        &lt;!--
        &lt;Valve className=&quot;org.apache.catalina.authenticator.SingleSignOn&quot; /&gt;
        --&gt;

        &lt;!-- Access log processes all example.
             Documentation at: /docs/config/valve.html --&gt;
        &lt;!--
        &lt;Valve className=&quot;org.apache.catalina.valves.AccessLogValve&quot; directory=&quot;logs&quot;
               prefix=&quot;localhost_access_log.&quot; suffix=&quot;.txt&quot; pattern=&quot;common&quot; resolveHosts=&quot;false&quot;/&gt;
        --&gt;

      &lt;/Host&gt;
    &lt;/Engine&gt;
  &lt;/Service&gt;
&lt;/Server&gt;
</pre>
<h3>Log File</h3>
<p><a href='http://www.cocoanet.us/dantepasquale/blog/wp-content/uploads/2011/08/tomcat_stack_dump.tar.gz'>tomcat_stack_dump.tar.gz</a></p>
<p><i>Please leave comments or e-mails if you have any ideas.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cocoanet.us/blog/2011/08/03/tomcat-thread-starvation-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

