when I try to make httpclient connection to get the url information,I am getting Exception in thread "Timeout guard" 2010-05-29 19:42:00,048 ERROR [STDERR] java.lang.NoClassDefFoundError: org/apache/commons/httpclient/protocol/ProtocolSocketFactory 2010-05-29 19:42:00,048 ERROR [STDERR] at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(Unknown Source) 2010-05-29 19:42:00,048 ERROR [STDERR] at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(Unknown Source) 2010-05-29 19:42:00,048 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619) the above error. Environment: Linux,Jboss server
This is a cron job which runs every 2 hrs,Its not happening all the time.
Can anybody please help me.