Problems trying to create jrepository file

Hi, I´m trying to create Jolt repository and I am receiving the following exception:
Exception in thread "main" bea.jolt.ServiceException: Data conversion failed;
check log file
at bea.jolt.JoltRemoteService.decodeCALL(JoltRemoteService.java:400)
at bea.jolt.JoltRemoteService.call(JoltRemoteService.java:307)
at bea.joltadm.JSvcPkgTbl.initTable(jbld.java:776)
at bea.joltadm.JSvcPkgTbl.<init>(jbld.java:748)
at bea.joltadm.JBldDefRec.<init>(jbld.java:111)
at bea.joltadm.jbld.main(jbld.java:703)
O got this exception by the two ways, creating jrepository through juliet and
even so through bea.joltadm.jbld class.
Does anyone could help me?
thankful.
Leonardo

The reason for creating a new repository file is to incorporate all the new services which are included in multiple servers which comprise the application.

Similar Messages

  • Re: Problems trying to create jrepository file

    Leonardo,
    Why do you need to create a new repository file ?
    Can't you just make a copy of the example one that comes with Jolt (/tuxedo/udataobj/jolt/jrepository)
    Joe
    "Leonardo Pedrosa" <[email protected]> wrote:
    >
    Hi, I´m trying to create Jolt repository and I am receiving the following
    exception:
    Exception in thread "main" bea.jolt.ServiceException: Data conversion
    failed;
    check log file
    at bea.jolt.JoltRemoteService.decodeCALL(JoltRemoteService.java:400)
    at bea.jolt.JoltRemoteService.call(JoltRemoteService.java:307)
    at bea.joltadm.JSvcPkgTbl.initTable(jbld.java:776)
    at bea.joltadm.JSvcPkgTbl.<init>(jbld.java:748)
    at bea.joltadm.JBldDefRec.<init>(jbld.java:111)
    at bea.joltadm.jbld.main(jbld.java:703)
    O got this exception by the two ways, creating jrepository through juliet
    and
    even so through bea.joltadm.jbld class.
    Does anyone could help me?
    thankful.
    Leonardo

    The reason for creating a new repository file is to incorporate all the new services which are included in multiple servers which comprise the application.

  • I having problems trying to download any files...

    hey im having problems trying to download all files, plz help, i get this message saying system.component.model.Win32Exception The system cannot find the file specified.... plz help me

    Check your Java install and use a different browser. Update both.
    Mylenium

  • "application descriptor not found" when trying to create .ane file

    I have been trying to create a very simple native extention for the better part of a week now and I just can't seem to figure it out.
    Using tutorials and guides from the following sources:
    http://www.adobe.com/devnet/air/articles/extending-air.html
    http://www.adobe.com/content/dam/Adobe/en/devnet/devices/pdfs/DevelopingActionScriptExtens ionsForAdobeAIR.pdf
    http://custardbelly.com/blog/2011/09/21/air-native-extension-example-ibattery-for-ios/
    I managed to get up to the point where I need to create the ane file, but I am getting "application descriptor not found".
    So, here is the detailed explanation of everything I have done to date. Can someone tell me where I have gone wrong?
    1. On the mac, I created an xcode project, using the iBattery example code from the link above, I managed to create static library .a file. I am not going to discount the possiblity that there are many errors still in this file, but I am going to assume for the moment that my current problem is not related to any issues in this static library.
    2. Copied the static library "DaveExtention.a" to my PC where I have flash CS5.5 installed (yes, I know there is a typo in the name)
    3. In my app folder, I created a lib folder that now contains the following files:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\DaveExtension.fla
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\DaveExtension-app.xml
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\com\extensions\DaveExtension\DaveExtension.as
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\com\extensions\DaveExtension\BatteryStateEnum.as
    I set my project to compile an swc into the build folder and simply put the following code into my project:
    import com.extensions.DaveExtension.BatteryStateEnum;
    import com.extensions.DaveExtension.DaveExtension;
    var ext:DaveExtension = new DaveExtension;
    var batterystate:BatteryStateEnum;
    stop();
    I then publish the swc.
    4. Once the swc is created in the build folder, I copy the libDaveExtention.a to the build folder and create the extension.xml file, which looks like this:
    <extension xmlns="http://ns.adobe.com/air/extension/2.5">
      <id>com.extensions.DaveExtension</id>
      <versionNumber>1</versionNumber>
      <platforms>
        <platform name="iPhone-ARM">
            <applicationDeployment>
                <nativeLibrary>libDaveExtention.a</nativeLibrary>
                <initializer>ExtInitializer</initializer>
                <finalizer>ExtFinalizer</finalizer>
            </applicationDeployment>
        </platform>
      </platforms>
    </extension>
    5. I make a copy of the swc file and rename it to .zip... I then extract library.swf from it and delete the zip. My build folder now looks like this:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\DaveExtension.swc
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\extension.xml
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\libDaveExtention.a
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\library.swf
    6. I downloaded the flex 4.5.1.21328 sdk and the Air 3.0 sdk, which I copied into the flex sdk folder (which is located in "D:\SDKs\flex_sdk_4.5.1.21328")
    7. In my build folder, I create a simple batch file called buildane.bat with the following command:
    D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    8. I then open a command prompt to my build folder and run buildane.bat and this is my output:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>buildane.bat
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    application descriptor not found
    No matter what I try, I can't get passed this.
    Can anyone tell me what I am doing wrong?

    >>D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    Either its a typo or by mistake you wrote adl in yout bat file. Change it to adt since that is the file that will package your ane. adl is just used for debugging/running on Desktop.
    Hope this helps. let me know how it goes.
    Thanks,
    Meet

  • Problem trying to create and manage external tables

    Hello guys,
    I am having problems having created my external tables trying to select from them. I created the table thus:
    create table job_ext
    (job_id number(3),
    FUNCTION varchar2(30) )
    organization external (type oracle_datapump default directory test_dir
    access parameters (records delimited by newline fields delimited by "~" (job_id number(3) ,
    FUNCTION varchar2(30) ) )
    location ('testdump.lst')
    but on running select * from job_ext, I get the error
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "identifier": expecting one of: "logfile, nologfile, version" etc..
    KUP-01008: the bad identifier was: records
    KUP-01007: at line 1 column 1
    ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19
    ORA-06512: at line 1
    what am I not doing right.
    Secondly, I wish to ask if an directory object is created, will it be visible on the OS file system?? I am using Oracle 10g complete reference for study but it does not throw light on this.
    thanks

    Hi,
    It looks like you may need to grant permissions to the target directory.
    The ORA-29913 error can also happen in external tables when you don't grant read and write permissions to the directory:
    CREATE OR REPLACE DIRECTORY extdir AS '/u01/app/oracle./extdir';
    GRANT READ ON DIRECTORY extdir TO myowner;
    GRANT WRITE ON DIRECTORY extdir TO myowner;
    Also, see BUG 5172459 (MetaLink Note:373168.1)
    The problem is that the message file for external tables oin not the English version. These steps will address the issue:
    1. cd $ORACLE_HOME/rdbms/mesg
    2. cp KUP<lang>.msb KUP<lang>.msb.BAK
    3. cp kupus.msb KUP<lang>.msb
    http://www.dba-oracle.com/t_ora_29913_external_table_error.htm

  • Error when trying to create class file

    I am getting this error when I try to create file
    clobsearch.java:246: not a statement ex;
    protected Element getDocumentRoot(Clob c)
    Element root;
    Reader read = c.getCharacterStream();
    String s = convertClob(read, 8192);
    SAXReader sread = new SAXReader("org.dom4j.io.aelfred.SAXDriver");
    sread.setMergeAdjacentText(true);
    sread.setStripWhitespaceText(true);
    Document doc = sread.read(new StringReader(s));
    root = doc.getRootElement();
    return root;
    Exception ex;
    ex; <--- this is line 246
    System.out.println(ex.getMessage());
    return null;
    any help would be appricated
    thanks
    robert

    The guy who wrote this code is no longer with the company
    the server IP got changed and he had an IP coded in the program
    i managed to uncompile the code
    i changed the IP to the new one
    when I tryed to create the class file i get the error
    so as far as what is happenning with the ex I am not sure
    here is another piece of code that might help
    really all i need to do is get the class file created again...
    protected Element getDocumentRoot(Clob c)
    Element root;
    Reader read = c.getCharacterStream();
    String s = convertClob(read, 8192);
    SAXReader sread = new SAXReader("org.dom4j.io.aelfred.SAXDriver");
    sread.setMergeAdjacentText(true);
    sread.setStripWhitespaceText(true);
    Document doc = sread.read(new StringReader(s));
    root = doc.getRootElement();
    return root;
    Exception ex;
    ex;
    System.out.println(ex.getMessage());
    return null;
    protected double toDouble(String s)
    double d = 0.0D;
    try
    d = Double.parseDouble(s);
    catch(NumberFormatException ne) { }
    return d;
    protected String convertClob(Reader in, int blen)
    StringWriter sw = new StringWriter(32768);
    char buf[] = new char[blen];
    int len = 0;
    try
    while((len = in.read(buf)) != -1)
    sw.write(buf, 0, len);
    in.close();
    sw.close();
    catch(IOException ioe)
    len = 1;
    return null;
    String s = sw.toString();
    int q = s.indexOf("<Quote");
    int end = 0;
    if(q == 0)
    end = s.indexOf("</Quote>") + 8;
    } else
    q = s.indexOf("<Project");
    if(q == 0)
    end = s.indexOf("</Project>") + 10;
    else
    end = s.indexOf("</Order>") + 8;
    return s.substring(0, end);
    public static void main(String args[])
    if(args.length < 2)
    System.out.println("Usage: clobsearch tablename [searchpattern] [datesql]");
    System.out.println("Where: searchpattern like \"Geodesic Dome\" and datesql like \" where quotedate >= to_date('01/01/2004', 'MM/DD/YYYY')\"");
    System.out.println("OR: clobsearch tablename searchpattern -data idfile [idcolname]");
    System.out.println("Where: searchpattern as above, idfile is a one per line file of quote or order numbers, idcol=column name for id col");
    System.exit(1);
    clobsearch cs = new clobsearch(args);
    }

  • Problem trying to create FIELD SYMBOLS in BADI.

    Hi guys!
    I'm trying to create a Field Symbol in method CHECK of BADI me_process_req_cust (well, I'm working on a Z implementation).
    The problem is that I'm trying to create a FIELD SYMBOL and when I check the syntaxsis, I receive the next error:
    Clase ZCL_IM_MM_PURREQ_UPDATE,Método IF_EX_ME_PROCESS_REQ_CUST~CHECK
    Names may only consist of the characters "A-Z", "0-9" and "_". In
    addition, they may not begin with a number.
    This is the code:
            FIELD-SYMBOLS: <sy-mereq> TYPE mereq3328-afnam.
    Any idea????
    Thanks in advance!
    Bet

    Hi Silveria,
    The problem lies in
    FIELD-SYMBOLS: <sy-mereq> TYPE mereq3328-afnam.
    instead of that it should be something like this
    FIELD-SYMBOLS: <sy_mereq> TYPE mereq3328-afnam.
    With your code you will be getting a syntax error saying sy-mereq is not defined,as it will be looking for the mereq in the system fields.
    Regards
    Abhinab Mishra

  • Problems trying to create scrollable text in InDesign CC

    I'm making an interactive presentation in InDesign. Im trying to create some scrollable text. i didn't know how to do that in CC, so I looked up some videos over the web and learned I needed to use the "Folio Builder" or the "Overlay panel". i never was able to find the latter and the Folio Builder gives me this message: "A software update is required to use Digital Publishing Suite. Please go to the Help menu and select Updates to get the required software." My software is already up-to-date (at least that's what the Adobe Application Manager tells me). Is this happening because I'm using a trial version? I'm planning to buy the Creative Cloud package but first I need to know it's worthy. Thanks for your help!

    You are most likely looking at some very old videos. As it happens my DPS
    course was just released on lynda.com:
    http://boblevine.us/my-first-lynda-com-title-adobe-digital-publishing-suite-
    essential-training-is-live/
    There's a link to a one week trial there if you don't have a subscription.

  • Problem trying to transfer multiple file over a network or the internet

    Hello I'm trying to make a file transfer program to transfer file over the internet or a network. I've been able to successfully transfer one file but when I try to send multiple files I keep getting a EOFException after the client trys to send the files. The client says it sent both files and the connection was closed but the server said that it only received one file and throws a EOFException. I've included the code from the client and the server. Any help is much appreciated.
    The Client
    private class createSocket implements Runnable {
              String address;
              int port;
              public createSocket ( String address, int port ) {
                   this.address = address;
                   this.port = port;
              public void run() {
                   try {
                   postStatusMsg( "Opening Connection at " + address + ":" + port );
                   Socket socket = new Socket( address, port );
                   postStatusMsg( "Connected to " + address + ":" + port );
                   DataOutputStream dos = new DataOutputStream( socket.getOutputStream() );
                   DataInputStream dis = new DataInputStream( socket.getInputStream() );
                   dos.writeInt( files.length );
                   for ( File f : files ) {
                        BufferedOutputStream out = new BufferedOutputStream( dos );
                        BufferedInputStream in = new BufferedInputStream( new FileInputStream(f) );
                        postStatusMsg( "Sending: " + f.getName() );
                        byte[] b = new byte[8192];
                        int read = -1;
                        dos.writeUTF( f.getName() );
                        while ( ( read = in.read( b ) ) >= 0 ) {
                             out.write( b, 0, read );
                        postStatusMsg( "File Sent" );
                        in.close();
                   dos.close();
                   postStatusMsg( "Closing Connection" );
                   socket.close();
                   postStatusMsg( "Connection Closed" );
              catch( IOException e ) {
                   Main.ShowMsgBox( statusTA, "Error", e.getMessage(), JOptionPane.ERROR_MESSAGE );
                   try {
                        e.printStackTrace( new PrintStream( "./log.txt" ) );
                   catch ( FileNotFoundException ee ) {
                        ee.printStackTrace();
         }The Server
    public class ServerHandler implements Runnable {
              private Socket s = null;
              public ServerHandler( Socket s ) {
                   this.s = s;
              public void run() {
                   try {
                        handlers.add( this );
                        DataInputStream dis = new DataInputStream( s.getInputStream() );
                        DataOutputStream dos = new DataOutputStream( s.getOutputStream() );
                        BufferedInputStream in = new BufferedInputStream( dis );
                        BufferedOutputStream out = null;
                        int count = dis.readInt();
                        for ( int i = 0; i < count; i++ ) {
                             File f = new File( Main.settings.SAVE_DIR );
                             if ( !f.isDirectory() )
                                  f.mkdir();
                             f = new File( Main.settings.SAVE_DIR + "\\" + dis.readUTF() );
                             out = new BufferedOutputStream( new FileOutputStream( f ) );
                             postStatusMsg( "Receving: " + f.getName() );
                             byte[] b = new byte[8192];
                             int read = -1;
                             while ( ( read = in.read( b ) ) >= 0 ) {
                                  out.write( b, 0, read );
                             postStatusMsg( "File Received" );
                             out.close();
                        in.close();
                        postStatusMsg( "Closing Connection" );
                        s.close();
                        postStatusMsg( "Connection Closed" );
                        handlers.remove( this );
                   catch ( IOException e ) {
                        Main.ShowMsgBox( statusTA, "Error", e.getMessage(), JOptionPane.ERROR_MESSAGE );
                        try {
                             e.printStackTrace( new PrintStream( "./log.txt" ) );
                        catch ( FileNotFoundException ee ) {
                             ee.printStackTrace();
         }

    Something like this, modulo bugs:
    // sender
    dos.writeLong(file.length());
    // send the file
    // receiver
    long length = dos.readLong();
    long current = 0;
    int count;
    while (current < length && (count = in.read(buffer, 0, (int)Math.min(buffer.length, length-current))) > 0)
      out.write(buffer, 0, count);
      current += count;
    }

  • Problem trying to create graphic style...

    I'm trying to create a nave menu and in doing so, create a single graphic style that can achieve my end goal. I can get what I want by using a seperate shape, but that defeats the purpose of the single graphic style. I thought I could achieve the look using an effect under
    Effect>Pathfinder
    But that doesn't get the result I expected. Below you can see both what the graphic style currently looks like, and what I want to add to it (the gloss) hopefully within the same graphic style. Is this possible?

    Try this:
    https://dl.dropboxusercontent.com/u/3910250/button.ai

  • Please Help. Trying to create XML file from 2 tables.

    Step1: Target XML format
    Created an XML
    <DEPART>
    <DEPARTMENT_ID>10</DEPARTMENT_ID>
    <DEPARTMENT_NAME>Administration</DEPARTMENT_NAME>
    <MANAGER_ID>200</MANAGER_ID>
    <LOCATION_ID>1700</LOCATION_ID>
    <EMP><EMPLOYEE_ID>100</EMPLOYEE_ID>
    <FIRST_NAME>Steven</FIRST_NAME>
    <LAST_NAME>King</LAST_NAME>
    <SALARY>24000</SALARY>
    </EMP>
    </DEPART>Step 2. Created a target data server from the above mentioned xml. Specified the logical and physical schema.
    Step3.Logged into Designer and reverse engineered from the the schema created in step2.
    step 4. Following Hierarchy is created
    DEPART
    --> EMP
    Step 5. Reverse engineered 2 tables from oraclexe (HR ) Schema
    Employees
    Departments
    Step 6. Created an interface and made DEPART from step 4 as target
    and Departments from step 5 as source.
    Step 7. Staging area is different to the target.
    step 8. modified the IKM SQL Control Append to write to a file
    create xmlfile #filename from schema DEPART
    Step 9. Changed the DEPART PK Column in the TARGET to 0
    Step 10. File is created.
    Problem:
    1. When i view the file it has all the departments but the employees are also displayed eventhough i haven't done the mapping.
    2. All the employees are listed under every department.
    Please help as i have tried everything. I know i am missing something somewhere.
    Thanks a lot for reading it.
    Alvinder
    Edited by: alvinder on Jun 30, 2010 5:29 PM

    Hi Alvindar,
    Thanks u posted good issue,
    Can u clarify this about how your issue got ressolved. I am also trying with same XML as you have pasted here. I have following doubts.
    While setting up XML data server the ro option i have deleted as defalut value is false which allows both read/write & its look like this
    jdbc:snps:xml?f=../demo/XML/EMPDEPT.xml&s=SCH_EMPDEPT.
    I have mapped and written create XML commands in commit section of IKM which looks like this :CREATE XMLFILE #ExportXMLFileLoc FROM SCHEMA SCH_FLDEPT
    created the interface and executed,it went through fine,4 rows data transformed into target xml data store,file is generated in the given path .
    But in the generated file is same as which have EMPDEPT.xml with data change,but in the target xml data store depart i am able to view newly inserted records.
    i want generate an output xml for each of the target of the XML data store, how we can do that please explain me.
    this is my xml
    <?xml version="1.0" encoding="UTF-8"?>
    <REQUEST>
    <DEPART>
    <DEPARTMENT_ID>10</DEPARTMENT_ID>
    <DEPARTMENT_NAME>Admin</DEPARTMENT_NAME>
    <MANAGER_ID>200</MANAGER_ID>
    <LOCATION_ID>1700</LOCATION_ID>
    </DEPART>
    </REQUEST>
    tried only with DEPART table.
    Waiting for ur repply,
    Thanks,
    MNK

  • Help -- Trying to create JAR file but not working

    Hi everyone
    I have created a rather noddy Java program that consists of 4 JComboBox's and 1 JButton on a JFrame.
    When the button is clicked a text file is generate with the options that have been selected.
    There are severial files that the program uses for this:
    gcc.java
    OutToFile.java
    gccConfirm.java
    MyNewWindow.java
    main.java
    I am using Jcreator and so must use the command line to create the Jar file.
    I have never done a jar file before so I did an example with a hello world program and got it working now problem. I did the same for this program and the JAR file is generated without error. I double click on the JAR file to run the application, but nothing happens. I can see the application running in memory but nothing loads on the screen. However if I run it from the command line using Java -jar gcc.jar then everything is ok.
    can anyone help me here?
    thanks in advance

    If you run you .jar from the command line (a shell in unix speak) there
    already is a console where your java program can send it's System.out
    stuff. Right click on your .jar and select 'properties' (or similar). Note
    that your .jar is run by 'javaw'. This executable is similar to the 'java'
    executable except that it doesn't open a console for you. Change the
    'javaw' command to 'java' and voila, there's your console again.
    kind regards,
    Jos

  • "Package operation failed" error when trying to create ICAP file

    Why is this happening? I create a new assignment and then select "Package for Incopy" and I get the error message "Package operation failed". What am I doing wrong?  For draft 1 of my Mac Indesign CS5 file I created a new "assignment 1" and ICAP file and emailed to my PC Incopy CS4 client. They sent IDAP file back and all was well. I need to send draft 2 to client the same way but why am I unable to create a new ICAP file? I can't even replace the ICAP file from draft 1. Please help. Thank you!  Lynn

    Did you ever get it to work?
    We are having the same problem.
    Indesign CS4 on Mac
    InCopy CS5 on PC
    Though we also get an odd message when we reopen the InCopy doc, that there is another version created in 1999 which we might want to use.

  • Some prolems when trying to create Jar file...

    Hi,
    1st sorry i post this in the wrong box, i posted it in the Jar box but no body replied and I really need to get this done soon...
    I've got a list of *.class and a folder images and Start is the class I want to be the entry point
    I tried:
    1. jar cfm MyApp.jar Manifest.txt *.class images
    In Manifest.txt has a line: Main-Class: Start
    the jar file is created, but when I tried to run (both double click and command line) this gives me an error "Failed to load Main-Class manifest attribute from..."
    2. jar cmf MyApp.jar Manifest.txt *.class images
    this has error while making the jar file, it gives "java.io.FileNotFoundException: MyApp.jar (The system cannot find the file specified)...
    3. I tried the 1st method, then unzip the jar file, edit the manifest.mf file by adding a line Main-Class: Start. Then zip it, rename it to MyApp.jar
    And a weird thing happens... When I place the jar file IN THE SAME FOLDER with other class files, it runs fine. But when I move it to A DIFFERENT FOLDER with other class files, it runs with dimension 0x0, i.e. only the title bar is displayed...
    I've tried those method and none of them work... can some one tell me what I have done wrong?
    Thanks...

    This is the class used to get the ImageIcon for the JLabel
    public class CardGUI extends JPanel {
         private ImageIcon tmp;
         private final int CARDWIDTH = 50; //Card width is 50
         //return the Card GUI
         public ImageIcon getCardGUI (int kind, char suit) {
              //This String is used to locate the file (*.png)
              //of each Card
              //E.g. Card 2 Club will has file "images/cards/2c.png"
              String imgStr = "images/cards/" + kind + suit + ".png";
              tmp = new ImageIcon(imgStr);
              //If the card is not found, return the back of the Card
              if (tmp.getIconWidth()!= CARDWIDTH) {
                   tmp = new ImageIcon("images/cards/back.png");
              return tmp;
    }Then the JLabel used this to set the image, where humanCard1 is an instance of JLabel, and cardLabel is instance of the above class.
    humanCard1.setIcon(cardLabel.getCardGUI(card10.getKind(), card10.getSuit()));
    > new ImageIcon("images/mainbackground.jpg")Wrong. Because there are any more no files in a jar archive. Only file is the jar file itself, and nothing else.
    What do u mean? When I create the jar file, i include the images folder inside the jar file already?
    I've been using the Swing forum and that's how I know the 2 methods above for setting image for JLabel and JPanel... So what should i be searching for in the Swing forum now?

  • Swc / accordion problem, trying to create a 3-level dynamic nav

    Hi!
    First time poster, long-time troller. I've been working on a
    CMS system and having a little trouble creating a three level
    navigation, that's uses the functionality of the accordion
    component, but styled with dynamically loaded fonts.
    I'm using the "flexlibs" swc (and was playing with degrafa,
    but think it's a little much for what I'm trying to do). What I'm
    doing is:
    - pulling the three level navigation (1st level - brand, 2nd
    - campaign, 3rd - job),
    - a VBOX holds the entire nav, the first level is an
    accordion with:
    -- a header (that somehow draws the data (this is my first
    question) to put in a swc I created, in a Header.mxml component.);
    and a
    -- repeater that does the same thing for "campaign" (2nd
    level): vbox, vaccordion (header + repeater), that holds:
    -- a swc component, called "JobComp" (I've been playing
    swapping it with a flash-made swc but can't seem to figure out how
    to pass initialization variables in the constructor)
    I used "swc"'s for the nav components, because the fonts are
    "AGBuchBQ-Bold" and I thought it'd be easier this way.
    I guess my question(s) are:
    1. How do I pass a variable in the constructor of a swc
    Component?
    2. Am I doing this right? Or should I construct the
    navigation ALL in flash, export as a swc, and just pass in the xml
    to the flash component (which means I need to understand #1...)
    3. Is there a way to load / set font in the accordion / list
    components that are not the basic fonts? If I can style it all in
    the .css, that'd be really really helpful, I think, since it's 90%
    there.
    Thanks again, for any input,
    Dom

    My bad i didn't see that you want to create a swc.
    Well, as i said earlier, for me, the only way to pass
    parameter to a constructor (i suppose you mean like new Label("my
    title")) is using actionscript.
    What you can do if you want to create an MXML file is
    creating public parameters (or getters) in the script tag and use
    the [bindable]. As far as i understood Flex, properties in an MXML
    will have no action on your component if you don't use this tag.
    You can as well create a method that will apply these
    parameter after its creation, example :
    You create a MyComponent class which has different properties
    like displaySubComponent and maximumValue. In your class, you
    create a method called "applyParameters" which will do something to
    initialize it.
    Then you call use it like this:
    <c:MyComponent id="a_component" displaySubComponent=[ A,
    B, D] maximumValue=5
    onCreationComplete={a_component.applyParameters()} />
    And yes, i thought
    "dataProvider="{repeatCampaign.currentItem..job }" was strange but
    it's good to know that we can do that ;)
    Hope, i was understandable ^^"

Maybe you are looking for

  • Help needed in XML Bursting to set printer details

    Hi, In xml bursting to set the printer details, we need to Specify the printer attribute as a URI such as:"ipp://myprintserver:631/printers/printername" Here I am getting printername dynamically from report. But I am not understanding "ipp://myprints

  • No Image on External Monitor

    My external monitor has become very difficult to use with my PowerBook, but I don't know what I did to cause this. I am using a Samsung SyncMaster 910T as an external display via the Apple VGA - DVI adaptor with a 15-inch PB G4, and for years it has

  • How do I dual boot Mountain Lion

    I recenetly purchased a new iMac with Mountain Lion installed on it. My previous Mac runs Lion. I still have a few apps which I need to support older devices for and need to run an earlier version of xCode than is allowed on Mountain Lion. My hope wa

  • Fighting with Submit Button and Return Address / distributing Forms

    I go crazy, too ! We designed some smart forms for a new evaluation process, too, and had a successfully test within our IT collegues. Now we handed the process over to the users, and the problems are on! We made sure that everyone uses the same vers

  • Formula Functions are not working for Input Ready Key Figure

    Hi all, I have created an Input Ready report in BI IP, which is containg number of Characteristics / Key Fig. / Formula Functions. Here, when I am executing this report, it is throwing below message only for formula functions I am using in the report