<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Dominic Clifton</title>
  <link>http://dominicclifton.name/blog/</link>
  <description>Where tech toys reign supreme</description>
  <language>en</language>
  <copyright>Dominic Clifton</copyright>
  <lastBuildDate>Sun, 17 Apr 2011 17:05:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>ASUS P5K-E Wifi with ATI 5870 Triple Screen hackintosh</title>
    <link>http://dominicclifton.name/blog/2011/04/17/1303059900000.html</link>
    
      
        <description>
          	&lt;p&gt;Guide Version: 1 &amp;#8211; 17/April/2011&lt;/p&gt;

	&lt;h2&gt;Hardware&lt;/h2&gt;

	&lt;ul&gt;
		&lt;li&gt;Mobo: ASUS P5K-E Wifi/AP (Network: Marvel 88E8056 Gigabit, Vendor: 0&amp;#215;11ab, Device: 0&amp;#215;4364, SS Vendor: 0&amp;#215;1043, SS: 0&amp;#215;81f8)&lt;/li&gt;
		&lt;li&gt;CPU: Intel E8200&lt;/li&gt;
		&lt;li&gt;OCZ 2&amp;#215;2GB RAM OCZ2P8002G (Slots A1/B1)&lt;/li&gt;
		&lt;li&gt;GFX: HIS 5870 (VendorID: ATI 0&amp;#215;1002, Device ID: 0&amp;#215;6898, Revision ID: 0&amp;#215;0000)&lt;/li&gt;
		&lt;li&gt;Optical Drive: Pioneer DVR-218L / 1.02 / SATA&lt;/li&gt;
		&lt;li&gt;HDD: Old Seagate 7200.11 SATA drive (for testing, will move to Seagate Momentus XT later)&lt;/li&gt;
	&lt;/ul&gt;

	&lt;p&gt;HIS ATI 5870 Bios: HIS.HD5870.1024.091112.bin from Tech Power-Up, Flashed using ATIWinFlash in Windows (I did this before I used the card in my hackintosh box, unsure if older BIOS revisions work on hackintosh)&lt;/p&gt;

	&lt;p&gt;ASUS P5K-E Wifi Bios Version: 1305&lt;/p&gt;

	&lt;h2&gt;Needed stuff&lt;/h2&gt;
	&lt;ul&gt;
		&lt;li&gt;Multibeast 3.4 (latest as of 17/4/2011)&lt;/li&gt;
		&lt;li&gt;IBoot (latest as of 17/4/2011)&lt;/li&gt;
		&lt;li&gt;Kaybl bootloader &amp;#8211; http://www.insanelymac.com/forum/index.php?showtopic=231768 (patch commit revision 700 (09.01.2011))&lt;/li&gt;
		&lt;li&gt;DSDTAutoPatcher
	&lt;/ul&gt;

	&lt;h2&gt;BIOS Settings&lt;/h2&gt;

	&lt;p&gt;Load Setup Defaults&lt;/p&gt;

	&lt;ul&gt;
		&lt;li&gt;Configure SATA as: AHCI&lt;/li&gt;
		&lt;li&gt;ACPI v2: enabled&lt;/li&gt;
		&lt;li&gt;JMicron disabled (to be enabled later)&lt;/li&gt;		
		&lt;li&gt;Suspend Mode: S3 Only&lt;/li&gt;
&lt;li&gt;ACPI 2.0 support: Enabled&lt;/li&gt;
	&lt;/ul&gt;

	&lt;h2&gt;The procedure and notes&lt;/h2&gt;

	&lt;p&gt;Boot IBoot cd&lt;/p&gt;

	&lt;p&gt;Problem #1:&lt;/p&gt;

	&lt;p&gt;IBoot comes up with &amp;#8216;ebios read error&amp;#8217;&lt;/p&gt;

	&lt;p&gt;Solution:&lt;/p&gt;

	&lt;p&gt;Removing SATA cable, then booting IBoot CD, then inserting SL DVD, then pressing F5 then quickly connecting HDD SATA Cable back to HDD allows system to boot.&lt;/p&gt;

	&lt;p&gt;Problem #2:&lt;/p&gt;

	&lt;p&gt;Install CD fails to boot to a GUI.  The Apple logo appears, following by spinning circle but no GUI appears&lt;/p&gt;

	&lt;p&gt;Solution 1:&lt;/p&gt;

	&lt;p&gt;Use Rebel EFI to boot the DVD instead of IBoot (also means you don&amp;#8217;t have to fiddle with SATA cables, however this, didn&amp;#8217;t allow me to get native res and accelerated graphics when using it to boot from the HDD)&lt;/p&gt;

	&lt;p&gt;Solution 2:&lt;/p&gt;

	&lt;p&gt;Use iBoot-ATI-5xxx-3.iso to boot the DVD (although unavailable from tonymac site and you still have to fiddle with SATA cables)&lt;/p&gt;

	&lt;p&gt;Create 2 partitions using disk utility before continuing with the installer (one for boot, one for bootable backup) GPT style, not MBR.&lt;/p&gt;

	&lt;p&gt;Install OSX.  Might say failed after copying the files, ignore and reboot using IBoot ATI boot cd.&lt;/p&gt;

	&lt;p&gt;Install OSX 10.6.7 combo update, wait till the restart prompt appears, don&amp;#8217;t click it, then run MultiBeast, select EasyBeast and PCIRootUID fix&lt;/p&gt;

	&lt;p&gt;Could boot off HDD using IBoot ATI boot cd with boot arguments (just type in once you cursor over to the HDD in the IBoot chameleon boot menu):&lt;br /&gt;
PCIRootUID=1&lt;/p&gt;

	&lt;p&gt;Installed experimental ATI Chameleon bootloader (without ATI support attempting to boot from HDD resulted in the graphics cards fans being turned on full &amp;#8211; power cycle required!)&lt;/p&gt;

	&lt;p&gt;This allowed booting from HD but not to GUI&lt;/p&gt;

	&lt;p&gt;Could get into single user mode from HDD with:&lt;br /&gt;
arch=i386 PCIRootUID=1 -s&lt;/p&gt;

	&lt;p&gt;Create a DSDT file using DSDTAutoPatcher (selecting Asus, P5K-E Wifi/AP), install as /Extra/dsdt.aml&lt;/p&gt;

	&lt;p&gt;Remove the following kexts from /Extras:&lt;br /&gt;
EvOreboot.kext&lt;br /&gt;
LegacyAppleRTC.kext&lt;br /&gt;
NullCPUPowerManagement.kext&lt;/p&gt;

	&lt;p&gt;Could then boot with arch=x86_64 (no other options)&lt;/p&gt;

	&lt;p&gt;Display port would not work&lt;/p&gt;

	&lt;p&gt;Installed Kaybl bootloader &amp;#8211; http://www.insanelymac.com/forum/index.php?showtopic=231768&lt;/p&gt;

	&lt;p&gt;sudo su &amp;#8211; gzip -d boot.gz&lt;br /&gt;
mv boot kaybl-boot&lt;br /&gt;
mv /boot/boot.multibeast&lt;br /&gt;
cp kaybl-boot /boot&lt;/p&gt;

	&lt;p&gt;FYI, the unarchived kaybl-boot file was 297152 bytes long, the one i had before that was 199712 bytes long&lt;/p&gt;

	&lt;p&gt;Made no difference, but there was some settings to try:&lt;/p&gt;

	&lt;p&gt;Set AtiConfig=Uakari in boot plist after looking at source here: http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/branches/Kabyl/i386/libsaio/ati.c&lt;/p&gt;

	&lt;p&gt;That enabled DisplayPort and a second monitor using the top DVI port, plugging in an HDMI cable resulted in all three monitors being detected but only the output on the displayport worked.&lt;/p&gt;

	&lt;p&gt;Moving the DVI cable to the bottom DVI port restored a display on a second monitor, still only 2 displays however.&lt;/p&gt;

	&lt;p&gt;Using AtiConfig=Zonalis only enabled bottom DVI port (this was probably the previous default)&lt;/p&gt;

	&lt;p&gt;Weirdly, after a reboot (using AtiConfig=Uakari, still in boot plist from before), with DVI cable in bottom port, DVI-VGA in top port and Display Port all three monitors worked!  Need to cold boot to check it works twice.&lt;/p&gt;

	&lt;p&gt;Yay, still works after a cold boot, GFX done!&lt;/p&gt;

	&lt;p&gt;Wifi and JMicron IDE not working yet.&lt;/p&gt;

	&lt;p&gt;Went back into bios:&lt;br /&gt;
JMicron Controller: enabled&lt;br /&gt;
Controller Mode: AHCI&lt;/p&gt;

	&lt;p&gt;Rebooted, JMicron JMB363 AHCI listed in System Profiler &amp;#8216;Serial-ATA&amp;#8217; section, had a Pioneer DVR-110D connected via IDE cable, popped in a DVD and it appeared on the Desktop.&lt;/p&gt;

	&lt;p&gt;Note: From Multibeast selected Lnx2Mac Realtek RTL81xx driver, which fired up another installed, installed &amp;#8216;Release&amp;#8217; version of driver, rebooted &amp;#8211; that failed, killed regular ethernet because it moved the IONetworkingFamily.kext driver to my desktop, removed /S/L/E/RealtekRTL81xx.kext, restored IONetworkingFamily.kext to /E/E)&lt;/p&gt;

	&lt;p&gt;Realtek 8187L driver on their site is for OSX 10.5 which some people report as working in 32bit mode, but we&amp;#8217;re using x86_64 so just gonna leave it as not-working.&lt;/p&gt;

	&lt;p&gt;Aside form the Wifi, all the hardware seems to be working!&lt;/p&gt;



 
        </description>
      
      
    
    
    
    <comments>http://dominicclifton.name/blog/2011/04/17/1303059900000.html#comments</comments>
    <guid isPermaLink="true">http://dominicclifton.name/blog/2011/04/17/1303059900000.html</guid>
    <pubDate>Sun, 17 Apr 2011 17:05:00 GMT</pubDate>
  </item>
  
  <item>
    <title>34 Pin IDC to 25 Pin Female D-Sub floppy drive pin mapping for Magic Super Griffin</title>
    <link>http://dominicclifton.name/blog/2010/07/04/1278278823580.html</link>
    
      
        <description>
          &lt;p&gt;I cracked open my Magic Super Griffin today after finding an old external floppy drive (FDD) that I wanted to hook up to it.  I was expecting to have to look at chip pinouts and signals to figure out which pins were which on the 25-pin connector but to my surprise there was space on the motherboard for a 34pin IDC connector.  So the signals can and pinout could be taken directly from that.  The FDD controller chip on the SMG, for reference, is a socketed (!) Motorola MCS3201FN - &lt;a href=&#034;http://www.datasheetarchive.com/pdf-datasheets/Datasheets-111/DSAP0039438.html&#034;&gt;http://www.datasheetarchive.com/pdf-datasheets/Datasheets-111/DSAP0039438.html&lt;/a&gt;.  The datasheet reveals that the controller can handle up to 1.4M drives too.&lt;/p&gt;

&lt;pre&gt;\ 13 12 11 10 09 08 07  06 05 04 03 02 01 /
 \  25 24 23 22 21 20 19 18 17 16 15 14  /
&lt;/pre&gt;
&lt;p&gt;The pins above are taken looking directory at the female pin (cable) side of the D-Sub connector.&lt;/p&gt;

&lt;p&gt;The pins of the IDC connector are numbered from left to right, vertically, from the component side of the board.&lt;/p&gt;

&lt;pre&gt;01 02
03 04
…
33 34
&lt;/pre&gt;

&lt;p&gt;The pin mapping is thus:&lt;/p&gt;

&lt;pre&gt;D-Sub  - IDC    - Signal     
01     - 01,03,...,33 - GND        
02     - 08           - /INDEX     
03     - 26           - /TRK00     
04     - 28           - /WPT       
05     - 30           - /RDATA     
06     - 34           - /DSKCHG    
07     - NC           - NC         
08     - NC           - +5V        
09     - NC           - NC         
10     - NC           - NC         
11     - 16           - /MOTEB     
12     - 22           - /WDATA     
13     - 24           - /WGATE     
14     - 02           - /REDWC     
15     - 32           - /SIDE1     
16     - 18           - /DIR       
17     - 20           - /STEP      
18     - 01,03,...,33 - GND        
19     - 01,03,...,33 - GND        
20     - 01,03,...,33 - GND        
21     - 01,03,...,33 - GND        
22     - 01,03,...,33 - GND        
23     - 01,03,...,33 - GND        
24     - 01,03,...,33 - GND        
25     - 01,03,...,33 - GND        
Shield - 01,03,...,33 - GND&lt;/pre&gt;

&lt;p&gt;With the above information I&#039;m now able to make a suitable cable to connect up any standard PC floppy disk drive.  I don&#039;t know which model drives are actually compatible. Though I would suggest checking out the Datasheet for the FDD controller chip.  If you have any success please let me know so I can share the information with others.&lt;/p&gt;

&lt;p&gt;BTW, If you didn&#039;t know already a Super Magic Griffin is a PC Engine console backup unit.  With it you can load dumped ROM images into the SMG and then run them on your PC Engine console.  The unit is basically a ROM emulator with FDD and Parallel I/O connections.  They were manufactured by Front Fareast Co. Ltd. (Taiwan).&lt;/p&gt;




        </description>
      
      
    
    
    
    <comments>http://dominicclifton.name/blog/2010/07/04/1278278823580.html#comments</comments>
    <guid isPermaLink="true">http://dominicclifton.name/blog/2010/07/04/1278278823580.html</guid>
    <pubDate>Sun, 04 Jul 2010 21:27:03 GMT</pubDate>
  </item>
  
  <item>
    <title>No-Fuss Tomcat 5.5 installation on OSX 10.5 (December 2009)</title>
    <link>http://dominicclifton.name/blog/2009/12/01/1259679480000.html</link>
    
      
        <description>
          &lt;p&gt;After a bit of googling on the topic I couldn&#039;t find a decent guide of how to install Tomcat 5.5 on OSX.&amp;nbsp; Here&#039;s how I did it.&lt;br /&gt;
&lt;br /&gt;
Download the apache-tomcat-5.5.28.zip zip file from &#039;Core&#039; section of the Tomcat 5.5 download page from here: http://tomcat.apache.org/download-55.cgi&lt;br /&gt;
Download the apache-tomcat-5.5.28-admin.zip zip file from the same page&lt;br /&gt;
&lt;br /&gt;
Open a terminal window.&lt;br /&gt;
&lt;br /&gt;
# perform following operations as root&lt;br /&gt;
sudo su -&lt;br /&gt;
&lt;br /&gt;
# unpack tomcat&lt;br /&gt;
cd /Library&lt;br /&gt;
unzip ~/downloads/apache-tomcat-5.5.28.zip&lt;br /&gt;
unzip ~/downloads/apache-tomcat-5.5.28-admin.zip&lt;br /&gt;
mv apache-tomcat-5.5.28 Tomcat5&lt;br /&gt;
&lt;br /&gt;
# remove the holding page for the message about the admin webapp not being included by default&lt;br /&gt;
rm -rf /Library/Tomcat5/webapps/ROOT/admin&lt;br /&gt;
&lt;br /&gt;
# create tomcat group and user&lt;br /&gt;
dscl . -create /groups/tomcat&lt;br /&gt;
dscl . -create /groups/tomcat Password &amp;quot;*&amp;quot;&lt;br /&gt;
dscl . -create /groups/tomcat PrimaryGroupID 498&lt;br /&gt;
dscl . -create /groups/tomcat RealName &amp;quot;Apache Tomcat Users&amp;quot;&lt;br /&gt;
dscl . -create /users/tomcat&lt;br /&gt;
dscl . -create /users/tomcat Password &amp;quot;*&amp;quot;&lt;br /&gt;
dscl . -create /users/tomcat UniqueID 498&lt;br /&gt;
dscl . -create /users/tomcat PrimaryGroupID 498&lt;br /&gt;
dscl . -create /users/tomcat RealName &amp;quot;Apache Tomcat Server&amp;quot;&lt;br /&gt;
dscl . -create /users/tomcat NFSHomeDirectory /var/empty&lt;br /&gt;
dscl . -create /users/tomcat UserShell /usr/bin/false&lt;br /&gt;
&lt;br /&gt;
# Hide the tomcat user (and all other users with a UniqueID less than 500) from the Mac OS X GUI&lt;br /&gt;
defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool true&lt;br /&gt;
&lt;br /&gt;
# fix permissions&lt;br /&gt;
cd /Library&lt;br /&gt;
chown -R tomcat:tomcat Tomcat5&lt;br /&gt;
chmod +x Tomcat5/bin/*.sh&lt;br /&gt;
&lt;br /&gt;
# use a text editor to create a launch script&lt;br /&gt;
mate /Library/LaunchDaemons/org.apache.tomcat5.plist&lt;br /&gt;
&lt;br /&gt;
paste in the following xml content and save the file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE plist PUBLIC &amp;quot;-//Apple//DTD PLIST 1.0//EN&amp;quot; &amp;quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;plist version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;dict&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;EnvironmentVariables&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;dict&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;CATALINA_HOME&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string&amp;gt;/Library/Tomcat5&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;CATALINA_OPTS&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -server&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Xmx256m&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Dfile.encoding=UTF-8&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Djava.awt.headless=true&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Duser.language=en&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Duser.timezone=GMT+0&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;JAVA_HOME&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string&amp;gt;/Library/Java/Home&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/dict&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;KeepAlive&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;dict&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;SuccessfulExit&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;true/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/dict&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;Label&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string&amp;gt;org.apache.tomcat5&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;ProgramArguments&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;array&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string&amp;gt;/Library/Tomcat5/bin/catalina.sh&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string&amp;gt;run&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/array&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;RunAtLoad&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;true/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;key&amp;gt;UserName&amp;lt;/key&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string&amp;gt;tomcat&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/dict&amp;gt;&lt;br /&gt;
&amp;lt;/plist&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure the tomcat users&lt;br /&gt;
&lt;br /&gt;
mate /Library/Tomcat5/conf/tomcat-users.xml&lt;br /&gt;
&lt;br /&gt;
paste in the following xml content and save the file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&#039;1.0&#039; encoding=&#039;utf-8&#039;?&amp;gt;&lt;br /&gt;
&amp;lt;tomcat-users&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;role rolename=&amp;quot;tomcat&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;role rolename=&amp;quot;role1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;role rolename=&amp;quot;manager&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;role rolename=&amp;quot;admin&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;user username=&amp;quot;tomcat&amp;quot; password=&amp;quot;tomcat&amp;quot; roles=&amp;quot;tomcat&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;user username=&amp;quot;both&amp;quot; password=&amp;quot;tomcat&amp;quot; roles=&amp;quot;tomcat,role1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;user username=&amp;quot;role1&amp;quot; password=&amp;quot;tomcat&amp;quot; roles=&amp;quot;role1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;user username=&amp;quot;admin&amp;quot; password=&amp;quot;secret&amp;quot; roles=&amp;quot;admin,manager&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/tomcat-users&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, start tomcat&lt;br /&gt;
&lt;br /&gt;
launchctl load -w /Library/LaunchDaemons/org.apache.tomcat.plist&lt;br /&gt;
&lt;br /&gt;
You can now start your browser and point it to:&lt;br /&gt;
&lt;br /&gt;
http://localhost:8080&lt;br /&gt;
&lt;br /&gt;
You can login to both the manager application and the admin application using the username: &#039;admin&#039; and the password: &#039;secret&#039;&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://dominicclifton.name/blog/2009/12/01/1259679480000.html#comments</comments>
    <guid isPermaLink="true">http://dominicclifton.name/blog/2009/12/01/1259679480000.html</guid>
    <pubDate>Tue, 01 Dec 2009 14:58:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>

