Re: [jasperreports-questions] Headless headache
The java graphics layer needs the X libraries installed even when running in headless mode. It uses the X libraries to get font metrics, etc, so you have to have the libraries installed. Headless mode will allow you to run java applications (include JasperReports) without a running X server though. (If headless mode isn't enabled correctly you will get an error about being unable to connect to display :0.0.) -Barry On Aug 12, 2006, at 9:38 AM, Morten wrote: Hi, I'm trying to get a report running under a Gentoo Linux server with no X installed. I get the following: java.lang.UnsatisfiedLinkError: /opt/sun-jdk-1.4.2.10/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) I'm running Tomcat 5.0.28 with CATALINA_OPTS=$CATALINA_OPTS -Djava.awt.headless=true But still Jasper reports requires the libXp.so.6 and I'm stumped. Any tips much appreciated. Does the exception mean that the -Djava.awt.headless=true does not get picked up by the JRE or do I need libXp.so.6 either way? Thanks. Morten -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
Re: [jasperreports-questions] [ANN] JasperServer 0.9.0 released
Hi Manfred, All the MySQL access should be going through Hibernate, and its just a matter of using the right dialect to work with other DBs. We will be officially certifying on a wide range of databases, both open source and commercial. We are also going to do more testing on other app servers to try to make sure we works will all the popular ones. -Barry On Apr 7, 2006, at 9:06 AM, Manfred Moser wrote: Hi! I just finished the download. I am going to try check it all out with JBoss on Windows. One question.. are you going to abstract away from MySQL and support other db servers? Manfred Teodor Danciu wrote: Hello, Manfred We hope that this new open source product will solve many of the issues that existing JasperReports users have faced along the way. The most common was the lack of infrastructure around JasperReports as a library so that reporting functionality be readily available to end users. We think that JasperServer will close this gap and be useful to the community. As usual, feedback and contributions are always welcomed. This is what open source is all about. Thank you, Teodor Manfred Moser wrote: Teodor Danciu wrote: JasperServer 0.9.0 released JasperServer/JasperIntelligence home page: http://jasperintel.sourceforge.net This is awesome. I already have a servlet for creating my reports (about 30 with 100 sub reports) and continuously get requests for features just like the JasperServer implements (or got on the roadmap). I will definitely look at using it rather than reinvent the wheel. And I suppose you are not opposed to user suggestions/ contributions ;-) manfred --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel? cmd=lnkkid=110944bid=241720dat=121642 ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
Re: [jasperreports-questions] 2 details band
I see. I would create one array for detail band you want, ie one for Schools, one for Hospitals, etc. The Arrays should either be of JavaBeans or of Maps. If you use JavaBeans, follow the naming conventions in the Beans specs to expose specified fields in the beans. If you use a Map, each entry consists of a key that is the field name and the value.When you have your array, wrap it in either a JRMapArrayDataSource or a JRBeanArrayDataSource. Both of these objects implement the JRDataSource interface, and can be used as the source of data. When you include the subreports be sure to specify a dataSourceExpression that evaluates to the correct object.-BarryOn Dec 7, 2005, at 3:50 AM, neqo seppuku wrote:at that time, what should be the subreportParameterExpression let me explain how I take the data to my masterreport from java, I have created a list and object array, and these objects to list, and send this list to the report. let say there are 3 fields in the master report: Object[] obj = new Object[3] and in for loop list.add(obj); that puts the data in report. now does an Object can take a list of data, and in connection _expression_ can I use $F instead of $P ? thanks...On 12/6/05, Barry Klawans [EMAIL PROTECTED] wrote: Hmm, I'd say that depends on the amount of data in each sub report. You could pull out the data in your code and convert it into an array of beans, and pass those to the subreports to use as a data source.-BarryOn Dec 5, 2005, at 12:17 AM, neqo seppuku wrote:in the subreport, there should not be sql query, I want to passes all fields to subreport with datasource, how can I do this ? does subreportParameter has to be only one value, how can I pass more than one parameters to subreport ? thanks...On 12/3/05, Barry Klawans [EMAIL PROTECTED] wrote: Create a subreport for Schools and a subreport for Hospitals. A subreport is basically a report that can be placed inside another report. You author it just like any other report, but don't set the page size to be bigger than you need for editing. Then create a new report, place both subreports inside it, and you are done. Take a look at the "subreport" sample include in the distribution.-BarryOn Dec 2, 2005, at 5:21 AM, neqo seppuku wrote: hi all, I need to design my report with two details band, like this, there sholud be two parts in the report that dynamically grow :for example : SCHOOLS school name school id location school1 1 city1 school2 2 city2 .. HOSPITALS hospital address phone #of doctors hospital1 adres1 1 5 hospital2 adres2 2 6 these two information parts should include in the same report, the number of records are dynamic, so how can I solve this problem. is it possible to do this in jasperreports? thanks...
Re: [jasperreports-questions] JasperReports Book
We update the book every time there is a new release, so the current version covers up through the 1.1 release. We will be offering an annual subscription service soon which will allow you go get all the new versions of the doc for a year. That should be available in a week or two.I'm not aware of any other JasperReports book.-Barry KlawansOn Nov 23, 2005, at 12:58 PM, Jim McLean wrote:A couple questions: 1. Does the eBook available at http://jasperreports.sourceforge.net/more.docs.html cover the 1.x version of JasperReports? 2. Are there any other books about JasperReports available? TIA, Jim McLean --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions