Hello Arun,
there might be problem with ServiceFinder - looks like it is not able to
find OAuthSignatureMethod implementations for oauth-signature module.
Can you please try with Jersey 1.12 (or any newer version than 1.9)?
There was one change since then which most likely solves this.
Regards,
Pavel
On 3/1/12 1:38 AM, Arun Gupta wrote:
> I'm trying to deploy a web application on WebLogic 12c with the
> following dependencies:
>
> <dependency>
> <groupId>com.sun.jersey</groupId>
> <artifactId>jersey-json</artifactId>
> <version>1.9</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>com.sun.jersey</groupId>
> <artifactId>jersey-client</artifactId>
> <version>1.9</version>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>com.sun.jersey.contribs.jersey-oauth</groupId>
> <artifactId>oauth-client</artifactId>
> <version>1.9</version>
> </dependency>
> <dependency>
> <groupId>com.sun.jersey.contribs.jersey-oauth</groupId>
> <artifactId>oauth-signature</artifactId>
> <version>1.9</version>
> </dependency>
>
> 12c bundles Jersey 1.9 as well as listed at:
>
> http://docs.oracle.com/cd/E24329_01/web.1211/e24494/toc.htm#CJAFJFED
>
> Why is the following error thrown ?
>
> com.sun.jersey.api.client.ClientHandlerException:
> com.sun.jersey.oauth.signature.UnsupportedSignatureMethodException:
> HMAC-SHA1
>
> This app works fine on GlassFish 3.1.1 when Jersey version is changed
> to 1.8.
>
> Any idea why ?
>
> -Arun
>
>