Linux, Report and Java
Hello,
I plan to write a Java application on Linux platform. I need to know how to create/print report in Java on Linux. If you have any idea on third party tools,etc.. please suggest here too.
Thank you very much.
Regards,
Chee Yoong
You can try JFreeReport:
http://www.object-refinery.com/jfreereport/index.html
It is free under the terms of the GNU LGPL.
Regards,
Dave Gilbert
www.object-refinery.com
Similar Messages
-
Version Control for Oracle Reports and Java
Hi
I have a Reports and Java development enviroment and I need version control for both. In JDeveloper there is only support for CVS and SVN. Does report have support for CVS and SVN?. What can I choose to offer Java and Reports version control?
Regards,
Néstor BoscánHello,
You might find neXtep Designer helpful, depending on what you need. It is a free database development environment based on the concept of version control. You will work in a dedicated version control repository in which you can import any existing database through reverse synchronization. Once imported, you will gain control over the lifecycle of your database model all along your developments. The tool will generate SQL scripts resulting from the delta between any 2 versions, allowing you to automate SQL generation. It also provide a delivery mechanism and an installer program which can automate deployment of the changes on a target database.
The product is based on the Eclipse platform and provides features like graphical data model, dependency management, SQL clients, powerful SQL editors for stored code development and currently supports Oracle, MySql and PostgreSql. You will find more information here :
http://www.nextep-softwares.com
Also have a look at the WIKI for more detailed information about the product, the concepts and the reasons why we created neXtep.
Hope this helps,
Christophe -
Crystal Reports and Java error
Hi all, I'm trying to run a Crystal Reports report from my web application, but is happening a problem and I check all my code, CR installation, windows folder access rights but I didn't find any problem. Anyone can help me.... please!!!!!!
The error message, in java console is:
java.io.FileNotFoundException: http://localhost/viewer9/javaviewer/ReportViewer.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
at sun.plugin.cache.CachedJarLoader.isUpToDate(Unknown Source)
at sun.plugin.cache.CachedJarLoader.loadFromCache(Unknown Source)
at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
at sun.plugin.cache.JarCache.get(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
load: class com.crystaldecisions.ReportViewer.ReportViewer not found.
java.lang.ClassNotFoundException: com.crystaldecisions.ReportViewer.ReportViewer
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Cheers,
Zilmar
Message was edited by:
ZilmarI don't know anything about Crystal Reports whatsoever, and I couldn't care less frankly. There has been an excess of postings on these forums about this product, whatever it may be.
If Crystal Reports isn't relevant to the problem why was it mentioned? In the title?
And in any case why was it posted in a forum entitled 'Reflections & Reference Objects'?
And your suggestion that it's up to me to do the research is fallacious and indeed ludicrous.
And the error message 'java.io.FileNotFoundException: http://localhost/viewer9/javaviewer/ReportViewer.jar' is entirely self-explanatory.
And it strongly appears to have something to do with the deployment of Crystal Reports.
None of which is a Reflections & Reference Objects problem, or a Java problem, or Sun's problem. -
I am new to linux, I have downloaded java and tried to get it to work, i have followed the installation instructions the best i can, but i cannot get java to work, i have downloaded nestscape 7.1 and got it installed and working fine, i really need help with java, it is driving me crazy,
I have instructions here < http://members.shaw.ca/trollking >
-
Can anyone point me to good documentation for incorporating Java
into Oracle Reports Layouts on the web? We'd like to integrate
some drop down boxes in the layout so a user can make some data
choices then execute a drill down report directly from the
layout.
Or put another way, if we have a report with 3 parameters,
rather than have to go back to the param form, we would like to
integrate a header section to the layout that would have 3 drop
downs, so as you are looking at the report, if you want to run
again, you just select your choices in the header and hit a GO
icon of some sort. Since drop downs are not available directly
in reports, we were hoping to use Java.
Thanks in advance for any help!
Bretthello,
oracle reports 6i does not have any java integration. we have added java APIs to Oracle9i Reports in various places (e.g. datasource, destination, notification, ...)
see our Getting Started with Oracle9i Reports or the Oracle9i Reports SDK here on OTN for further information.
regards,
philipp -
Report Script returns no data and "java.io.FileNotFoundException" error
When attempting to write to a new file (Eg: C:\TEST.txt), Report Script returns no data and "java.io.FileNotFoundException" error occurs.
This error occurs only in Essbase 9.3.1.3 release, however it works fine in release 9.3.1.0.
After running the report the script, it pops up the follwing message:
"java.io.FileNotFoundException: ..\temp\eas17109.tmp (The system cannot find the file specified): C:\TEST.txt"
When checked the TEST.txt, it was empty.Sorry folks, I just found out the reason. Its because there was no data in the combination what I was extracting.
but is this the right error message for that? It should have atleast create a blank file right? -
Standard Report Headings, JAVA script usage,and Report field fixed width
My company has purchased Crystal Reports 2008 and I'm in the process of determining if the product will do everything we need and not become a maintenance nitemare.
We would like to setup some standard report headings to be used in all reports. I've setup on already as a SUBREPORT and it works fine. We pass optional parameters that may be blank.
We have several questions:
1) Subreport...Once a SUBREPORT is setup as a standard heading and included in multiple reports, we are concerned about what is required if the standard heading subreport changes. Will each report that uses this need to be opened or handled in any way to pickup the subreport changes? Any suggestions how to handle this?
2) Subreport....In order to get the "PAGE N of M" to work in the subreport we've setup the subreport to accept parameters that are passed from the main report and this works fine. But this requires every report using the standard heading to setup the parameters in order to work. Is there any other way that would minimize the setup needed for a standard heading?
3) JAVA... Can we call a Javascript function? If so, any hints/tips on how/where to do this?
4) Standard Report... Creating the report is difficult with guessing the width to define to the field. Is there a way that the report can know and display the exact size of the field being used? A fixed field defininiton of some sort would make it MUCH easier in the layout of the report.
5) Standard Report...We are currently testing with a stored procedure for the SQL query result data but because of the application we will need to build the query dynamically for every report. Is there a way to bind the data and specify the field lengths?
6) Standard Report...When using a defined file structure I needed to add another field. At the time it seemed like I had to start from scratch as the fields that were on the report were now gone. Is there a update method that can be done import the changes and not loose existing fields on a report?
That all for now. Sorry there are so many questions. We are trying to clear up as many issues as we can before starting the 100+ reports needed.
Thanks in advance.Hi Vitaly Izmaylov,
I've taken your advice and split out questions 2-6 into seperate questions. Anyone else please respond only to question 1 here.
I see the Re-Import subreport option....and I guess I can only assume that this means that any change to a report heading file (subreport) must be manually re-imported into every report it is used in. There are no behind the scenes files or table that maintain a usage of these reports and can automate the population of the changes.
I was hoping that maybe the subreports would be accessed when called for an pickup any new changes. So if I create 100 reports with standard heading subreport, I would need to manually open and re-import that file in each report to update a report heading change.
Does not sound real fun.
Is all this true?
Thanks,
Tim -
Reports from Java and Oracle database
Hi
I need to generate couple of reports from my application, with Java as front end and oracle 11.2.0.3.0. database . Reports are having very simple select statements, using the criteria users enter from GUI. we don't need to execute a direct select statement from Java, with the where clauses . I did some research and found out about Pipelined functions. I tested for a small set of records and it worked fine. Will this work for large data set? any drawbacks of using this method? Any other methods for this requirement?
Thanks in advance
JPPipeline table functions do not sound like the appropriate approach. It is designed to primarily deal with data transformations. Using it as a rendering engine for report writing? There are fundamental problems with such an approach.
As Dave and Andre commented - the CORRECT means for PL/SQL to pass "data" to Java (or other client languages) is via reference cursors (pointers that the client can use for referencing SQL cursor programs on the server). And Java as a report writer does not really compare with the ease and flexibility that Oracle Apex (Application Express) provides as a reporting framework. -
Exception when connecting to Reporting and Analysis services from Java API
Hello,
I'm trying to connect to Hyperion Reporting and Analysis services from Java API using [Developer's guide|http://www.bidw.in/docs/hs_developer.pdf] .
I get this error:
com.sqribe.rm.ReportMartException: com/hyperion/css/CSSException
at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
at com.sqribe.rm.AASessionImpl.open(Unknown Source)
at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
...My code:
String user = "user";
String pwd = "password";
String host = "my.hyperion.server";
int port = 6800;
try {
Session theSession = SessionFactory.getInstance(user, pwd, host, port);
Repository theRepository = theSession.getRepository();
} catch (UserValidationException e) {
e.printStackTrace();
} catch (UnknownReportMartException e) {
e.printStackTrace();
} catch (ReportMartException e) {
e.printStackTrace();
}I have tried to look at my services running, and it all looks OK. I've checked user/passowrd/port for GSM. What can be wrong?
I also tried to run samples from \BIPlus\SDK\samples\java, e.g. Login.java:
#> java Login user password my.hyperion.server 6800with this effect
com.sqribe.rm.ReportMartException: SystemExceptionError
at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
at com.sqribe.rm.AASessionImpl.open(Unknown Source)
at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
at Login.<init>(Login.java:36)
at Login.main(Login.java:69)I'm sure that I'm connecting to the server because when put wrong passowrd or user as input to Login class I get this:
com.sqribe.rm.ReportMartException: AUTHEN_CSSLoginFailed
at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
at com.sqribe.rm.AASessionImpl.open(Unknown Source)
at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
at Login.<init>(Login.java:36)
at Login.main(Login.java:69)so it is there but something is wrong later. Any idea what?
Please help.
regards,
Pawel
Edited by: Paoro on 2010-09-27 02:02HI,
I am getting the same error while running the Login file, Did any one resolve this issue?
Please share the solution.
Thanks. -
32-bit flash and java plugins freeze firefox and gnome on 64-bit linux
I have installed FC13 64-bit and am running 32-bit firefox 3.6.8 so that I can run flash plugin.
When I start 32-bit firefox 3.6.8 and go to site with flash or java applet, firefox locks up my gnome desktop necessitating a reboot of my computer.
Firefox 3.6.8 32-bit
Flash 10.1r82
Java jdk 1.6.0_15 32-bit
I have used a similar configuration on 32-bit FC13 with 32-bit Firefox 3.6.8 and everything works fine. No lockups.Hi!
I finally solved this problem. The 32-bit libflashplugin required a 32-bit libcurl library that is not installed by default on 64-bit linux systems (at least not on Fedora). Once I installed 32-bit libcurl libs, flash and java plugins starting magically working.
In my opinion, 64-bit Fedora has done a poor job with 32-bit compatibility viz a viz 32-bit libs. I will submit an improvement ticket to Fedora folks about installing more 32-bit libs on 64-bit distros.
Bobby -
Setup and configuration for system monitoring and IT Reporting for Java sys
Hi all,
How to setup and configuration for system monitoring and IT Reporting for Java system ?
How to connect Java system to Solman system?
Regards,
NeniHI,
What is your OS? You can use SAPCCMSR.exe to monitoring IT Reporting Java system on Solman.
Go to solman rz21 create a csmreg user. and configuration fil for agent. copy configuration fil on usr/sap/ccms/..
Go to comman line cd ../user/sap/xxx/sys/exe/.../ wite SAPCCMSR.00 -R pf=< ...../sys/profile/instans profile> .
You can se agent on rz10 and use this connaction on rz20 to monitoring and IT Reporting Java system on Solman.
I hope this help -
Linux and Java are 64 bit. The native library is 32 bit. Any workaround?
Folks,
I am trying to run some java cipher/decipher programs that rely on native code (code which connects through the network to an HSM box).
The issue is that theboth Linux kernel and JVM are 64 bit. But the native library seems to be 32 bit. I get the following message when trying to run the sample:
Exception in thread "main" java.lang.UnsatisfiedLinkError: jcryptoki (/opt/Eracom/lib/libjcryptoki.so: wrong ELF class: ELFCLASS32)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:981)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:950)
at java.lang.System.loadLibrary(System.java:453)
at jprov.cryptoki.Cryptoki.<clinit>(Cryptoki.java:38)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at au.com.eracom.crypto.provider.ERACOMProvider.<clinit>(ERACOMProvider.java:329)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
at SHA512Generator.main(SHA512Generator.java:10)Is there any workaround or should I contact my HSM vendor and ask for a 64 bit version of this native library?Is there any workaround or should I contact my HSM vendor and ask for a 64 bit version of this native library?That would certainly be the best step so it should certainly be the first one.
-
Hi all,
I am new to Oracle 9i reports. I was just wondering if there is any good documentation/tutorial on using Oracle 9i Reports in a J2EE app? Basically, being able to integrate Oracle 9i Reports in a J2EE web application such that you can pass arguments to the underlying SQL query of the reports dynamically through your web app and then it could use Oracle 9i Reports to generate some reports.
Any comments would be appreciated.
Thanks,
Payam.Hi:
I have the same problem as you, and i wanna know if you resolved your problem and how did you integrated oracle reports in java. i wanna use oracle report builder tool.
Thanks a lot -
Hi all,
I installed Oracle Linux Server 6.3 selecting "software Development System" (java 1.6.0 comes with it).
but I need to use Java 1.7
So I downloaded jdk-7u10-linux-x64.rpm
when I try to install it, I get the following error.
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/jsse.pack
charsets.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/charsets.pack
localedata.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/ext/localedata.pack
I can't uninstall java 1.6 because other rpm uses it.
Can someone tell me what the "proper" way to install Oracle Linux and Java 1.7 should be?
OR is there a Oracle Linux Server 6.4 coming out soon with Java 1.7 as its default package set ;-)
thanks in advance,
c.w.You can ignore the errors. The files named in the error lines do not exist in the rpm package, but are there as .jar files
The following works under Oracle Linux 6.3 x86_64 (and probably other versions).
1. Open the following URL in a web browser on your PC:
<pre>
http://www.oracle.com/technetwork/java/javase/downloads/index.html
</pre>
2. Click the JDK download button, accept the license agreement and download the JDE rpm package.
3. Copy the following file to your Oracle Linux server (SFTP):
<pre>
jdk-7u10-linux-x64.rpm
</pre>
4. Login as root and use the YUM utility to install the RPM package.
<pre>
# yum install ./jdk-7u10-linux-x64.rpm
</pre>
5. Register the new installed java version, then change your default Java:
<pre>
# alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_10/bin/java 2
# alternatives --config java
</pre>
Display your default Java version:
<pre>
# java -version
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
</pre> -
How can i run a linux command in java app?
i created a cell script to run the compile process of my C++ simulator and want to control it thru java application, i tried the following but it doesn't work.
the command in linux should be. under the path /home/workspace/SIM/ run: . / zs_compile
and i use runtime to do this
String path="home/workspace/SIM/ . /zs_compile";
try {Runtime.getRuntime().exec(path);}
catch( IOException e) {
e.printStackTrace() ;
Error report is java.io.IOException: java.io.IOException: home/workspace/SIM/ . /zs_compile : not found
who can help me to find the reason, thanks a lot!!!!!the reason is that the command you're truing to execute can't be found. se this article for other traps relatd to runtime.exec:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
the command in linux should be. under the path /home/workspace/SIM/ run: . / zs_compilecould yu elaborate a bit? "should be . under the path" -- do you mean it should be sourced from that path? Sourcing a script file makes no sense from a Java program.
Maybe you are looking for
-
Adobe reader 10.1.3 closed and go away when print with no error.
I have tried all the methods that posted to fix adobe reader when print. I have even upgraded to latest version of reader 10.1.3 and it still closed when I choose to print. As a matter of fact it will do the same when I choose Preferences, too. T
-
Problem of Iphone 5C synchronization after an upgrade 8.1.1.: I upgrade my Iphone 5C with IOS 8.1.1 and now I can't synchronize my iphone with my Apple computer, it stop on level 3 (calendars synchronization). Could you help me ? Thanks
-
help
-
How to use the insert record and check username function?
Hi guys. I have an error that has me stumped. I have a form that inserts text from a text field into a mysql database and I have added a check user name function to check if this number already exists. Here's the page http://www.thechallenge.net.au/r
-
How to get turn by turn audio when Music app is turned off?
I am using TomTom for my turn by turn map in my car via bluetooth. The problem is, whenever I turned off the iPhone5 music app so that there is no music running in the background, the audio voice from TomTom map did not get through to my car speakers