- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- JAVA : Jasperreport on JDK 5.0.02
Operating System - Linux
1823079
Members
3196
Online
109645
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2006 09:48 PM
тАО05-10-2006 09:48 PM
JAVA : Jasperreport on JDK 5.0.02
Dear All
I have a web application which are able to generates reports in Windows env but fails to generates report in hpux env. I am using JDK 5.0 in HPUX 11.11
Below is a program which hangs in unix. It hangs after printing the first line of output.
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperRunManager;
import net.sf.jasperreports.engine.util.JRXmlUtils;
import java.util.Map;
import java.util.HashMap;
import java.io.File;
public class Decrypt {
public static void main(String[] args)
{
try
{
System.out.println("Args 1 " + args[1]);
JasperCompileManager.compileReportToFile(new String(args[0]), new String(args[1]));
}
catch (Exception e)
{
e.printStackTrace();
}
}
}
CLASSPATH is set as below.
/opt/RA/RA_DEV/src/test:/home/xx:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-beanutils-1.6.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-collections-3.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-dbcp-1.2.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-fileupload.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-lang-2.0.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-logging-1.0.2.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/common-logging-api-1.0.2.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-pool-1.2.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-resources.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-validator-1.1.3.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/concurrent-1.3.2.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/itext-1.3.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-beanutils-1.6.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-collections-3.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-validator-1.1.3.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-digester-1.7.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-javaflow-20060411.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/jasperreports-1.2.2.jar
However this program runs perfectly in JDK 1.4.
Thanks
I have a web application which are able to generates reports in Windows env but fails to generates report in hpux env. I am using JDK 5.0 in HPUX 11.11
Below is a program which hangs in unix. It hangs after printing the first line of output.
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperRunManager;
import net.sf.jasperreports.engine.util.JRXmlUtils;
import java.util.Map;
import java.util.HashMap;
import java.io.File;
public class Decrypt {
public static void main(String[] args)
{
try
{
System.out.println("Args 1 " + args[1]);
JasperCompileManager.compileReportToFile(new String(args[0]), new String(args[1]));
}
catch (Exception e)
{
e.printStackTrace();
}
}
}
CLASSPATH is set as below.
/opt/RA/RA_DEV/src/test:/home/xx:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-beanutils-1.6.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-collections-3.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-dbcp-1.2.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-fileupload.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-lang-2.0.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-logging-1.0.2.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/common-logging-api-1.0.2.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-pool-1.2.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-resources.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-validator-1.1.3.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/concurrent-1.3.2.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/itext-1.3.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-beanutils-1.6.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-collections-3.1.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-validator-1.1.3.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-digester-1.7.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/commons-javaflow-20060411.jar:/opt/RA/RA_DEV/web/WEB-INF/lib/jasperreports-1.2.2.jar
However this program runs perfectly in JDK 1.4.
Thanks
- Tags:
- Java
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2006 10:09 PM
тАО05-10-2006 10:09 PM
Re: JAVA : Jasperreport on JDK 5.0.02
Shalom,
If JAVA_PATH environment variable is correct, you may have found a bug.
Please report it to the response center.
SEP
If JAVA_PATH environment variable is correct, you may have found a bug.
Please report it to the response center.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2006 12:53 PM
тАО05-14-2006 12:53 PM
Re: JAVA : Jasperreport on JDK 5.0.02
What bug are refered here? Can I get someone from HP to comment on this ? The java version used is as below
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.02-_14_oct_2005_17_51)
Java HotSpot(TM) Server VM (build 1.5.0.02 jinteg:10.14.05-17:07 PA2.0 (aCC_AP), mixed mode)
Is there any bug reported against this version
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.02-_14_oct_2005_17_51)
Java HotSpot(TM) Server VM (build 1.5.0.02 jinteg:10.14.05-17:07 PA2.0 (aCC_AP), mixed mode)
Is there any bug reported against this version
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP