Description
When trying to retrieve credentials I get following exception in [1].
Exception is due to missing jars in distribution. Specifically following jars;
oauth-httpclient4-20090617.jar
oauth-consumer-20100527.jar
Thanks
Amila
[1]
INFO: Server startup in 18591 ms
java.lang.NoClassDefFoundError: net/oauth/client/httpclient4/HttpClientPool
at edu.uiuc.ncsa.security.oauth_1_0a.AuthorizationServerImpl.getAuthorizationGrant(AuthorizationServerImpl.java:125)
at edu.uiuc.ncsa.security.oauth_1_0a.AuthorizationServerImpl.processAGRequest(AuthorizationServerImpl.java:49)
at edu.uiuc.ncsa.security.delegation.client.request.AuthorizationGrantRequest.process(AuthorizationGrantRequest.java:14)
at edu.uiuc.ncsa.security.oauth_1_0a.AuthorizationServerImpl.process(AuthorizationServerImpl.java:44)
at edu.uiuc.ncsa.security.oauth_1_0a.client.DelegationServiceImpl.processDelegationRequest(DelegationServiceImpl.java:52)
at edu.uiuc.ncsa.security.delegation.client.request.DelegationRequest.process(DelegationRequest.java:17)
at edu.uiuc.ncsa.security.delegation.client.DelegationService.process(DelegationService.java:73)
at edu.uiuc.ncsa.myproxy.oa4mp.client.OA4MPService.requestCert(OA4MPService.java:76)
at org.apache.airavata.credential.store.servlet.CredentialStoreStartServlet.doIt(CredentialStoreStartServlet.java:140)
at edu.uiuc.ncsa.security.servlet.AbstractServlet.doPost(AbstractServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ClassNotFoundException: net.oauth.client.httpclient4.HttpClientPool
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
... 28 more