The iReport's

I'm now using iReport to generate a PDF file
but the PDf file Can't Display any Chinese but only English
my code are as below
thanks to any help
// set file name - it is in string reportFile
String rFile = "classic.jasper";
// set or null hash map
HashMap rptHash = null;
// establish the connection - it is already open and called databaseConnection
    try {
      // Establish Connection
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      Connection reportConnection = DriverManager.getConnection(
          "jdbc:odbc:organic");
      // connect to Report File
      InputStream fs = new FileInputStream("c:\\" + rFile);
      JasperReport template = JasperManager.loadReport(fs);
      JasperPrint report = null;
      String rv =
          JasperRunManager.runReportToPdfFile("c:\\" + rFile, rptHash,
                                              reportConnection);
    catch (Exception ex) {
    }

Just noticed this suggested FAQ from a related post.
http://java.sun.com/products/javamail/FAQ.html#sendmpr
I'll have a look at it.

Similar Messages

  • How to pass the parameter of a stored procedure to iReport

    Hi... i don't know how to pass the parameter of the stored procedure to the iReport.
    In the Report Query, i tried
    1. sp_storedprocedure ' value'
    2. sp_storedprocedure +''''+$P{parameter}+''''+
    3. sp_storedprocedure +$V+$P{parameter}++$F($F is a variable having a value of ' (a single quote))may you enlighten us please? thank you

    For M$ SQL server I find that it only works when U use the fully qualified name...
    e.g. catalod.dbo.my_procedure_name 'variable'
    My full query in the Report Query window is something like this:
    EXEC arc.dbo.jasper_Invoice 1000
    Note that you may find that selecting from VIEWS / TABLES fails for no apparent reason and iReport will prompt you with the usual very unhelpful (we have what we "pay" for) prompt, stating that "The document is empty".
    To work around this issue, where a statement like "SELECT * FROM arc.dbo.acc_invoices WHERE Invoice_id=1000" does not work, simply create a PROC, something like:
    CREATE PROC jasper_MyProc (@my_rec_id integer) AS
    SELECT * FROM arc.dbo.acc_invoices WHERE Invoice_id= @my_rec_id integer
    ...to wrap your SELECT statement, then call the PROC
    Edited by: Sylinsr on Apr 22, 2008 4:23 PM

  • Report without the first record using JasperReports

    Hi everyone,
    I�m using JasperReports127 but the first record is not being showed...
    I really don�t know why... Does someone had the same problem?!
    I follow this tutorial:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/reports.html
    Gustavo Callou

    I forgot to say that what ir really interesting is that in the iReport Aplication the report works fine... but in the jsc not...
    my setor.jrxml is bellow:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Created with iReport - A designer for JasperReports -->
    <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport
              name="classic"
              columnCount="1"
              printOrder="Vertical"
              orientation="Portrait"
              pageWidth="595"
              pageHeight="842"
              columnWidth="535"
              columnSpacing="0"
              leftMargin="30"
              rightMargin="30"
              topMargin="20"
              bottomMargin="20"
              whenNoDataType="NoPages"
              isTitleNewPage="false"
              isSummaryNewPage="false">
         <property name="ireport.scriptlethandling" value="0" />
         <property name="ireport.encoding" value="UTF-8" />
         <import value="java.util.*" />
         <import value="net.sf.jasperreports.engine.*" />
         <import value="net.sf.jasperreports.engine.data.*" />
         <queryString><![CDATA[select *
    from tb_setor
    where tb_setor.incodigosetor > '0'
    order by tb_setor.vanome
    ]]></queryString>
         <field name="INCODIGOSETOR" class="java.math.BigDecimal"/>
         <field name="VANOME" class="java.lang.String"/>
         <field name="VARAMAL" class="java.lang.String"/>
              <background>
                   <band height="0" isSplitAllowed="true" >
                   </band>
              </background>
              <title>
                   <band height="50" isSplitAllowed="true" >
                        <staticText>
                             <reportElement
                                  x="61"
                                  y="5"
                                  width="412"
                                  height="40"
                                  key="staticText"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement textAlignment="Center">
                                  <font size="28" isBold="true"/>
                             </textElement>
                        <text><![CDATA[Setores]]></text>
                        </staticText>
                        <line direction="TopDown">
                             <reportElement
                                  x="0"
                                  y="48"
                                  width="534"
                                  height="0"
                                  forecolor="#000000"
                                  key="line"
                                  positionType="FixRelativeToBottom"/>
                             <graphicElement stretchType="NoStretch" pen="2Point"/>
                        </line>
                        <line direction="TopDown">
                             <reportElement
                                  x="0"
                                  y="3"
                                  width="534"
                                  height="0"
                                  forecolor="#000000"
                                  key="line"/>
                             <graphicElement stretchType="NoStretch" pen="2Point"/>
                        </line>
                   </band>
              </title>
              <pageHeader>
                   <band height="9" isSplitAllowed="true" >
                   </band>
              </pageHeader>
              <columnHeader>
                   <band height="20" isSplitAllowed="true" >
                        <rectangle radius="0" >
                             <reportElement
                                  mode="Opaque"
                                  x="1"
                                  y="1"
                                  width="534"
                                  height="17"
                                  forecolor="#000000"
                                  backcolor="#999999"
                                  key="element-22"/>
                             <graphicElement stretchType="NoStretch" pen="Thin"/>
                        </rectangle>
                        <staticText>
                             <reportElement
                                  x="0"
                                  y="1"
                                  width="267"
                                  height="16"
                                  forecolor="#FFFFFF"
                                  key="element-90"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="" size="12"/>
                             </textElement>
                        <text><![CDATA[Setor]]></text>
                        </staticText>
                        <staticText>
                             <reportElement
                                  x="267"
                                  y="1"
                                  width="267"
                                  height="16"
                                  forecolor="#FFFFFF"
                                  key="element-90"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="" size="12"/>
                             </textElement>
                        <text><![CDATA[Ramal]]></text>
                        </staticText>
                   </band>
              </columnHeader>
              <detail>
                   <band height="19" isSplitAllowed="true" >
                        <line direction="TopDown">
                             <reportElement
                                  x="0"
                                  y="17"
                                  width="535"
                                  height="0"
                                  forecolor="#808080"
                                  key="line"
                                  positionType="FixRelativeToBottom"/>
                             <graphicElement stretchType="NoStretch" pen="Thin"/>
                        </line>
                        <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="0"
                                  y="1"
                                  width="267"
                                  height="15"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="Times-Roman" size="12"/>
                             </textElement>
                        <textFieldExpression class="java.lang.String"><![CDATA[$F{VANOME}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="267"
                                  y="1"
                                  width="267"
                                  height="15"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="Times-Roman" size="12"/>
                             </textElement>
                        <textFieldExpression class="java.lang.String"><![CDATA[$F{VARAMAL}]]></textFieldExpression>
                        </textField>
                   </band>
              </detail>
              <columnFooter>
                   <band height="0" isSplitAllowed="true" >
                   </band>
              </columnFooter>
              <pageFooter>
                   <band height="27" isSplitAllowed="true" >
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="325"
                                  y="4"
                                  width="170"
                                  height="19"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement textAlignment="Right">
                                  <font fontName="Helvetica" size="10"/>
                             </textElement>
                        <textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="499"
                                  y="4"
                                  width="36"
                                  height="19"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
                                  <font fontName="Helvetica" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
                        </textField>
                        <line direction="TopDown">
                             <reportElement
                                  x="0"
                                  y="1"
                                  width="535"
                                  height="0"
                                  forecolor="#000000"
                                  key="line"/>
                             <graphicElement stretchType="NoStretch" pen="2Point"/>
                        </line>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="1"
                                  y="6"
                                  width="209"
                                  height="19"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="Times-Roman" size="10"/>
                             </textElement>
                        <textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
                        </textField>
                   </band>
              </pageFooter>
              <summary>
                   <band height="0" isSplitAllowed="true" >
                   </band>
              </summary>
    </jasperReport>

  • Update an object in the XIR2 repository

    One of my customers has a bad practice in place of having multiple copies of a same document in several folders.
    I am trying in Java to take the latest version of the document and update all the old copies with it.
    At this point, I have an IInfoObject with the source document and an IInfoObjects collection with all the target documents.
    What method should I use to update all the targets with the source?

    How you copy objects is type specific.
    For example, with Crystal Reports you'd use the Enterprise SDK to get the rpt, update the file for the IReport and refresh its properties:
    IReport report = (IReport) infoObjects.get(0);
    IFiles reportFiles = report.getFiles();
    IRemoteFile rptFile = (IRemoteFile) reportFiles.get(0);
    rptFile.overwrite(newRptFilePath);
    rptFile.commit();
    report.refreshProperties();
    infoStore.commit(infoObjects);
    Sincerely,
    Ted Ueda

  • CROSSTAB from an XML file with iReport / Jasper Report

    Hi all,
    I need to create a report using crosstab with an XML file. The iReport guide doesn't answer to my problem.
    The XML file contents one tag called "HEADERS" with "NAME-HEADERS" corresponding to all column names and different tags called "LINE-DATAS" with corresponding values.
    I want to feed column groups with NAME-HEADERS and details with LINE-DATAS.
    How can I describe this in a crosstab ?
    Thans for your answers.
    Richard.

    Read this:
    http://swforum.sun.com/jive/thread.jspa?forumID=122&threadID=62130
    Also there are a lot of stuff at JasperReports forums:
    http://sourceforge.net/forum/?group_id=36382

  • How iReport can work in Sun Application Server??

    I am success to use the iReport to show out the pdf file in Tomcat which i am using jsp code, but, when I run them in sun application server, it throws out the following exception.
    //=====================
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error compiling report design.
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
         org.apache.jsp.Report_005fJSP.payroll_005frec_005fstaff_jsp._jspService(payroll_005frec_005fstaff_jsp.java:165)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    root cause
    net.sf.jasperreports.engine.JRException: Error compiling report design.
         net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:231)
         net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
         net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127)
         net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:86)
         org.apache.jsp.Report_005fJSP.payroll_005frec_005fstaff_jsp._jspService(payroll_005frec_005fstaff_jsp.java:106)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
    //==========================
    Would someone can tell me why??This is urgent for me!!

    Here is the log file information I get from the sun application server, when i run my iReport file.
    //==================
    DetailsTimestamp: 2006-5-28 22:50:02.768
    Log Level: INFO
    Logger: javax.enterprise.system.stream.out
    Name-Value Pairs: _ThreadID=11;
    Record Number: 2808
    Message ID: exception 3
    Complete Message
    java.lang.NullPointerException
    Diagnostic Causes
    Diagnostic Checks
    //==================
    Do you mean this server.log file message? and can you know why problem with me??

  • How to write sql query with many parameter in ireport

    hai,
    i'm a new user in ireport.how to write sql query with many parameters in ireport's report query?i already know to create a parameter like(select * from payment where entity=$P{entity}.
    but i don't know to create query if more than 1 parameter.i also have parameter such as
    $P{entity},$P{id},$P{ic}.please help me for this.
    thanks

    You are in the wrong place. The ireport support forum may be found here
    http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=showcat&catid=9

  • IReport data retrieval from MySql database

    Hi,
    can anyone help me? i am using iReport - jasperreports to design a report using a datasource/ connections.
    i designed my report and everything works fine except that the data of the fields in mthe detail band is been retrieved more than once making the reports to have one data printed more than once(as many as possible). In my quey, i even used the "order by" as specified in the iReport manual.
    Questions: Is there to fix this so that i can have one data of a field printed only once witout repeatition in the detail band(that is, print one value then the next till the last value then stop)

    Play with the evaluated and printed when options. Another thing you should do is create a group whose evaluation string is the key from your database. every time this value changes as the records are being evaluated the detail section will be printed.

  • Ireport in jdeveloper 11.1.1.2.0

    Hi,
    I'm using jdeveloper 11.1.1.2.0 with ADF 11g.
    i want to use jasper report(ireport) for generating pdf report.Can any one give me sample link/example.how to set ireport and generate reports.
    thanks in advance.
    Edited by: user9010551 on May 17, 2010 11:04 PM

    jurkiri has helped with integrating JasperReports into your application, but I see that your question was about the report design tool, ireport. Unfortunately, while iReport can be installed in NetBeans as an extension, no equivalent extension exists for JDeveloper.
    (anyone want to get the source code for the NetBeans extension and modify it to work as a JDeveloper extension?)
    I've had some success calling iReport as an External Tool associated with files with the ".jrxml" filename extension. First go into the preferences window, select File Types, and Add ".jrxml" as an XML Document. After you've installed the iReport stand-alone version, select "Tools" from the JDeveloper menu bar and "External Tools..." from the drop down. Press the "New..." button. Tool Type is External Program. Program Executable: "C:\Program Files\JasperSoft\iReport-nb-3.1.4\bin\ireport.exe" though your executable may be slightly different if you use a different version. Arguments: ${file.path}. Run Directory: ${file.dir}
    You'll probably want this on the Navigator Context Menu - you decide where else you want to be able to start the tool. I've set it to be Enabled Always or I wouldn't be able to create new reports.
    The biggest problem you'll have is when you compile reports to ".jasper" files. I haven't quite figured that one out. I'm thinking that I may need to switch to use Ant for deployment, and write an Ant task for JasperReports.

  • Ireport 2.0 doesn't start

    hello everyone:
    i've just installed jdk1.5 on my pc.when using the java -version command on DOS,it's really the 1.5.0_12 that appears.
    the problem is that the java web start icon has disappeared on my start menu,not only that the ireport 2.0 application doesn't run when i start it.
    i have to tell you that what makes me upgrading from jdk1.4 to 1.5 is that the same ireport 2.0 application was requiring jdk 1.5 crashing the UnsupportedClassversionError with something like major.minor.version 49.After searching for a solution to that i understood i had to upgrade.
    It's that which leads me to this second problem i explained to u in the beginning of this message.
    this is the error generated by the system when i attempt to run ireport 2.0 or the java web start in the control panel:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6ce818, pid=168, tid=1868
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode, sharing)
    # Problematic frame:
    # V [jvm.dll+0x8e818]
    --------------- T H R E A D ---------------
    Current thread (0x00355ee8): JavaThread "main" [_thread_in_vm, id=1868]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x00000000, EBX=0x00000000, ECX=0x00355ec8, EDX=0x00a2ddd0
    ESP=0x0006f4c8, EBP=0x0006f4f4, ESI=0x00355ee8, EDI=0x00a2ddc8
    EIP=0x6d6ce818, EFLAGS=0x00010206
    Top of Stack: (sp=0x0006f4c8)
    0x0006f4c8: 0006f55c 00355fa8 00000004 00355ee8
    0x0006f4d8: 00355fa8 2b310c88 6d681dbf 00355ee8
    0x0006f4e8: 2aacca50 2b310c88 00a2ddc8 0006f528
    0x0006f4f8: 6d0c8d85 00355fa8 00000000 6d129f20
    0x0006f508: 00a2ddcc 00355ee8 2aacca50 2b310c88
    0x0006f518: 0006f50c 0006f64c 6d0f59e0 00000000
    0x0006f528: 0006f554 00a682ff 00355fa8 0006f55c
    0x0006f538: 0006f538 2aacca50 0006f560 2b3113f8
    Instructions: (pc=0x6d6ce818)
    0x6d6ce808: 00 00 00 83 7d 14 00 0f 84 97 00 00 00 8b 45 0c
    0x6d6ce818: ff 30 e8 6b 95 ff ff 59 50 56 8d 4d 08 e8 e6 76
    Stack: [0x00030000,0x00070000), sp=0x0006f4c8, free space=253k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x8e818]
    C [awt.dll+0xc8d85]
    j java.awt.Component.initIDs()V+0
    j java.awt.Component.<clinit>()V+94
    v ~StubRoutines::call_stub
    V [jvm.dll+0x87599]
    V [jvm.dll+0xdfbb2]
    V [jvm.dll+0x8746a]
    V [jvm.dll+0x79b38]
    V [jvm.dll+0x78a13]
    V [jvm.dll+0x79219]
    V [jvm.dll+0x78a13]
    V [jvm.dll+0x79219]
    V [jvm.dll+0x78a13]
    V [jvm.dll+0x79219]
    V [jvm.dll+0x78a13]
    V [jvm.dll+0x79219]
    V [jvm.dll+0x78a13]
    V [jvm.dll+0x79219]
    V [jvm.dll+0x78a13]
    V [jvm.dll+0xa4b59]
    V [jvm.dll+0x8a8eb]
    C [javaw.exe+0x23d4]
    C [javaw.exe+0x13cd]
    C [javaw.exe+0x3151]
    C [kernel32.dll+0x1eb69]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j java.awt.Component.initIDs()V+0
    j java.awt.Component.<clinit>()V+94
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x009f8e98 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1388]
    0x009f7a78 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1516]
    0x009f6df0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1744]
    0x009f3e40 JavaThread "Finalizer" daemon [_thread_blocked, id=1960]
    0x0035f9d0 JavaThread "Reference Handler" daemon [_thread_blocked, id=408]
    =>0x00355ee8 JavaThread "main" [_thread_in_vm, id=1868]
    Other Threads:
    0x0035e790 VMThread [id=1580]
    0x009fa0f0 WatcherThread [id=936]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 373K [0x22a60000, 0x22b00000, 0x22f40000)
    eden space 512K, 72% used [0x22a60000, 0x22abd6a0, 0x22ae0000)
    from space 64K, 0% used [0x22ae0000, 0x22ae0000, 0x22af0000)
    to space 64K, 0% used [0x22af0000, 0x22af0000, 0x22b00000)
    tenured generation total 1408K, used 0K [0x22f40000, 0x230a0000, 0x26a60000)
    the space 1408K, 0% used [0x22f40000, 0x22f40000, 0x22f40200, 0x230a0000)
    compacting perm gen total 8192K, used 92K [0x26a60000, 0x27260000, 0x2aa60000)
    the space 8192K, 1% used [0x26a60000, 0x26a773a8, 0x26a77400, 0x27260000)
    ro space 8192K, 62% used [0x2aa60000, 0x2af67198, 0x2af67200, 0x2b260000)
    rw space 12288K, 46% used [0x2b260000, 0x2b7f78a8, 0x2b7f7a00, 0x2be60000)
    Dynamic libraries:
    0x00400000 - 0x0040d000      D:\Program Files\Java\jre1.5.0_12\bin\javaw.exe
    0x77f40000 - 0x77ff0000      D:\WINDOWS\System32\ntdll.dll
    0x77e40000 - 0x77f35000      D:\WINDOWS\system32\kernel32.dll
    0x77da0000 - 0x77e3c000      D:\WINDOWS\system32\ADVAPI32.dll
    0x77c90000 - 0x77d05000      D:\WINDOWS\system32\RPCRT4.dll
    0x77d10000 - 0x77d9d000      D:\WINDOWS\system32\USER32.dll
    0x77c40000 - 0x77c80000      D:\WINDOWS\system32\GDI32.dll
    0x77be0000 - 0x77c33000      D:\WINDOWS\system32\MSVCRT.dll
    0x6d640000 - 0x6d7dd000      D:\Program Files\Java\jre1.5.0_12\bin\client\jvm.dll
    0x76ae0000 - 0x76b0e000      D:\WINDOWS\System32\WINMM.dll
    0x6d290000 - 0x6d298000      D:\Program Files\Java\jre1.5.0_12\bin\hpi.dll
    0x76ba0000 - 0x76bab000      D:\WINDOWS\System32\PSAPI.DLL
    0x6d610000 - 0x6d61c000      D:\Program Files\Java\jre1.5.0_12\bin\verify.dll
    0x6d310000 - 0x6d32d000      D:\Program Files\Java\jre1.5.0_12\bin\java.dll
    0x6d630000 - 0x6d63f000      D:\Program Files\Java\jre1.5.0_12\bin\zip.dll
    0x6d000000 - 0x6d16a000      D:\Program Files\Java\jre1.5.0_12\bin\awt.dll
    0x72f50000 - 0x72f73000      D:\WINDOWS\System32\WINSPOOL.DRV
    0x76320000 - 0x7633a000      D:\WINDOWS\System32\IMM32.dll
    0x77170000 - 0x7728a000      D:\WINDOWS\system32\ole32.dll
    VM Arguments:
    jvm_args: -Djavaplugin.version=1.5.0_12 -Djavaplugin.nodotversion=150_12 -Duser.home=D:\Documents and Settings\pmandel
    java_command: com.sun.deploy.panel.ControlPanel
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System32\Wbem;D:\Program Files\MySQL\MySQL Server 5.0\bin;D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\Common\Tools;D:\Program Files\Microsoft Visual Studio\VC98\bin;D:\BC45\BIN
    USERNAME=pmandel
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 5 Stepping 1, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600
    CPU:total 1 (cores per cpu 1, threads per core 1) family 6 model 5 stepping 1, cmov, cx8, fxsr, mmx
    Memory: 4k page, physical 130612k(51288k free), swap 315360k(151052k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_12-b04) for windows-x86, built on May 2 2007 02:07:59 by "java_re" with MS VC++ 6.0
    please could someone help me to solve this problem!!! thanks

    I though it was QT doing it but now I realized that I can´t start Encore again after I had closed it. I have to reboot to start the program again. Weird.

  • IReport

    Hi, all.
    I trying to learn how to produce reports, using iReport, but i am with the follow problem.
    I want create one report using parameters only. On the iReport, i test and all right. But in run time (calling of a java class), the JasperViewer show the follow message: The document has no pages. And open the window empty. I debuged and the Map is populated.
    I use the follow code:
    HashMap map = new HashMap();
    map.put("DeA",String.valueOf(jTable1.getValueAt(selection[0],1)));
    map.put("ParaA",String.valueOf(jTable1.getValueAt(selection[0],2)));
    try {
    JasperReport jr = JasperCompileManager.compileReport("e:/reportCdA.jrxml");
    JasperPrint jp = JasperFillManager.fillReport(jr, map);
    JasperViewer jv = new JasperViewer(jp,false);
    jv.setVisible(true);
    catch (JRException e) {System.out.println(e);}
    please, someone can take a look and suggest me something:
    thank you in advance.
    Demys.

    Hi, you might have better luck on the iReports forums.
    Good luck.

  • Problems NoClassDefFoundError for the DocumentRange class

    Hi,
    I am trying to launche the ireport application, which uses the xerces.jar, xmlParserAPIs.jar and xalan.jar.
    All these 3 jars are in the classpath, I checked it.
    But I still get a Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
    I tried to put these libraries into the jre/lib/endorsed directory of my JDk (I use 1.4.2_08), but it does not work.
    Someone has an idea of what is a problem?
    Thanks for your help!
    Marie.

    add xml-apis.jar to your classpath.
    Sven

  • How to make a JFreechart to be printed on a PDF from iReport?

    Hello everyone,
    I'm working on an application, which has in one of its Panels an animated JFreeChart Model [*chart = ChartFactory.createBarChart3D*], in which a 3D Bar chart is initialized(which bars are animated) to get at last a dual axis graph with 3D view Bars. While I was working to implement producing a Jasper report from the results, I couldn't find a solution which let me print the results of the chart on a report. After looking at some posts, I tried to save the chart as an Image, then to call this image as a parameter on the iReport. But the problem was, either i got an image totally black while using this [chart.createBufferedImage(width, height)], or I got only the background of my graph without its content (bars and their values) by using [ChartUtilities.writeChartAsPNG].
    Does anyone has an idea to help me?
    Thanks in advance.

    Image chartImg= jfc.createBufferedImage(200, 200, BufferedImage.TYPE_BYTE_INDEXED,null);
    parameters.put("image", chartImg); //image is a ireport parameter declared as java.awt.image

  • Please Help me: JSP executes iReport

    Hello,
    I have Tomcat 5.0 and iReport in my computer (the server computer).
    I want to execute iReport on the server via a JSP.
    I use "Runtime.getRuntime().exec("cmd.exe /C iReport.cmd");" on the JSP and the iReport it's executed on my computer.
    But when I tried to execute iReport on another machine that connected the server via TCP/IP, iReport executes on the server computer not in the client computer.
    Are there any mode that iReport executes on client computer??
    If the answer is afirmative, please tell me how.
    Thank you.
    P.D. Excuse me for my bad english.

    This java program can be executed in a java shell -->
    java it.businesslogic.ireport.gui.MainFrame
    Can I execute this in a JSP??It will still run only on the Server. Like was said, JSPs and Servlets run on the Server's JVM (and before the HTML gets delivered to the client. Your best bet to get it to run on the client side is to use an Applet or Java Web Start (do a search for them). But if that will let you do what you want? Now it will be running on the Client, and not the Server. so if you are trying to report on Server resources, you will might not be able to. I would ask the IReport people on how to get that going, if possible.

  • Sentinel 7 - mid 2011 (SIEM and iReport, SDK)

    Hello,
    New to developing Crystal Reports, and iReport for that matter, but;
    how soon till 7?
    We need development of reports for SIEM, but kinda waiting until 7 so
    all dev is with iReport (hopefully)?
    Have been getting started with SDK and SLM setup, brings to mind the
    question, could iReport connect to SIEM SQL some how right now?
    Seems like needed are the iReport data connection definition Query
    Executer similar to -
    (com.novell.reports.jasper.data.event.LuceneEventQ ueryExecutorFactory)
    Along with what files to copy from the SIEM or SLM server like:
    activemqclientkeystore.jks, etc...
    My guess the upgrade to 7 will upgrade SQL tables and views anyway so
    any advanced development (if even possible) would be trashed.
    So, any insight into whats next? Thanks.
    jabrownzz
    jabrownzz's Profile: http://forums.novell.com/member.php?userid=79568
    View this thread: http://forums.novell.com/showthread.php?t=441628

    DCorlette;2121118 Wrote:
    > Sure, let me clarify...
    >
    > Sentinel 7 is targeted for a fall 2011 release - I'm not sure what the
    > exact date is (we're talking about things like re-branding and so forth
    > now that we've been acquired) but you should definitely have it by the
    > end of the year. You can also request access to the Beta, which might
    > help jumpstart your implementation.
    >
    > Sentinel 7 can be thought of as Sentinel Log Manager with a set of SIEM
    > services running on top of it. What this means for reporting is that the
    > bulk of your reports will work just like SLM reports - they will use
    > Lucene queries against file-based indexed data. You might occasionally
    > write a report against the Sentinel configuration, however, which will
    > be in Postgres a lot like it appears in Sentinel RD (or SLM, for that
    > matter, minus the identity/Asset/Vuln stuff).
    >
    > There are a couple advanced reporting modes, however, that allow you to
    > extract data subsets or summaries to the Postgres DB (or external data
    > warehouse) for more advanced reporting. In that case you'll be writing
    > SQL queries in your reports, but both are possible from iReport.
    >
    > In fact, our Sentinel 7 reports will work equally well on both Sentinel
    > 7 and SLM - the only difference really is that Sentinel 7 includes some
    > new fields in its schema, both net new fields and also the
    > Identity/Asset fields. The reports are set up to automatically detect
    > which platform they are running on and query for those fields, or not,
    > as the case may be.
    >
    > It should be safe for you to write your reports against SLM today, and
    > then do a couple simple steps to migrate them to Sentinel 7. At the same
    > time you can evaluate whether adding the new Sentinel 7 fields to the
    > query will be interesting or necessary for that report.
    >
    > Does this help?
    Hi,
    You mentioned that is possible to migrate report from SLM to Sentinel
    7, could you indicate which simple steps should I do to migrate
    reports?
    Regards
    edgargc
    edgargc's Profile: http://forums.novell.com/member.php?userid=115743
    View this thread: http://forums.novell.com/showthread.php?t=441628

Maybe you are looking for