So this evening – I brought down my own site.

How?
In the WordPress dashboard>Settings > I changed the site URL and the blog URL for my site.The new URL I entered innocently- wasn’t all bad- it was minus the redirection I have configured from my site.

And that’s it !!! The whole site went kaput ! I would get a 404 – no mater what I tried to access.

Since I was unable to access- anything on my site- including the WordPress dashboard- I knew had to fix it in the database directly.
It wasn’t too difficult to figure out how to get to my MYSQL – database.
A quick search using the php-driven SQL panel offered by my hosting service found the rogue URL squatting silently in the database.

The name of the table was wp_options under the database used by WP- in my case <hostname>_wrdp
From there point onward- it was quite easy to get it going.

So here we are – once again- alive and kicking.Phew !

Closing thought…
It wasn’t too bad for me to recover form this- and admittedly it was my fault that I messed it up in the first place.
But I think WP should offer some sort of warning as to what could be the ramifications of such a change.

 

Context:

JSF application running on a Tomcat server

Symptoms:

When you try to access a resource in your appplication- you are greeted with a 404 error

Investigation

Check your error log.

If your exception trace is similar to one of the exceptions mentioned below mentioned below- you are missing one or both of these libraries: Commons-Digester or Commons- BeanUtils. (Note: You need both since Digister is dependent upon BeanUtils.)

SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: org.apache.commons.digester.RuleSet

 

OR

SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: org.apache.commons.beanutils.MethodUtils

Resolution

Download Digister from here http://commons.apache.org/digester/

and BeanUtils from here http://commons.apache.org/beanutils/

You will need to put these libraries under the WEB-INF\lib folder of your application.

PS: If this fixes your problem  – please leave a note here or  if it doesn’t let me know either way

Good luck !!!

 

Has anyone else experienced this…?

It has happened so many times- that its kinda uncanny…almost spooky.I wanted to throw it out there and see if anyone else has experienced the same .

I start for work.My car is warming up and I glance at time and the time is 9:11

OR I am at Dunkin Donuts on a weekend to grab a cup of coffee- and look at the clock and the time is …9:11 

It is as if something keeps on reminding me that fatefull date…

Has anyone else also experienced the same ?

© 2011 Technology Cafe Suffusion theme by Sayontan Sinha