Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

marking servlet as Unavailable

Charan Vuyyuru
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
marking servlet as Unavailable.

Apr 15, 2011 10:44:20 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet OAuthServlet1 as unavailable
Apr 15, 2011 10:44:20 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet OAuthServlet1
java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpMethod
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.catalina.core.StandardWrapper.loadServlet(
at org.apache.catalina.core.StandardWrapper.allocate(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
at Source)

I am integrating Java with Salesforce REST API.

From the above link I downloaded the code and everything as described.

When I try to run on Server, HTML page executes and when I click on th link given in the page. I am not redirected to Salesforce login page.
Kindly Help me out....



William Brogden
Author and all-around good cowpoke
Posts: 13074
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Indicates that you are missing HttpClient related library files.

The HttpClient home page is now here.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic