<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Unruly Rambling - jboss tag</title>
  <link>http://www.shoesobjects.com/blog/tags/jboss/</link>
  <description>My thoughts on software, technology, and life in general</description>
  <language>en</language>
  <copyright>Mike Shoemaker</copyright>
  <lastBuildDate>Sun, 31 Jan 2010 17:47:37 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Shotty uptime for the past week</title>
    <link>http://www.shoesobjects.com/blog/2005/06/30/shotty_uptime_for_the_past_week.html</link>
    
      
        <description>
          &lt;p&gt; For the past week, I&#039;ve noticed that my site was going down every couple hours and I&#039;d have to restart &lt;a href=&#034;http://www.jboss.com&#034;&gt;JBoss&lt;/a&gt; in order to get it to come back.  Being in busy mode all week, I didn&#039;t have time to figure out why.  Yesterday, I spent 10 minutes digging around in my logs to find out that some asshat(borrowed from &lt;a href=&#034;http://www.jroller.com/page/fate&#034;&gt;Hani&lt;/a&gt;) was hitting my server every couple milliseconds requesting my blog as an attempt to infect me with tons of referral spam.  My poor server was crashing with out of memory errors at a record pace and it was getting worse and worse by the minute.  His calls were coming in from 2 distinct IP Addresses (217.23.176.2 , 217.23.177.249), both of which originate in Russia.  To get around this, I configured &lt;a href=&#034;http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/ref-guide/ch-iptables.html&#034;&gt;iptables&lt;/a&gt; to DROP packets from these addresses.  All is fine since.  The thing that concerns me is that this is quite the reactive approach and could start again at any moment.  Thanks to the free service provided by &lt;a href=&#034;http://siteuptime.com/&#034;&gt;SiteUptime&lt;/a&gt;,  I get a text message sent to my cell phone when my site goes down.  This will help a bit.  What I&#039;d like to do is write some sort of script to learn what ip addresses might be doing this, add their ip on the fly and restart iptables.  If this becomes a problem, I&#039;ll look into this more.    &lt;/p&gt;
&lt;p&gt; So the moral of the story is that if you are pathetic enough to inject referral spam, I hope you die a long painful death in the dungeons of hell. In the meantime, I will ignore you with the help of iptables.    &lt;/p&gt;
        </description>
      
      
    
    
    
    <category>java</category>
    
    <category>blogging</category>
    
    <category>linux</category>
    
    <comments>http://www.shoesobjects.com/blog/2005/06/30/shotty_uptime_for_the_past_week.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2005/06/30/shotty_uptime_for_the_past_week.html</guid>
    <pubDate>Thu, 30 Jun 2005 13:17:17 GMT</pubDate>
  </item>
  
  <item>
    <title>Nukes on JBoss: Open Source CMS</title>
    <link>http://www.shoesobjects.com/blog/2004/05/20/nukes_on_jboss_open_source_cms.html</link>
    
      
        <description>
          &lt;p&gt; Over the past week, I have put together a &lt;a href=&#034;http://www.jboss.org/products/nukesjboss&#034;&gt;Nukes on Jboss&lt;/a&gt; web application to facilitate communication about an annual golf tournament that my friends and I attend.  I guess communication isn&#039;t the right word, really it&#039;s just a bunch of juvenile trash talking, but fun nevertheless.   &lt;/p&gt;
&lt;p&gt; My first impressions of nukes is that it is a really great idea that needs more work to be a useable out of the box. Below I have listed some good things and not so goods things that I have discovered so far.   &lt;/p&gt;
&lt;p&gt; &lt;strong&gt;The Good&lt;/strong&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Easy to get it up and running.  Approx 10-15 min. &lt;/li&gt;
    &lt;li&gt;Wide array of features(forum, cms, permission&#039;s based, etc.) &lt;/li&gt;
    &lt;li&gt;Easy on the pocket book &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt; &lt;strong&gt;The Bad&lt;/strong&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Some of the content is just plain bad.  For instance, if you choose the &amp;quot;I am under 18 and do not have parental consent.&amp;quot; link while registering, you get the following message: &amp;quot;You must be Nukes on JBoss or over, or have parental permission to register here. Please click here to return to the main page.&amp;quot; &lt;/li&gt;
    &lt;li&gt;There is no way to edit user permission&#039;s via the application, you must log into the jmx-console to do so.   &lt;/li&gt;
    &lt;li&gt;Cannot manage forum content(delete posts, edit posts, etc) with the supplied admin account??  Did I do something wrong? &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt; &lt;strong&gt;The Ugly&lt;/strong&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Documentation is very sparse.  Other than the JBoss forum and a wiki there is not much more.  While its enough to get you off the ground, it isn&#039;t good for much more. &lt;/li&gt;
    &lt;li&gt;The BBCode markup doesn&#039;t seem to work.  If I use the buttons when submitting a post, the code is posted as text.    &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>java</category>
    
    <comments>http://www.shoesobjects.com/blog/2004/05/20/nukes_on_jboss_open_source_cms.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2004/05/20/nukes_on_jboss_open_source_cms.html</guid>
    <pubDate>Fri, 21 May 2004 01:46:22 GMT</pubDate>
  </item>
  
  <item>
    <title>WebDAV project to publish/subscribe iCal data</title>
    <link>http://www.shoesobjects.com/blog/2004/04/26/webdav_project_to_publish_subscribe_ical_data.html</link>
    
      
        <description>
          &lt;p&gt; After many moons of thinking, &amp;quot;boy it would be great if my wife and I could subscribe to each others iCal Calendar&amp;quot;, I finally got off my butt and figured out what I needed to do.  Wasn&#039;t quite as complex as I thought it would be.  Actually, it was a blank(meaning no jsp&#039;s or java code) web app with a settings in the web.xml file.  Im using &lt;a href=&#034;http://www.jboss.org&#034;&gt;JBoss&#039;s&lt;/a&gt; auth module org.jboss.security.auth.spi.UsersRolesLoginModule.  This works out best since I only have two users. &lt;/p&gt;
&lt;p&gt; On thing that wasn&#039;t clear to me was how to set it up where we could each publish our work calendar&#039;s as Work.ics.  I ended up creating a subdirectory for each of us in the root of the webapp stored files there.  Not sure if this was the best option or not, but it suits our needs just fine.   &lt;/p&gt;
        </description>
      
      
    
    
    
    <category>java</category>
    
    <category>apple</category>
    
    <comments>http://www.shoesobjects.com/blog/2004/04/26/webdav_project_to_publish_subscribe_ical_data.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2004/04/26/webdav_project_to_publish_subscribe_ical_data.html</guid>
    <pubDate>Mon, 26 Apr 2004 13:01:11 GMT</pubDate>
  </item>
  
  <item>
    <title>Upgraded to Pebble 1.4.1 </title>
    <link>http://www.simongbrown.com/blog/2004/04/06/1081264912000.html</link>
    
      
        <description>
          &lt;p&gt; First, Id like to say thanks &lt;a href=&#034;http://simongbrown.com&#034;&gt;Simon&lt;/a&gt; for the addition of using a JNDI mail source.  Since my mail server requires pop3 authentication,  I was unable to use the email updates feature from previous versions.  Like a good user, I opened a jira ticket just after the 1.4 release asking for smtp auth support.  Simon responded with jndi support, which is even more flexible.  &lt;/p&gt;
&lt;p&gt; &lt;strong&gt;Now the steps to set this up using JBoss 3.2.3.&lt;/strong&gt;  &lt;br /&gt;
1) In the deploy dir, edit the mail-service.xml file with your mail server specific info.  i.e. hostname, user, pass, etc.  Leave the jndi name as it is &lt;em&gt;java:/Mail&lt;/em&gt; &lt;/p&gt;
&lt;p&gt; 2) Edit the default web.xml that comes with pebble 1.4.1.   Change &lt;strong&gt;&amp;lt;res-ref-name&amp;gt;mail/Session&amp;lt;/res-ref-name&amp;gt;&lt;/strong&gt; to  &lt;strong&gt;&amp;lt;res-ref-name&amp;gt;Mail&amp;lt;/res-ref-name&amp;gt;&lt;/strong&gt;  so it uses JBoss&#039;s default mail service.  I chose to do this since I have other apps using this same mail service.  You could add an additional one to if you wish. Just remember that when you upgrade to the next version of pebble, you changed the shipped web.xml.    &lt;/p&gt;
&lt;p&gt; 3) Add the jboss specific jboss-web.xml descriptor in the WEB-INF dir.  It should contain the following resource entry &lt;br /&gt;
&lt;strong&gt; 		&amp;lt;resource-ref&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;res-ref-name&amp;gt;Mail&amp;lt;/res-ref-name&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;res-type&amp;gt;javax.mail.Session&amp;lt;/res-type&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;res-auth&amp;gt;Container&amp;lt;/res-auth&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;jndi-name&amp;gt;java:/Mail&amp;lt;/jndi-name&amp;gt;&lt;br /&gt;
&amp;lt;/resource-ref&amp;gt; &lt;/strong&gt; &lt;/p&gt;
&lt;p&gt; Thats all there is to it &lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.simongbrown.com/blog/2004/04/06/1081264912000.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>java</category>
    
    <comments>http://www.shoesobjects.com/blog/2004/04/10/upgraded_to_pebble_1_4_1.html#comments</comments>
    <guid isPermaLink="true">http://www.simongbrown.com/blog/2004/04/06/1081264912000.html</guid>
    <pubDate>Sat, 10 Apr 2004 18:02:36 GMT</pubDate>
  </item>
  
  <item>
    <title>No More Windoze</title>
    <link>http://www.shoesobjects.com/blog/2004/01/31/no_more_windoze.html</link>
    
      
        <description>
          &lt;center&gt;&lt;img alt=&#034;Fedora&#034; src=&#034;http://www.shoesobjects.com/blog/images/fedora.png&#034; /&gt;&lt;/center&gt;
&lt;p&gt; Well, the time has come to find a new distribution since Redhat will no longer be providing support for 8.0(current version supporting this site).   Since Im most familiar with Redhat, &lt;a href=&#034;http://fedora.redhat.com&#034;&gt;Fedora&lt;/a&gt; was an obvious choice for my new distro.  To ease into this transition and guarantee zero downtime,  Ive decided to install Fedora onto the only Windoze box that I currently have.  Thats right, my only windoze box will run windoze no more.   I guess one could argue that Im upgrading the OS.  My plan is to install everything on this machine that my current Redhat 8.0 server provides.   My current &amp;quot;can&#039;t live without&amp;quot; installed apps are &lt;a href=&#034;http://www.jboss.org&#034;&gt;JBoss&lt;/a&gt;, &lt;a href=&#034;http://www.mysql.com&#034;&gt;MySQL&lt;/a&gt;,  &lt;a href=&#034;http://james.apache.org&#034;&gt;JAMES&lt;/a&gt;, and &lt;a href=&#034;http://www.cvshome.org&#034;&gt;CVS&lt;/a&gt;.  Once these are all up and running, Ill do the  same to the Redhat 8.0.  This will give me poor mans failover in case of a vaporized hard disk or some other hardware failure.  I say poor mans  failover since redirecting traffic will involve manual reconfiguration of my router.   &lt;/p&gt;
&lt;p&gt; &lt;a href=&#034;http://fedora.redhat.com&#034;&gt;Fedora Core&lt;/a&gt;&lt;br /&gt;
Bootup with Disk 1 in CDROM&lt;br /&gt;
1) Language Selection &lt;br /&gt;
English&lt;br /&gt;
2) Keyboard Configuration&lt;br /&gt;
U.S. English&lt;br /&gt;
3) Mouse Configuration&lt;br /&gt;
Generic Wheel Mouse (PS/2)&lt;br /&gt;
4) Monitor Configuration&lt;br /&gt;
Sony Multiscan 17sf&lt;br /&gt;
5) Installation Type&lt;br /&gt;
Workstation&lt;br /&gt;
6) Disk Partitioning Setup&lt;br /&gt;
Manually partition with Disk Druid&lt;br /&gt;
7) Disk Setup&lt;br /&gt;
/dev/hda1  nfts&lt;br /&gt;
/dev/hda2  /boot&lt;br /&gt;
/dev/hda3  /&lt;br /&gt;
/dev/hda4  swap&lt;br /&gt;
8) Boot Loader Configuration&lt;br /&gt;
WinXP       /dev/hda1  default&lt;br /&gt;
Fedora Core /dev/hda3&lt;br /&gt;
9) Network Configuration&lt;br /&gt;
hostname: pegasus.shoesobjects.com&lt;br /&gt;
manual network settings&lt;br /&gt;
10) Firewall configuration&lt;br /&gt;
No firewall&lt;br /&gt;
11) Additional Language Support&lt;br /&gt;
none&lt;br /&gt;
12) Timezone Selection&lt;br /&gt;
America/Chicago&lt;br /&gt;
13) Set Root Password&lt;br /&gt;
13) Package Installation Defaults&lt;br /&gt;
customize software packages to be installed&lt;br /&gt;
+ KDE Desktop Environment&lt;br /&gt;
+ Server Configuration Tools&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;	&lt;a href=&#034;http://www.fedora.us/wiki/FedoraHOWTO&#034;&gt;Fedora HOWTO apt-get&lt;/a&gt; Download the apt-get RPM for Fedora Core &lt;a href=&#034;http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/apt-0.5.15cnc1-0.fdr.3.1.i386.rpm&#034;&gt;here&lt;/a&gt;.   Once you have installed it, you will need to retrieve an up to date package list using the following command &lt;em&gt;apt-get update&lt;/em&gt;.  Now that we have  the latest package listing for everything installed on the system, we should upgrade the installed packages to the latest and greatest versions.  Upon running &lt;em&gt;apt-get upgrade&lt;/em&gt;, I see that I have 32 packages to upgrade.  By typing a Y at the prompt, I will begin to download all of the upgraded packages, 56.3MB to be specific.  Gee, this kinda feels like windows update except I don&#039;t have to reboot afterwards :) &lt;/p&gt;
&lt;p&gt; Other Packages Installed &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a href=&#034;http://java.sun.com/j2se/1.4.2&#034;&gt;J2SDK-1.4.2_03&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#034;http://java.sun.com/j2ee/1.4&#034;&gt;J2SDKEE-1.3.1&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#034;http://www.mysql.com&#034;&gt;MySQL 4.0.17&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt; More to come......... &lt;/p&gt;
        </description>
      
      
    
    
    
    <category>linux</category>
    
    <comments>http://www.shoesobjects.com/blog/2004/01/31/no_more_windoze.html#comments</comments>
    <guid isPermaLink="true">http://www.shoesobjects.com/blog/2004/01/31/no_more_windoze.html</guid>
    <pubDate>Sun, 01 Feb 2004 04:04:31 GMT</pubDate>
  </item>
  
  </channel>
</rss>

