Not able to login using jrs-rest-java-client

0

Hi,

We are using maven 2.2.1 and jdk 1.7 for build. we are running the application on weblogic 12c server running on jrockit 1.6. While we try to connect jasperserver (5.5). we are getting folowing exception. basically while doing  authontication we get following exception.

looking at problem, I tried searching Enum Response$Status$Family in my work space. It do not show the method familyOf().

I'm using jars : org.glassfish.jersey.corejersey-client2.23.1com.sun.jerseyjersey-json1.19.1com.sun.jersey.contribsjersey-multipart1.19.1org.glassfish.jersey.mediajersey-media-json-jackson2.23.1

javax.ws.rs.ProcessingException: javax/ws/rs/core/Response$Status$Family.familyO f(I)Ljavax/ws/rs/core/Response$Status$Family; at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:2 61) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation. java:684) at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation. java:681) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(Request Scope.java:444) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation. java:681) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInv ocation.java:437) at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvoc ation.java:343) at com.jaspersoft.jasperserver.jaxrs.client.core.JasperserverRestClient. login(JasperserverRestClient.java:98) at com.jaspersoft.jasperserver.jaxrs.client.core.JasperserverRestClient. authenticate(JasperserverRestClient.java:75) at com.jaspersoft.jasperserver.jaxrs.client.core.JasperserverRestClient. Can someone please let us know whether I am missing something. Thanks

shreyas.deshpande26's picture
Joined: May 17 2016 - 10:14am
Last seen: 4 years 9 months ago

1 Answer:

0

How are you trying to authenticate your user you are using to login to JasperReports Server? Are you using j_username/j_password?

http://community.jaspersoft.com/wiki/how-bypass-jasperreports-server-log...

 

hozawa's picture
70345
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 10 months ago
Feedback
randomness