Search WebSpherePower's 6,962 WebSphere, Java, and Eclipse article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
WEBSPHERE WEBLOGGING
Further Adventures with Roller Weblogger
By Jeff Chilton

"Do not go where the path may lead; go instead where there is no path and leave a trail." -- Ralph Waldo Emerson (American Author, 1803-1882)

When we last left our hapless hero (that's yours truly, for those of you who have not been following along at home), I had downloaded Roller, imported it into WebSphere Studio Application Developer, configured the database and the security, then launched the application in anticipation of watching that initial Roller home page light up my browser window.

The end result, however, was a resounding . . . (insert drum roll). . . nothing -- absolutely nothing happened. To add insult to injury, there wasn't any kind of useful information in the server log to explain why. The application just never started.

Between the minimal information available, and my own complete ignorance of what might be the genesis of such a condition, I felt compelled to revert back to my old slash and burn, trial and error, random acts of hacking methods. I just started ripping things out of the application, large chunks at a time, to see if I could pinpoint the offending element.

My theory, which later of course proved to be incorrect, was that one of the .jars in the WEB-INF/lib folder was somehow incompatible with something within WebSphere. My plan was to first locate it, then try to find a suitable replacement.

Binary Search
I embarked on a rudimentary binary search by taking out half of the .jars in the WEB-INF/lib folder to see if the application would attempt to start. I had no delusions that it would run in this configuration; I was just trying to figure out which element was causing it to not even attempt to get off the ground.

Whenever I would get it to actually attempt to start, I would take half of those items removed and put them back, basically working my way down, through a process of elimination, to the one .jar that contained the source of the problem. When it was all over I had my answer, but it wasn't any of the various OpenSource products employed by Roller. It was the rollerWeb.jar -- the roller application code itself.

Since there was no finding an alternate source for that particular artifact, I opened up the .jar and went through the same process, removing half of the contents at a time, trying to narrow down the possibilities until I could figure out just which element within the .jar was causing the problem.


1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Projects > Roller Weblogger (3 articles)
   Even more adventures with Roller Weblogger
   Adventures with Roller Weblogger
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent WebSpherePower Articles
A perfect 10: celebrating 10 years online
You can help bring security and safety back to White House email
Introducing the WebSpherePower RSS feeds
From New Jersey to Palm Bay, Florida
A WebSphere pot o' gold
How Elvis entered the building and CES went out the window
WebSphere Application Server 6: what's it all mean?
WebSpherePower News
Excitement brewing for JavaOne 2010, with or without Google
Large companies ignore data centre advice
Onapsis to Release ERP Vulnerability Testing Suite
Botnet Takedown May Yield Valuable Data
VMware app dev platform gazes beyond SpringSource Java
IBM Claims World's Fastest Chip
'Free Java': InfoWorld's guide to the protest goodies
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Smartphone smarts for a mobile world
David Gewirtz Online: CNN commentary and analysis
DominoPower: It's time for Lotus to double-down on Linux and open source
OutlookPower: The strange case of Outlook losing notes and requiring passwords
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login