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

samaresh

Members
  • Posts

    22
  • 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 samaresh

  1. Hi, we are working on Jasper Reports as one of the module to show reports. But we are facing some issues on Wrapping . If the text length is same as textfield length, Some time the whole text goes up/ left most digit comes on first line with remaining in next line. example: 1) -123456 ------------- 2) - 123456 please suggest a solutuion which can help us to resolve the issue!!! Thanks in advance.
  2. I am facing issue while generating CSV format.Issues are given below: 1)Column Headers are jumbled up and looking junk. 2)Column are not alligned properly. 3)Column headers are repeating. 3)Export is limited to 65525 rows. 4)Line space are coming unneccesarily. I need help to resolve this issue.please do suggest how can i resolve this. Thanks in advance!!! Samaresh.
  3. how can i add input control using jasper server web-service addormodify method??
  4. How can i optimize jasperprint object. This i want to know as i am working with huge data(jasperPrint object size 1.63GB) and not able to use this print object to show report as it is throwing Java Heap Space Exception. After increasing the heap space also it is not working. is there anyway to optimize the JasperPrint object so,that if it is huge in size ,without increasing heap size ,i can work with it.??
  5. How to export report to text(.txt) format and show it. Need help. Thanks!!!
  6. How to export report to text(.txt) format and show in viewer? need help on this. Thanks!!!
  7. i have downloaded jasperserver-2.0.1-src.zip and seen under jasper server 2.0.1jasperserver-2.0.1jasperserversamplesjava-webapp-samplesrccomjaspersoftjasperserversampleWSClient.java it has not given any example of getting pdf from runreport method. please help me out. Thanks in Advance!!! Here is the Code ====================================================== import net.sf.jasperreports.engine.JasperPrint; import com.jaspersoft.jasperserver.irplugin.JServer; import com.jaspersoft.jasperserver.api.metadata.xml.domain.impl.*; public class WSClient { private JServer server = null; public WSClient(String webServiceUrl, String username, String password) { server = new JServer(); server.setUsername(username); server.setPassword(password); server.setUrl(webServiceUrl); } public java.util.List list(String uri) throws Exception { ResourceDescriptor rd = new ResourceDescriptor(); rd.setWsType( ResourceDescriptor.TYPE_FOLDER); rd.setUriString(uri); return server.getWSClient().list(rd); } public ResourceDescriptor get(String uri) throws Exception { return get(uri, null); } public ResourceDescriptor get(String uri, java.util.List args) throws Exception { ResourceDescriptor rd = new ResourceDescriptor(); rd.setWsType( ResourceDescriptor.TYPE_REPORTUNIT); rd.setUriString(uri); return server.getWSClient().get(rd, null,args); } public JasperPrint runReport(String reportUri, java.util.Map parameters) throws Exception { ResourceDescriptor rd = new ResourceDescriptor(); rd.setWsType( ResourceDescriptor.TYPE_REPORTUNIT); rd.setUriString(reportUri); return server.getWSClient().runReport(rd, parameters); } } ====================================================
  8. it will be very helpful if you can post sample code to generate pdf using runreport. i have seen that we have to set run_output_format to pdf. can you please give the steps to do it??? Thanks in advance
  9. is there a way to generate PDF using jasper server api? does jasperserver gives api/exposes any webservice method to generate pdf?
  10. Hi, When i tried to call getWSClient().runReport() method to get Jasper Print Object which is having near to 4 Lakh record,I got this Exception: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.SocketTimeoutException: Read timed out faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) 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.irplugin.wsclient.RepositorySoapBindingStub.runReport(RepositorySoapBindingStub.java:147) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:378) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:299) java.net.SocketTimeoutException: Read timed out at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154) 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.irplugin.wsclient.RepositorySoapBindingStub.runReport(RepositorySoapBindingStub.java:147) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:378) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:299) at JServerCall1.main(JServerCall1.java:40) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) ... 13 more AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.SocketTimeoutException: Read timed out faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) 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.irplugin.wsclient.RepositorySoapBindingStub.runReport(RepositorySoapBindingStub.java:147) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:378) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:299) at JServerCall1.main(JServerCall1.java:40) {http://xml.apache.org/axis/}hostname:ws-inblr067 java.net.SocketTimeoutException: Read timed out at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154) 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.irplugin.wsclient.RepositorySoapBindingStub.runReport(RepositorySoapBindingStub.java:147) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:378) at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:299) at JServerCall1.main(JServerCall1.java:40) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) ... 13 more
  11. When I set Virtualizer in a map and pass it to Jasper Server Web Service runReport method, It gives it throws java.lang.ClassCastException: java.lang.string.
  12. I am passing Jasper Print object from Web Service (JAX WS 2.0) to Java Client (SWT UI) as String object because of JAX WS 2.0 Data Type Limitation) and converting this string to Jasper Print object using ByteArrayInputStream, I am getting java.lang.OutOfMemoryException: Java Heap Space. Sample code given below. byte [] myStrBytes = jasperPrintString.getBytes ("UTF-8"); ByteArrayInputStream stringIS = new ByteArrayInputStream (myStrBytes); JasperPrint jasperPrint = JRPrintXmlLoader.load (new String (jasperPrintString));
  13. How to make use of Virtualizer on Jasper Server using java call ?
  14. When I try to run a simple report on the Jasper Server using its Report Browser (http://localhost:8080/ji-pro/login.html) having 0.3 million - 1 million record, I got java.lang.OutOfMemoryException: Java Heap Space. Please suggest how can I view report with huge data on Jasper Server Report browser?
  15. Hi, How can i add one jasper print object to another jasperprint object?? ex: jasperprint.add(jasperPrint1+jasperprint2) like this...... Thanks in advance!!!
  16. Hi, I want to get data in chunks from db and use JRDataSource till the end of data from db. please need help on this. how to implement JRDataSource to fetch data in chunks from db till i reach end of data. please help!!!
  17. Hi Raffimd, I need help on implementing JRDataSource for getting chunks of data from db till the end of whole data and use it for filling the report.as i have dealing with huge data ,i need this. please can u suggest and give the sample code implementing the same...... Thanks In Advance!!!1
  18. hi, actually i am facing the same problem.so i want to know how can i use JRDataSource to pass data in chunks till the end of my data. actually i am new to jasper report.so if i can get sample code implementing JRDataSource and pass the data in chunks.... Suppose i have 6000 record and i want to get this data from db in chunk and use JRDataSource till the end of 6000 record and then i can use datasource to pass in fill report method.
  19. From where can i get virtualizer sample code given by jasper report. Thanks in advance
  20. Hi, i want to do pagination on data as my data is huge. i am getting the data from database. getting those huge data i am facing problem.i want to fetch the data suppose 2000 at a time and go on till the 10,000 data and should be able to export whole report.I have implemented virtualizer also. Need help on this .sample code will be very help full. Thanks in Advance!!
  21. I need help regarding virtualizer. I am new to this and i want steps to use virtualizer to solve out of memory problem?? Plz reply asap............
  22. Hi, I am using eclips plugin Development API to develop a plugin which will load reports . When i am loading reports having huge data it is throwing out of memory exception(java heap space). I need help regarding this..... Plz reply asap.......
×
×
  • Create New...