This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Tomcat and the fly likes marking servlet as Unavailable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "marking servlet as Unavailable" Watch "marking servlet as Unavailable" New topic

marking servlet as Unavailable

Charan Vuyyuru

Joined: Apr 14, 2011
Posts: 1
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

Joined: Mar 22, 2000
Posts: 13027

Indicates that you are missing HttpClient related library files.

The HttpClient home page is now here.

I agree. Here's the link:
subject: marking servlet as Unavailable
It's not a secret anymore!