i’m small.

20090819, 34

In the beginning there was genius, but then it got transmuted into all sorts of living beings and they created stuff. Some of it good; Some of it other than good. And some of it lovely, yet small and adventurous

I am small. I have adventures....

I am small. I have adventures....

why’s poignant guide to ruby :: 1. About this Book
Meep.

Advertisements

…on WebLogic Server 9.x.

Rough notes…

Steps to Configure SSL:
beahome/weblogicserverhome/server/lib/servername.jks

-----------------------------------
user@server$ keytool -v -list -keystore servername.jks
Enter keystore password:

***************** WARNING WARNING WARNING *****************

* The integrity of the information stored in your keystore *

* has NOT been verified! In order to verify its integrity, *

* you must provide your keystore password. *

***************** WARNING WARNING WARNING *****************

Keystore type: jks

Keystore provider: SUN

Your keystore contains 1 entry

Alias name: servernamekey

Creation date: Apr 21, 2009

Entry type: keyEntry

Certificate chain length: 1

Certificate[1]:

Owner: CN=servername.domain.com, OU=FINANCE, O=ATT, L=Alpharetta,
ST=Georgia, C=US

Issuer: CN=servername.domain.com, OU=FINANCE, O=ATT, L=Alpharetta,
ST=Georgia, C=US

Serial number: 55ste04k

Valid from: Tue Apr 21 10:03:27 CDT 2009 until: Fri Apr 19 10:03:27 CDT
2019

Certificate fingerprints:

MD5: 34:84:26:a7:20:ad:38:80:75:J4:35:70:55:02:28:2d

SHA1:
34:84:26:a7:20:ad:38:80:75:J4:35:70:55:02:28:2d:35:70:55:02:28:2d

*******************************************

*******************************************

---------------------------------------

Creating trustkeystore:

beahome/weblogicserverhome/server/lib

user@server$ cp servername.jks servername-trust.jks

user@server$ keytool -v -export -alias servernamekey -keystore
servername-trust.jks -file servername-trustcert.pem -storepass The$ecretPaS$w0rd
-keypass The$ecretPaS$w0rd

Certificate stored in file

beahome/weblogicserverhome/server/lib

user@server$ keytool -v -import -keystore servername-trust.jks
-storepass The$ecretPaS$w0rd -alias trustedcert -trustcacerts -file
servername-trustcert.pem

Certificate already exists in keystore under alias

Do you still want to add it? [no]: yes

Certificate was added to keystore

[Saving servername-trust.jks]

user@server$ rm servername-trustcert.pem

Change server configuration to:

CustomTrustKeystore
(beahome/weblogicserverhome/server/lib/servername-trust.jks) same pwd

Turn off hostname verifier

----------------------------------------------------------

Configure NM:

wls:/offline>

startNodeManager(verbose='true',NodeManagerHome='beahome/weblogicserverhome/domains/dev_domain/nodemanager',ListenPort='5559',ListenAddress='servername.domain.com')

** This is a one time configuration:

nmEnroll('beahome/weblogicserverhome/domains/dev_domain','beahome/weblogicserverhome/domains/dev_domain/nodemanager')

nmConnect('weblogic_administrator','An0th3r$ecr3tPaS$w0rd','servername.domain.com','5559','dev_domain','beahome/weblogicserverhome/domains/dev_domain','ssl','verbose')

If above step fails, you will need to enable ssl debug flags and sort
out SSL issues before proceeding.

Ensure WLST NM connectivity:

nm()

- Start Admin server from command line for first time only

- Connect to admin:

connect('weblogic_administrator','An0th3r$ecr3tPaS$w0rd','t3://servername.domain.com:7001')

** This is a one time configuration:

wls:/dev_domain/serverConfig> nmGenBootStartupProps('Admin_Server')

Successfully generated boot.properties at
beahome/weblogicserverhome/domains/dev_domain/servers/Admin_Server/data
/nodemanager/boot.properties.

Successfully generated startup.properties at
beahome/weblogicserverhome/domains/dev_domain/servers/Admin_Server/data
/nodemanager/startup.properties.

vi
beahome/weblogicserverhome/domains/dev_domain/servers/Admin_Server/data
/nodemanager/boot.properties

Change Username to lower 'u' as username

Change Password to lower 'p' as password

Kill admin server.

(NM can check status/start/stop only those servers that were started by
NM.

If you run into issues, Kill NM java process before killing the server
process. Otherwise, NM will immediately spawn the server process
everytime you kill the server java process.

Restart NM each time you change nodemanager.properties.)

nmStart('Admin_Server')

nmServerStatus('Admin_Server')

nmKill('Admin_Server')

---------------------------- end -----------------------------------

N.B: For each managed server, you have to do a one time process of
generating boot.properties and startup properties.

connect('weblogic_administrator','An0th3r$ecr3tPaS$w0rd','t3://servername.domain.com:7001')

nmGenBootStartupProps('Admin_Server')

nmGenBootStartupProps('mgserver1')

nmGenBootStartupProps('mgserver2') etc.,

----------------------------------------------Finally-----------------
wls:/dev_domain/serverConfig>storeUserConfig('beahome/weblogicserverhome/domains/dev_domain/servers/ss/data/nodemanager/configfile.secure', 'beahome/weblogicserverhome/domains/dev_domain/servers/ss/data/nodemanager/keyfile.secure')
wls:/testdomain/serverConfig>storeUserConfig('/usr/home/user1/configfile.secure', '/usr/home/user1/keyfile.secure')

_______________________________________________________________________
wls:/offline> connect('weblogic_administrator','An0th3r$ecr3tPaS$w0rd','t3://servername.domain.com:7001')
Connecting to t3://servername.domain.com:7001 with userid weblogic_administrator ...
Successfully connected to Admin Server 'Admin_Server' that belongs to domain 'dev_domain'.
keytool

During installation on 2.6.24-24-generic (Ubuntu 8.04 LTS), the VMware-server-2.0.1 asks for a user.
I was running sudo ./vmware-install.pl and it would not accept my Ubuntu login which happens to be one lower-case letter.
I used root as the username, so that the installation would complete.
Of course, I have no interest in actually using root to log in to a web app, nor in creating a password for root–this is Ubuntu!
Upon successful completion I tried to login to the https://localhost:8333/ and it did not allow root to login without a password.
no worries:

Google’s cache of http://www.tipandtrick.net/2008/whats-the-login-user-name-and-password-for-vmware-server-20/ provided the following solution from WillBeen, comment: May 20th, 2009 04:21
sudo vi /etc/vmware/hostd/authorization.xml
edit line 8: <ACEDataUser>x</ACEDataUser>

change x (your username)
to your preferred user

I had to reboot
then tell Firefox to accept the self-signed cert…
Now it is time to see if VMWare Server will let me import and run my virtual machines.

VMware-server-2.0.1-156745.i386.tar.gz

Welcome | Teaching Copyright

“There’s a lot of misinformation out there about legal rights and responsibilities in the digital era.

“This is especially disconcerting when it comes to information being shared with youth. Kids and teens are bombarded with messages from a myriad of sources that using new technology is high-risk behavior. Downloading music is compared to stealing a bicycle — even though many downloads are lawful. Making videos using short clips from other sources is treated as probably illegal — even though many such videos are also lawful.”

welcome to nginx…

20090506, 19

nginx is a solid web server with fewer resource requirements that allows me to get working “through a Ruby on Rails stack with full Capistrano integration and deployment via a subversion repository.” I have enough deployment challenges to stimulate my thought processes from WebLogic (8.x, 9.3), so am looking forward to exchanging my time for  more than new deployment methodology.

…is available. This is really very useful as setting up an environment for evaluation of code reuse is difficult in a corporate environment sometimes. Also, the hands-on approach has ever gotten me farther in my pursuit of mastery than a thousand books (yes, I subscribe to Safari every year).

Google Code Blog: Playing around with Google’s AJAX APIs
Permalink

…search. I need a PCMCIA card that will just work with my Dell M65, my Thinkpad A31 both using the 2.6.24-23-generic. The official list says I got it already (INEO, External SATA, 32bits Cardbus is making the *right* sata_sil driver load), but when I start computer with new 1TB Seagate 7600.11 attached, no drive. Might be drive speed issue.
blkid produces no record of the drive unless I connect it via usb cable (that’s how I got ext3 format on it).

92: udi = '/org/freedesktop/Hal/devices/pci_1095_3512'
pci.device_protocol = 0 (0x0)
pci.vendor = 'Silicon Image, Inc.'
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:03:01.0/0000:04:00.0'
info.subsystem = 'pci'
info.vendor = 'Silicon Image, Inc.'
info.parent = '/org/freedesktop/Hal/devices/pci_1217_7135'
pci.product = 'SiI 3512 [SATALink/SATARaid] Serial ATA Controller'
info.product = 'SiI 3512 [SATALink/SATARaid] Serial ATA Controller'
pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:03:01.0/0000:04:00.0'
pci.subsys_vendor = 'Silicon Image, Inc.'
info.udi = '/org/freedesktop/Hal/devices/pci_1095_3512'
pci.product_id = 13586 (0x3512)
linux.hotplug_type = 2 (0x2)
pci.vendor_id = 4245 (0x1095)
linux.subsystem = 'pci'
info.linux.driver = 'sata_sil'
pci.subsys_product_id = 13586 (0x3512)
pci.subsys_vendor_id = 4245 (0x1095)
pci.subsys_product = 'SiI 3512 SATALink Controller'
pci.device_class = 1 (0x1)
pci.device_subclass = 128 (0x80)

yenta and sata_sil are 2 of 3 interrupts on 19

At least I am learning a lot about:

fstab, mtab and things like hwinfolspci -v and lspci -vvnn
Serial ATA (SATA) Linux hardware/driver status report
Silicon Image 3124 family

script mount iso…

20090120, 04

…made easy. I have been using this for months on hardy, and it seems to work on intrepid too.

Mount and Unmout ISO images without burning them — Ubuntu Geek
Some times you want to use iSO images without burning them.If you don’t want to waste your CD’s/DVD’s here is the simple possible solutions using these tips you can mount and unmount ISO images without burning them.

Launch Workshop and select the following workspace: /work/workspaces/labWorkspace.
Jumping on another meme:

“You have discovered that bad people always have a bad effect, and good people a good effect, upon their nearest neighbors;” – Plato, The Last Days of Socrates.

1. Grab the nearest book.
2. Open it to page 56.
3. Find the fifth sentence.
4. Post the text of the sentence in your journal along with these instructions.
5. Don’t dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.

Other Points of Interest

No Related Post

I wanted to get the sentance from the good book:

She had fits of tortured longing for a friend or an enemy with a mind better than her own.

The good book was about two feet farther away…so ,

In general, if you want to match any of the characters that have a special meaning in forming regular expressions, you must precede the character by a backslash (\) to remove the special meaning.

…with this sort of support? It seems everywhere I look online, the development community is aligning to create a tidal wave of fresh products and services around the iPhone platform. The profit opportunity in teaching Cocoa and iPhone “innovation” is driving changes likely to dwarf the expectations of Wall Street and big telecom for years to come. It may seem a little thing, but when significant intellectual focus is placed on enabling developers to innovate, the platform will exceed expectations for many years to come. This is the sort of support that one cannot purchase, and is the realm of the genius driving Apple. Across the planet, books and seminars and conferences are being developed like this one: The Pragmatic Studio | iPhone Development Training.

ubuntu 7.10…

20071120, 47

there are tons of reasons to install Ubuntu on the fastest, newest, available computer…especially if it has 2GB of memory and a vmware server!  That’s getting two machines for the price of one. Although engadget is right about old equipment being useful again with Ubuntu, Ubuntu really roars when given the same quality equipment one would give Windows Vista

With VMWare Convertor, and a couple hours work, I have all the benefits of of Gutsy Gibbon, while keeping my regular computer (Windows XP) running in a virtual machine. B-E-A-U-Tee-Full!

You might want a .gho of your hard disk as a restore point too.

The shortcut Target field, likely reads

%SystemRoot%\explorer.exe

Re-fill the target field so the line reads

%SystemRoot%\explorer.exe /n, /e, /select, E:\

now make as many Windows Explorers as you need…

%SystemRoot%\explorer.exe /n, /e, /select, E:\333

%SystemRoot%\explorer.exe /n, /e, /select, E:\work

%SystemRoot%\explorer.exe /n, /e, /select, e:\333\projects\mindmaps

…that just works
Free-Codecs.com : Download K-Lite Codec Pack 3.4.5 FULL, K-Lite Codec Pack 3.4.5 STANDARD, K-Lite Codec Pack 3.4.5 BASIC : K-Lite Codec Pack is a collection of codecs and related tools

K-Lite Codec Pack is a collection of codecs and related tools. Codecs are required to encode and/or decode play audio and video. The K-Lite Codec Pack is designed as a user-friendly solution for playing all your movie files. With the K-Lite Codec Pack you should be able to play 99% of all the movies that you download from the internet.

give one…get one

20070924, 39

 Here is a nice opportunity to feel like you made a difference: http://xogiving.org/

BBC NEWS | Technology | ‘$100 laptop’ to sell to public
The organisation behind the project has launched the “give one, get one” scheme that will allow US residents to purchase two laptops for $399 (£198).

One laptop will be sent to the buyer whilst a child in the developing world will receive the second machine

The G1G1 scheme, as it is known, will offer the laptops for just two weeks, starting on the 12 November.

It seems that HD real-time editing in my living room is finally affordable (<US$10G)  and only from CalDigit [HDPro] and [S2VR] .

CalDigit [HDPro] and [S2VR] The First Affordable True High-Definition RAID Solution – Home
Each switch can connect upto 7x HDPros, one host and one switch. Using hierarchical CalDigit PCI Express switch, you can have in theory unlimited storage pool across disk available to your media and database.

bundling saves time

20070507, 19

 …who knew?

SitePoint Blogs » Faster Page Loads—Bundle Your CSS and Javascript
This bundling technique works for CSS and also JavaScript.. but obviously you cannot mix the two in a single bundle.

reset reloaded

20070504, 18

This is the goods on setting base state (reset) for your css; Just what I was looking for.

Erics Archived Thoughts: Reset Reloaded
“…the final version of my take on the topic of reset styles…”

Thanks to Veerle

cygwin sshd setup

20070503, 18

relearned something today…for weeks my ssh sessions have been failing to write to my home directory. Something to do with our network admins putting a home on a windows network share.

In the process of re-writing /etc/passwd and /etc/group I stumbled on the obvious: “You can look at the output with the command ‘mkpasswd -l’.”

Thanks!

cygwin sshd setup

the good news..

20060926, 39

is that I am a developer, the bad news is we do NOT pass The Joel Test. Not that the Joel Test is conclusive or anything, but it does speak for clarity of purpose, organization and specificity of action to move development in the right direction.

The ugly news is that I might be the only person on my team that has read The Pragmatic Programmer (Hunt & Thomas).

Of course, there are many, many books I have not read as well…

One of the many great strengths of a user interface is navigation persistence…which I define as the ability to always find the **whateverbutton** in the same place relative to the pixels of the screen. In MS Word, this means the “Standard” toolbar is (by default) at the top of the interface, and has the same items (File, Edit, View,…et cetera). A user friendly paradigm.

Yahoo! epitomizes…breaking the navigation paradigm, or “not maintaining” the relationship of navigation to the screen pixels. This is evident and has been a source of irritation to me in their web mail for ages and ages…a variety of objects move the navigation around upon the page, and obligate the user to constantly be aware of where it is they are clicking, to avoid clicking on–for example–a product advertisement.

I suppose a business has to decide which is more important:

  • Incremental increases of click-through revenue by “innocent” mis-direction of customer clicks
  • Providing a bullet-proof, stable, reliable interface

We’ll probably see it creeping into Flickr soon as well…

are products that allow me to add huge value to the project I am helping my team of developers to complete. We are threading the needle of Hyperion products with the knowledge of the business that is our corporate thread. When complete, we will stitch together the silos and systems of a diverse and far-flung enterprise to improve the profitability and performance of each product and service we provide to more than 50 million customers in these United States.

If one dug deeply, and gained clear understanding of the strongest engines within the core computing systems upon which our success is grown, the ubiquity of and dependence upon, open source products to maintain that strength would be self-evident.

For example, within a day, I was able to download, install & troubleshoot a pragmatic system of development tools (including subversion, openssh & vim) that allow us to more effectively build enterprise applications on enterprise-architect-approved platforms (including Hyperion, Solaris & BEA Weblogic). It did not take a committee, it did not require additional budget & it did not incur consulting, training nor other expenses for my employer.

It did require a personal commitment to moving beyond stitching things together with hammer and nails–did require an understanding that if the only tool in your toolbox is a hammer, then everything, all the time, begins to look like a nail. These (and more inspirational core concepts) are covered clearly in The Pragmatic Programmer.

And it requires a commitment to mastery exhibited by so many, the builders of the libraries, installers, protocols, utilities and more that make up great products like cygwin.

i thought i would try gnome on cygwin… Now it’s all broken fixed and I have spent hours trying to fix fixing it. Grumpy. Happy like a bee in freshly flowering L. japonica.

Oh, by the way, all the years in business, all the money spent on development, all the money earned (whether by hook or by crook) and Microsoft still hasn’t implemented an effective search for Windows. “Search” from the Start button still can’t find a file only two levels deep (C:\cygwin\bin\bash). Not only can it not find it, but it slows up my computer (1.6MHz Pentium M, with 1.25GB RAM) to the point of unusability. Bah-bah-bah bleats the sheep–preparing for the Vista upgrade cycle.

Dave Hunt & Andy Thomas articles include “Learning to Love Unit Testing” with a line that popped out at me; “…the best developers are responsible for the trickiest bugs.”

i must be one of the best developers, because my bugs are vedy vedy trickee!

firefox lets you choose which pages to open each time you open your browser!

Choose tools > options > "Home Page" "Locations" and enter 

about:blank | http://www.pandora.com/ | http://www.manythings.org/japanese/daily/ | http://www.google.com/calendar/render

A week after I *finally* set up myFirefox to run off my USB key, the big G releases a plug-in to do the grail of using the fox on several computers; Been wanting an effective way to do that for a while. I am looking forward to more of the typically-seamless Google experience from this 'feature'[see next post]. Now if I can figure out how to hack my MonkeyGTD development dashboard (uses Monkey Pirate Tiddly Wiki) into Google Notebook my little Google lovefest will be complete (for now).

get to have no password on the Thinkpad? My user account just crapped out and when I tried booting with safe mode the administrator account had no password on it. For reference I generally use a 36-character administrator password that changes from time to time, so this is just freaky.