Cannot find ADF components within Oracle JDeveloper

I am new to Oracle JDeveloper 10g.
I am trying to follow a tutorial provided in an oracle book using JSP and ADF. Except my version of Oracle JDeveloper 10g does not use ADF
ie In the project properties under technology scope I do not see ADF Business Components or ADF Swing
Also when I am creating the JSP, I do not see ADF Faces libraries (Cache, components and HTML).
How can I add these ? Please give me very simple instructions - I am very new to this.
My version of Oracle JDeveloper 10g is
10.1.3.0.4
CVS Version (External)     (CVSNT) 2.0.12 (client/server)
Java™ Platform     1.5.0_05
Oracle IDE     10.1.3.36.73
Struts Modeler Version     10.1.3.36.73
UML Modelers Version     10.1.3.36.73
Versioning Support     10.1.3.36.73

Hi,
if you downloaded the JDeveloper Studio edition then ADF Faces and ADF Business Components should be there.
Double click on a project and select "All Technologies" from the top select bx. After this you should see ADF Business Components under the business tier node
For ADF Faces, open the component palette ctrl+shift+P and right mouse click into it. From the context menu choose "manage libraries". In the opened dialog you should see ADF Faces on the left hand side. Shuffle it to the right and OK it.
Note that you need to have the Studio edition for this
Frank

Similar Messages

  • Problem Adding Custom JSF Components to Oracle JDeveloper 10g (10.1.3) Prev

    I'm having a problem on Adding Custom JSF Components to Oracle JDeveloper 10g (10.1.3) Preview (http://www.oracle.com/technology/products/jdev/101/collateral/101/adffaces/howto_customcomponents.html)
    The step 1 of 5 isn't visible for me and I don't see the "Install from local file" option to select the adf-faces-bundle.zip from my file system. The OTN check for updates don't prove the ADF Faces...
    What may I do?

    And...
    If "Check for Updates Wizard" is not launched, you can try to set LANG.
    see: 10.1.3 Can't not launch Update Wizard in Japanese environment.
    10.1.3 Can't not launch Update Wizard in Japanese environment.
    Thanks.
    Takuya Ono

  • Found Error FRM-13008 Cannot find JaveBean with name oracle.forms.webutil.o

    Create new form attached libraies WEBUTIL and Open webutil.old
    drag WEBUTILCONFIG and WEBUTIL then create datablock,canvas WEBUTIL_CANVAS I double click canvas alert Found Error FRM-13008 Cannot find JaveBean with name oracle.forms.webutil.o
    How to solve problem
    Please Urgent
    Thank you

    formsweb.cfg
    ific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=webutilbase.htm
    baseHTML=base.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    workingDirectory=
    envFile=default.env
    escapeparams=true
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=2000
    # Forms applet parameter
    height=800
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=no
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinit/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=C:\DevSuiteHome_1
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    #WEBUTIL_CONFIG=C:\DevSuiteHome_1\forms\webutil.cfg
    #WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    [webutilie]
    IE=native
    webUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTML=webutilbase.htm
    baseHTMLie=webutilbase.htm
    archive=/forms/java/frmall.jar
    lookAndFeel=oracle
    [webutiljpi]
    WebUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTMLie=webutiljpi.htm
    baseHTML=webutiljpi.htm
    archive=/forms/java/frmall.jar
    [tutoforms10g]
    envFile=tutforms10g.env
    archive_jini=frmall_jinit.jar,myIcons.jar,FormsGraph.jar
    archive=frmall.jar,myIcons.jar,FormsGraph.jar
    pageTitle=Oracle Forms 10g tutorial
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    form=tuto_forms.fmx
    separateFrame=True
    lookandfeel=Oracle
    imagebase=codebase
    width=2000
    height=800
    splashScreen=no
    background=no
    lookAndFeel=Oracle
    colorScheme=blaf
    logo=no
    2 class path,create db packages,generate plx? how to set where? classpath,create public synonym? Please ask me step to set

  • Cannot find a Vector within a Vector

    Yo. Another noob askin about elements within a Vector.
    I'm working on a OOP project in BlueJ. First time doing so, so my code is still kinda procedural (with many listeners in the same document, etc etc)
    I'm creating a simulation of a 7-a-side football game. I have stored the players of each team into a vector (e.g Vector 'Chelsea' would contain 7 player objects).
    I've only created three teams for simplicity, and stored these three Vectors into another Vector called 'teams'.
    (the whole purpose of storing them in vectors btw, is so I don't have to pass many different player objects as arguments -
    i can just send the vector, and extract them within the Listener classes)
    I'm now in the new class (Start_game) and i've passed the vector to the class.
    When I use the statement:
                     if (teams.contains(Arsenal))
                                  +some code+
                     }I get the error message: cannot find variable 'Arsenal', when I try to compile the program.
    Here's the code for the first class:
    * Write a description of class MainWindow here.
    * @author (your name)
    * @version (a version number or a date)
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.util.Vector;
    import javax.swing.BoxLayout;
    public class Choose_player
        String t_chosen1;
        String t_chosen2;
        TextArea playerinfo1;
        TextArea playerinfo2;
        Vector teams = new Vector();
    //    Vector Arsenal = new Vector(4); // this will store Player objects with "Arsenal" in their team variable
        Vector Arsenal = new Vector(4);
            Player Adebayor = new Striker();
            Player Walcott = new Striker();
            Player Fabregas = new Midfielder();
            Player Denilson = new Midfielder();
            Player Gallas = new Defender();
            Player Eboue = new Defender();
            Player Lehmann = new Goalkeeper();       
    //    Arsenal.insertElementAt(Adebayor, 0);
    //    <Player>Arsenal</Player>.addElement(<Player>Adebayor);
        // learn collections - BIG TYME - refer to java site (url is in txt file)
        Vector Chelsea = new Vector(4); // this vector will store the Player objects whose team variable
                                        // contains the String "Chelsea"
            Player Drogba = new Striker();
            Player Anelka = new Striker();
            Player Lampard = new Midfielder();
            Player Phillips = new Midfielder();
            Player ACole = new Defender();
            Player Terry = new Defender();
            Player Cech = new Goalkeeper();
    //        int w = Chelsea.Size();
        Vector ManU = new Vector(4);    // this vector will store the Player objects whose team variable
                                        // contains the String "ManU"
            Player Rooney = new Striker();
            Player Tevez = new Striker();
            Player Giggs = new Midfielder();
            Player Ronaldo = new Midfielder();
            Player Ferdinand = new Defender();
            Player Brown = new Defender();
            Player Sar = new Goalkeeper();
        public void mainfalse(String t1, String t2)
            this.t_chosen1 = t1;
            this.t_chosen2 = t2;
            Frame m_frame = new mainframe("Select Captain", t_chosen1, t_chosen2, teams);
            m_frame.setSize(1200, 700);
            m_frame.setVisible(true);
        class mainframe extends Frame
            Vector teams;
            public mainframe(String title, String t_chosen1, String t_chosen2, Vector teams)
                super(title);
                this.teams = teams;
                setLayout(new FlowLayout());
    //            setLayout(new GridLayout());
    //            setLayout(new CardLayout());
    //            setLayout(new RelativeLayout());
    //            setLayout(new BoxLayout(m_frame, - FINISH EDITING BoxLayout statement
    // -------- ADD PLAYERS TO VECTOR -------- //           
                Arsenal.addElement(Adebayor);
                Arsenal.addElement(Walcott);
                Arsenal.addElement(Fabregas);
                Arsenal.addElement(Denilson);           
                Arsenal.addElement(Gallas);
                Arsenal.addElement(Eboue);           
                Arsenal.addElement(Lehmann);           
                Chelsea.addElement(Drogba);
                Chelsea.addElement(Anelka);           
                Chelsea.addElement(Lampard);
                Chelsea.addElement(Phillips);           
                Chelsea.addElement(ACole);
                Chelsea.addElement(Terry);           
                Chelsea.addElement(Cech);
                ManU.addElement(Rooney);
                ManU.addElement(Tevez);           
                ManU.addElement(Giggs);
                ManU.addElement(Ronaldo);           
                ManU.addElement(Ferdinand);
                ManU.addElement(Brown);           
                ManU.addElement(Sar);
                teams.addElement(Arsenal);
                teams.addElement(Chelsea);
                teams.addElement(ManU);
    // --------------- FIRST TEAM - CAPTAIN SELECTION ----------------      
                java.awt.List playerList1 = new java.awt.List(5);
                // CREATES A BOX WITH A LIST OF TEAMS (it can view 5 before needing a scroll bar)
                // (full specification needed when declaring -
                // java confused with List in 'awt', and list in 'util'.
                if (t_chosen1.equals("Arsenal"))
                    playerList1.add("Adebayor");
                    playerList1.add("Walcott");
                    playerList1.add("Fabregas");
                    playerList1.add("Denilson");
                    playerList1.add("Gallas");
                    playerList1.add("Eboue");
                    playerList1.add("Lehmann");
                } // if the chosen team is Arsenal, display chosen teams to be Arsenal players
                else if (t_chosen1.equals("Chelsea"))
                    playerList1.add("Lampard");
                    playerList1.add("Drogba");
                    playerList1.add("Anelka");
                    playerList1.add("Wright-Phillips");
                    playerList1.add("Cole");
                    playerList1.add("Terry");
                    playerList1.add("Cech");
                } // if the chosen team is Chelsea, display chosen teams to be Chelsea players
                else if (t_chosen1.equals("Manchester United"))
                    playerList1.add("Ronaldo");
                    playerList1.add("Rooney");
                    playerList1.add("Tevez");
                    playerList1.add("Giggs");
                    playerList1.add("Ferdinand");
                    playerList1.add("Brown");
                    playerList1.add("Sar");
                } // ditto
                add(playerList1);
                playerList1.addItemListener(new p_list_Listener1(playerList1));
                // add itemListener to 'playerList' object
                // - pass playerList object to listener to use getSelected() method
                playerinfo1 = new TextArea(10, 38);
                add(playerinfo1);
    // --------------- SECOND TEAM - CAPTAIN SELECTION ---------------- - same as above, for team2
                java.awt.List playerList2 = new java.awt.List(5); // CREATES A BOX WITH A LIST OF TEAMS (it can view 5 before needing a scroll bar)
    // add "Adebayor" as a selectable Captain for the Arsenal team
                if (t_chosen2.equals("Arsenal"))
                    playerList2.add("Adebayor");
                    playerList2.add("Walcott");
                    playerList2.add("Fabregas");
                    playerList2.add("Denilson");
                    playerList2.add("Gallas");
                    playerList2.add("Eboue");
                    playerList2.add("Lehmann");
                // add "Lampard" as a selectable Captain for the Chelsea team           
                else if (t_chosen2.equals("Chelsea"))
                    playerList2.add("Lampard");
                    playerList2.add("Drogba");
                    playerList2.add("Anelka");
                    playerList2.add("Wright-Phillips");
                    playerList2.add("Cole");
                    playerList2.add("Terry");
                    playerList2.add("Cech");
                // add "Christiano Ronaldo" as a selectable Captain for the Manchester United team           
                else if (t_chosen2.equals("Manchester United"))
                    playerList2.add("Ronaldo");
                    playerList2.add("Rooney");
                    playerList2.add("Tevez");
                    playerList2.add("Giggs");
                    playerList2.add("Ferdinand");
                    playerList2.add("Brown");
                    playerList2.add("Sar");
                add(playerList2);
                playerList2.addItemListener(new p_list_Listener2(playerList2));
                playerinfo2 = new TextArea(10, 38);
                add(playerinfo2);
    // ------ CHOICE MENU & TEXTFIELD - CHOOSE PLAYER TO SHOW ATTRIBUTES IN TEXTFIELD - TEAM 1 ---------
                Choice p_choice1 = new Choice();
                // new dropdown menu - choosing which player's info to display
                p_choice1.add("-- Choose player to display info --");
                if (t_chosen1.equals("Arsenal"))
                    p_choice1.add("Emmanuel Adebayor"); //Striker
                    p_choice1.add("Theo Walcott"); //Striker
                    p_choice1.add("Cesc Fabregas"); //Mid
                    p_choice1.add("Denilson"); //Mid
                    p_choice1.add("William Gallas");//Def
                    p_choice1.add("Emmanuel Ebou�");//Def
                    p_choice1.add("Jens Lehmann");//Keeper
                else if (t_chosen1.equals("Chelsea"))
                    p_choice1.add("Didier Drogba");//Striker
                    p_choice1.add("Nikolas Anelka");//Str
                    p_choice1.add("Frank Lampard");//Mid
                    p_choice1.add("Shaun Wright-Phillips");//Mid
                    p_choice1.add("Ashley Cole");//Def
                    p_choice1.add("John Terry");//Def
                    p_choice1.add("Petr Cech");//Keeper
                else if (t_chosen1.equals("Manchester United"))
                    p_choice1.add("Wayne Rooney");//Str
                    p_choice1.add("Carlos T�vez");//Str
                    p_choice1.add("Ryan Giggs");//Mid
                    p_choice1.add("Christiano Ronaldo");//Mid
                    p_choice1.add("Rio Ferdinand");//Def
                    p_choice1.add("Wes Brown");//Def
                    p_choice1.add("Edwin van der Sar");//Keeper
                add(p_choice1);
                TextField nameField1 = new TextField("", 30);
                add(new Label("Name"));
                add(nameField1);
                TextField ageField1 = new TextField("", 30);
                add(new Label("Age"));
                add(ageField1);
                TextField teamField1 = new TextField("", 30);
                add(new Label("Team"));
                add(teamField1);
                TextField speedField1 = new TextField("", 30);
                add(new Label("Speed"));
                add(speedField1);
                TextField defenceField1 = new TextField("", 30);
                add(new Label("Defence"));
                add(defenceField1);
                TextField accuracyField1 = new TextField("", 30);
                add(new Label("Accuracy"));
                add(accuracyField1);
                TextField positionField1 = new TextField("", 30);
                add(new Label("Position"));
                add(positionField1);
                Vector fields1 = new Vector(8, 2); // PASS TO CHOICE LISTENER
                fields1.add(nameField1);
                fields1.add(ageField1);
                fields1.add(teamField1);
                fields1.add(speedField1);
                fields1.add(defenceField1);
                fields1.add(accuracyField1);
                fields1.add(positionField1);
                p_choice1.addItemListener(new ChoiceListener(fields1, teams, p_choice1, t_chosen1));
                // pass the teams vector to variable, to:
                // 1) create players
                // 2) call methods to show their different attributes in each field
    // ------- CHOICE MENU & TEXTFIELD - CHOOSE PLAYER TO SHOW ATTRIBUTES IN TEXTFIELD - TEAM 2 ---------           
                Choice p_choice2 = new Choice();
                p_choice2.add("-- Choose player to display info --");
                if (t_chosen2.equals("Arsenal"))
                    p_choice2.add("Emmanuel Adebayor"); //Striker
                    p_choice2.add("Theo Walcott"); //Striker
                    p_choice2.add("Cesc Fabregas"); //Mid
                    p_choice2.add("Denilson"); //Mid
                    p_choice2.add("William Gallas");//Def
                    p_choice2.add("Emmanuel Ebou�");//Def
                    p_choice2.add("Jens Lehmann");//Keeper           
                else if (t_chosen2.equals("Chelsea"))
                    p_choice2.add("Didier Drogba");//Striker
                    p_choice2.add("Nikolas Anelka");//Str
                    p_choice2.add("Frank Lampard");//Mid
                    p_choice2.add("Shaun Wright-Phillips");//Mid
                    p_choice2.add("Ashley Cole");//Def
                    p_choice2.add("John Terry");//Def
                    p_choice2.add("Petr Cech");//Keeper
                else if (t_chosen2.equals("Manchester United"))
                    p_choice2.add("Wayne Rooney");//Str
                    p_choice2.add("Carlos T�vez");//Str
                    p_choice2.add("Ryan Giggs");//Mid
                    p_choice2.add("Christiano Ronaldo");//Mid
                    p_choice2.add("Rio Ferdinand");//Def
                    p_choice2.add("Wes Brown");//Def
                    p_choice2.add("Edwin van der Sar");//Keeper
                add(p_choice2);
                TextField nameField2 = new TextField("", 30);
    //            nameField1.setText("Here, you store the name");
                add(new Label("Name"));
                add(nameField2);
                TextField ageField2 = new TextField("", 30);
                add(new Label("Age"));
                add(ageField2);
                TextField teamField2 = new TextField("", 30);
                add(new Label("Team"));
                add(teamField2);
                TextField speedField2 = new TextField("", 30);
                add(new Label("Speed"));
                add(speedField2);
                TextField defenceField2 = new TextField("", 30);
                add(new Label("Defence"));
                add(defenceField2);
                TextField accuracyField2 = new TextField("", 30);
                add(new Label("Accuracy"));
                add(accuracyField2);
                TextField positionField2 = new TextField("", 30);
                add(new Label("Position"));
                add(positionField2);
                Vector fields2 = new Vector(8, 2); // PASS TO CHOICE LISTENER
                fields2.add(nameField2);
                fields2.add(ageField2);
                fields2.add(teamField2);
                fields2.add(speedField2);
                fields2.add(defenceField2);
                fields2.add(accuracyField2);
                fields2.add(positionField2);
                p_choice2.addItemListener(new ChoiceListener(fields2, teams, p_choice2, t_chosen2));
                // pass the teams vector to variable, to:
                // 1) create players
                // 2) call methods to show their different attributes in each field
    // --------------- add START GAME button ----------------           
                Button c = new Button("Start Game");
                add(c);
                c.addActionListener(new startgameListener(teams));
    // --------------- WINDOW CLOSER LISTENER ----------------
                addWindowListener(new WindowCloser()); // no object relation - you are adding a listener to the FRAME
    // --------------------- p_list_listener1 - listener for playerList1 ------------------
        class p_list_Listener1 implements ItemListener
            java.awt.List playerslist;
            public p_list_Listener1(java.awt.List playerslist)
                this.playerslist = playerslist;
            public void itemStateChanged(ItemEvent evt)
                String sth = playerslist.getSelectedItem();
    // ----------- PLAYER BIO'S ------------ //
    // ---- ARSENAL:
                String adebayorBio = "Emmanuel Adebayor (born 26 February 1984 in Lom�) is \na Togolese " +
                                    "football player of Nigerian descent who \ncurrently plays for Arsenal.";
                String walcottBio = "Theo James Walcott (born 16 March 1989 in \nStanmore, London) is an " +
                                    "English footballer of Caribbean \ndescent renowned for his pace, who " +
                                    "currently plays for \nArsenal, having signed there from Southampton on" +
                                    " 20 January 2006.";
                String fabregasBio = "Francesc Cesc F�bregas Soler (born 4 May 1987 in Arenys \nde Mar, " +
                                    "Catalonia, Spain) is a Spanish footballer \nwho plays as a central " +
                                    "midfielder for Arsenal in the \nEnglish Premier League and for the" +
                                    " Spanish national team.";
                String denilsonBio = "Den�lson Pereira Neves, known as Den�lson (born on \nFebruary 16, 1988 " +
                                    "in S�o Paulo, Brazil) is a Brazilian \nfootballer who usually plays as" +
                                    " a midfielder. He plays for English \nside Arsenal and is currently the" +
                                    " captain of \nthe Brazil under-20 national team.";
                String gallasBio =  "William Gallas, (born 17 August 1977 in Asni�res-sur-Seine), \nis a French" +
                                    " international footballer of Guadeloupian \ndescent who currently plays for " +
                                    "and captains \nArsenal in the English Premier League.";                   
                String eboueBio = "Emmanuel Ebou� (born June 4, 1983 in Abidjan, C�te d'Ivoire) \nis an Ivorian " +
                                  "football player who currently plays for \nArsenal.";
                String lehmannBio = "Jens Lehmann (German, born November 10, 1969 in Essen) is an award-winning German football goalkeeper who plays for Arsenal and for the German national team. He was voted Best European Goalkeeper twice in his career, and he has been selected for three World Cup squads.";
    // ---- CHELSEA:        
                String lampardBio = "Frank James Lampard, Jr. (born 20 June 1978) is an \nEnglish football " +
                                    "player currently at Chelsea and \npreviously with West Ham United and Swansea City.";
                String drogbaBio = "Didier Yves Drogba T�bily (born March 11, 1978 in Abidjan, C�te d'Ivoire) is a footballer from C�te d'Ivoire who currently plays for Chelsea in the English Premier League.";                   
                String anelkaBio = "Nicolas Anelka (born March 14, 1979 in Versailles, France) is a French footballer who plays in the forward position.";
                String phillipsBio = "Shaun Cameron Wright-Phillips (born 25 October 1981 in Greenwich, London) is an English football player of Jamaican and Grenadian descent.";
                String coleBio = "Ashley Cole (born 20 December 1980, Stepney, London) is an English footballer of Barbadian descent. Cole plays left back for Chelsea and for the England national team.";
                String terryBio = "John George Terry (born December 7, 1980 in Barking, London) is an English professional footballer. Terry plays as a centre back and is the captain of Chelsea in the English Premier League and officially for the England national football team.";
                String cechBio = "Petr Cech (born 20 May 1982 in Plze?, Czechoslovakia, now Czech Republic) is a Czech international football goalkeeper who is currently contracted to English Premier League football club Chelsea F.C., for whom he has played since July 2004.";
    // ---- MANU:
                String ronaldoBio = "Cristiano Ronaldo dos Santos Aveiro, OIH (pronounced \n[k?i??ti?nu ?u?na?du])," +
                                    "(born 5 February 1985 in Funchal, \nMadeira), better known as Cristiano Ronaldo, is a " +
                                    "\nPortuguese professional footballer. He plays both for \nthe English Premier League club " +
                                    "Manchester United and \nthe Portuguese national team."; 
                String rooneyBio = "Wayne Mark Rooney (born 24 October 1985 in Liverpool, Merseyside) is an English footballer who currently plays for the English Premier League club Manchester United and the England national team.";
                String tevezBio = "Carlos Alberto T�vez (born on 5 February 1984 in Ciudadela, Buenos Aires) is an Argentine footballer who currently plays for Premier League club Manchester United. He was described by Diego Maradona as the 'Argentine prophet for the 21st century.'";
                String giggsBio = "Ryan Joseph Giggs OBE[1] (born Ryan Joseph Wilson on 29 November 1973 in Ely, Cardiff) is a Welsh footballer currently playing for Manchester United in the English Premiership, and formerly for the Welsh national team prior to his retirement from international football on 2 June 2007.";
                String ferdinandBio = "Rio Gavin Ferdinand (born 7 November 1978 in Peckham, London) is an English footballer of mixed St Lucian,and Anglo-Irish descent. He plays at centre-back for Manchester United in the Premier League and at the international level for the England national football team.";
                String brownBio = "Wes 'Baked Bean' Michael Brown (born 13 October 1979 in Longsight, Manchester) is an English football player who plays as a defender for Manchester United.";
                String sarBio = "Edwin van der Sar (born 29 October 1970 in Voorhout) is a Dutch professional footballer who plays as a goalkeeper. He is captain of the Dutch national team and plays club football for Manchester United in the English Premier League.";
    // --------- TEAM BIO'S DONE!!!!!! ---------- //           
                try
                    if (sth.equals("Adebayor")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(adebayorBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Walcott")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(walcottBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Fabregas")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(fabregasBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Denilson")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(denilsonBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Gallas")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(gallasBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Eboue")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(eboueBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Lehmann")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(lehmannBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
    // if CHELSEA TEAMS               
                    else if (sth.equals("Lampard"))  // if the user selects "Chelsea", show Chelsea's Bio
                        playerinfo1.setText("" + lampardBio);
                        playerinfo1.setEditable(false);                        
                        //t_chosen = sth;               
                    else if (sth.equals("Drogba")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(drogbaBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Anelka")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(anelkaBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Wright-Phillips")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(phillipsBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Cole")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(coleBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Terry")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(terryBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Cech")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(cechBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
    // if MANU teams
                    else if (sth.equals("Ronaldo")) // .... and so on and so forth
                        playerinfo1.setText("" + ronaldoBio);
                        playerinfo1.setEditable(false);
                    else if (sth.equals("Rooney")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(rooneyBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Tevez")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(tevezBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Giggs")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(giggsBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Ferdinand")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(ferdinandBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Brown")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(brownBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                    else if (sth.equals("Sar")) // if the user selects "Arsenal", show Arsenal's Bio
                        playerinfo1.setText(sarBio);
                        playerinfo1.setEditable(false);
                        //t_chosen = sth;
                catch (NullPointerException e)
                // if sth equals 'null', catch the exception and continue the program
        } // end class
    // --------------- p_list_Listener2 - listener for playerList2 ------------------
        class p_list_Listener2 implements ItemListener
            java.awt.List playerslist;
            public p_list_Listener2(java.awt.List playerslist)
                this.playerslist = playerslist;
            public void itemStateChanged(ItemEvent evt)
                String sth = playerslist.getSelectedItem();
    // ----------- PLAYER BIO'S ------------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

    Ok. Here's my code at last. It comprises of three classes, each creating three different frames:
    Class 1:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Vector;
    class class1
        public static void main(String[] param)
            Frame f = new TestFrame("test");
            f.setSize(600, 450);
            f.setVisible(true); // the first window is shown
    class TestFrame extends Frame
        public TestFrame(String title)
            super(title);
            setLayout(new FlowLayout());
            Button a = new Button("Click Me");
            add(a);
            a.addActionListener(new ButtonListener());
            addWindowListener(new WindowCloser());
        class ButtonListener implements ActionListener
            public void actionPerformed(ActionEvent evt)
                class2 c_instance = new class2();
                c_instance.mainfalse();
    Class 2:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.util.Vector;
    import javax.swing.BoxLayout;
    public class class2
        Vector teams;
        Vector Arsenal = new Vector(4);
            Player Adebayor = new Striker();
            Player Walcott = new Striker();
            Player Fabregas = new Midfielder();
            Player Denilson = new Midfielder();
            Player Gallas = new Defender();
            Player Eboue = new Defender();
            Player Lehmann = new Goalkeeper();
            // ONLY CREATING ONE TEAM FOR THE PURPOSE OF THE SIMPLIFIED PROGRAM
        public void mainfalse()
            Frame m_frame = new mainframe("class3", teams);
            m_frame.setSize(1200, 700);
            m_frame.setVisible(true);
        class mainframe extends Frame
            Vector teams;
            public mainframe(String title, Vector teams)
                super(title);
                this.teams = teams;
                setLayout(new FlowLayout());
                Arsenal.addElement(Adebayor);
                Arsenal.addElement(Walcott);
                Arsenal.addElement(Fabregas);
                Arsenal.addElement(Denilson);           
                Arsenal.addElement(Gallas);
                Arsenal.addElement(Eboue);           
                Arsenal.addElement(Lehmann);    
                teams.addElement(Arsenal);
    // --------------- add START GAME button ----------------           
                Button c = new Button("Start Game");
                add(c);
                c.addActionListener(new startgameListener(teams));
    // --------------- WINDOW CLOSER LISTENER ----------------
                addWindowListener(new WindowCloser());           
        class startgameListener implements ActionListener
            Vector teams;
            public startgameListener(Vector t1)
                this.teams = t1;
            public void actionPerformed(ActionEvent evt)
                class3 c_instance1 = new class3();
                c_instance1.gVector(teams);
    }*... and Class 3:*
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.Vector;
    public class class3
        Vector teams;
        public void gVector(Vector t1)
            this.teams = t1;
            Frame main = new mainframe("Main Window", teams);
            main.setSize(1400, 900);
            main.setVisible(true);
        class mainframe extends Frame
            public mainframe(String title, Vector t1)
                super(title);
                setLayout(new FlowLayout());
                addWindowListener(new WindowCloser());
                Vector teams = t1;
                JOptionPane.showMessageDialog(null, "Hello and WELCOME to The FIRST, annual StickMan Footy!");
                if (teams.contains(Arsenal))
                    int t = teams.indexOf(Arsenal);
                    Vector Arsenal = (Vector) teams.elementAt(t);
                // getName() is a method declared in the Player class
                // the Player class is the superclass of the Striker class
    /*            if (teams.contains(Adebayor))
                And my error message after trying to compile Class 2, is "cannot find symbol - variable Arsenal".
    ........... help.
    Shax

  • Premier Element 9 cannot find quicktime components

    I have this problem that has really been bugging me. I purchased Premier Element 9 so I could edit hd .mov files and export to .mov.
    I have installed the software and have made successful movie edits and exported to .avi files. However, if I want to export to .mov I do not ahve the option. It just says:  "cannot find quicktime componants" :-( I have the latest quicktime installed and I even have the pro version and quicktime works jsut fine and it's definitely the latest version. Just did an update this morning.
    How can I get premier elements fir find the quicktime componants that are already isntalled in my computer?
    My computer OS is  Windows XP.
    I can edit my .mov movies just fine but at present I am stuck with exporting to avi such as I have on this page here:
    http://www.spaghettisauceandmeatballs.com/spaghetti_sauce_and_meatballs_videos.html
    I'm happy with these but really would like to use the .mov export and maintain my HD quality.
    Thanks for the help.   Tony

    Hunt,
    Sorry for being wordy on this but will try to explain my progress or lack thereof.
    First, if you launch the premiere elements 9 downloaded.exe file you do not get an option to repair, only "The InstallShield Wizard will allow you to remove adobe Premiere Elements 9."
    I went through MANY different scenarios/possible fixes last night, spent a LOT of time on this; too much really.
    One thing I noticed was a file association issue with .mov files. So thinking that the .mov file association might be a conflict with the premiere elements .mov export I did the followoing:
    I had the .mov files associated with the VLC player (VideoLAN), because that player is 10 X faster and plays everything! Great player! I tried to re-associate .mov file with quuicktime but the icon would not change, however file association was successful, i.e., you double click on a .mov file and quicktime plays the movie. So to make sure I had the quicktime icon associated correctly, I to un-installed the VLC Media Player.
    After uninstalling the VLC Player, the windows media player icon showed up in explorer associated with .mov files even though the .mov files are associated with quicktime. Then, even though when you look at the files in explorer and see the windows media player icon for the .mov files, if you double click the .mov file quicktime plays the movie. I did complete reboots after uninstalls as well.
    So then I did a repair on Quicktime and the quicken icon association was corrected. I was excited thinking this would do the trick but no such luck. Still no .mov export option. Grrr….
    So then I uninstalled and reinstalled quicktime just to see if I needed to install quicktime after the install of premiere elements. But after re-install of quicktime, premiere elements still did not have the .mov export.
    Then I started noticing in the upper right of welcome window or premiere that I could see the files that were loading during the launching of premier. Now I know the culprit!
    Seems to hang up on ....loading "exportquicktimehost.prm" - then get the error message:  “dynamiclinkmanager has encountered a problem and needs to close.", then I click on don't send and I get the error one more time then click on "don't send" again and then premier opens and everything works fine but it just can't export to .mov WHICH IS THE MOST IMPORTANT PART AND WHY I BOUGHT THE SOFTWARE. UGH! I was getting the “dynamiclinkmanager has encountered a problem and needs to close." Before but I thought that was connected to the organizer and was ignoring it and was not making a connection of that with the .mov export.
    You know what’s funny? I researched “dynamiclinkmanager” trying to find out what it is and there are many sites that say it’s a virus and tell you how to remove it but it’s a file create by adobe systems but many see it as a virus. Funny!
    So I uninstalled premiere completely and reinstalled, still same problem.
    PREMIERE ELEMENTS 9 HANGS UP WHEN TRYING TO LOAD EXPORTQUICKTIMEHOST.PRM.
    This is definitely the problem, the program runs smoothly during launch and you can see all the files loading away then it gets to this annoying "exportquicktimehost.prm" file and you can see it hang up on this for a while and then you get the pop up error:  "dynamiclinkmanager has encountered a problem and needs to close". Then if you cancle out the error the program runs and all works fine except for the .mov export.
    So I did a bunch of searching on this error; seems to be a firewall issue in many cases. Many different adobe products seem to have this problem, not just premiere elements.
    My firewall was already turned off. I checked around just to make sure other third party blockers were not the problem.  I have Netnanny and webroot spyweeper/antivirus running at all time. I turned these off completely and launched premier elements again but still same problem.
    I am at a lost and frustrated.  I find myself seriously going through this list of alternative mov video editors
    http://video-editing-software-review.toptenreviews.com/ and giving up on premiere completely:
    So, any ideas on the "exportquicktimehost.prm" / "dynamiclinkmanager has encountered a problem and needs to close"  errors/conflicts?
    I guess it’s not time for the wine yet :-(
    Thanks,  Tony

  • Cannot deploy ADF JSF project from JDeveloper 10.1.3.3.0 to AS 10.1.2.0.2

    Hi All,
    I've a small deployment issue which you guys might be able to help me with.
    I've developed an ADF BC JSF project using JHeadstart 10.1.3.2.50 and it was running fine on my self contained OC4J instance. But when I try to deploy it across to my Oracle 10G AS version 10.1.2.0.2., it had the following errors:
    ----- START OF LOG ------
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy D:\OraHome_3 D:\jdevstudio10133\jdev\mywork\PAM2070C\ViewController\deploy\webapp1.ear webapp1 UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = c0a8238746b50fc1d5b78e274fcfb38b81a490036726
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c0a8238746b50fc1d5b78e274fcfb38b81a490036726
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 18 seconds
    #### Deployment incomplete. #### 15/05/2008 17:00:33
    ---- END OF LOG ----
    Has anyone been able to deploy ADF JSF project with JHeadstart using JDeveloper 10.1.3.3.0 to Oracle 10G AS 10.1.2.0.2? I'm using window environment. Any feedback is much appreciated. Thank you for your assistance and have a nice day.
    Kind Regards,
    John

    Hi all,
    I had also tried out something else...
    I am now portalizing the ADF application using PortalFacesBridge and portlet.xml. Then I deploy it on the Local OC4J of my system and expose it as a WSRP Portlet using the url: 'http://hostname:portname/warFileName/info and generating a WSDL URL...
    I am then using this WSDL URL to regester this portalized application on the Oracle Portal10.1.4 which i am able to accomplish successfully...
    However after regestration, when I try to view this on the portal page, It is throwing the following error:-
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
    Also I would like to add that this method was working perfectly fine previously...
    What might be the clue for this sudden error...
    Any kind of help is greatly appriciated... Thanks...

  • Cannot find the configuration file in classpath

    Cannot find the configuration file /oracle/apps/prc/po/....applicationModule/common/bc4j.xcfg in the classpath.
    Hi!
    I'm trying to run the following code:
    String appModule = "oracle.apps.prc.po.manageDocument.uiModel.viewDocument.applicationModule.ViewPurchasingDocumentApplicationModule";
    String cfg = "ViewPurchasingDocumentApplicationModuleLocal";
    ApplicationModule applicationModule = (ApplicationModule)Configuration.createRootApplicationModule(appModule, cfg);
    I get this error message:
    Exception in thread "main" oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /oracle/apps/prc/po/manageDocument/uiModel/viewDocument/applicationModule/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:430)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:293)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:557)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1334)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1312)
         at oracle.apps.prc.po.manageDocument.model.viewPdf.generateXml.getXMLData(generateXml.java:26)
         at oracle.apps.prc.po.manageDocument.model.viewPdf.generateXml.main(generateXml.java:39)
    I have checked and the config file does exist in the correct directory, and I can see it in my Application Module - Configurations. Any idea why this is happening? Am I supposed to configure something specifically for this or add it in my classpath? If so, how am I supposed to do it?
    Thanks
    Mansi
    Edited by: Mansi G on Oct 6, 2008 11:56 AM

    Where is the code you posted? Running in a separate project, I assume? Does that project have a dependency on the project containing the app module specified?
    And just to check (although by default, JDev should do this for you)--the app module project has been compiled since adding the configuration, right? You need to check to make sure the config exists not only under Project/src, but under Project/classes.
    Edited by: Avrom Roy-Faderman on Oct 6, 2008 2:02 PM
    Oh, and BTW--I assume this is not a typical ADF application, right? In a standard ADF application, you would very rarely need to instantiate an application module in code like this; you could just let the data binding facility do it for you. The technique like the one you're using is most appropriate for purely programmatic, no-UI cases. (e.g., once I tried to implement an SMTP server backed by business components. That was an appropriate case for ditching databindings and doing the sort of thing you're doing, because it had no view layer (because it had no UI to render).

  • DNG SDK build project cannot find the xml sdk

    On win7/x64.  Installed dng sdk and all dependencies per the readme files.  xml sdk built OK with vc10 express, as 64 bit static and dll.
    But the vc solution for dng_validate has incorrect names for the xml sdk build projects, so it cannot find those components.  Specifically it looks for "..\..\..\xmp_sdk\build\vc\XMPCore.vcxproj".  the actual paths in the xmp sdk are different and longer, like "..\..\..\xmp_sdk\build\vc10\dynamic\windows_x64".  Moreover there is no XMPCore.vcxproj there.
    I suppose the real problem may be that the dng sdk project is trying to build it as .net managed code, while the xml sdk was built as open code.  So I guess what I am looking for is a way to build the dng sdk open.

    I would confirm your post, but I have not found a solution. I wish someone at Adobe would look into this.

  • Cannot find java classes in PDK

    we cannot find the java.classes
    oracle.webdb.portlet.Portlet;
    oracle.webdb.portlet.PortletInfo;
    oracle.webdb.portlet.PortletUtils;
    we need them for developing portlets.
    Thomas
    null

    The definitive article: [Mastering the Java Classpath|http://www.kevinboone.com/classpath.html].
    ... and actually do the exercise therein.
    See you an hour or so if you're still stuck (which you won't be).
    Cheers. Keith.

  • Any solutions from oracle  to improve Performance in Oracle Jdeveloper 10g

    Hi ,
    We are developing ADF Applications in Oracle Jdeveloper 10g , 4 developers are working . now every one M/c Ram upgraded to 4 GB
    Still my developers are getting Performance issue , Like Java Heap memory Reached . when we saw in Task Manager Memeusage reached 450,000K
    then Jdeveloper dies and hang there . we have to do this at least 4 to 5 times everyday . thats where it taking a lots of time to
    modify a single small changes .
    What our deveoper are doing they trying to commit frequently after making a important changes in application . but sometimes developer are also
    forget in between . So wee need a solution for this if Oracle fixes this issue .
    Thanks
    KP

    Hi,
    We never had that issue with 10g (but happens in 11g), what is the project's size? I assume very big, else your environment must have something fishy, 10g is really fast and lightweight.
    Regards,
    ~ Simon

  • Compiling error with /usr/bin/ld: cannot find -l error

    With the help of ToddLittle, I have solved a lot of problem with tuxedo as I am a freshman to it.Thank you ToddLittle!
    However I meet a new problem with compiling my new program. I got this error:
    /usr/bin/ld: cannot find -l/home/cjf/oracle/tuxedo12.1.1.0/include
    where /home/cjf/oracle/tuxedo12.1.1.0 is my tuxedo installation path.
    I build it under ubuntu 12.04 64 bit and my IDE is eclipse.
    How to solve it? thanks!

    Usually it is best to execute the script that is installed in the Tuxedo installation directory that sets up all the necessary environment variables.  That script is $TUXDIR/tux.env.  Source that script before trying to use buildclient or buildserver or any other Tuxedo command to solve most problems like this.
    PS You might want to check out Solaris Studio if you want to use an IDE as there is a Tuxedo plug-in for it that really helps in developing Tuxedo applications.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How to restore the calsses I lost under oracle/jdeveloper/html?

    I use class wizard to create a class which extends oracle.jdeveloper.html.HTMLFieldRendererImpl and can't find it under the oracle/jdeveloper/html package. There are only two classes there : HTMLForm and HTMLElement. I remember there were many calsses there including HTMLFieldRendererImpl. If I lost them, how can I restore them? Thanks.

    As well as having had this problem a couple of times on different machines, both immediately after upgrades, I also use the synch capability so that tab groups from more than one machine can be accessed from any of the others - a really useful capability. It's really frustrating to have lost everything and have to try to recreate things from history. It occurs to me that the contents of my sets of groups are stored on a synch server somewhere so they ought to be recoverable from the hopefully, periodic automatic server backups - only problem is, how to access them? unlikely to be possible at this stage!
    In this context, a useful enhancement would be a capability to make user-created named backups of all current groups of tabs which could later be restored at will; any upgrade process should also automatically create such a backup for the user so that the problem of lost groups of tabs would be solved. In addition it would give users additional flexibility to create groups of groups - accessed by the save/restore mechanism - say for development, personal or social or whatever.

  • Unify Layer Style - cannot find the tools

    Unify Layer Style - I have found the section in Adobe Help PDF, but for the life of me, I cannot find the tools within PS6 .... These are the instructions:
    Unify layer properties
    1.In the Animation panel (Photoshop Extended CS5) or Timeline panel (CS6), change the attribute to one frame.
    2.In the Layers panel, click Unify Layer Position , Unify Layer Visibility , or Unify Layer Style  to have the changed attribute apply to all other frames in the active layer.
    I have multiple photographs I would like to create a video of. I want the fade affect to be applied to each picture, but so far I have only been able to update the fade on each idividual frame. I have searched and searched all over google and cannot find specific instructions of how to duplicate the fade affect to all my frames.
    I have Photoshop CS6
    Please help

    There in the top section of the layer palette when you in a frame animation in the timeline palette. Note the options they can be hidden...............
    Unifying layer properties in animation frames
    The unify buttons (Unify Layer Position, Unify Layer Visibility, and Unify Layer Style) in the Layers panel determine how the changes you make to attributes in the active animation frame apply to the other frames in the same layer. When a unify button is selected, that attribute is changed in all the frames in the active layer; when that button is deselected, changes apply to only the active frame.
    The Propagate Frame 1 option in the Layers panel also determines how the changes you make to attributes in the first frame will apply to the other frames in the same layer. When it is selected, you can change an attribute in the first frame, and all subsequent frames in the active layer will change in relation to the first frame (and preserve the animation you have already created).
    Unify layer properties
    In the Animation panel (Photoshop Extended CS5) or Timeline panel (CS6), change the attribute to one frame.
    In the Layers panel, click Unify Layer Position , Unify Layer Visibility , or Unify Layer Style to have the changed attribute apply to all other frames in the active layer.
    Propagate frame 1
    In the Layers panel, select the Propagate Frame 1 option.
    In the Animation panel (Photoshop Extended CS5) or Timeline panel (CS6), change the attribute for the first frame.The changed attribute is applied (in relation) to all subsequent frames in a layer.
    You can also propagate frames by Shift-selecting any consecutive group of frames in the layer and changing an attribute in any of the selected frames. 
    Show or hide Unify Layers buttons
    Choose Animation Options from the Layers panel menu, and then choose one of the following:
    Automatic Displays the unify layers buttons when the Animation panel is open. In Photoshop Extended, the Animation panel must be in frame animation mode.
    Always Show Displays the unify layers buttons whether the Animation panel is open or closed.
    Always Hide Hides the unify layers buttons whether the Animation panel is open or closed.

  • Compiler cannot find method that is there (Oracle 9i JDeveloper)

    Hi
    In one of my OA Framework classes Im doing some XML validation.
    In 1 class I do this:
    import oracle.xml.parser.v2.SAXParser;
    SAXParser parser = new SAXParser();
    parser.setValidationMode(SAXParser.SCHEMA_STRICT_VALIDATION);
    <or Alternatively>
    parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);
    The compiler complains that it cannot find these methods in SAXParser class.
    However, in the editing window, if I hit CTRL+Space for autocompletion JDeveloper can 'see' both these methods (setFeature() is actually defined in SAXParser and setValidationMode is inherited from parent class XMLParser).
    It seems the editor can access the resources but the compiler cannot.
    Ive tried both the XSQL Runtime and Oracle XML Parser 2 libraries in my project configuration and have even tried them in different positions in the 'Selected Libraries' window.
    Im using XDK 9.0.3.0.0 with JDeveloper 9i.
    Any help appreciated
    Jon

    Have you checked the ApJServLogFile? You might find some clues there.
    I'm curious as to why you are getting 'display' errors. Is your display environment set up properly?
    Alison

  • Running an exe from within Oracle WebLogic 10g R3 does not find dll

    Hi,
    I am facing a strange issue with Oracle WebLogic 10g R3.
    I use the code as shown in Listing 1 below to run a windows based application exe (batch job) from within my web application hosted on Oracle WebLogic 10g Release 3.
    Note that this code woks fine on Tomcat 6.x and OC4J (JDeveloper TP4).
    The exec gets executed but the log of the exe program shows it could not load certain DLLs.
    Note that these DLLs are in the same directoy as the Batch program and this directory is in the PATH.
    Running through simple Java Program Successful*
    When I run the same program from a java program it runs successfully. So this means some WebLogic environment does not get set properly.
    Running directly BatchProg.exe rather than cmd.exe fails*
    Also note that when I run the exe directly e.g. BatchProg.exe rather than through cmd.exe it gives me a error the system did not find the file specified.
    CreateProcess error=2, The system cannot find the file specified with cause java.io.IOException: CreateProcess error=2, The system cannot find the file specified
    Listing 1:*
    String[] commandArgs = new String[|http://forums.oracle.com/forums/] { "cmd.exe", "/C", "BatchProg.exe \"param1\" \"param2\" " },null , l_workingDir)
    Runtime rt = Runtime.getRuntime();
    Process proc;
    proc = rt.exec( commandArgs, envParams, workingDir );
    ProcessIO errStream = new ProcessIO( proc.getErrorStream(), "ERROR");
    ProcessIO outStream = new ProcessIO( proc.getInputStream(), "OUTPUT");
    errStream.start(); // process any errors from the command
    outStream.start(); // process any output from the command
    System.out.println("Error=" +errStream);
    System.out.println("Out" + outStream);
    return (p_waitToFinish ? proc.waitFor() : this.SUCCESS);

    OK.
    I have posted this on the WebLogic Forum.
    Thanx.

Maybe you are looking for

  • Trying to use JDO objects as DTO over EJB???

    I have implemented the implemented the seralize interface in my JDO object classes. My JDO classes are only a data framework, I use them on both my EJB tier and I would like to use them on the web tier.... My thinking was to serialize the object grap

  • How long Oracle plans to support Forms/Reports 6i ?

    Hello dear Oracle Forms users/developers, The "Oracle Forms: Features Obsolescence for Release 9i", which I downloaded from OTN, clearly indicates that the client-server runtime will be obsolete in 9i, and (quote) "users who currently deploy their ap

  • Can't translate without MacLink Plus

    I just bought a Mac Mini to replace my out-of-date eMac. However, my MacLink Plus doesn't work on Lion and I have an AW6 doc Pages refuses to translate (it's a spreadsheet). Does anyone have any suggestions? Fred J.

  • Communigate -- Snow Leopard Mail

    is there a relatively easy way to migrate from Communigate Pro to Mail in Snow Leopard? if so please let me know... thx.

  • KCLJ giving runtime error

    Hi Experts, I am using KCLJ to transfer file data into SAP system through BDT Direct input. I am doing this in Incentive Commission Management system. I created a sender structure for Commission contract bundle and used this in KCLJ transaction. But