Looking for CRconfig.xml

Post Author: something_stupid
CA Forum: JAVA
Hi,
I wrote a small program that should start the embedded reportviewer and show a report. When I run the program the line
reportClientDoc.open("D:
UserTemp
JRCViewReport.rpt", 0);
throws an exception:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: CRConfig.xml Konfigurationsdatei nicht gefunden---- Error code:-2147467259 Error code name:failed
Apparently the CRconfig.xml file cannot be found.
Question1: Can I tell the class ReportClientDocument where to find it?
Question2: If not, where does he look for it?
Question3: Is the CRconfig.xml necessary?
I'm attaching the source code that produces the exception.
Thanks in advance,
Torsten
=========================================================================================
package crystalreports;
import com.crystaldecisions.ReportViewer.ReportViewerBean;import com.crystaldecisions.reports.sdk.ReportClientDocument;import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;import java.awt.BorderLayout;import java.awt.Container;import javax.swing.JFrame;import javax.swing.SwingUtilities;
public class MainClass extends JFrame {          private ReportClientDocument reportClientDoc = new ReportClientDocument();    private ReportViewerBean reportViewer = new ReportViewerBean();    private Container cp = null;        public MainClass() {    }        public static void main(String [] args) {                SwingUtilities.invokeLater(new Runnable() {            public void run() {                new MainClass().launchApp();            }        });    }        public void launchApp() {        try {            cp = getContentPane();            cp.setLayout(new BorderLayout());            cp.add(reportViewer);            reportClientDoc.open("D:
UserTemp
JRCViewReport.rpt", 0);            reportViewer.setReportSource(reportClientDoc.getReportSource());                        this.setLocation(50, 50);            this.setSize(600, 600);            reportViewer.init();            reportViewer.start();            this.setVisible(true);                    } catch(Exception ex) {            System.out.println(ex);        }    }}
=========================================================================================

Post Author: Ted Ueda
CA Forum: JAVA
The JRC requires CRConfig.xml to be found on the classpath.  It holds the license keycode and other configuration information, and so is necessary. Either the containing folder path or the jar file must be listed within the classpath.Sincerely,Ted Ueda

Similar Messages

  • Looking for an XML-enabled database system

    Dear all,
    I am looking for a RDBMS (Relational Database Management System) that provides management of XML data in a relational fashion.
    I found the IBM DB 2 XML Extender. However, I am not sure if this system is already in use (because the latest release was in 2003).
    I would be very grateful to you if you could help me to find what I am looking for.
    PS. For RDBMS handling XML data, we find two categories: XML-enabled systems (they store XML data using a special data type like BLOB, CLOB,...), or the native XML systems (which stor XML data in its hierarchical structure, so the fundamental unit of storage is XML document). So, I precise that I am looking for an XML-enabled system and NOT a native XML system.
    Thanks in advance.
    Best regards,

    Thanks for your help,
    To be more clear, I am looking for an XML-enabled database system (which provides only relational techniques to manage XML data).
    Oracle is a Hybrid system (it means that it provides both native and relational fashions to manage XML data, e.g. you can store XML document as XMLType column (native way) or using BLOB data type (relational data type). I am collecting information about the three broad categories of XML database systems (native, XML-enabled, and Hybrid), and I would like to give example of each system. For example, there is BaseX and eXist-db for the first category (native systems), Oracle and IBM DB2 for the third category (each of theme manage XML data in both native and relational fashions). However, for the second category (XML-enabled systems), I don't find more information about the existing systems, there is for instance postgreSQL which is an XML-enabled system, but I don't find more information about its architecture, its XML data storage model, API for querying and updating, and so on.
    Please don't hesitate to help me if you get some documentation about postgreSQL or about another XML-enabled database system.
    Thank you again.
    Best regards.

  • ITunes looking for wrong .xml filename, adding /

    Hi,
    I have been podcasting for about a year now. However, the last 4 weeks of my show haven't updated on my page and I have found out why...when I click on the information icon it is looking for the filename
    http://www.deucecreative.co.uk/upload/traxsource/ts1_podcast.xml/
    They have added a forward slash (.xml/) at the end. It is impossible to name a file that way, and I am not sure why it is looking for that filename. Nothing has changed on my xml and it doesn't appear that way anywhere else. I have validated it with feedvalidator and it's fine.
    If I subscribe to "http://www.deucecreative.co.uk/upload/traxsource/ts1_podcast.xml" it works correctly, just won't update on the main page.
    If anyone has some sort of solution it would be much appreciated. I have already tried to contact their support Thanks.

    Hi Greg,
    Thanks for replying. I actually tried to add that line it to point it to the correct filename. I see that that xml doesn't validate so I have removed it and re-uploaded a valid one.
    http://www.deucecreative.co.uk/upload/traxsource/ts1_podcast.xml
    here is a direct link to get a better idea of what it happening..
    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=271121520
    That only goes up to week 61. Should go up to 64. Once you subscribe & try do download you get the ( i ) error message.
    If I get <itunes:new-feed-url> to point to a valid xml do you think that might solve the problem?
    Thanks again.

  • I am looking for "oracle.xml.xqxp.datamodel" package

    Hello,
    Where I can download this package "oracle.xml.xqxp.datamodel", I have imported the "xmlparserv2.jar" but I can not find it there :)
    Thanks a lot ...

    try this link to see where will be useful
    http://www.springsource.com/repository/app/bundle/version/detail;jsessionid=2B5FA218B645ADAA0FDCF78D1B11A4A7?name=com.springsource.oracle.xml&version=10.2.0.2

  • Looking for an xml driven video/photo player for portfolio website

    I need to make a website that displays videos and photos.
    Here's an example:
    http://www.mazmakhani.com/
    Does anyone know of a .fla template that fits the bill?
    Thanks

    Hi
    You'll find a couple
    Here, that will give you a
    base to start from
    Hope it helps

  • Looking for some basics/fundamentals of XML Parsing in ABAP

    Hello SAP gurus
    I have to start workign on a project that involves Variant Configuration stuff that will be sent as XML document. I have to parse the XML document and save the needed data in some custom tables. I heard that there are some standard functions that we can use to do this job. I tried searching SDN for string XML parsing and got tons of postings regarding this. I tried to go through them one by one but it was way beyond my understanding at this time. I am looking for the fundamentals or how to start from scratch.
    I would appreciate if anybody can guide me to find some kind tutorial or basic info on where and how to start.
    Thanks a lot in advance
    Ram

    XML parsing through CALL TRANSFORMATION is one of the easiest method. A transformation needs to be created as per your XML data in transaction XSLT_TOOL and the transformation needs to be called in ABAP program using "CALL TRANSFORMATION" statement.
    Kindly search in internet for XSLT/simple transformations.

  • Looking for a way to move a rejected xml file after loading it

    Hi all,
    I'm currently looking for a solution to do the following:
    I've loaded multiple xml files into an external table and after firing a few queries on that external table, I've moved the xml data into a normal oracle table
    depending on a few values which need to be met (e.g. last two digits of column a need to be the same as the last two digits of column b)
    All of this works fine, but I'd like to be able to move the xml files which don't meet these requirements to another folder on the filesystem named e.g. 'rejected'
    now, my shell script just moves all the xml files to a processed folder after loading them into an external table.
    I've looked at utl_file.frename but I need to be able to automatically move more than one file if neccesary instead of filling in one filename in the frename statement.
    (maybe the filenames need to be entered into a separate table?)
    Thanks in advance and your help is much appreciated!

    You can look through some of the different Layouts available.
    Select your page.
    Click the "Layout" icon on the lower right hand of the application window.
    Above it will appear a "BACKGROUND" section and a "LAYOUT" section.
    Immediately below the "LAYOUT" is a drop down menu which will show you all the different options.

  • Web Based Messageboard (JSP, XML, XSLT) - Just Looking For Advice Please!

    I have a general question - I am not looking for any code, just some advice if possible. I am studying on a Masters course and I have been given an assignment to do which I am having difficult getting started. I have worked a lot with Java up until now, however this is the first time I have had to JSP on my course.
    My current assignment is that I am required to create a simple web based message board, using JSP and XML, which allows users to post messages to the board, and also to reply to messages. The content of the message board is stored in an XML file, and there is no database involved. The message data needs to be formatted for viewing in a browser using XSL transformations.
    I am stuck as to how to go about starting the project, and this is all I am asking for advice in. I have created the basic XML file which has some preliminary data stored within it, and I have created an XSL stylesheet to transform this data, however I am stuck with the JSP. Do I need to create a seperate JSP page for each page of the website? How does this link in with the XSLT?
    I would welcome and really appreciate any advice, but I stress that I am not looking for anyone to give me any code or anything like that.
    Thanks.

    You can use XSLT to convert XML to HTML. Then include this HTML in your JSP. Further on you've a plain HTML form with an input field for a message which you submit to a servlet. In the servlet validate/convert/whatever this message and add it to the XML file and then forward/redirect the request back to the JSP.

  • Looking for the java default XML parser?

    Hey guys,
    I just wondering alot about the sometimes mentioned Java Default XML Parser. So I used xerces and it worked fine, but my program doesnt need the whole functionality of xerces and I want to save some space for the resulting project jar. The xerces parser is 1.1 MB huge and instead of xerces I could use the default SAX parser in the java API, I thought.
    Although it is mentioned in some books/documents I can not find it.
    Could you give me an exmaple with the XMLReaderFactory how to use the default parser?
    I would appreciate this alot!
    Thanks.

    Hey,
    yes that I tried before, because I read this too.. If I am doing this Im getting the error:
    Exception in thread "main" org.xml.sax.SAXException: System property org.xml.sax.driver not specified
         at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:90)
         at cfm.com.gui.GUIBuilder.buildGUIPage(GUIBuilder.java:51)
    ...So, this means that the JDK comes not with an default parser implementation I suggest.
    Hmm... stupid! I think I have to ship the xerces parser with my application... but its huge!
    Does anybody know what of the compelling parser are the lighweightest?
    Im gonna look for this answer too....
    Thanks.

  • Designer looking for Action Script/XML galleries

    I am designer. I know XHTML and CSS3, but am really having lots of trouble learing Action Script and XML.
    I need to create a photo gallery for a client and am looking for resources.
    I will have to buy a pre-coded gallery and plug in my own photos.  Looking for suggestions on where to look.
    Thanks

    you can use google to search for premade galleries:  flash as3 photo gallery template.
    if you want a custom made one, send me an email via my website:  www.kglad.com

  • Looking for com.sun.xml.tree package

    Hi,
    I�m looking for a jar which contains the XmlDocument class to download.
    I found the package, (it�s com.sun.xml.tree) but I cannot find where the package/jar is to download it.
    Your help will be much appreciated.
    Thank you,
    Chris

    I have all latest jars (jaxp, xerces, xalan, jdom, dom4j and any related jars). I have w3c DOM and i have been trying to convert it to JDOM and dom4j using relevant APIs. i keep getting following error.
    Exception in thread "main" java.lang.AbstractMethodError: com.sun.xml.tree.Eleme
    ntNode.getNamespaceURI()Ljava/lang/String;
    at org.dom4j.io.DOMReader.readElement(DOMReader.java:181)
    at org.dom4j.io.DOMReader.readTree(DOMReader.java:106)
    at org.dom4j.io.DOMReader.read(DOMReader.java:88)
    Can you advise what could be the reason and how to resolve this?
    FYI : my w3c DOM has been created with com.sun.xml.tree.XmlDocumentBuilder class and other methods of the package. I need to resolve this error at earliest to move forward.
    I would apprecaite early response at [email protected]
    Thanks,

  • Look for XML Tutorial

    Hello,
    I am looking for a tutorial on laoding external images using
    XML. I created a menu with flash that lists catagories for products
    and a marketing banner with in the fash movie.
    I need to take those images and place them outside of the
    flash movie so the client can update the products or the image for
    the banner and also to reduce the size of the Flash .swf.
    I am not having anyluck finding a tutorial that will help me
    with this. I have downlaoded the XML basics from gotoand learn.com
    but it just was not what I am looking for.
    Thanks for your help in advanced,
    invtech

    Ok, I don't yet see the underlying algorithm, but I am still
    looking.
    Tracy

  • Looking for raw SOAP XML for Data Card requests

    We are neither a .NET nor JAVA programming shop, but the code samples I find are.
    And so, we are looking for the raw SOAP XML for calls surrounding entity type DataCardSet.  In particular, we want to retrieve a list of them, and then for a particular one, retrieve/describe its available field details.

    Hi Corey,
    I've included SOAP messages below for requests to list and describe DataCardSets in your Eloqua install.
    The following SOAP XML call will return a list of all DataCardSets :
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
      <s:Header>
        <VsDebuggerCausalityData xmlns="http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink">uIDPo6MkWEPC3S5OmHaW8t1VC/kAAAAAI03BGdV8TkmUW00g2vOgE7r/OByVYmdPgXikgEI8ZRsACQAA</VsDebuggerCausalityData>
        <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
          <u:Timestamp u:Id="_0">
            <u:Created>2013-01-31T13:32:51.750Z</u:Created>
            <u:Expires>2013-01-31T13:37:51.750Z</u:Expires>
          </u:Timestamp>
          <o:UsernameToken u:Id="uuid-43493015-758b-4f34-837f-820c8f2b044c-1">
            <o:Username>Company\UserName</o:Username>
            <o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password</o:Password>
          </o:UsernameToken>
        </o:Security>
      </s:Header>
      <s:Body>
        <DescribeEntityType xmlns="https://secure.eloqua.com/API/1.2">
          <globalEntityType>DataCardSet</globalEntityType>
        </DescribeEntityType>
      </s:Body>
    </s:Envelope>
    The following request will describe the metadata (including custom fields) on your DataCardSet :
    (assuming the ID of the DataCardSet is 95)
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
      <s:Header>
        <VsDebuggerCausalityData xmlns="http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink">uIDPowA6KT+197BLtB+NzsSc1yYAAAAAeE8D6Q/LUUyO4p5XUfsdQf9zTkkCGRRKuRBcBkjafZcACQAA</VsDebuggerCausalityData>
        <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
          <u:Timestamp u:Id="_0">
            <u:Created>2013-01-31T13:35:40.433Z</u:Created>
            <u:Expires>2013-01-31T13:40:40.433Z</u:Expires>
          </u:Timestamp>
          <o:UsernameToken u:Id="uuid-4f57be51-7af1-4d91-9f98-f1919f587117-1">
            <o:Username>Company\UserName</o:Username>
            <o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password</o:Password>
          </o:UsernameToken>
        </o:Security>
      </s:Header>
      <s:Body>
        <DescribeEntity xmlns="https://secure.eloqua.com/API/1.2">
          <entityType xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ID>95</ID>
            <Name i:nil="true"/>
            <Type>DataCardSet</Type>
          </entityType>
        </DescribeEntity>
      </s:Body>
    </s:Envelope>
    Thanks,
    Fred

  • Looking for a non XML driven Flash banner rotator

    I am looking for a non XML driven Flash banner rotator, something where I can load my images into the FLA and publish. The only rotators I can seem to find have external XML/image files, etc.
    All I want to do is create simple SWF's that I can use to display rotating images preferably is a smooth and stylish manner. Does anyone know of any, or could point me in the right direction?
    Many thanks for any help you may be able to offer and I am willing to follow any tutorials.

    Hi
    I wonder why not show you how to use Quicktime.
    Because I would use the html5 audio, that way the browser chooses the 'player' to use, and I wanted to give the OP the choice -
    <audio controls preload="auto" autobuffer>
      <source src="elvis.mp3" />
      <source src="elvis.ogg" />
      <!-- now include flash fall back -->
    </audio>
    PZ

  • Problem with my program looking for the settings file in the wrong folder

    I have been writing a simple FTP file uploader, what I want to do is be able to select the files I want to upload in windows explorer and then right click and click the menu item and it launches the program and passes the files paths that I have selected to it.
    So I use this in the windows registry "C:\Program Files\Java\jre1.6.0_03\bin\java.exe -jar D:\BenFTP\BenFTP.jar %1"
    It launches fine and has no problem finding the files I want to upload. The problem is that it tries to look for the settings file in the same folder that the file I am try to upload is in. Which it's not suppose to do since the settings file is in the same folder that the .jar is in.
    Edited by: ColNewman on Feb 5, 2008 6:55 PM

    So, you're looking for your settings file in your current working directory. There's no way to set the CWD in your registry entry (is there?) so that isn't a practical thing to do. Presumably you're using a File object or a FileReader or something? Can't do that.
    One alternative is to look for the settings file in the classpath. You can get a URL to a file in the classpath like this:URL settings = this.getClass().getResource("/settings.xml");Or you can get an InputStream to read the file by using the getResourceAsStream method. You would have to make sure that your executable jar file contained a Class-Path entry that specified the right directory, because the directory the jar is contained in isn't automatically in an executable jar's classpath.
    Another alternative is to ask the user where the settings file is supposed to be, and put an entry in the Preferences (java.util.prefs) to remember that location.

Maybe you are looking for

  • Apps replaced with question marks?

    I just bought an iPhone 5s from ebay. It arrived with a US plug and US instructions even though i live in the UK and the sender was from the UK. I plugged it into my mac computer and it loaded up on iTunes then instantly chrome had to force quit and

  • Zip file with special chars are not unzipped properly

    Hi all, i have following problem: I want to unzip a zip file. In the zip file there is a file with a special character i.e. "straße". When i call now zipFile.getInputStream( entry ) null will be returned. What can i do? Thanks a lot ZipFile zipFile =

  • Problems converting word in PDF, graphics

    I use Acrobat X Pro and Word 2003 SP3. Photos change their size in the PDF. If the photo-size was never changed in Word, the photos stay as they were, but if the size of an inserted photo was slightly changed in word, this photo is in the PDF in its

  • Need Help! Blackberry 8300 Keyboard Locked-up

    Need Help!  Blackberry 8300 keyboard locked-up.  Trackball can scroll but cannot activate programs. Cannot use keys to answer phone, activate programs, etc.  I have taken battery out to reboot/reset but no luck.  Any help/suggestions would be greatly

  • Unzip files from SDCARD

    HI, i am trying to unzipping files from external sdcard.. i am using zipme.jar, but when i am deploying this application it give error. please nay one hep me to unzipping files using 3rd-party jar