XML date transformation problem

HI Gentlemen,
I really do not know, why my XSLT functions behave so confused. I have an XML instance with several date fields in the form of YYYY-MM-DD, and YYYY-MM-DD.. (the second part of the date span is optional). For the German user I have to translate them into DD.MM.YYYY notation. Here is the code segment from my XSL stylesheet--the original date is decomposed and then again compiled into one unit. It works fine with the YYYY and DD portions, however it returns bad values for MM (being positions 5 and 6 after removing the minus signs.) Can anybody tell me if it is an Oracle bug or my fault? Only the middle positions are wrong. See the results after the code segment.
<!-- ************************** Gültigkeit ************************** -->
<a name="1"/>
<h4><xsl:text>1. Gültigkeit</xsl:text></h4>
<table>
  <xsl:for-each select="pe:gueltigkeit">
<xsl:variable name="von_XML" select="substring-before(@V, '..')"/>
<xsl:variable name="von" select="translate($von_XML, '-', '')"/>
<xsl:variable name="von_TT" select="substring($von,7,8)"/>
<xsl:variable name="von_MM" select="substring($von,5,6)"/>
<xsl:variable name="von_JJJJ" select="substring($von,1,4)"/>
<xsl:variable name="von_DE" select="concat($von_TT, '.', $von_MM, '.', $von_JJJJ)"/>
    <tr>
      <td>von...bis</td>
      <td><xsl:value-of select="@V"/></td>
      <td><xsl:value-of select="$von_XML"/></td>
      <td><xsl:value-of select="$von_TT"/></td>
      <td><xsl:value-of select="$von_MM"/></td>
      <td><xsl:value-of select="$von_JJJJ"/></td>
      <td><xsl:value-of select="$von_DE"/></td>
    </tr>
  </xsl:for-each>
</table>
<br/>And the results as displayed by a browser:
|von...bis|1995-08-23..|19950823|23|0823|1995|23.0823.1995|
-----------------------------------------------------------The minus signs were only removed because I experienced that it returns a messy output of minuses and digits.
Thank you for your assistance in advance.
Kind regards:
Miklos HERBOLY
Edited by: mh**** on Aug 1, 2011 7:13 AM
Edited by: mh**** on Aug 1, 2011 7:15 AM

Hi,
Can anybody tell me if it is an Oracle bug or my fault?Actually, your fault ;)
The third argument of the substring function is not a position but a length.
http://www.w3.org/TR/xpath/#function-substring
So I guess this is what you're looking for :
<xsl:variable name="von_TT" select="substring($von,7,2)"/>
<xsl:variable name="von_MM" select="substring($von,5,2)"/>
<xsl:variable name="von_JJJJ" select="substring($von,1,4)"/>

Similar Messages

  • XML Data Server Problem

    I am trying to setup an XML data server and can't get passed the error: java.sql.SQLException: Could not generate the DTD because the file could not be created. Verify that you have write permission in the directory.
    I have placed my xml file in the odi\demo directory where the sample files are and it doesn't seem to help. Here is the url I'm using: jdbc:snps:xml?f=../demo/xml/sample-incident-report1.xml
    This url does not give the errors and connects w/o a problem: jdbc:snps:xml?f=../demo/xml/salesorg.xml
    Same directory, one gives the error and one does not.
    Thanks for any help.

    It seems that anything a little complex causes this error. I've tested with relatively flat xml documents and don't encounter the problem.

  • Xml data output problem

    I have table xxemp(No number, Text varchar2(250)), i have created a report and generate xml file and create temple and load data and insert all
    field and when i preview the data in rtf formate at that movement data is not shown in the text field not display.In text field content 3 line of data
    Thanks
    837

    please make sure, your xml data file has some data in it. and when the rtf is made view the output their itself.
    let me know the steps you have followed.
    Thanks
    Ud.

  • XML Data Source Problem

    Hi there,
    I am creating a data source for XML....
    all needed services are there (/SICF)
    Web service was created..and it is active
    I create DataSource..and I check it.... everything is Ok until here..
    By activating the DataSource I got an error
    <b>Error generating web service..</b>
    what could be the problem ? or how could I know more about the problem...I do not get more than that message...
    I will thank any help or advice
    FedeX

    Hi there,
    I am creating a data source for XML....
    all needed services are there (/SICF)
    Web service was created..and it is active
    I create DataSource..and I check it.... everything is Ok until here..
    By activating the DataSource I got an error
    <b>Error generating web service..</b>
    what could be the problem ? or how could I know more about the problem...I do not get more than that message...
    I will thank any help or advice
    FedeX

  • XML Data Conversion Problem

    Hi,
    Am facing problem in flex that using web services am getting the data in xml format (below provided) am not able to provide the data from xml to datagrid. Am getting the data in datagridcolumn with the tag also. I need only data to be displayed without the child tag in the datagrid.
    XML Format output as below:
    <UDSObjectList>
    <UDSObject>
    <Handle>cr:400503</Handle>
    <Attributes>
    <Attribute DataType="2005">
    <AttrName>ref_num</AttrName>
    <AttrValue>671</AttrValue>
    </Attribute>
    <Attribute DataType="2005">
    <AttrName>impact</AttrName>
    <AttrValue>5</AttrValue>
    </Attribute>
    <Attribute DataType="2005">
    <AttrName>priority</AttrName>
    <AttrValue>1</AttrValue>
    </Attribute>
    </Attributes>
    </UDSObject>
    </UDSObjectList>
    Attached the screenshot of output for your reference. The screenshot showing the datawith tag and here is other problem is for request id and impact and priority columns showing three columns data in all the columns.
    Actual data is as below:
    Request Id is 671
    Impact is 5
    Priority is 1
    but the data is shown in all the columns not shown in related columns.
    Thanks in advance..........

    Can anyone provide a solution. As this problem was facing since long time.
    Thanks

  • XML data set problems with Accordion widget

    Hi,
    I have a dataset, which returns the data as shown below:
    <resultset>
    <result>
    <title>Title one<b>with parts of the title in
    bold</b></title>
    <otherAttributes/>
    </result>
    </resultset>
    As you can see, some of the nodes may have markups, such as
    <b> etc. I create the XML dataset as:
    var myDataset = new Spry.Data.XMLDataSet("/path/to/my/URL",
    "resultset/result");
    And in AccordionPanelTab, I use the title property as shown
    below.
    <div class="AccordionPanelTab">{title}</div>
    But this doesn't work. The Tab displays no titles. If I
    remove the <b/> in the <title> it works fine as
    expected. My problem is, some titles may have additional mark ups
    and some may not. How can I handle this problem?
    Any help is greatly appreciated.
    Cheers,
    Rag.

    Forgot to mention that the data comes from third party
    service providers, so I have no control over it. For ex: I cannot
    have title in a CDATA section.

  • Jasper Report with XML data Source problem

    I have a problem in getting a report run on my machine..
    I have a report that uses XML-dataSource to read info stored in xml file, I use XPath query to traverse xml nodes,
    I have JBoss Server installed but the problem is that I want to know how to configure JBoss and tell it where to look for the xml file so the report can produce right information.
    I use Windows XP and JBoss 4.23 and I finished the report using i-report 2.0.2
    please I need the configuration steps to make this report work... thanx in advance

    Hi,
    Have a look at below URL.
    http://ireport.sourceforge.net/cap7.html#7.4
    Regards
    VInK

  • XML data type problem

    I am trying to unflatten data from an xml file but my input type for the type on the unflatten I believe is invalid and I am getting error 1106. 
    Attached is the xml file and VI
    XML file is in text due to upload constraints
    Paul Power
    I have not lost my mind, it's backed up on a disk somewhere
    Solved!
    Go to Solution.
    Attachments:
    TestData.txt ‏2 KB
    XML Cluster.vi ‏35 KB

    Your data type cluster does not match your XML file. Fixed VI (LV version 2013) is attached. However, the file you posted appears to be a single element, not the entire file, so I cannot verify it works.
    If you have an earlier version of LabVIEW, the cluster was missing a timestamp and had a cluster at the end which should have been a string.
    Duplicate post from here.
    This account is no longer active. Contact ShadesOfGray for current posts and information.
    Attachments:
    XML Cluster.vi ‏44 KB

  • Adobe Reader 9 and MAC 10.5 xml data submit problem

    I have an issue that only happens when using Adobe Reader 9 and Mac OSX 10.5.
    When submitting a form from within a PDF, the FDF that gets sent is completely blank.
    Tested on Mac OSX 10.4 with Adobe Reader 9 - no issue
    Tested on Mac OSX 10.5 with Adobe Reader 8 - no issue
    Tested on Mac OSC 10.5 with Adobe Professional 8 - no issue
    It only seems to be a combination of OSX 10.5 and Reader 9. Does anyone have any clue about the settings of these two and what might be happening?
    Any help is greatly appreciated.

    We have encountered the same problem with Mac OSX 10.5 and Reader 9 when submitting a form as PDF. Form is certified and reader extended, working great on Windows machine.
    Seems like a bug..

  • Problem in transforming xml data to HTML

    Hai all,
    I am new to J developer, I have generated XML data to transform to HTML.
    Below is my xsql file with the name 'simpleqry.xsql'
    <?xml version='1.0' ?>
    <page xmlns:xsql="urn:oracle-xsql" connection="java:comp/env/jdbc/testDS">
    <xsql:query max-rows="-1" tag-case="lower" null-indicator="no">SELECT EMPNO,ENAME,SAL FROM EMP WHERE SAL &gt;= 5000</xsql:query>
    </page>
    it is producing the XML datas
    Further I need to convert it into HTML
    so I generated xsl stylesheet in under META-INF with the name 'EmpDetails.xsl'
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output encoding="ISO-8859-1" method="text/html" />
    <xsl:template match="/page">
    <html>
    <head>
    <title>Employee Results</title>
    </head>
    <body>
    <H2> EMPLOYEE QUERY RESULTS</H2>
    <h5><em> Following demonstrates XSQL query</em></h5>
    <table border="1" cellspacing="1" align="center">
    <tr bgcolor=" #F9F0C1">
    <th>EMP ID</th>
    <th>EMPLOYEE NAME</th>
    <th>SALARY</th>
    </tr>
    <xsl:for-each select="ROWSET/ROW">
    <tr>
    <td><xsl:value-of select="EMPNO"/></td>
    <td><xsl:value-of select="ENAME"/></td>
    <td><xsl:value-of select="SAL"/></td>
    </tr>
    </xsl:for-each>
    </table>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>
    next I have added the following to simpleqry.xsql
    <?xml-stylesheet type="text/xsl" href="EmpResults.xsl" ?>
    so my simpleqry.xsql file look like this
    <?xml version='1.0' ?>
    <?xml-stylesheet type="text/xsl" href="C:\JDeveloper\mywork\Application1\querysql\public_html\WEB-INF\EmpDetails.xsl" ?>
    <page xmlns:xsql="urn:oracle-xsql" connection="java:comp/env/jdbc/testDS">
    <xsql:query max-rows="-1" tag-case="lower" null-indicator="no">SELECT EMPNO,ENAME,SAL FROM EMP WHERE SAL &gt;= 5000</xsql:query>
    </page>
    when I rerun my simpleqry.xsql file it not generating the output .
    My J developer version is 'Oracle IDE 11.1.2.0.38.60.17'
    I know I made it lengthy. I made it clear so that you can understand my problem clearly. Please explain me how to solve the above mentioned problem(To generate HTML from XML data)
    Thanks in advance.
    Regards,
    Uraja

    next I have added the following to simpleqry.xsql
    +<?xml-stylesheet type="text/xsl" href="EmpResults.xsl" ?>+
    so my simpleqry.xsql file look like this
    +<?xml version='1.0' ?>+
    +<?xml-stylesheet type="text/xsl" href="C:\JDeveloper\mywork\Application1\querysql\public_html\WEB-INF\EmpDetails.xsl" ?>+
    What is added is different from what is listed in the XSQL, the xsl is different, the path to xsl is different.
    Specify relative path for xsl.

  • Complex transformation inserting xml data to oracle database.

    Hi,
    I Have one small Problem While loading xml data to a oracle database.
    In the XSD i have the Columns Like this.
    <Data>
    <Type_Trs>
    <T1>
    <T2>
    </Data>
    My Database contains only two columns
    For Example:
    Type_Trs
    Corr_Data.
    Now My problem is Based on Type_Trs Value i need to take values of T1 and T2 should be loaded in Corr_Data column.
    How to write Xsl transformation for this using <xsl:choose>.
    For Clearing the Question I am giving the Example.
    Case : 1
    <Data>
    <type_Trs>BO</Type_Trs>
    <T1>1</T1>
    <T2>2</T2>
    </Data>
    In the Example my type_trs is value 'BO', so the Data in table should be
    Type_Trs Corr_Data
    ======= =======
    BO 1
    Case : 2
    <Data>
    <type_Trs>CP</Type_Trs>
    <T1>1</T1>
    <T2>2</T2>
    </Data>
    In the Example my type_trs is value 'CP', so the Data in table should be
    Type_Trs Corr_Data
    ======= =======
    CP 2
    For doing this How can i write my XSL transformation based on the condition?
    Thanks in advances
    Regards
    GSR

    Why do you need a XSL transformation for this? Can you not get the results based on this select:
    SQL> SELECT DISTINCT EXTRACTVALUE (t2.COLUMN_VALUE, 'Type_Trs') type_trs,
                    CASE EXTRACTVALUE (t2.COLUMN_VALUE, 'Type_Trs')
                       WHEN 'BO'
                          THEN EXTRACTVALUE (t3.COLUMN_VALUE, 'T1')
                       WHEN 'CP'
                          THEN EXTRACTVALUE (t4.COLUMN_VALUE, 'T2')
                    END corr_data
               FROM TABLE
                       (XMLSEQUENCE
                           (EXTRACT
                               (XMLTYPE
                                   ('<Data>
                          <Type_Trs>BO</Type_Trs>
                          <T1>1</T1>
                          <T2>2</T2>
                          <Type_Trs>CP</Type_Trs>
                          <T1>1</T1>
                          <T2>2</T2>
                        </Data>'
                                '/Data'
                       ) t1,
                    TABLE (XMLSEQUENCE (EXTRACT (t1.COLUMN_VALUE,
                                                 '/Data/Type_Trs')
                          ) t2,
                    TABLE (XMLSEQUENCE (EXTRACT (t1.COLUMN_VALUE, '/Data/T1'))) t3,
                    TABLE (XMLSEQUENCE (EXTRACT (t1.COLUMN_VALUE, '/Data/T2'))) t4
    TYPE_TRS   CORR_DATA
    CP         2        
    BO         1        

  • Transforming XML Data with XSLT in a servlet

    Trying to transform XML data using XSLT. The following code works fine outside of a servlet. But in a servlet it gives the following error :
    * Transformer Factory error
    javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Namespace not supported by SAXParser
    javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXException: Namespace not supported by SAXParser
         at org.apache.xml.utils.DefaultErrorHandler.fatalError(DefaultErrorHandler.java:257)
         at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:813)
         at TransformationApp.XSLTTransformServlet.MyTransform(XSLTTransformServlet.java:79)
         at TransformationApp.XSLTTransformServlet.doGet(XSLTTransformServlet.java:39)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)
    Several articles hinted at setting the factory namespace attribute to TRUE. I have tried that but same results. Here is the code :
    static Document document;
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    //factory.setNamespaceAware(true);
    //factory.setValidating(true);
    try {
    File stylesheet = new File(argv[0]);
    File datafile = new File(argv[1]);
    DocumentBuilder builder = factory.newDocumentBuilder();
    document = builder.parse(datafile);
    // Use a Transformer for output
    TransformerFactory tFactory =
    TransformerFactory.newInstance();
    StreamSource stylesource = new StreamSource(stylesheet);
    Transformer transformer = tFactory.newTransformer(stylesource);
    DOMSource source = new DOMSource(document);
    StreamResult result = new StreamResult(System.out);
    transformer.transform(source, result);
    } catch (TransformerConfigurationException tce) {
    // Error generated by the parser
    System.out.println ("\n** Transformer Factory error");
    System.out.println(" " + tce.getMessage() );
    // Use the contained exception, if any
    Throwable x = tce;
    if (tce.getException() != null)
    x = tce.getException();
    x.printStackTrace();
    } catch (TransformerException te) {
    // Error generated by the parser
    System.out.println ("\n** Transformation error");
    System.out.println(" " + te.getMessage() );
    // Use the contained exception, if any
    Throwable x = te;
    if (te.getException() != null)
    x = te.getException();
    x.printStackTrace();
    } catch (SAXException sxe) {
    // Error generated by this application
    // (or a parser-initialization error)
    Exception x = sxe;
    if (sxe.getException() != null)
    x = sxe.getException();
    x.printStackTrace();
    } catch (ParserConfigurationException pce) {
    // Parser with specified options can't be built
    pce.printStackTrace();
    } catch (IOException ioe) {
    // I/O error
    ioe.printStackTrace();
    Any help would be greatly appreciated.

    I don't know that this is true, but i think the problem is the classpath.
    The runtime has his own parser. This parser is befor your xalan.lib in the classpath and the
    parser from the runntime don't support namespace.
    Try Tomcat 4.
    Regard Dietmar

  • Transforming XML data into SVG line charts using XSLT

    Hi
    I am trying to transform revenue data from an XML file into an SVG line chart. The problem is that I am quite new to XPath and XSLT and whereas I can draw the grid for my chart I struggle drawing the lines using the data from the XML doc.
    The XML look something like the one below, and I would like to have one chart for each product and in each chart having the time on the x-axis and chart the revenue by regions.
    Any help on this is much appreciated.
    Thanks
    Peter
    <?xml version="1.0"?>
    <revenue>
    <caption>
    <heading>My title</heading>
    </caption>
    <date name="01/01/2003">
    <region name="Asia">
    <product_a>30</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    </date>
    <date name="02/01/2003">
    <region name="Asia">
    <product_a>32</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>57</product_a>
    <product_b>31</product_b>
    <product_c>457</product_c>
    </region>
    </date>
    <date name="03/01/2003">
    <region name="Asia">
    <product_a>38</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>31</product_a>
    <product_b>9</product_b>
    <product_c>357</product_c>
    </region>
    </date>
    <date name="04/01/2003">
    <region name="Asia">
    <product_a>33</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>43</product_a>
    <product_b>16</product_b>
    <product_c>430</product_c>
    </region>
    </date>
    <date name="05/01/2003">
    <region name="Asia">
    <product_a>36</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>54</product_a>
    <product_b>1</product_b>
    <product_c>561</product_c>
    </region>
    </date>
    </revenue>

    You could try Jeni's XSLT utilities for SVG :
    http://www.jenitennison.com/xslt/utilities/svg-utils.html
    Specifically, the sample code provided, when a couple of SVG charts are being generated from XML data :
    http://www.jenitennison.com/xslt/utilities/svg-example.html
    Hope that helps.

  • BI Admin Tool and XSLT transformation for XML data source - How it works ?

    Hello,
    There is a possibility to import data from XML data source using BI Admin Tool.
    In the import window we can point XSLT file. What is the purpose of that XSLT field?
    Why I am asking ?
    I thought it is smth like XSLT processor, but simply it doesnt work.
    What I did:
    - I pointed XML data source file
    - I pointed XSLT transformation file
    - Click OK, and still get the message that the XML file structure is not supported
    After that I transformed that XML file with some desktop XSLT processor using the same XSLT file, and I tried to connect that file directly using BI Admin tool.Then it works. So it means that the transformation is ok.
    So basically one question comes to my mind in that situation:
    What is the purpose of XSLT field in BI Admin Tool when it comes to XML data source ?
    (it doesnt look like XSLT processor)
    Greetings
    /Michal

    Hi Mariano
    Why you need to use XSLT for transforming XML file into ABAP table
    Code is a part of some ABAP report. Looks like it is reading a file from file system and updating table after transformation
    If you have requirement like you need to read XML file and then insert the data into a SAP table
    You can use
    File to RFC
    File to Proxy scenario using SAP PI.
    Please provide more inputs on requirement to help
    Thanks
    Gaurav

  • XML data source - Performance problem

    Environment - Crystal Reports 2008 , crjava-runtime_12.2.200 jar files, Java 1.5  and XML data source
    We are generating reports from our java application. .rpt file is designed using CR 2008 .
    The problem we have is its taking longer time to generate a report. Atleast its taking 5-6 minutes. XML file size is around 300 KB. .rpt file size is 2000 KB.
    Steps involved in report generation in Java program.
    1. Creating ReportClientDocument.
    2.Opening ReportClientDocument( reportClientDocument.Open())
    3. constructing XML datasource IXMLDataSet(xml_ds). ( setting XML and XSD)
    4. setting the datasource to database controller. -- reportClientDocument.getDatabaseController().setDataSource(xml_ds, "", "")
    5. then exporting the report in pdf format.
    I don't know what I am doing wrong. Please advise me to improve the performance of this function.
    Thanks,
    Makesh

    Ted,
    I figured out the cause of the problem. I am using JDeveloper as my IDE thats causing the delay. When I deployed the application and ran it, it took just 30 secs for the report using "Pushing" mechanism. Thats amazing. Thanks for your support.
    I have another problem. I am not sure whether to post a separate thread for this problem. Anyway I explain the problem here. If you think it needs another thread, I will post a new one.
    When I use my IDE or the following command JRC runs fine and generates the reports with graphs and all.
    java -classpath C:\JDK\java1.5\bin\CERT.jar;C:\oracle\JDeveloper10.1.3\jdbc\lib\ojdbc14dms.jar;C:\oracle\JDeveloper10.1.3\jdbc\lib\orai18n.jar;C:\oracle\JDeveloper10.1.3\jdbc\lib\ocrs12.jar;C:\oracle\JDeveloper10.1.3\diagnostics\lib\ojdl.jar;C:\oracle\JDeveloper10.1.3\lib\dms.jar;C:\Apps\CERTLib\log4j-1.2.8.jar;C:\Apps\CERTLib\CRLib\com.azalea.ufl.barcode.1.0.jar;C:\Apps\CERTLib\CRLib\commons-collections-3.1.jar;C:\Apps\CERTLib\CRLib\commons-configuration-1.2.jar;C:\Apps\CERTLib\CRLib\commons-lang-2.1.jar;C:\Apps\CERTLib\CRLib\commons-logging.jar;C:\Apps\CERTLib\CRLib\CrystalCommon2.jar;C:\Apps\CERTLib\CRLib\CrystalReportsRuntime.jar;C:\Apps\CERTLib\CRLib\cvom.jar;C:\Apps\CERTLib\CRLib\DatabaseConnectors.jar;C:\Apps\CERTLib\CRLib\icu4j.jar;C:\Apps\CERTLib\CRLib\jai_imageio.jar;C:\Apps\CERTLib\CRLib\JDBInterface.jar;C:\Apps\CERTLib\CRLib\jrcerom.jar;C:\Apps\CERTLib\CRLib\keycodeDecoder.jar;C:\Apps\CERTLib\CRLib\log4j.jar;C:\Apps\CERTLib\CRLib\logging.jar;C:\Apps\CERTLib\CRLib\pfjgraphics.jar;C:\Apps\CERTLib\CRLib\QueryBuilder.jar;C:\Apps\CERTLib\CRLib\webreporting-jsf.jar;C:\Apps\CERTLib\CRLib\webreporting.jar;C:\Apps\CERTLib\CRLib\XMLConnector.jar;C:\Apps\CERTLib\CRLib\xpp3.jar;C:\Apps\CERTLib\iText-2.1.5.jar -Xms256m -Xmx512m com.cert.gui.CERTMainFrame
    Note: CERT.jar has all the application classes and library classes.
    But when I package all these jar files in to single jar file and run the below command, it generates reports with all the features except Graphs.
    java -Xms256m -Xmx512m -jar CERT.jar (OR)
    java -classpath C:\JDK\java1.5\bin\CERT.jar; -Xms256m -Xmx512m com.cert.gui.CERTMainFrame
    Note: CERT.jar has all the application classes and library classes
    I need the above command to run successfully as I am planning to use java web start for application deployment.
    Please help me to solve this problem.
    Thanks,
    Makesh
    Edited by: Makesh on May 28, 2009 12:07 AM
    Edited by: Makesh on May 28, 2009 12:13 AM
    Edited by: Makesh on May 28, 2009 1:32 AM

Maybe you are looking for