Jump to content
We've recently updated our Privacy Statement, available here ×

hari_k

Members
  • Posts

    7
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by hari_k

  1. hi, we have reports generated in Jasper server, when we try to open reports in html format, we get all the data displayed in single page, could any one help us on how to implement pagination in already generated reports. we scheduled and generated reports calling jasper webservices, but while viewing the report in html format we are not able to get pagination applied. Any idea what should be set to have pagination. Thanks, hari
  2. hi, we have reports generated in Jasper server, when we try to open reports in html format, we get all the data displayed in single page, could any one help us on how to implement pagination in already generated reports. we scheduled and generated reports calling jasper webservices, but while viewing the report in html format we are not able to get pagination applied. Any idea what should be set to have pagination. Thanks, hari
  3. hi, we have reports generated in Jasper server, when we try to open reports in html format, we get all the data displayed in single page, could any one help us on how to implement pagination in already generated reports. we scheduled and generated reports calling jasper webservices, but while viewing the report in html format we are not able to get pagination applied. Any idea what should be set to have pagination. Thanks, hari
  4. we made the changes suggested wrt IP address.. but still could not get rid of the error. We deployed the jasper server in weblogic and used Oracle database. Any other suggestions?
  5. We are facing th esame issue in community edition. Any solutions on this. FYI We are unable to log into the console. Server started successfully.
  6. Hi, We were trying to call a web service from java class but getting the following error. AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (401)Unauthorized faultActor: faultNode: faultDetail: {}:return code: 401 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> <TITLE>Error 401--Unauthorized</TITLE> <META NAME="GENERATOR" CONTENT="WebLogic Server"> </HEAD> <BODY bgcolor="white"> <FONT FACE=Helvetica><BR CLEAR=all> <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all> <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 401--Unauthorized</H2> </FONT></TD></TR> </TABLE> <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3> </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4> </FONT><P><FONT FACE="Courier New">The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.</FONT></P> </FONT></TD></TR> </TABLE> </BODY> </HTML> {http://xml.apache.org/axis/}HttpErrorCode:401 (401)Unauthorized at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.jaspersoft.jasperserver.ws.scheduling.ReportSchedulerSoapBindingStub.scheduleJob(ReportSchedulerSoapBindingStub.java:437) at TestScheduling.main(TestScheduling.java:33) We deployed jasper server on weblogic 10 with oracle database. we are able to login to the jasper server and upload/run reports direclty but through webservice we are getting the above error. below is the jave code: Any suggestions on this is appreciated. Code:public static void main(String a[]){ ReportSchedulerSoapBindingStub obj=null; //SOAPHeaderElement header=new null; try { obj=new ReportSchedulerSoapBindingStub (new URL("http://localhost:7001/jasperserver/services/ReportScheduler"), null); obj.setUsername("jasperadmin"); obj.setPassword("jasperadmin"); //obj.setHeader(header); Job job=new Job(); JobSimpleTrigger simpleTrigger=new JobSimpleTrigger(); job.setReportUnitURI("/CCER/jaspertrail/"); //job.setSimpleTrigger(simpleTrigger); obj.scheduleJob(job); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (RemoteException e) { // TODO Auto-generated catch block e.printStackTrace(); } }
  7. Hi, We were trying to call a web service from java class but getting the following error. AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (401)Unauthorized faultActor: faultNode: faultDetail: {}:return code: 401 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> <TITLE>Error 401--Unauthorized</TITLE> <META NAME="GENERATOR" CONTENT="WebLogic Server"> </HEAD> <BODY bgcolor="white"> <FONT FACE=Helvetica><BR CLEAR=all> <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all> <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 401--Unauthorized</H2> </FONT></TD></TR> </TABLE> <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3> </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4> </FONT><P><FONT FACE="Courier New">The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.</FONT></P> </FONT></TD></TR> </TABLE> </BODY> </HTML> {http://xml.apache.org/axis/}HttpErrorCode:401 (401)Unauthorized at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.jaspersoft.jasperserver.ws.scheduling.ReportSchedulerSoapBindingStub.scheduleJob(ReportSchedulerSoapBindingStub.java:437) at TestScheduling.main(TestScheduling.java:33) We deployed jasper server on weblogic 10 with oracle database. we are able to login to the jasper server and upload/run reports direclty but through webservice we are getting the above error. below is the jave code: Any suggestions on this is appreciated. Code:public static void main(String a[]){ ReportSchedulerSoapBindingStub obj=null; try { obj=new ReportSchedulerSoapBindingStub (new URL("http://localhost:7001/jasperserver/services/ReportScheduler"), null); obj.setUsername("jasperadmin"); obj.setPassword("jasperadmin"); //obj.setHeader(header); Job job=new Job(); JobSimpleTrigger simpleTrigger=new JobSimpleTrigger(); job.setReportUnitURI("/CCER/jaspertrail/"); //job.setSimpleTrigger(simpleTrigger); obj.scheduleJob(job); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (RemoteException e) { // TODO Auto-generated catch block e.printStackTrace(); } }
×
×
  • Create New...