Ecperf Benchmark through OC4j having pointbase , daffodildb database

SIR,
Here i am trying to run Ecperf Benchmark through OC4j having backend pointbase and daffodilDB.
i am not able to run Ecperf Benchmark , through i am able to deploy the Ecperf.ear
and emulator.ear through oc4j.(No any problem is occur during Deployment).
Problem is here is that i am not able run Ecperf application through browser.
it means that "http://localhost:9999/ECperf"
for this purpose i have changed accordingly server.xml , datasource.xml and
default-web-site.xml.
if u r having any guidelines to for running Ecperf Benchmark through OC4j for any database , mail or reply to me.
reply me as soon as possible
Thanks in advance
Sunil

SIR,
Here i am trying to run Ecperf Benchmark through OC4j having backend pointbase and daffodilDB.
i am not able to run Ecperf Benchmark , through i am able to deploy the Ecperf.ear
and emulator.ear through oc4j.(No any problem is occur during Deployment).
Problem is here is that i am not able run Ecperf application through browser.
it means that "http://localhost:9999/ECperf"
for this purpose i have changed accordingly server.xml , datasource.xml and
default-web-site.xml.
if u r having any guidelines to for running Ecperf Benchmark through OC4j for any database , mail or reply to me.
reply me as soon as possible
Thanks in advance
Sunil Sunil -
What error message are you seeing when you say you are unable to run the ECperf web application? Is there something returned to the browser or does the browser never connect to the server?
If you post the snippets of the entries you have made to the various configuration files, someone might be able to spot something amiss.
If this is Release 2 (versions 902 or 903) that you are running, then by default the web app bindings are now performed in the http-web-site.xml file. Also, the default HTTP port in the http-web-site.xml file is 8888. I guess you've modified this in the correct file, but without seeing it, it's something to at least point out.
cheers
-steve-

Similar Messages

  • When i run report through OC4J Application i get a exception message

    When i run report through OC4J Application i get a exception message saying Server returning invalid xml and the exception number is JBO -29000. The Reports Server is installed on machine having IP 10.191.99.254.
    Below is the exception message:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.io.IOException, msg=Server returned HTTP response code: 500 for URL: http://10.191.99.254:8888/reports/rwservlet/showjobidnull
    Anybody Please help me out with this issue.....because I am really fed up with this problem....want some urgent help.....
    One possible workaround which I could make out is there needs change to be made in the .rdf files in Report Builder and then inside the User Parameters we change the Initial Value to * from % because the Reports Server encodes every value as %Initial_Value% and hence if the initial value for the parameter is % then it does not get a valid value and hence it returns as an invalid xml
    But unfortunately it seems this workaround does not work.Please help as soon as possible.

    Hi,
    you said that some changes were made in the .xml files but i had said that all the files present in Reports Developer or Reports Builder are .rdf files and I had made changes in the .rdf files for this articular report and then compiled it thereitself and then ran a paper layout of the report but the report did not comprise any data.
    There was sufficient data also to populate the report. So this may not be a database issue. Please help if you can ASAP.

  • Oracle 9i R2 Client on a PC having Oracle 10g Database

    Can I install and use Oracle 9i R2 Client on a PC having Oracle 10g Database on Windows XP Professional?
    The reason for that; is because I can't do Export and Import operations from the mentioned PC (which having Oracle 10g) to other two remote databases where they have Oracle 9i R2 database.

    OK, I have Windows 2000 Server and when I go to SQL*Plus and connect to my database, it's showing for me this:
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Also when I launch the OEM and goto Help-->About, it's showing the same version as above.
    But when I look to other things, it's like this:
    Oracle Home Directory: "C:\oracle\ora91"
    System Services "services.msc": "OracleOraHome91Agent", "OracleOraHome91TNSListener", and "OracleServiceREPORTS" (REPORTS is my Oracle database name).
    So how could I know what is my actual Oracle version?

  • OC4J installed with 11g Database

    We are migrating our database and applications to 11g database and imbeded Application Express. Our current configuration is 10g database and JSPs running under the OC4J installed with the database. Our develoment server is running Windows XP and currently has 11g database 11.1.0.6.0 installed, and the Application Express configured and running properly.
    In order to provide a smooth transiition from OC4J to Application Express, we would like to continue to run some applications under the OC4J installed with the 11g database, and the converted applications in Application Express, all on the same server and same 11g database installation.
    I have started the OC4J processes on the development server with the script:
    cd \Oracle\Ora11g\Ora11gDB\oc4j\j2ee\home
    java -jar oc4j.jar
    and the system responds with:
    09/01/08 10:53:29 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
    However, when I try to bring up the console from a browser using:
    http://192.168.0.200:8888
    I get a the message that the page cannot be displayed.
    I understand the 11g OC4J standalone has been discontinued, however it looks like the 11g version I have installed is using the OC4J 10.1.3.0.0.
    So is the OC4J installed with 11g not functional, or am I missing a step in the startup/configuration, or URL call.
    Thanks,
    Rod

    Thanks for the replay Michael,
    Actually, on the development server I only have the 11g database installed with Application Express configured. The Apex runs on port 8080 and I see that in the netstat -ab listing, but I do not see port 8888 referenced anywhere. All the config files for the OC4J are standard from the db install. The port listed in the http-web-site.xml still shows 8888.
    Is it possible that the OC4J is not completing it's startup?
    The server.log, and the system-applicaiton.log both show entries indicating it has started, and the global-application.log shows it is started, however the defaultWebApp is not currently started. Here is the complete contents of that file:
    09/01/08 10:21:34.640 10.1.3.0.0 Started
    09/01/08 10:21:35.937 defaultWebApp: 10.1.3.0.0 Started
    09/01/08 10:22:13.968 defaultWebApp: 10.1.3.0.0 Stopped
    09/01/08 10:22:20.109 10.1.3.0.0 Started
    09/01/08 10:22:20.890 defaultWebApp: 10.1.3.0.0 Started
    09/01/08 10:49:06.203 defaultWebApp: 10.1.3.0.0 Stopped
    09/01/08 10:53:28.687 10.1.3.0.0 Started
    09/01/08 14:45:45.781 10.1.3.0.0 Started
    09/01/08 15:06:21.421 10.1.3.0.0 Started
    09/01/08 15:07:06.218 10.1.3.0.0 Started
    Thanks,
    Rod

  • Create feature for generate new collection having separate content database by using custom coding with C#

    Hi all My self ArunDarly .Iam using share point 2010 ,I want below task solve by  using custom coding with
    C#
    I have one task that create new site collection having separate content database. and that content database site collection limit  should be only one  (it must contain one site collection and note more than one  )
    This total functionality should happen when I am saving one list item (dynamically generate new site collection ) 
    If any body know this Please give me your guidance  
    Thanking  You,
    Arun Darly

    Hey Arun,
    I have done the same job. Hope this code will help you.
    using (SPSite siteCollectionOuter = new SPSite("Any SC url in which u want to create site."))
    SPWebApplication webApp = siteCollectionOuter.WebApplication;
    SPSiteCollection siteCollection = webApp.Sites;
    SPContentDatabase contentDatabase =
    siteCollection.WebApplication.ContentDatabases.Add(ServerName, New Database Name, Admin Name,
    "Admin Password",25,50, 0);
    //Above line will create new content DB
    contentDatabase.Update();
    siteCollection.WebApplication.Update();
    SPSite newSite = contentDatabase.Sites.Add("New SC Url", "SC Title", SC Desctipyion, 1033,
    15, "STS#0", "SC Admin", "Admin", "admin password",
    "User 2", "User NAme", "Password");
    //Ablove line will create new SC in to the Content DB
    //add the upper limit for the site collection
    SPQuota quota;
    quota = new SPQuota {StorageMaximumLevel = 2510220};
    newSite.Quota = quota;
    // And update the site collection and the content database
    newSite.RootWeb.Update();
    contentDatabase.Update();

  • I'm having trouble transfering bookmarks from Safari to Firefox. File, "Import" button is grayed out. I've gone through your trouble shooting, the database for imports is no longer current.

    I'm running Snow Leopard 10.6.8. I have the latest version of Firefox 5.0. I'm over Apple's Safari, and I'd like to transfer my bookmarks into Firefox. I've gone through your help and support section and found an article that could help me. However, when I click File, the "import" button is grayed out. Which prevents me from importing bookmarks into your browser. So I drug the Firefox icon into the recycle bin, and hit empty trash, then re-downloaded the firefox software from your site, and it seemed to remember my old bookmarks from a year ago. The file, "import" button was still grayed out, so I couldn't update my entire new list of bookmarks onto your web browser.

    I'm running Snow Leopard 10.6.8. I have the latest version of Firefox 5.0. I'm over Apple's Safari, and I'd like to transfer my bookmarks into Firefox. I've gone through your help and support section and found an article that could help me. However, when I click File, the "import" button is grayed out. Which prevents me from importing bookmarks into your browser. So I drug the Firefox icon into the recycle bin, and hit empty trash, then re-downloaded the firefox software from your site, and it seemed to remember my old bookmarks from a year ago. The file, "import" button was still grayed out, so I couldn't update my entire new list of bookmarks onto your web browser.

  • CSV creation through PLSQL having issue with some rows of data

    Hi,
    having issue with in some rows of data which is created by the PLSQL code.
    Issue description
    - 50000 rows of data in my CSV
    -around 20 fileds in a row
    - in some the row (in 50000 rows) some fields (20 rows of data) are returning empty as result but actually my query returns data for these fields
    Hope the issue is clear
    Code given below
    CREATE OR REPLACE FUNCTION TSC_OM_AUDIT(ERR_DESC IN OUT VARCHAR2,
    WEB_FILE_URL IN OUT VARCHAR2 ) RETURN BOOLEAN IS
    --Variable Declaration
    L_buff_line VARCHAR2(500);
    L_hdr_str VARCHAR2(32700);
    L_selling_UOM VARCHAR2(5);
    L_prim_bar_code VARCHAR2(30);
    L_status_pri_bar VARCHAR2(2);
    L_multpl_bar_exist VARCHAR2(2);
    L_multpl_prim_bar_exist VARCHAR2(2);
    L_prim_simp_pack VARCHAR2(30);
    L_staus_prim_simp_pack VARCHAR2(2);
    L_mupl_prim_pack_exist VARCHAR2(2);
    L_prim_supp_prim_simpl_pack VARCHAR2(15);
    L_prim_sim_supp_to_TPNB VARCHAR2(2);
    L_sel1 VARCHAR2(200);
    L_sel2 VARCHAR2(200);
    L_sel3 VARCHAR2(200);
    L_item_till_desc VARCHAR2(200);
    L_lengh1 VARCHAR2(200);
    L_width1 VARCHAR2(200);
    L_height1 VARCHAR2(200);
    L_lengh2 VARCHAR2(200);
    L_width2 VARCHAR2(200);
    L_height2 VARCHAR2(200);
    L_lengh3 VARCHAR2(200);
    L_width3 VARCHAR2(200);
    L_height3 VARCHAR2(200);
    --Item type
    CURSOR C_ITEM is
    select im.item L_item,
    im.status L_status,
    im.item_desc L_item_desc,
    'Regular' L_item_type,
    im.dept L_dept,
    im.class L_class,
    im.subclass L_subclass,
    'N/A' L_CW_item_order_type,
    'N/A' L_CW_item_sale_type,
    im.standard_uom L_standard_uom,
    NULL L_selling_uom,
    im.tsl_base_item L_tsl_base_item
    from item_master im
    where im.item_number_type='TPNB'
    -- and im.last_update_id = 'DATALOAD'
    -- and im.create_datetime>=to_timestamp('2010-11-05 10:57:47','YYYY-MM-DD HH24:MI:SS')
    and im.sellable_ind='Y'
    and im.orderable_ind='Y'
    and im.inventory_ind='Y'
    and im.item_xform_ind='N'
    and im.catch_weight_ind='N'
    and rownum<10;
    --order by im.item asc;
    Cursor C_Selling_UOM (tpnb varchar2) is
    select selling_uom
    from rpm_item_zone_price
    where item = tpnb;
    Cursor C_prim_bar (tpnb varchar2) is
    select item,
    status
    from item_master iem
    where item_parent = tpnb
    and iem.primary_ref_item_ind ='Y';
    Cursor C_multi_bar_exit (tpnb varchar2) is
    select count(*)
    from item_master iem
    where item_parent = tpnb;
    Cursor C_multpl_prim_bar_exist (tpnb varchar2) is
    select count(*)
    from item_master
    where item_parent = tpnb
    and primary_ref_item_ind ='Y';
    Cursor C_staus_prim_simp_pack (tpnb varchar2) is
    select piem.pack_no,
    iem.status
    from item_master iem,
    packitem piem
    where piem.item = tpnb
    and piem.pack_no = iem.item
    and iem.tsl_prim_pack_ind ='Y';
    Cursor C_multpl_prim_pack_exist (tpnb varchar2) is
    select count(*)
    from item_master iem,
    packitem piem
    where piem.item = tpnb
    and piem.pack_no = iem.item
    and iem.tsl_prim_pack_ind ='Y';
    Cursor C_prim_supp_prim_simpl_pack (tpnd varchar2) is
    select supplier
    from item_supplier
    where item = tpnd
    and primary_supp_ind= 'Y';
    Cursor C_prim_sim_supp_to_TPNB (tpnb varchar2,suppl number) is
    select 'Y'
    from item_supplier
    where item = tpnb
    and supplier = suppl;
    Cursor C_item_descretion_SEL (tpnb varchar2) is
    select sel_desc_1,
    sel_desc_2,
    sel_desc_3
    from tsl_itemdesc_sel
    where item =tpnb;
    Cursor C_item_till_descretion (tpnb varchar2) is
    select till_desc
    from tsl_itemdesc_till
    where item=tpnb;
    Cursor C_EA (tpnb varchar2,suppl number) is
    select length,
    width,
    height
    from item_supp_country_dim
    where item= tpnb
    and supplier = suppl
    and dim_object='EA';
    Cursor C_CS (tpnb varchar2,suppl number) is
    select length,
    width,
    height
    from item_supp_country_dim
    where item= tpnb
    and supplier = suppl
    and dim_object='TYUNIT';
    Cursor C_TRAY (tpnb varchar2,suppl number) is
    select length,
    width,
    height
    from item_supp_country_dim
    where item= tpnb
    and supplier = suppl
    and dim_object='TRAY';
    BEGIN
    --INITIAL
    WEB_FILE_URL := TSC_RPT_GRS_EXL_GEN.WEB_URL||TSC_RPT_GRS_EXL_GEN.OPEN_FILE;
    TSC_RPT_GRS_EXL_GEN.put_line('Poland Production Cutover');
    TSC_RPT_GRS_EXL_GEN.skip_line;
    l_hdr_str := 'L_item_TPNB,L_status,L_item_desc,L_item_type,L_section,L_class,L_subclass,L_cw_order_type,L_cw_sale_type,L_std_UOM,L_selling_UOM,'||
    'L_base_item,L_prim_bar_code,L_status_pri_bar,L_multpl_bar_exist,L_multpl_prim_bar_exist,L_prim_simple_pack,L_staus_prim_simp_pack,L_mupl_prim_pack_exist,'||
    'L_prim_supp_prim_simpl_pack,L_prim_sim_supp_to_TPNB,L_sel1,L_sel2,L_sel3,L_item_till_desc,L_lengh1,L_width1,L_height1,L_lengh2,L_width2,L_height2,L_lengh3,L_width3,L_height3';
    l_hdr_str := TSC_RPT_GRS_EXL_GEN.CONVERT_SEPARATOR(l_hdr_str);
    TSC_RPT_GRS_EXL_GEN.put_line(l_hdr_str);
    for rec_c_item in C_ITEM
    LOOP
    open C_Selling_UOM (rec_c_item.L_item);
    fetch C_Selling_UOM into L_selling_UOM;
    close C_Selling_UOM;
    open C_prim_bar (rec_c_item.L_item);
    fetch C_prim_bar into L_prim_bar_code,L_status_pri_bar;
    close C_prim_bar;
    open C_multi_bar_exit (rec_c_item.L_item);
    fetch C_multi_bar_exit into L_multpl_bar_exist;
    close C_multi_bar_exit;
    IF to_number(trim(L_multpl_bar_exist)) > 1 THEN
    L_multpl_bar_exist:='Y';
    ELSE
    L_multpl_bar_exist:='N';
    END IF;
    open C_multpl_prim_bar_exist (rec_c_item.L_item);
    fetch C_multpl_prim_bar_exist into L_multpl_prim_bar_exist;
    close C_multpl_prim_bar_exist;
    IF to_number(trim(L_multpl_prim_bar_exist)) > 1 THEN
    L_multpl_prim_bar_exist:='Y';
    ELSE
    L_multpl_prim_bar_exist:='N';
    END IF;
    open C_staus_prim_simp_pack (rec_c_item.L_item);
    fetch C_staus_prim_simp_pack into L_prim_simp_pack,L_staus_prim_simp_pack;
    close C_staus_prim_simp_pack;
    open C_multpl_prim_pack_exist (rec_c_item.L_item);
    fetch C_multpl_prim_pack_exist into L_mupl_prim_pack_exist;
    close C_multpl_prim_pack_exist ;
    IF to_number(trim(L_mupl_prim_pack_exist)) > 1 THEN
    L_mupl_prim_pack_exist:='Y';
    ELSE
    L_mupl_prim_pack_exist:='N';
    END IF;
    open C_prim_supp_prim_simpl_pack (trim(L_prim_simp_pack));
    fetch C_prim_supp_prim_simpl_pack into L_prim_supp_prim_simpl_pack;
    close C_prim_supp_prim_simpl_pack ;
    open C_prim_sim_supp_to_TPNB (rec_c_item.L_item,to_number(trim(L_prim_supp_prim_simpl_pack)));
    fetch C_prim_sim_supp_to_TPNB into L_prim_sim_supp_to_TPNB;
    close C_prim_sim_supp_to_TPNB ;
    open C_item_descretion_SEL (rec_c_item.L_item);
    fetch C_item_descretion_SEL into L_sel1,L_sel2,L_sel3;
    close C_item_descretion_SEL ;
    open C_item_till_descretion (rec_c_item.L_item);
    fetch C_item_till_descretion into L_item_till_desc;
    close C_item_till_descretion ;
    open C_EA (rec_c_item.L_item,to_number(trim(L_prim_supp_prim_simpl_pack)));
    fetch C_EA into L_lengh1,L_width1,L_height1;
    close C_EA ;
    open C_CS (rec_c_item.L_item,to_number(trim(L_prim_supp_prim_simpl_pack)));
    fetch C_CS into L_lengh2,L_width2,L_height2;
    close C_CS ;
    open C_TRAY (rec_c_item.L_item,to_number(trim(L_prim_supp_prim_simpl_pack)));
    fetch C_TRAY into L_lengh3,L_width3,L_height3;
    close C_TRAY ;
    L_buff_line := TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_item), TRUE)||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_status))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_item_desc))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_item_type))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_dept))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_class))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_subclass))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_CW_item_order_type))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_CW_item_sale_type))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_standard_uom))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_selling_UOM)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(rec_c_item.L_tsl_base_item))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_prim_bar_code)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_status_pri_bar)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_multpl_bar_exist)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_multpl_prim_bar_exist)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_prim_simp_pack)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_staus_prim_simp_pack)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_mupl_prim_pack_exist)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_prim_supp_prim_simpl_pack)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_prim_sim_supp_to_TPNB)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_sel1)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_sel2)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_sel3)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_item_till_desc)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_lengh1)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_width1)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_height1)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_lengh2)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_width2)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_height2)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_lengh3)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_width3)))||
    TSC_RPT_GRS_EXL_GEN.PAD_COMMA(to_char(trim(L_height3)));
    TSC_RPT_GRS_EXL_GEN.PUT_LINE(L_buff_line);
    L_selling_UOM :=NULL;
    L_prim_bar_code :=NULL;
    L_status_pri_bar :=NULL;
    L_multpl_bar_exist :=NULL;
    L_multpl_prim_bar_exist :=NULL;
    L_prim_simp_pack :=NULL;
    L_staus_prim_simp_pack :=NULL;
    L_mupl_prim_pack_exist :=NULL;
    L_prim_supp_prim_simpl_pack :=NULL;
    L_prim_sim_supp_to_TPNB :=NULL;
    L_sel1 :=NULL;
    L_sel2 :=NULL;
    L_sel3 :=NULL;
    L_item_till_desc :=NULL;
    L_lengh1 :=NULL;
    L_width1 :=NULL;
    L_height1 :=NULL;
    L_lengh2 :=NULL;
    L_width2 :=NULL;
    L_height2 :=NULL;
    L_lengh3 :=NULL;
    L_width3 :=NULL;
    L_height3 :=NULL;
    END LOOP;
    TSC_RPT_GRS_EXL_GEN.close_file;
    return TRUE;
    EXCEPTION WHEN OTHERS THEN
    ERR_DESC := '['||SQLCODE||']-'||SUBSTR(SQLERRM,1,200);
    return FALSE;
    END TSC_OM_AUDIT;
    Please suggest something on this
    Regards,
    Shamed H

    Hi Shamid,
    This forum is only for questions regarding the SQL Developer tool. Please post in Forum Home > Database > SQL and PL/SQL:
    PL/SQL
    Regards,
    Gary
    SQL Developer Team

  • Problems inputing data through JOptionpane to a Access Database

    I am kinda stuck at how to input a new order through JOptionpane's that adds new information into a MS Access Database. I have been fine with coding to get an order through a search JOptionpane as shown below:
    if (e.getSource() == btnCheckOrder)
    String strInput=JOptionPane.showInputDialog("Enter an order number");
    LinkedList Orders = Xenon.findOrders((long)Integer.parseInt(strInput));
    if(Orders==null)
    txtDisplay.setText("No Results Found! Please Try Again!");
    else
    txtDisplay.setText(Orders.toString());
    Any help or advice on how to solve this problem would be great, as im at my wits end.

    So far i have came up with this in my GUI class:
    if (e.getSource()== btnAddOrder)
    String Orders = JOptionPane.showInputDialog(this,"Order Number", "New Order Number",JOptionPane.INFORMATION_MESSAGE);
    if (Orders == null)
    return;
    String strInput = JOptionPane.showInputDialog("Customer Number", "Enter Customer Number");
    long CustNum = 0;
    strInput = JOptionPane.showInputDialog("Part Number", "Enter Part Number");
    long part_Num = 0;
         strInput = JOptionPane.showInputDialog("Number Ordered", "Enter Number Ordered");
    long Num_Ordered = 0;
         strInput = JOptionPane.showInputDialog("Quoted Price", "Enter Quoted Price");
    double Quoted_Price = 0;
         strInput = JOptionPane.showInputDialog("Order Date", "New Order Date");
    long OrderDate = 0;
         strInput = JOptionPane.showInputDialog("Rep Number", "Enter Rep Number");
    long repNum = 0;
    confirmDialog = new JDialog((Frame) null,"Dialog",true);
    Container dialogContentPane = confirmDialog.getContentPane();
    dialogContentPane.setLayout(new FlowLayout());
    JButton okButton = new JButton("OK");
    okButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent e ){confirmDialog.dispose();}
    dialogContentPane.add(new JLabel("Confirm New Order"));
    dialogContentPane.add(okButton);
    confirmDialog.setBounds(150,150,150,120);
    confirmDialog.show();
    This seems to work but doesnt add the data i input into the database.

  • HOW TO CREATE AND DEPLOY EAR FILE WITHOUT HAVING ACCESS TO DATABASE

    I created an application using jsp and bc4j. I tested it against a standalone OC4j server on the same pc. This week I installed 9iAS to simulate the installprocess which should be due next week. Everything works fine; deploying seems to be a peace of cake... until I realized that the customer's database,
    host etc. are not the same as in my testing environment.I tried to create a connection in JDeveloper with the customer's database hostname and SID. This
    does not work; the host is not known in my development enviroment. So how can I create an EAR file with the correct connection (ie, pointing to customer's host
    and SID)?

    You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
    You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

  • Oc4j starting with Oracle Database & oc4j App Server on same machine

    Hi ALL, can anybody help me(pls read this)
    This is Sagar, i have created a GIS Application(java) using Oracle 10g.
    Senario I:
    oc4j server and oracle 10g Database Server on different machines:
    When i start oc4j server with NO. OF Mappers = 64 or 30 in DNS using
    1. oc4j -start (normally)
    from the path c:/oc4j/bin by setting ORACLE_HOME path normally
    application is working fine but when users are increased say 4 to 5 oc4j server gives error:
    java.lang.OutOfMemoryError: Java Heap Space
    I searched for this error i found a solution for starting oc4j as follows:
    2.Java -Xmx1024m -Xms1024m -jar oc4j.jar
    from the path c:/oc4j/j2ee/home --- oc4j.jar
    Then map & application works fine and fast since heap space is increased to 1GB (speed is noticable)
    but if...(in other senario)
    Senario II:
    oc4j server and oracle 10g Database Server on same machine:
    if step 2: is used form above senario, oc4j Server does not gets started only it gets initialized...(server does not gets started)
    but Step 1: is used application works fine but again heap space error as mentioned above is seen.
    Again if changes are made in oc4j.cmd file in c:/oc4j/bin ....by giving the heap space command oc4j works fine but the application(performance) is very very slow but heap space error is not seen.
    Please can any body suggest the solution.. application should work fast and also the heap space should be increased but taking the senario - oc4j App Server & Oracle 10g Database Server on Same machine..

    Hello,
    How much RAM do you have on the machine? What is the size of the SGA for the database you are using?
    if step 2: is used form above senario, oc4j Server does not gets started only it gets >initialized...(server does not gets started)What do you mean by this? Provide the output from the server when you start your server.

  • Restore of an application without having an OLAP database backup

    Hello,
    Could you tell me if there is a means (manually or through the server manager) to restore a working application-set if I have not a backup of the OLAP database ?
    Thanks in advance,
    Lionel

    Hi,
    There is a way :
    On the server hosting BPC Server Manager :
    1. Create a new folder named "MyAppSet" where MyAppSet is the exact name of your appset.
    2. Create 3 sub-folders, in the previous one, named WebFolder, FileDB and SQL
    3. In \MyAppset\Webfolder put a zip file contening all the files and subdirectory of the appset webfolder
    4. In \MyAppset\FileDB put a zip file contening all the files and subdirectory of the appset fileDB
    5. in \MyAppSet\SQL put the .BAK file of your DB (full backup of your appset.
    6. Run SAP BPC server manager => AppSet => Restore AppSet
    7. Open \MyAppSet directory.. This will automatically find the correct filedb zip, webfolder zip and DB .BAK file
    SSAS DB will be recreated but you will have to reprocess application / dimensions and security from the Admin client.

  • Having issue restarting database after switching mount point

    We needed to change the mount point of the disk that has our mount points, so instead of going to /opt, it going to /opt/san/mdb4. I have created a control file to use to start up the database, but I'm still having issues. Here is part of the control file:
    CREATE CONTROLFILE REUSE SET DATABASE "INVEST" RESETLOGS NOARCHIVELOG
    MAXLOGFILES 64
    MAXLOGMEMBERS 2
    MAXDATAFILES 254
    MAXINSTANCES 16
    MAXLOGHISTORY 1815
    LOGFILE
    GROUP 1 (
    '/opt/san/mdb4/db02/oradata/INVEST/redo01a.log',
    '/opt/san/mdb4/db03/oradata/INVEST/redo01b.log'
    ) SIZE 50M,
    etc....
    DATAFILE
    '/opt/san/mdb4/db02/oradata/INVEST/XXX.dbf',
    '/opt/san/mdb4/db03/oradata/INVEST/XXX01.dbf',
    '/opt/san/mdb4/db07/oradata/INVEST/XXX02.dbf',
    '/opt/san/mdb4/db07/oradata/INVEST/XXX03.dbf',
    '/opt/san/mdb4/db03/oradata/INVEST/XXX04.dbf',
    '/opt/san/mdb4/db03/oradata/INVEST/XXX05.dbf',
    '/opt/san/mdb4/db03/oradata/INVEST/XXX06.dbf',
    etc...
    CHARACTER SET UTF8
    All of the files are in the correct spot. I have also edited the init.ora file so that the directories are correct. This is the error that I get every time:
    CREATE CONTROLFILE REUSE SET DATABASE "INVEST" RESETLOGS NOARCHIVELOG
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00449: background process 'DBW0' unexpectedly terminated with error 7446
    ORA-07446: sdnfy: bad value '' for parameter .
    I am running Oracle 8.1.7 on Sun Solaris 8 (SunOS 5.8).
    Does anyone have any idea what is going on? Let me know.

    According to error message you have syntax error in your create statement. double check it.
    ORA-07446: sdnfy: bad value 'string' for parameter string.
    Cause: The directory specified as the value for the stated parameter could not be used.
    Action: Make sure the directory you have specified is a valid directory/file specification.

  • Standalone oc4j and oracle 9i database on the same windows xp machine

    I m trying to deploy my j2ee application in my local system using standalone oc4j container(Oracle Containers for J2EE 10g (10.1.3.1)).To configure OC4j,I had to mention ORACLE_HOME=d:\oc4j as a user defined env variable.after that the oc4j started running normally.then i installed oracle 9i database in the same system to use it as the database for the application.During installation it prompts that ORACLE_HOME is alredady set.However the installation completes successfully.But when i try opening sql plus,it throws and error asking to check oracle_home.Its only after changing oracle home to d:\oracle,that sql plus opened and i could log in to it.But after that oc4j would not run saying it cannot find relevant files.Is it not possible to have standalone oc4j and a database for a J2ee application on the same system.if its possible,how can we go ahead?Thanks in advance

    user549113,
    Problem with ORACLE_HOME has been discussed several times already in this forum. I suggest you search the forum archives for "ORACLE_HOME".
    Good Luck,
    Avi.

  • Help me with DaffodilDB database

    Im stuk up with this problem since 2 days.... and I am not able to solve this problem. kindly help me a sit is very urgent.
    I am using DaffodilDB for the back-end(database).
    I have created a database called "Black" containing a table " BlackListed"
    Im also using QuicKTool to get the output onto a table.
    The following parameters are passed to it....
    dBTable1.connectDatabase("in.co.daffodil.db.rmi.RmiDaffodilDBDriver", "jdbc:daffodilDB://localhost:3456:/BlackListed", "" ,"");
    But when I run the program.. i am getting the following exceptions:
    java.sql.SQLException: java.rmi.ConnectException: Connection refused to host: 192.168.77.60; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at in.co.daffodil.db.rmi.RmiDaffodilDBDriver.getServer(Unknown Source)
         at in.co.daffodil.db.rmi.RmiDaffodilDBDriver.getConnection(Unknown Source)
         at in.co.daffodil.db.jdbc.A_2074.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at quick.dbtable.s.byte(DBTableModel.java:192)
         at quick.dbtable.DBTable.connectDatabase(DBTable.java:2309)
         at com.bs.bank.BlackListed$EventHandler.connectToDatabase(BlackListed.java:410)
         at com.bs.bank.BlackListed$EventHandler.actionPerformed(BlackListed.java:395)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    So please help me.... write a mail if possible to [email protected] ...pls bcoz it is very very urgent.
    Thanks in advance.
    P. Madan

    Hi,
    make sure that your Daffodil DB server is running on 3456 port.
    You can start the Daffodil DB server using the "StartServer.bat" file available in Tools directory of Daffodil DB installation. You can test the server by running "ShellServer.bat" file and taking connection with your database.
    Jdbc url seems to be correct. Can you tell me the Daffodil DB version used?
    Thanks,
    Parveen
    www.daffodildb.com

  • How can I make my clips burnt to disc play through without having to pick clip titles from the menu?

    I burnt some clips from iDVD to DVD and want to know if anyone knows if there is a setting to make the clips flow through instead of having to go to menu and pick each clip?

    Two ways:
    1 - join the clips together as one file with Qjuicktime Player, iMovie or other app designed for that and use the single clip.
    2 - create a slideshow in iDVD and add the clips to it.  Set the slides display time to anything except manualliy. Do not add a transition or music.
    OT

Maybe you are looking for

  • Backing up iPad and iPhone to Windows 7 Pro Computer

    I am using a HP 8200 Elite computer with Windows 7 Pro 64 Bit.  My problem is backing up my 2 iPads Sys 8.1.3 and 2 iPhones Sys 8.1.3 & 7.1..2.  I find that iTunes was made to play music and they made the backup feature very uncomfortable, not at all

  • Not able to select more than two values

    Based on picklist.fmb, I created a list item in a form. I am able select many values using SHIFT but I am not able to pick more than two values using CTRL key. Anything I did mistake or picklist won't support picking more than two values using CTRL?

  • What is the latest windows os that the T43 can handle/support?

    I have many problems with windows 7 RTM on my T43 and requires upgrades and so on in order to work so what OS works?

  • Query of Queries user guide

    This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0e4fd -7ff0.html

  • Using ARD to change user accounts

    Hi, I would like to find out whether are there any way if i could use the unix command or script files to change the username and password? Would appreciate if you anyone could assist me? Are there any recommended textbook for apple scripting or appl