Search WebSpherePower's 6,554 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
Five Doomsday Scenarios for IT: Tech Apocalypse
2X AS/VDS Version 8 Demonstration
Serious Error in SSL Certificates GeoTrust and RapidSSL
Virtualization and vendor support
Quantum Computing Thrives on Chaos
Govt internet filter going live is sad day for NZ
Java on Google App Engine requires different approach
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
DominoPower: Application development, William Shatner, and the origin of the universe
OutlookPower: More about disappearing text
-- Advertisement --

Coming soon, new book: How To Save Jobs
This book is about how to create and save jobs. Believe it or not, there's not a single book out there that specifically focuses on job creation and preservation -- until now.

This book, by ZATZ editor-in-chief David Gewirtz, is about helping your business work better. It's about helping you change the things you need to change so your company can perform more effectively.

Plus, through a grant from ZATZ, it's a free download.

Read it and reap.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login