ACE members Please Help

ACE members Please Help me on my thread 'inserting images into a record'

Hello
Have a look at this Asktom thread. I think it covers everything you need:
http://asktom.oracle.com/pls/ask/f?p=4950:8:341621061576567593::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6379798216275
People tend to volunteer their time to answer questions on here when they get a chance i.e. when they have a bit of spare time from the work they are paid to do. You aren't guaranteed to get a quick response or any response at all, although normally you will. If you need a guaranteed quick response and followup, you may be better using oracle support services.
HTH
David

Similar Messages

  • Hello Members Please Help Error Installing Sample Schemas (HR)

    Hi members, and thank you for your help.
    After much mulling I have installed Oracle 12c (64b) on my Windows 7 64b SP.
    Apparently everything is working fine, I can access both from the web (EM Express) an SQL Plus as SYS for example.
    he probelma is:
    I downloaded and unzipped winx64_12c_examples and have installed correctly.
    I have verified that you have added the files in the respective folders.
    For example, in C: \ Oracle12c \ product \ 12.1.0 \ dbhome_1 \ demo \ schema \ human_resources I have the 10 files.
    12/10/2002 19:27 1,173 hr_analz.sql
    29/08/2002 14:29 2,825 hr_code.sql
    29/08/2002 14:29 7,387 hr_comnt.sql
    29/08/2002 14:29 9,718 hr_cre.sql
    29/08/2002 14:29 16,439 hr_dn_c.sql
    Hr_dn_d.sql 934 29/08/2002 14:29
    29/08/2002 14:29 1,196 hr_drop.sql
    29/08/2002 14:29 1,410 hr_idx.sql
    27/05/2011 11:25 3,368 hr_main.sql
    15/08/2008 18:12 46,647 hr_popul.sql
                   10 files 91 097 bytes
    Now I come to install the samples as indicated in the link:
    http://docs.oracle.com/cd/E16655_01/server.121/e15979/installation.htm
    The inputs...
    SQL * Plus: Release 12.1.0.1.0 Production on Tue Sep 6 1:21:36 2013
    Copyright (c) 1982, 2013, Oracle. All rights reserved.
    Enter the user name: sys as sysdba
    Enter the password ± to:
    Connected to:
    12c Oracle Database Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing opt
    ions
    SQL> @? / Demo / schema / human_resources / hr_main.sql
    specify password for HR as parameter 1:
    Enter a value for 1: passw
    specify default tablespeace for HR as parameter 2:
    Enter a value for 2: users
    specify temporary tablespace for HR as parameter 3:
    Enter value for 3: temp
    specify password for SYS as parameter 4:
    Enter value for 4: passw
    specify log path as parameter 5:
    Enter a value for 5: C: \ Oracle12c \ product \ 12.1.0 \ dbhome_1 \ demo \ schema \ log\
    The output is full of errors and seems not to have done anything ... ?
    However, if I have created the LOG in the right direction.
    Below I put the full LOG output.
    ===============================================================================
    C:\Oracle12c\product\12.1.0\dbhome_1\demo\schema\log\hr_main.log
    ===============================================================================
    DROP USER hr CASCADE
    ERROR at line 1:
    ORA- 01918 : user ' HR ' does not exist
    CREATE USER hr IDENTIFIED BY passw
    ERROR at line 1:
    ORA- 65096 : user or role name shared Invalid
    ALTER USER hr DEFAULT TABLESPACE users
    ERROR at line 1:
    ORA- 01918 : user ' HR ' does not exist
    ALTER USER hr TEMPORARY TABLESPACE temp
    ERROR at line 1:
    ORA- 01918 : user ' HR ' does not exist
    GRANT CREATE SESSION , CREATE VIEW, ALTER SESSION , CREATE SEQUENCE TO hr
    ERROR at line 1:
    ORA- 01917 : user or role ' HR ' does not exist
    GRANT CREATE SYNONYM , CREATE DATABASE LINK , RESOURCE, UNLIMITED TABLESPACE TO hr
    ERROR at line 1:
    ORA- 01917 : user or role ' HR ' does not exist
    Online .
    GRANT execute ON TO hr sys.dbms_stats
    ERROR at line 1:
    ORA- 01917 : user or role ' HR ' does not exist
    ERROR :
    ORA- 01017 : invalid username / password , logon denied
    Warning :no longer connected to ORACLE !
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** REGIONS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating table COUNTRIES ****** ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** LOCATIONS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** DEPARTMENTS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** JOBS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** EMPLOYEES table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** JOB_HISTORY table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** EMP_DETAILS_VIEW view ...
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** REGIONS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** countires table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** LOCATIONS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** DEPARTMENTS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    JOBS ****** Populating table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** EMPLOYEES table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    JOB_HISTORY ****** Populating table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0641 : " EXECUTE " requires connection to the server
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------ END
    Thats is all, I think ....
    So here I come, continued searching google and forums but can not find a solution to this problem.
    Please appreciate any help with this, I need the sample database running.
    Thank you very much in advance and good luck.

    NEW ... LAST CHANGES !!
    I changed the PDB, which appeared as mounted pdborcl been open with the command:
    alter pluggable database pdborcl open;
    SQL> connect system/oracle@localhost:1521/pdborcl as sysdba
    Conectado.
    SQL> SELECT NAME, OPEN_MODE, RESTRICTED, OPEN_TIME FROM V$PDBS;
    NAME                           OPEN_MODE  RES
    OPEN_TIME
    PDBORCL                        READ WRITE NO
    06/09/13 20:54:33,875
    And now I repeat the process ...
    SQL> @? / Demo / schema / human_resources / hr_main.sql
    specify password for HR as parameter 1:
    Enter a value for 1: passw
    specify default tablespeace for HR as parameter 2:
    Enter a value for 2: users
    specify temporary tablespace for HR as parameter 3:
    Enter value for 3: temp
    specify password for SYS as parameter 4:
    Enter value for 4: passw
    specify log path as parameter 5:
    Enter a value for 5: C: \ Oracle12c \ product \ 12.1.0 \ dbhome_1 \ demo \ schema \ log\
    And The output  of the log has been changed !!!!
    ===============================================================================
    C:\Oracle12c\product\12.1.0\dbhome_1\demo\schema\log\hr_main.log
    ===============================================================================
    User deletion.
    User created .
    User changed.
    User changed.
    Grant finished properly.
    Grant finished properly.
    Online .
    GRANT execute ON TO hr sys.dbms_stats
    ERROR at line 1:
    ORA- 01917 : user or role ' HR ' does not exist
    ERROR :
    ORA- 01017 : invalid username / password , logon denied
    Warning :no longer connected to ORACLE !
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** REGIONS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating table COUNTRIES ****** ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** LOCATIONS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** DEPARTMENTS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** JOBS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** EMPLOYEES table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** JOB_HISTORY table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Creating ****** EMP_DETAILS_VIEW view ...
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** REGIONS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** countires table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** LOCATIONS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** DEPARTMENTS table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    JOBS ****** Populating table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    Populating ****** EMPLOYEES table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    JOB_HISTORY ****** Populating table ....
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0640 : Not connected
    SP2 -0641 : " EXECUTE " requires connection to the server
    we move forward
    Comments are welcome
    Thanks again !

  • Duplicate Members - Please help!

    Can anyone please give me a good explanation of how to add duplicate members in an ASO cube via Essbase Studio? Firstly, I have created an inner join between parent and child members of one of my minischema tables. Next, I go to the model properties and check the "duplicate member support" option. I then go to the member that I want to allow duplicates for and in the "outline build" tab I check off *"Ignore duplicate members, do not move"* I'm assuming this means that when a duplicate member is encountered it should be allowed to stay in the cube... Anyways, when I try to deploy the cube this way, the duplicates don't come thru. Am I following the correct process for adding duplicate members?
    I've also read that my member name needs to be fully qualified. How do I do this in Essbase Studio?
    thanks,
    Akshay

    Can you try closing the outline without saving and manually adding in some to see exactly where the error is? It sounds like there is a duplicate member not marked as Share. Are you using a load rule to build the outline? I agree with the last post about checking the dimension build settings.

  • Error in deploying an OLAP cube with OWB ---- Oracle ACE's , please help me

    I am using OWB 10.2 for building a BI application . All goes well until I tried to deploy an OLAP relational cube . When I cofigure an OLAP cube -deplyoment options- with 'deploy all' value ie OWB genarete un pl/sql script with cmw2 procedures , Control Center Manager can't deploy my cube and give me this log:
    ORA-06510 : PL/SQL unhandled user-defined exception
    ORA-06512 : at OLAPSYS.CMW2_OLAP_UTILITY , line 1660
    ORA-01403 : no data found
    ORA-06512 : at "OLAPSYS.CMW2_OLAP_CUBE, line 33
    ORA-06512 : at "OLAPSYS.CMW2_OLAP_CUBE, line 55
    ORA-06512 : at "OLAPSYS.CMW2_OLAP_CUBE, line 386
    ORA-06512 : at line 5
    What do you think is wrong?
    TIA

    Ragnar is quite correct. When you design a cube there is an associated table generated and FK constraints are created that link back to the related dimension objects and their associated tables. The OLAP dimensions and cubes are just pieces of metadata and don't actually exist as first class objects in their own right. Most importantly don't confuse OLAP dimensions with relational dimensions that are created to support query re-write.
    In Control Center if you check the Table node in your tree you should see a list of tables that are the relational source objects for your dimensions and cubes. Deploy the dimension tables first, then deploy the dimensions using the "Deploy All" option. Lastly depoly your table followed by the cube.
    In Control Center it is possible to force OWB to deploy all related objects. I think it is on one of the menu options within Design Center. I will see if I can find the exact details when I next have OWB open.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • MOVED: Senior Members Please Help :(

    This topic has been moved to Intel Core-iX boards.
    https://forum-en.msi.com/index.php?topic=176317.0

    Quote
    Its only 2 years old not a 6 or 10 years old board .. 
    its not when you purchase your board, but its release date and the period until its EOL.
    Quote
    for me It doesn't matter how much old to support .. a GPU should support any kind of motherboard
    there is no such thing. there is no any guarantees that old hardware will works with any future released hardware.
    Quote
    the pathetic thing is your are supporting MSI  even the fault is your side 
    the only fault is in your understanding.
    again: contain MSI from the link that i give you and see if anything can be done about it.

  • Senior Members Please Help :(

    Recenly bought r9 290 card not detecting in Device manger - First of all here are my specifications :
    Motherboard :MSI Z68AGD80 (b3)
    Processor : I5 2500k
    8GB Ram Gskill
    5tb HDD +1 SSD 256 GB
    PSU : corsair TX 750
    I even flashed the motherboard bios with latest Bios provided by my MSI but no luck
    I dont understand why the card is not detecting .. I tried to flash the card with vbios which is supplied by sapphire on their Wesbite By it is always showing adapater notfound there by I concluded the card was not detecting ..
    Before this I replaced 3 cards since I thought cards are the issues .. first I replaced asus then other 2 cards are sapphire ..
    But on otherside My old 6850 HD card is working fine ..
    When I place the card in slot and boot from motherboard dvi I am unable to detect the card in Device manager

    Quote
    Its only 2 years old not a 6 or 10 years old board .. 
    its not when you purchase your board, but its release date and the period until its EOL.
    Quote
    for me It doesn't matter how much old to support .. a GPU should support any kind of motherboard
    there is no such thing. there is no any guarantees that old hardware will works with any future released hardware.
    Quote
    the pathetic thing is your are supporting MSI  even the fault is your side 
    the only fault is in your understanding.
    again: contain MSI from the link that i give you and see if anything can be done about it.

  • An Appeal to all Hon'ble Ace Members

    Respected All Ace Members,
    With humble request, I would like to request all Ace Members and Top Users in the forum to provide following source of knowledge on Oracle:
    1. Free Book
    2. Online / Chat Support
    3. Article
    4. White Paper
    5. Key Note
    6. Troubleshoot
    7. Ace Experience
    8. Expert’s conversation Room
    9. How to
    10. Blogs
    11. Archival
    12. Tip & Tricks
    If you provide above mentioned dozen, source of knowledge; here are demerit which may be:
    1.     It may decrease the sale of priced books.
    2.     It may decrease the revenue to metalink.
    3.     It may decrease the sale of priced study material, sold by Oracle University.
    4.     It may cause of highlighting the lacks and mistakes left in oracle documentation.
    5.     It may be cause of lowering the sale of third party tools.
    But;
    If you provide above mentioned dozen, source of knowledge; here are sure merits:
    1. Factors, who are working for decrease the popularity of oracle, will suddenly surrender.
    2. It will boost user base in term of quantity and quality.
    3. It will direct help and solutions to working oracle DBA in the industry with no more doubts and confusion.
    4. It will ease burden on oracle teaching society.
    5. Certification aspirants will be able to get to the point and expertise help.
    6. It will stop more talking over limitations and demerit in comparisons to other RDBMS.
    7. It will provide answers to how to provide ease, robust, long lasting solution and ultimate use of resources in view of cost saving.
    8. If oracle education will so easy then, it will help to provide good and increased certified DBA to IT industry.
    Now, you please consider…!
    Warm Regards

    With humble request, I would like to request all Ace Members and Top Users in the forum to provide
    following source of knowledge on Oracle:
    1. Free Bookhttp://docs.oracle.com
    2. Online / Chat Supporthttp://forums.oracle.com
    3. Articlehttp://otn.oracle.com
    4. White Paperhttp://otn./oracle.com
    5. Key Notehttp://otn.oracle.com
    6. Troubleshoothttp://forums.oracle.com
    7. Ace Experiencehttp://forums.oracle.com
    8. Expert’s conversation Roomhttp://mix.oracle.com
    9. How tohttp://wiki.oracle.com
    10. Blogshttp://blogspot.oracle.com
    11. Archivalhttp://otn.oracle.com
    http://forums.oracle.com
    12. Tip & Trickshttp://forums.oracle.com
    http://wiki.oracle.com
    http://otn.oracle.com
    http://mix.oracle.com
    >
    If you provide above mentioned dozen, source of
    knowledge; here are demerit which may be:
    1.     It may decrease the sale of priced books.Probably not. People don;t read.
    2.     It may decrease the revenue to metalink.Probably not. People need patches.
    3.     It may decrease the sale of priced study material, sold by Oracle University.Probably not. People don't read.
    4.     It may cause of highlighting the lacks and mistakes left in oracle documentation.Probably not. There is a forum dedicated to this.
    5.     It may be cause of lowering the sale of third party tools.Probably not. It's all about religion and comfort levels.
    >
    But;
    If you provide above mentioned dozen, source of
    knowledge; here are sure merits:
    1. Factors, who are working for decrease the
    popularity of oracle, will suddenly surrender.Probably not. Religious people will argue for their religion even in the face of fact. And loyalty to programming and other computer tools borders on religion.
    2. It will boost user base in term of quantity and quality.Probably not. People are not that willing to learn.
    3. It will direct help and solutions to working oracle DBA in the industry with no more doubts and confusion.Probably not. http://orafaq.com has been doing this for years now and people are just as stupid as ever.
    4. It will ease burden on oracle teaching society.Probably not. People are to lazy to learn.
    5. Certification aspirants will be able to get to the point and expertise help.Probably not. Certification aspirants mostly want to be certified - learning is irrelevant.
    6. It will stop more talking over limitations and demerit in comparisons to other RDBMS.Probably not. See my earlier comment about religion.
    7. It will provide answers to how to provide ease, robust, long lasting solution and ultimate use of
    resources in view of cost saving.Probably not. The answers are out there in easy to read format but people are too lazy to search.
    8. If oracle education will so easy then, it will help to provide good and increased certified DBA to
    IT industry.Only in an ideal world.
    >
    Now, you please consider…!I tried. I failed.

  • Cisco SIP Phone 9971 won't register on CME 8.6 or 8.5 Please HELP

    Please help me , I have problem with registering Cisco SIP phone 9971 with CME 8.6 on ISR 2901.
    I configured CME for SIP clients, then I add configuration for 9971 phone and create profiles.  Phone downloaded SEP...xml file from CME,after that phone look for g4-tones.xml and gd-sip.jar files, I added them to CME after that phone downloaded them and reboot. Now phone is stuck in some kind of loop and does not register on CME.
    On phone log I can see repeting next few messeges.
    12:01:58a No DNS Server IP
    12:01:59a Updating Trust list
    12:01:59a No Trust List instaled
    12:01:59a SEP04C5AB03B0D.cnf.xml (TFTP)  // at this time phone download SEP...xml file from CME
    12:02:00a VPN Error: VPN is not Configured
    on CME if issue DEBUG TFTP EVENTS i receive next few lines
    *Aug 18 18:20:19.891: TFTP: Looking for CTLSEP04C5A4B03B0D.tlv
    *Aug 18 18:20:19.987: TFTP: Looking for ITLSEP04C5A4B03B0D.tlv
    *Aug 18 18:20:20.083: TFTP: Looking for ITLFile.tlv
    *Aug 18 18:20:20.347: TFTP: Looking for SEP04C5A4B03B0D.cnf.xml
    *Aug 18 18:20:20.351: TFTP: Opened flash:/SEP04C5A4B03B0D.cnf.xml, fd 14, size 4585 for process 141
    *Aug 18 18:20:20.363: TFTP: Finished flash:/SEP04C5A4B03B0D.cnf.xml, time 00:00:00 for process 141
    here you can see verison info of CME
    Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.1(4)M, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2011 by Cisco Systems, Inc.
    Compiled Thu 24-Mar-11 15:31 by prod_rel_team
    ROM: System Bootstrap, Version 15.0(1r)M9, RELEASE SOFTWARE (fc1)
    ELTOSAN_ROUTER uptime is 1 hour, 50 minutes
    System returned to ROM by reload at 16:29:20 UTC Thu Aug 18 2011
    System image file is "flash:/c2900-universalk9-mz.SPA.151-4.M.bin"
    Last reload type: Normal Reload
    Last reload reason: Reload Command
    Cisco CISCO2901/K9 (revision 1.0) with 471040K/53248K bytes of memory.
    Processor board ID FGL1508252Y
    3 Gigabit Ethernet interfaces
    2 terminal lines
    1 Virtual Private Network (VPN) Module
    4 Voice FXO interfaces
    4 Voice FXS interfaces
    1 Internal Services Module (ISM) with Services Ready Engine (SRE)
       Survivable Remote Site Voicemail (SRSV) on Cisco Unity Express (CUE) 8.5.1 in slot/sub-slot 0/0
    DRAM configuration is 64 bits wide with parity enabled.
    255K bytes of non-volatile configuration memory.
    254464K bytes of ATA System CompactFlash 0 (Read/Write)
    License Info:
    License UDI:
    Device#   PID                   SN
    *0        CISCO2901/K9          xxxxxxxxxxxxx
    Technology Package License Information for Module:'c2900'
    Technology    Technology-package          Technology-package
                  Current       Type          Next reboot
    ipbase        ipbasek9      Permanent     ipbasek9
    security      securityk9    Permanent     securityk9
    uc            uck9          Permanent     uck9
    data          None          None          None
    Configuration register is 0x2102
    this is RUNNING CONFIGURATION
    ! Last configuration change at 16:10:12 UTC Thu Aug 18 2011
    version 15.1
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname ELTOSAN_ROUTER
    boot-start-marker
    boot system flash:/c2900-universalk9-mz.SPA.151-4.M.bin
    boot-end-marker
    no aaa new-model
    no ipv6 cef
    ip source-route
    no ip routing
    no ip cef
    no ip dhcp use vrf connected
    ip dhcp excluded-address 192.168.5.1 192.168.5.10
    ip dhcp excluded-address 192.168.5.200 192.168.5.255
    ip dhcp pool phone
       network 192.168.5.0 255.255.255.0
       default-router 192.168.5.251
       option 150 ip 192.168.5.251
    ip dhcp pool data
       relay source 192.168.2.0 255.255.255.0
       relay destination 192.168.2.201
    multilink bundle-name authenticated
    crypto pki token default removal timeout 0
    voice-card 0
    voice service voip
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    supplementary-service h450.12
    fax protocol pass-through g711alaw
    sip
      registrar server expires max 3600 min 120
    voice register global
    mode cme
    source-address 192.168.5.251 port 5060
    max-dn 6
    max-pool 6
    load 9971 sip9971.9-1-1SR1.loads
    authenticate register
    tftp-path flash:
    create profile sync 0005135312289902
    voice register dn  1
    number 207
    allow watch
    name GossaVM
    label 207
    voice register dn  3
    number 101
    name Dejan
    label 101
    mwi
    voice register pool  1
    id mac 000C.29C5.0011
    number 1 dn 1
    dtmf-relay sip-notify
    username testvm password testera
    codec g711alaw
    voice register pool  3
    id mac 04C5.A4B0.3B0D
    type 9971
    number 3 dn 3
    presence call-list
    dtmf-relay rtp-nte
    username dejan password 1234
    codec g711alaw
    no vad
    license udi pid CISCO2901/K9 sn xxxxxxxxxxxx
    hw-module ism 0
    hw-module pvdm 0/0
    redundancy
    interface GigabitEthernet0/0
    description INTERFACE INTERNAL
    no ip address
    no ip route-cache
    duplex auto
    speed auto
    no mop enabled
    interface GigabitEthernet0/0.2
    description LAN DATA
    encapsulation dot1Q 2
    ip address 192.168.2.251 255.255.255.0
    no ip route-cache
    interface GigabitEthernet0/0.5
    description LAN VOICE
    encapsulation dot1Q 5
    ip address 192.168.5.251 255.255.255.0
    no ip route-cache
    interface ISM0/0
    no ip address
    no ip route-cache
    shutdown
    !Application: SRSV-CUE Running on ISM
    interface GigabitEthernet0/1
    no ip address
    no ip route-cache
    shutdown
    duplex auto
    speed auto
    interface ISM0/1
    description Internal switch interface connected to Internal Service Module
    shutdown
    interface Vlan1
    no ip address
    no ip route-cache
    shutdown
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    snmp-server community public RO
    tftp-server flash:dkern9971.100609R2-9-1-1SR1.sebn alias dkern9971.100609R2-9-1-1SR1.sebn
    tftp-server flash:kern9971.9-1-1SR1.sebn alias kern9971.9-1-1SR1.sebn
    tftp-server flash:rootfs9971.9-1-1SR1.sebn alias rootfs9971.9-1-1SR1.sebn
    tftp-server flash:sboot9971.031610R1-9-1-1SR1.sebn alias sboot9971.031610R1-9-1-1SR1.sebn
    tftp-server flash:skern9971.022809R2-9-1-1SR1.sebn alias skern9971.022809R2-9-1-1SR1.sebn
    tftp-server flash:sip9971.9-1-1SR1.loads alias sip9971.9-1-1SR1.loads
    tftp-server flash:United_States/g4-tones.xml
    tftp-server flash:English_United_States/gd-sip.jar
    control-plane
    voice-port 0/0/0
    voice-port 0/0/1
    voice-port 0/0/2
    voice-port 0/0/3
    voice-port 0/1/0
    voice-port 0/1/1
    voice-port 0/1/2
    voice-port 0/1/3
    mgcp profile default
    gatekeeper
    shutdown
    line con 0
    line aux 0
    line 67
    no activation-character
    no exec
    transport preferred none
    transport input all
    transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
    stopbits 1
    line vty 0 4
    password jebiga
    login
    transport input all
    end
    I did not have any kind of problem with X-LITE to register to CME. also try with few SCCP phones 7940  and I did not any kind of problem .
    this is content of SEP....xml file for 9971
    <device>
    <deviceProtocol>SIP</deviceProtocol>
    <devicePool>
    <dateTimeSetting>
    <dateTemplate>M/D/YA</dateTemplate>
    <timeZone>Pacific Standard/Daylight Time</timeZone>
    <ntps>
    <ntp priority="0">
    <name>0.0.0.0</name>
    <ntpMode>unicast</ntpMode>
    </ntp>
    </ntps>
    </dateTimeSetting>
    <callManagerGroup>
    <members>
    <member priority="0">
    <callManager>
    <ports>
    <sipPort>5060</sipPort>
    </ports>
    <processNodeName>192.168.5.251</processNodeName>
    </callManager>
    </member>
    </members>
    </callManagerGroup>
    </devicePool>
    <sipProfile>
    <sipProxies>
    <registerWithProxy>true</registerWithProxy>
    </sipProxies>
    <sipCallFeatures>
    <cnfJoinEnabled>true</cnfJoinEnabled>
    <localCfwdEnable>true</localCfwdEnable>
    <callForwardURI>service-uri-cfwdall</callForwardURI>
    <callPickupURI>service-uri-pickup</callPickupURI>
    <callPickupGroupURI>service-uri-gpickup</callPickupGroupURI>
    <callHoldRingback>2</callHoldRingback>
    <semiAttendedTransfer>true</semiAttendedTransfer>
    <anonymousCallBlock>2</anonymousCallBlock>
    <callerIdBlocking>2</callerIdBlocking>
    <dndControl>2</dndControl>
    <remoteCcEnable>true</remoteCcEnable>
    </sipCallFeatures>
    <sipStack>
    <remotePartyID>true</remotePartyID>
    </sipStack>
    <sipLines>
    <line button="1" lineIndex="1">
    <featureID>9</featureID>
    <featureLabel></featureLabel>
    <proxy>USECALLMANAGER</proxy>
    <port>5060</port>
    <name></name>
    <displayName></displayName>
    <autoAnswer>
    <autoAnswerEnabled>2</autoAnswerEnabled>
    </autoAnswer>
    <callWaiting>1</callWaiting>
    <authName>dejan</authName>
    <authPassword>1234</authPassword>
    <sharedLine>false</sharedLine>
    <messagesNumber></messagesNumber>
    <ringSettingActive>5</ringSettingActive>
    <forwardCallInfoDisplay>
    <callerName>true</callerName>
    <callerNumber>true</callerNumber>
    <redirectedNumber>true</redirectedNumber>
    <dialedNumber>true</dialedNumber>
    </forwardCallInfoDisplay>
    </line>
    <line button="2" lineIndex="2">
    <featureID>9</featureID>
    <featureLabel>101</featureLabel>
    <proxy>USECALLMANAGER</proxy>
    <port>5060</port>
    <name>101</name>
    <displayName>Dejan Rakic</displayName>
    <autoAnswer>
    <autoAnswerEnabled>2</autoAnswerEnabled>
    </autoAnswer>
    <callWaiting>1</callWaiting>
    <authName>dejan</authName>
    <authPassword>1234</authPassword>
    <sharedLine>false</sharedLine>
    <messagesNumber></messagesNumber>
    <ringSettingActive>5</ringSettingActive>
    <forwardCallInfoDisplay>
    <callerName>true</callerName>
    <callerNumber>true</callerNumber>
    <redirectedNumber>true</redirectedNumber>
    <dialedNumber>true</dialedNumber>
    </forwardCallInfoDisplay>
    </line>
    </sipLines>
    <enableVad>true</enableVad>
    <preferredCodec>g711alaw</preferredCodec>
    <dialTemplate></dialTemplate>
    <kpml>1</kpml>
    <phoneLabel></phoneLabel>
    <stutterMsgWaiting>2</stutterMsgWaiting>
    <disableLocalSpeedDialConfig>true</disableLocalSpeedDialConfig>
    <dscpForAudio>184</dscpForAudio>
    <dscpVideo>136</dscpVideo>
    </sipProfile>
    <commonProfile>
    <phonePassword>1234</phonePassword>
    <callLogBlfEnabled>2</callLogBlfEnabled>
    </commonProfile>
    <featurePolicyFile>featurePolicyDefault.xml</featurePolicyFile>
    <loadInformation>sip9971.9-1-1SR1.loads</loadInformation>
    <vendorConfig>
    </vendorConfig>
    <commonConfig>
    <videoCapability>0</videoCapability>
    <ciscoCamera>0</ciscoCamera>
    </commonConfig>
    <sshUserId>dejan</sshUserId>
    <sshPassword>1234</sshPassword>
    <userId></userId>
    <phoneServices>
    <provisioning>2</provisioning>
    <phoneService  type="1" category="0">
    <name>Missed Calls</name>
    <phoneLabel></phoneLabel>
    <url>Application:Cisco/MissedCalls</url>
    <vendor></vendor>
    <version></version>
    </phoneService>
    <phoneService  type="1" category="0">
    <name>Received Calls</name>
    <phoneLabel></phoneLabel>
    <url>Application:Cisco/ReceivedCalls</url>
    <vendor></vendor>
    <version></version>
    </phoneService>
    <phoneService  type="1" category="0">
    <name>Placed Calls</name>
    <phoneLabel></phoneLabel>
    <url>Application:Cisco/PlacedCalls</url>
    <vendor></vendor>
    <version></version>
    </phoneService>
    <phoneService  type="2" category="0">
    <name>Voicemail</name>
    <phoneLabel></phoneLabel>
    <url>Application:Cisco/Voicemail</url>
    <vendor></vendor>
    <version></version>
    </phoneService>
    </phoneServices>
    <versionStamp>0131511014412102</versionStamp>
    <userLocale>
    <name>English_United_States</name>
    <langCode>en</langCode>
    </userLocale>
    <networkLocale>United_States</networkLocale>
    <networkLocaleInfo>
    <name>United_States</name>
    </networkLocaleInfo>
    <authenticationURL></authenticationURL>
    <directoryURL></directoryURL>
    <servicesURL>http://192.168.5.251:80/CMEserverForPhone/serviceurl</servicesURL>
    <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>
    <dscpForCm2Dvce>96</dscpForCm2Dvce>
    <transportLayerProtocol>2</transportLayerProtocol>
    </device>

    Hello,
    I'm facing exactly the same problem, that is:
    a Cisco SIP Phone 9971 won't register on CME 8.6 running on a 2811
    I have read all the postings to this Forum, but I have not been able to solve it.
    In my case the commands voice register dn  and  voice register pool are OK.
    So frankly, I have no idea what I could be missing.
    I'm pasting the Router's config.
    I hope somebody is able to point me in the right direction.
    Here is the config.  Thank you!
    C2811#sh run
    Building configuration...
    version 15.1
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname C2811
    no aaa new-model
    dot11 syslog
    ip source-route
    ip cef
    ip dhcp excluded-address 172.25.140.1 172.25.140.10
    ip dhcp excluded-address 172.35.140.1 172.35.140.10
    ip dhcp pool Data
    network 172.25.140.0 255.255.255.0
    default-router 172.25.140.1
    option 150 ip 172.25.140.1
    dns-server 172.25.140.1
    ip dhcp pool Voice
    network 172.35.140.0 255.255.255.0
    default-router 172.35.140.1
    option 150 ip 172.35.140.1
    dns-server 172.35.140.1
    no ip domain lookup
    no ipv6 cef
    multilink bundle-name authenticated
    voice service voip
    allow-connections sip to sip
    sip
      registrar server expires max 3600 min 120
    voice register global
    mode cme
    source-address 172.25.140.1 port 5060
    max-dn 40
    max-pool 42
    load 9971 sip9971.9-4-1-9.loads
    authenticate register
    authenticate realm cisco
    tftp-path flash:
    create profile sync 0004820400584603
    voice register dn  1
    number 1010
    allow watch
    name Phone10
    label Phone10
    mwi
    voice register pool  1
    id mac 189C.5DB6.BD09
    type 9971
    number 1 dn 1
    presence call-list
    dtmf-relay rtp-nte
    username adm password adm
    call-forward b2bua busy 68600
    codec g711ulaw
    no vad
    camera
    video
    voice-card 0
    crypto pki token default removal timeout 0
    crypto pki trustpoint TP-self-signed-1879153754
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-1879153754
    revocation-check none
    rsakeypair TP-self-signed-1879153754
    crypto pki certificate chain TP-self-signed-1879153754
    certificate self-signed 01
    (details ommited)
    license udi pid CISCO2811 sn FTX1146A44H
    username admin privilege 15 password 0 admin
    redundancy
    interface FastEthernet0/0
    no ip address
    duplex auto
    speed auto
    interface FastEthernet0/0.25
    description Data VLAN
    encapsulation dot1Q 25
    ip address 172.25.140.1 255.255.255.0
    interface FastEthernet0/0.35
    description Voice VLAN
    encapsulation dot1Q 35
    ip address 172.35.140.1 255.255.255.0
    interface FastEthernet0/1
    no ip address
    shutdown
    duplex auto
    speed auto
    ip forward-protocol nd
    ip http server
    ip http authentication local
    ip http secure-server
    ip http timeout-policy idle 600 life 86400 requests 10000
    tftp-server flash:P00308010200.bin
    tftp-server flash:P00308010200.sbn
    tftp-server flash:P00308010200.sb2
    tftp-server flash:P00308010200.loads
    tftp-server flash:SCCP42.9-3-1SR3-1S.loads
    tftp-server flash:apps42.9-3-1ES19.sbn
    tftp-server flash:cnu42.9-3-1ES19.sbn
    tftp-server flash:cvm42sccp.9-3-1ES19.sbn
    tftp-server flash:dsp42.9-3-1ES19.sbn
    tftp-server flash:jar42sccp.9-3-1ES19.sbn
    tftp-server flash:term42.default.loads
    tftp-server flash:term62.default.loads
    tftp-server flash:SCCP45.9-3-1SR3-1S.loads
    tftp-server flash:apps45.9-3-1ES19.sbn
    tftp-server flash:cnu45.9-3-1ES19.sbn
    tftp-server flash:cvm45sccp.9-3-1ES19.sbn
    tftp-server flash:dsp45.9-3-1ES19.sbn
    tftp-server flash:jar45sccp.9-3-1ES19.sbn
    tftp-server flash:term45.default.loads
    tftp-server flash:term65.default.loads
    tftp-server flash:/Ringtones/Ringlist.xml alias Ringlist.xml
    tftp-server flash:/Ringtones/DistinctiveRingList.xml alias DistinctiveRingList.x
    ml
    tftp-server flash:sip9971.9-4-1-9.loads
    tftp-server flash:kern9971.9-4-1-9.sebn
    tftp-server flash:rootfs9971.9-4-1-9.sebn
    tftp-server flash:dkern9971.100609R2-9-4-1-9.sebn
    tftp-server flash:sboot9971.031610R1-9-4-1-9.sebn
    tftp-server flash:skern9971.022809R2-9-4-1-9.sebn
    tftp-server flash:/g4-tones.xml alias United_States/g4-tones.xml
    tftp-server flash:/gd-sip.jar alias English_United_States/gd-sip.jar
    control-plane
    mgcp profile default
    telephony-service
    max-ephones 24
    max-dn 48
    ip source-address 172.25.140.1 port 2000
    cnf-file location flash:
    load 7960-7940 P00308010200
    load 7942 SCCP42.9-3-1SR3-1S.loads
    load 7945 SCCP45.9-3-1SR3-1S.loads
    load 7962 SCCP42.9-3-1SR3-1S.loads
    load 7965 SCCP45.9-3-1SR3-1S.loads
    max-conferences 8 gain -6
    dn-webedit
    transfer-system full-consult
    create cnf-files version-stamp 7960 Feb 11 2014 07:18:32
    ephone-dn  1
    number 1001
    description Phone 1
    name Phone 1
    hold-alert 30 originator
    ephone-dn  2
    number 1002
    description Phone 2
    name Phone 2
    hold-alert 30 originator
    ephone-dn  3
    number 1003
    description Phone 3
    name Phone 3
    hold-alert 30 originator
    ephone  1
    device-security-mode none
    mac-address 001C.58FB.6E0F
    button  1:1
    ephone  2
    device-security-mode none
    mac-address 0014.A981.7F8A
    button  1:2
    ephone  3
    device-security-mode none
    mac-address 0006.5356.A4B8
    button  1:3
    alias exec con conf t
    alias exec sib show ip int brief
    alias exec srb show run | b
    alias exec sri show run int
    line con 0
    exec-timeout 0 0
    logging synchronous
    line aux 0
    line vty 0 4
    privilege level 15
    login local
    transport input telnet ssh
    transport output telnet ssh
    line vty 5 15
    privilege level 15
    login local
    transport input telnet ssh
    transport output telnet ssh
    scheduler allocate 20000 1000
    ntp master 1
    end
    C2811#

  • Please help me to tune this PL/SQL...

    Hi everyone,
        I have a SQL query which runs ok when i run it individually but the same query if
    i use it in a procedure.The procedure is hanging up.Could someone please help to tune this
    SQL query and please check my procedure why is it hanging up.
    SQL Query
    =========
    SELECT active_members.member_nbr,
      active_members.name_last,
      active_members.name_first,
      active_members.name_middle,
      active_members.dob,
      active_members.sex,
      active_members.subsciber_nbr,
      active_members.ssn,
      active_members.name_suffix,
      active_members.class_x,
      active_members.aff_nbr,
    CASE
    WHEN TRIM(active_members.class_x) = 'SE' THEN
        (SELECT DISTINCT(mssp.member_nbr)
         FROM member_span mssp
         WHERE SUBSTR(mssp.member_nbr,    1,    9) = SUBSTR(active_members.member_nbr,    1,    9)
         AND mssp.class_x = 'SP'
         AND rownum = 1)
       WHEN TRIM(active_members.class_x) = 'SP' THEN
          (SELECT DISTINCT(mssp.member_nbr)
           FROM member_span mssp
           WHERE SUBSTR(mssp.member_nbr,    1,    9) = SUBSTR(active_members.member_nbr,    1,    9)
           AND mssp.class_x = 'SE'
           AND rownum = 1)
      ELSE
        NULL
       END)
    spouse_member_nbr,
      active_members.division_nbr,
      active_members.ymdeff,
      active_members.ymdend,
      active_members.actual_ymd_enddt,
      active_members.email_id,
      active_members.network_id,
      active_members.insurance_company_code,
      active_members.cob_flag,
      active_members.vip_flag,
      active_members.pre_x_flag,
      active_members.region,
      active_contracts.language_x,
      active_contracts.corp_nbr,
      active_members.group_nbr,
      active_members.non_erisa_status
    FROM
      (SELECT mb_active.member_nbr,
         mb_active.contract_nbr,
         mb_active.name_last,
         mb_active.name_first,
         mb_active.name_middle,
         ms_active.ymdeff,
         ms_active.ymdend,
         to_char(to_date(
       CASE
       WHEN LENGTH(mb_active.ymdbirth) = 8 THEN mb_active.ymdbirth
       ELSE NULL
       END,    'YYYYMMDD'),    'MM/DD/YYYY') dob,
         mb_active.sex,
         to_char(to_date(ms_active.ymdeff,    'YYYYMMDD'),    'MM/DD/YYYY') ymdeff_formatted,
         to_char(to_date(ms_active.ymdend,    'YYYYMMDD'),    'MM/DD/YYYY') ymdend_formatted,
         ms_active.void,
       CASE
       WHEN SUBSTR(mb_active.member_nbr,    10,    2) = '00' THEN mb_active.member_nbr
       ELSE SUBSTR(mb_active.member_nbr,    1,    9) || '00'
       END) subsciber_nbr,
         mb_active.ssn,
         mb_active.name_suffix,
         ms_active.class_x,
         ms_active.aff_nbr,
         ms_active.division_nbr,
       CASE
       WHEN TRIM(ms_active.ymdend) = '99991231' THEN NULL
       ELSE to_char(to_date(ms_active.ymdend,    'YYYYMMDD'),    'MM/DD/YYYY')
       END) actual_ymd_enddt,
       CASE
       WHEN TRIM(ms_active.business_unit) = '01' THEN ms_active.business_unit || '-' || ms_active.prog_nbr
       WHEN TRIM(ms_active.business_unit) = '03' THEN ms_active.business_unit || '-' || ms_active.prog_nbr || '-' || ms_active.carrier
       ELSE NULL
       END) network_id,
         ms_active.business_unit || '-' || ms_active.prog_nbr || '-' || ms_active.carrier insurance_company_code,
          (SELECT DISTINCT(email)
         FROM dbo.av_mem_email
         WHERE dbo.av_mem_email.member_nbr = mb_active.member_nbr
         AND rownum = 1)
      email_id,
         mb_active.lr_response cob_flag,
         mb_active.record_nbr vip_flag,
         ms_active.pre_exist pre_x_flag,
         ms_active.region region,
         ms_active.group_nbr,
       CASE
       WHEN
        (SELECT TRIM(div.div_status)
         FROM division div
         WHERE TRIM(div.division_nbr) = TRIM(ms_active.division_nbr)) = 'NULL' THEN
          'Y'
         ELSE
          'N'
         END)
      non_erisa_status
       FROM member mb_active,
         member_span ms_active
       WHERE mb_active.member_nbr = ms_active.member_nbr
       AND(20090707 BETWEEN ms_active.ymdeff
       AND ms_active.ymdend
       AND TRIM(ms_active.void) IS NULL
    active_members,
        (SELECT DISTINCT(contract.contract_nbr),
         contract.language_x,
         contract_span.corp_nbr
       FROM contract,
         contract_span
       WHERE contract.contract_nbr = contract_span.contract_nbr
       AND(20090707 BETWEEN contract_span.ymdeff
       AND contract_span.ymdend)
       AND TRIM(contract_span.void) IS
      NULL)
    active_contracts
    WHERE TRIM(active_members.contract_nbr) = TRIM(active_contracts.contract_nbr);
    Taking around 6 minute to run and it returns """"268267"""" records
    Explain Plan for the above SQL:
    ===============================
    "PLAN_TABLE_OUTPUT"
    "Plan hash value: 379550299"
    "| Id  | Operation                      | Name          | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |"
    "|   0 | SELECT STATEMENT               |               |  2609K|   659M|       | 91679   (3)| 00:18:21 |"
    "|   1 |  HASH UNIQUE                   |               |     1 |    16 |       | 54461   (2)| 00:10:54 |"
    "|*  2 |   COUNT STOPKEY                |               |       |       |       |            |          |"
    "|*  3 |    TABLE ACCESS FULL           | MEMBER_SPAN   | 12891 |   201K|       | 54459   (2)| 00:10:54 |"
    "|   4 |    HASH UNIQUE                 |               |     1 |    16 |  2424K| 54736   (2)| 00:10:57 |"
    "|*  5 |     COUNT STOPKEY              |               |       |       |       |            |          |"
    "|*  6 |      TABLE ACCESS FULL         | MEMBER_SPAN   | 51541 |   805K|       | 54459   (2)| 00:10:54 |"
    "|   7 |  HASH UNIQUE                   |               |     1 |    50 |       |    64   (4)| 00:00:01 |"
    "|*  8 |   COUNT STOPKEY                |               |       |       |       |            |          |"
    "|*  9 |    TABLE ACCESS FULL           | AV_MEM_EMAIL  |     1 |    50 |       |    63   (2)| 00:00:01 |"
    "|* 10 |  TABLE ACCESS FULL             | DIVISION      |     1 |    14 |       |     3   (0)| 00:00:01 |"
    "|* 11 |  HASH JOIN                     |               |  2609K|   659M|       | 91679   (3)| 00:18:21 |"
    "|  12 |   VIEW                         |               |   581 | 12782 |       |  8184   (4)| 00:01:39 |"
    "|  13 |    HASH UNIQUE                 |               |   581 | 26145 |       |  8184   (4)| 00:01:39 |"
    "|  14 |     TABLE ACCESS BY INDEX ROWID| CONTRACT      |     1 |    14 |       |     2   (0)| 00:00:01 |"
    "|  15 |      NESTED LOOPS              |               |   581 | 26145 |       |  8183   (4)| 00:01:39 |"
    "|* 16 |       TABLE ACCESS FULL        | CONTRACT_SPAN |   581 | 18011 |       |  7019   (5)| 00:01:25 |"
    "|* 17 |       INDEX RANGE SCAN         | CONTRACT_IX1  |     1 |       |       |     1   (0)| 00:00:01 |"
    "|* 18 |   HASH JOIN                    |               |   449K|   104M|    39M| 83466   (2)| 00:16:42 |"
    "|* 19 |    TABLE ACCESS FULL           | MEMBER_SPAN   |   449K|    34M|       | 54964   (3)| 00:11:00 |"
    "|  20 |    TABLE ACCESS FULL           | MEMBER        |  1436K|   221M|       | 14664   (2)| 00:02:56 |"
    "Predicate Information (identified by operation id):"
    "   2 - filter(ROWNUM=1)"
    "   3 - filter(SUBSTR("MSSP"."MEMBER_NBR",1,9)=SUBSTR(:B1,1,9) AND "MSSP"."CLASS_X"='SP')"
    "   5 - filter(ROWNUM=1)"
    "   6 - filter(SUBSTR("MSSP"."MEMBER_NBR",1,9)=SUBSTR(:B1,1,9) AND "MSSP"."CLASS_X"='SE')"
    "   8 - filter(ROWNUM=1)"
    "   9 - filter("AV_MEM_EMAIL"."MEMBER_NBR"=:B1)"
    "  10 - filter(TRIM("DIV"."DIVISION_NBR")=TRIM(:B1))"
    "  11 - access(TRIM("MB_ACTIVE"."CONTRACT_NBR")=TRIM("ACTIVE_CONTRACTS"."CONTRACT_NBR"))"
    "  16 - filter("CONTRACT_SPAN"."YMDEFF"<=20090707 AND TRIM("CONTRACT_SPAN"."VOID") IS NULL AND "
    "              "CONTRACT_SPAN"."YMDEND">=20090707)"
    "  17 - access("CONTRACT"."CONTRACT_NBR"="CONTRACT_SPAN"."CONTRACT_NBR")"
    "  18 - access("MB_ACTIVE"."MEMBER_NBR"="MS_ACTIVE"."MEMBER_NBR")"
    "  19 - filter(TRIM("MS_ACTIVE"."VOID") IS NULL AND "MS_ACTIVE"."YMDEFF"<=20090707 AND "
    "              "MS_ACTIVE"."YMDEND">=20090707)"
    SAME SQL IN A PROCEDURE..IT IS HANGING UP
    ========================================
    create or replace PROCEDURE TEST_CURRENT_PCP_SPAN is
    EXTRACTED_STRING VARCHAR2(32767);
    FILEHANDLER UTL_FILE.FILE_TYPE;
    test_str varchar2(100);
    pcp_eff_date number(10);
    file_name varchar2(50);
       CURSOR MEMBERS
       IS
    SELECT active_members.member_nbr,
      active_members.name_last,
      active_members.name_first,
      active_members.name_middle,
      active_members.dob,
      active_members.sex,
      active_members.subsciber_nbr,
      active_members.ssn,
      active_members.name_suffix,
      active_members.class_x,
      active_members.aff_nbr,
    CASE
    WHEN TRIM(active_members.class_x) = 'SE' THEN
        (SELECT DISTINCT(mssp.member_nbr)
         FROM member_span mssp
         WHERE SUBSTR(mssp.member_nbr,    1,    9) = SUBSTR(active_members.member_nbr,    1,    9)
         AND mssp.class_x = 'SP'
         AND rownum = 1)
       WHEN TRIM(active_members.class_x) = 'SP' THEN
          (SELECT DISTINCT(mssp.member_nbr)
           FROM member_span mssp
           WHERE SUBSTR(mssp.member_nbr,    1,    9) = SUBSTR(active_members.member_nbr,    1,    9)
           AND mssp.class_x = 'SE'
           AND rownum = 1)
      ELSE
        NULL
       END)
    spouse_member_nbr,
      active_members.division_nbr,
      active_members.ymdeff,
      active_members.ymdend,
      active_members.actual_ymd_enddt,
      active_members.email_id,
      active_members.network_id,
      active_members.insurance_company_code,
      active_members.cob_flag,
      active_members.vip_flag,
      active_members.pre_x_flag,
      active_members.region,
      active_contracts.language_x,
      active_contracts.corp_nbr,
      active_members.group_nbr,
      active_members.non_erisa_status
    FROM
      (SELECT mb_active.member_nbr,
         mb_active.contract_nbr,
         mb_active.name_last,
         mb_active.name_first,
         mb_active.name_middle,
         ms_active.ymdeff,
         ms_active.ymdend,
         to_char(to_date(
       CASE
       WHEN LENGTH(mb_active.ymdbirth) = 8 THEN mb_active.ymdbirth
       ELSE NULL
       END,    'YYYYMMDD'),    'MM/DD/YYYY') dob,
         mb_active.sex,
         to_char(to_date(ms_active.ymdeff,    'YYYYMMDD'),    'MM/DD/YYYY') ymdeff_formatted,
         to_char(to_date(ms_active.ymdend,    'YYYYMMDD'),    'MM/DD/YYYY') ymdend_formatted,
         ms_active.void,
       CASE
       WHEN SUBSTR(mb_active.member_nbr,    10,    2) = '00' THEN mb_active.member_nbr
       ELSE SUBSTR(mb_active.member_nbr,    1,    9) || '00'
       END) subsciber_nbr,
         mb_active.ssn,
         mb_active.name_suffix,
         ms_active.class_x,
         ms_active.aff_nbr,
         ms_active.division_nbr,
       CASE
       WHEN TRIM(ms_active.ymdend) = '99991231' THEN NULL
       ELSE to_char(to_date(ms_active.ymdend,    'YYYYMMDD'),    'MM/DD/YYYY')
       END) actual_ymd_enddt,
       CASE
       WHEN TRIM(ms_active.business_unit) = '01' THEN ms_active.business_unit || '-' || ms_active.prog_nbr
       WHEN TRIM(ms_active.business_unit) = '03' THEN ms_active.business_unit || '-' || ms_active.prog_nbr || '-' || ms_active.carrier
       ELSE NULL
       END) network_id,
         ms_active.business_unit || '-' || ms_active.prog_nbr || '-' || ms_active.carrier insurance_company_code,
          (SELECT DISTINCT(email)
         FROM dbo.av_mem_email
         WHERE dbo.av_mem_email.member_nbr = mb_active.member_nbr
         AND rownum = 1)
      email_id,
         mb_active.lr_response cob_flag,
         mb_active.record_nbr vip_flag,
         ms_active.pre_exist pre_x_flag,
         ms_active.region region,
         ms_active.group_nbr,
       CASE
       WHEN
        (SELECT TRIM(div.div_status)
         FROM division div
         WHERE TRIM(div.division_nbr) = TRIM(ms_active.division_nbr)) = 'NULL' THEN
          'Y'
         ELSE
          'N'
         END)
      non_erisa_status
       FROM member mb_active,
         member_span ms_active
       WHERE mb_active.member_nbr = ms_active.member_nbr
       AND(20090707 BETWEEN ms_active.ymdeff
       AND ms_active.ymdend
       AND TRIM(ms_active.void) IS NULL
    active_members,
        (SELECT DISTINCT(contract.contract_nbr),
         contract.language_x,
         contract_span.corp_nbr
       FROM contract,
         contract_span
       WHERE contract.contract_nbr = contract_span.contract_nbr
       AND(20090707 BETWEEN contract_span.ymdeff
       AND contract_span.ymdend)
       AND TRIM(contract_span.void) IS
      NULL)
    active_contracts
    WHERE TRIM(active_members.contract_nbr) = TRIM(active_contracts.contract_nbr);
      TYPE MEM IS TABLE OF MEMBERS%ROWTYPE INDEX BY PLS_INTEGER;
      TABLE_MEM MEM;
    MEMBER_ADDR   MGONZALEZ.CPKG_UTIL.ADDR;
    BEGIN 
       test_str := '''A10000213'''||','||'''A10000213''';
       insert into test_number_char(str) values ('start time of MEMBER_LOAD_CURRENT_PCP_SPAN '||to_char(sysdate,'MM/DD/YYYY HH24:MI:SS'));
       commit;
       file_name := 'member_load'||to_char(sysdate,'YYYYMMDDHH24MI')||'.txt';
       FILEHANDLER := UTL_FILE.FOPEN('AVMED_UTL_FILE',file_name, 'W',10000);
       insert into test_number_char(str) values ('start time of opening members cursor(before open members command) '||to_char(sysdate,'MM/DD/YYYY HH24:MI:SS'));
       commit;
       OPEN MEMBERS;
    LOOP
          FETCH MEMBERS
             BULK COLLECT INTO TABLE_MEM LIMIT 1000 ;
           EXIT WHEN TABLE_MEM.COUNT = 0;
    insert into test_number_char(str) values ('start time of outer loop '||to_char(sysdate,'MM/DD/YYYY HH24:MI:SS'));
    commit;
          FOR i IN 1 .. TABLE_MEM.COUNT
          LOOP
          EXTRACTED_STRING := TRIM(TABLE_MEM(i).MEMBER_NBR)||'| '||     
                              TRIM(TABLE_MEM(i).NAME_LAST)||'| '||      
                            TRIM(TABLE_MEM(i).NAME_FIRST)||'| '||      
                             TRIM(TABLE_MEM(i).NAME_MIDDLE)||'| '||   
                             TRIM(TABLE_MEM(i).ssn)||'| '||            
                             TABLE_MEM(i).subsciber_nbr||'| '||        
                             TRIM(TABLE_MEM(i).class_x)||'| '||         
                             TRIM(TABLE_MEM(i).DOB)||'| '||             
                             TRIM(TABLE_MEM(i).SEX)||'| ' ;             
              EXTRACTED_STRING   :=
                    EXTRACTED_STRING ||
                  TRIM(TABLE_MEM(i).aff_nbr)||'| '||                         
                                pcp_eff_date||'| '||                 
              TABLE_MEM(i).actual_ymd_enddt||'| '||                        
                  TRIM(TABLE_MEM(i).division_nbr)||'| '||                    
                  ' '||'| '||                                               
                  ' '||'| '||                                                  
                  ' '||'| '||                                                 
                  TABLE_MEM(i).network_id||'| '||                              
                  ' '||'| '||                                                  
                  ' '||'| '||                                                  
                  ' '||'| '||                                                  
                  ' '||'| '||                                                 
                  ' '||'| '||                                                  
                 TRIM(TABLE_MEM(i).name_suffix)||'| '||                       
                 ' '||'| '||                                                   
                 TRIM(TABLE_MEM(i).spouse_member_nbr)||'| '||                  
                 ' '||'| '||                                                   
                 ' '||'| '||                                                   
                 ' '||'| '||                                                  
                 ' '||'| '||                                                   
                 ' '||'| '||                                                  
                 ' '||'| '||                                                   
                 ' '||'| '||                                                   
                 ' '||'| '||                                                   
                 ' '||'| '||                                                   
                 ' '||'| '||                                                   
                 ' '||'| '||                                                   
                 ' '||'| '||                                                  
                 ' '||'| '||                                                   
                TRIM(TABLE_MEM(i).email_id)||'| '||                                
                TABLE_MEM(i).Insurance_company_code||'| '||                    
                TABLE_MEM(i).group_nbr||'| '||                                 
                TABLE_MEM(i).language_x||'| '||                               
                TABLE_MEM(i).region||'| '||                                    
                TABLE_MEM(i).corp_nbr||'| '||                                  
                TABLE_MEM(i).non_erisa_status||'| '||                          
                TABLE_MEM(i).cob_flag||'| '||                                  
                TABLE_MEM(i).pre_x_flag||'| '||                                
                TABLE_MEM(i).vip_flag                                       
                 EXTRACTED_STRING   := rtrim(EXTRACTED_STRING,' ');
            UTL_FILE.PUT_LINE(FILEHANDLER,EXTRACTED_STRING,TRUE);
            EXTRACTED_STRING := NULL;
            pcp_eff_date := NULL;
          END LOOP;
          insert into test_number_char(str) values ('end time of outer loop '||to_char(sysdate,'MM/DD/YYYY HH24:MI:SS'));
    commit;
    END LOOP;
    close members;
    insert into test_number_char(str) values ('end time of opening members cursor '||to_char(sysdate,'MM/DD/YYYY HH24:MI:SS'));
    commit;
    commit;
       UTL_FILE.FCLOSE(FILEHANDLER);
       insert into test_number_char(str) values ('End time of MEMBER_LOAD_CURRENT_PCP_SPAN '||to_char(sysdate,'MM/DD/YYYY HH24:MI:SS'));
       commit;
       EXCEPTION
          WHEN OTHERS
          THEN
             DBMS_OUTPUT.put_line(   'ERROR getting members '
                                  || SQLCODE
                                  || ' '
                                  || SQLERRM);
    END ;
    In my Test table which i am inserting to check the times...
    I am geting on these 2 records after that it hangs up...
    start time of MEMBER_LOAD_CURRENT_PCP_SPAN 07/08/2009 11:41:21
    start time of opening members cursor(before open members command) 07/08/2009 11:41:21I have to call some other functions for each member to get additional details thats the reason i am going for Procedure.Instead it is just a simple SQL
    Thanks in advance

    It is taking lot of timeYou could perhaps split it up in smaller, isolated parts.
    Running certain steps separate.
    ..is it possible to find out the issues without running the proc?Other than have other people on OTN give their ideas/share experiences?
    Not that I'm aware of.
    There are lots of statistical views, you might be able to deduct from their data, but I personally prefer running the procedure and just trace it. But I'm always willing to learn new approaches, btw.
    Still, you have 2 things to look at, at least:
    - avoid loops in loops if possible
    - check your predicates, if you apply a function, you lose the index, unless you create a function based index.
    edit
    One more thing (how could I overlook that):
    You commit your instrumentation code ( insert into test_number_char(str) ) IN the loop.
    Please remove commit in your loops...
    Commit only once, at the end of your transaction.
    Never commit in a loop.
    (Preferrably the client commits)
    And remove every commit in your loop...
    Edited by: hoek on Jul 8, 2009 8:03 PM

  • Please Help! 3-Weeks Since Installation and Still ...

    It's just over 3 weeks since I had my broadband moved to my new address and I'm still getting a shockingly-bad connection. All the way through my 10-day stabilisation period it was really poor (always well below 100kbps down) but I waited the full 10 days before calling India when they told me to wait another 3 days. After that extra 3 days I called again and they ran a line test and identified an issue which they described as a 'configuration mismatch which happens every 1 in a 100' - I couldn't understand his exact explanation for the issue was but he told me it had to be corrected at the exchange and to give it 48-72 hours for it to be fixed. After waiting three days and seeing zero change, I called back was told that it had been fixed but I had to wait another 48-72 hours for it to stabilize. So I waited 3 more days. saw no change and called again... this time another guy did another line test and ran through the usual questions, he identified some issue with the line (the same issue?) and said he had reported it the team that deal with line faults. I was told I'd get a call within a few days and that someone would either fix the problem or an engineer would visit. I did get a call back... the call came from India so I'm not sure if that was _the_ call or if it was just a follow-up to one of the earlier support calls (I was expecting call from UK?). Whatever it was, the lady said that the issue had been corrected at the exchange and that I should see a big impovement over the next 48-72 hours. I'm just about at the end of that period now and I'm again seeing no difference whatsoever. I'm dreading the prospect of another support call which results in another non-existant fix which takes another 48-72 hours and makes no difference.
    I dont know if anyone can help and if so what info you'd need?
    Here's some basic info about my setup, the results of my speedtest and some info from the homehub etc...
    I'm on the Unlimited Option 3 (or at least I should be).
    My homehub is the v1, i.e. white box with the 5 lights (phone, wireless, broadband, internet, data).
    Wireless is now disabled on the homehub and I'm using the ethernet cable to my PC.
    I've tried all the phone sockets in the flat and get the same result from all of them.
    I've tried the connetion on my desktop, laptop and even via the wireless on my mobile, it's the same on all three.
    Samknows puts me about 1.6 miles from my local exchange at Moortown (MYMOO)
    I've tried the noise test on my line using the number I found on this forum, didn't hear anything at all.
    I've tried disconnecting my Sky box from the telephone (which is in a different room) but still no joy.
    The homehub has been up for the most part - I've only restarted it three times, twice at the instruction of the guys at BT support and once myself.
    Home Hub Stuff...
     Home page connection details...
      Downstream: 4,015 Kbps
      Upstream: 768 Kbps
      Connection time: 0 days, 2:55:41
      Data transmitted: 3.85 MB
      Data received: 16.64 MB  
     Status > ADSL Line > Details...
      Uptime: 0 days, 2:50:26
      Modulation: G.992.5 annex A
      Bandwidth (Up/Down) [kbps/kbps]: 768 / 4,015
      Data Transferred (Sent/Received) [MB/MB]: 3.83 / 16.62
      Output Power (Up/Down) [dBm]: 12.0 / 19.0
      Line Attenuation (Up/Down) [dB]: 19.5 / 40.5
      SN Margin (Up/Down) [dB]: 5.0 / 6.5
      Vendor ID (Local/Remote): TMMB / TSTC
      Loss of Framing (Local/Remote): 0 / 0
      Loss of Signal (Local/Remote):    0 / 0
      Loss of Power (Local/Remote): 0 / 0
      Loss of Link (Remote):    0
      Error Seconds (Local/Remote): 10,167 / 0
      FEC Errors (Up/Down): 0 / 0
      CRC Errors (Up/Down): 323 / 593,103
      HEC Errors (Up/Down): 14 / 564,577
      Line Profile:    Fast
    Status > Internet Connection...
      Uptime: 0 days, 2:52:30
      Data Transferred (Sent/Received) [MB/MB]: 2.94 / 9.85
      Connection Settings    
      VPI/VCI: 0 / 38
      Type:    PPPoA
    BT Speedtest Results...
    I was hoping to just upload a screenshot but thats impossible for me, so I'll have to type the results instead:
    "The test comprises of Best Effort Test:
    Download Speed 106 Kbps
    Download speed acheived during this test was - 106 Kbps
    For your connection, the acceptable range of speeds is 600-7150 Kbps
    Additional information
    Your DSL Connection Rate: 4148 Kbps (DOWN-STREAM), 768 Kbps (UP-STREAM)
    IP Profile for your line is - 3000Kbps
    The throughput of Best Efforts (BE) classes achieved during the test is - 3.77:5.66:90.57 (SBE:NBEBE)
    These figures represent the ratio while sententiously passing Sub BE, Normal BE and Priority BE marked traffic
    This test was not conclusive and further testing is required. This might be useful for your ISP to investigate the fault."
    And Finally, SpeedTest.net...
    As the subject says, "Please Help!"

    Hi JoeFoulkes
    Certainly looks like something’s up here, your downstream speed doesn’t seem to be too bad but throughput speed is really letting you down.  I take it this is at all time of the day?
    Not too sure what has been tried by our tech guys so far but if you drop me an email with a few details then I can have a look and get things moving.
    Could you drop me an email to [email protected] with your BT account and telephone number and I'll sort it out.
    Cheers
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • My account was hacked in September -- Still no action from Verizon. Please help!

    My account was hacked in September, someone added an additional line and ordered an iPhone, adding more than $600 to my account. Verizon quickly identified this as fraud and assured me that my account would be cleaned up. Almost three months later, I still have hundreds of dollars billed to my account that no customer service rep has been able to explain. My service is now pending disconnection, even though I have continued to make my regular payments, but I have refused to pay the additional charges incurred by the hacking of my account. I've spent more than two work days on the phone with Verizon, speaking to about three dozen agents and supervisors, explaining my situation all over again, taking valuable time off work and away from the family. They all promised to help, but nobody actually fixes this mess that I did not cause. Ten days ago, I wrote a letter to customer service which I will post below. I have not heard back from Verizon. No one has called to apologize or offered help in restoring my account. As a cellular customer of 16 years, I have never experienced something like that. I simply don't know who to talk to anymore to get this straightened out. No customer deserves to be treated like this. Please help me find out who I can contact with the authority to clean this up for me! Many thanks in advance.
    Here is the letter sent to Verizon with signature confirmation Monday a week ago. I does not detail today's trouble, when I spent another 90 minutes on the phone with three different agents and one supervisor, but I got disconnected every time. 
    Dear ladies and gentlemen,
    I am writing this as a customer complaint. My family has been a loyal Verizon Wireless customer since August 2011, after making the change from T-Mobile. We currently have the 15GB Everything Plan with five lines, all of which are used by family members. Since July, we are also customers with Verizon FIOS for our home internet and cable, which means we pay Verizon an average of $5,600 annually. 
    My wife is the primary account holder and I have an EDGE plan for my own line. In September, I ordered a new iPhone through my local Verizon store in XXXXX., which is, as far as I know, an independent store with a Verizon license/franchise. When I picked up my phone, the agent at the store noticed that my account was in “chaotic standing.” First, he said that we had been advised badly by Verizon when we initially signed up in 2011, resulting in much higher monthly fees than we could have had under the 10 or 15 GB Everything Plan, and he suggested that we switch to this plan immediately.
    It was frustrating to learn this, because in my two years of communicating with Verizon agents by phone, no one ever bothered to inform us that we paid more for our account than we had to and that there was a more compact plan available which would have decreased our monthly bill. My daughter exceeded her data allowance on an almost monthly basis, which we could have avoided under the plan that we currently have but didn’t know about.
    Then I also learned that my current bill had suddenly skyrocketed to over $900 because a sixth line had been added to our account and someone had ordered a phone and charged it to our account. The local agent was extremely helpful, he immediately suggested that this was fraudulent activity and he called Verizon to restore my EDGE eligibility which I had lost due to these fraudulent charges that I had not caused and not paid. He did talk to the Verizon fraud department and reported the incident, and I was told that the additional charges would be taken off my account and my good credit – and EDGE eligibility – would be restored. In good faith that Verizon would take care of this, I left the store as a slightly worried, but satisfied customer.
    About a week later, I called Verizon to check on my account status because I wanted to EDGE up my teenage son’s line XXXXXX and get him a new iPhone 6 for his birthday. The agent I spoke to told me that the fraud situation was still showing on my account and that my EDGE eligibility had not been restored yet, but he assured me that this would be taken care off by the following week, when my son’s line would be eligible for an EDGE upgrade under his plan’s timeline.
    When I called back the following week, I was saddened to learn that contrary to the previous assurance, our EDGE eligibility had not been restored and the fraudulent charges to our account were still showing on our bill, which was quite confusing because it was impossible to figure out my actual charges. What followed was several weeks of phone correspondence with Verizon agents who apologized again and again and assured me that my EDGE eligibility would be restored so I could order my son’s phone and my the additional charges would be dropped from my account.
    However, this didn’t happen. I am not going to list the entire call log, because I know that you can easily access these records. But for several weeks in October, I spent many, many hours on the phone with Verizon, explaining the entire situation regarding the fraud again and again. I listened to assurances, promises, apologies, and I was transferred multiple times to different departments to get my EDGE eligibility restored. After an incredibly frustrating and time consuming experience I was eventually able to order my son’s phone. But several days later, when I checked the order status, I noticed that the order had been canceled because – I’m sure you can guess it by now – my EDGE eligibility had still not been restored. This forced me to go through the whole process again and I spent an entire afternoon on the phone with several different agents and managers until in the early evening I was finally assured that my account standing had been restored and that I could order my son’s phone. That day alone, I had to leave work five hours early to get on the phone (from about 2 p.m. until 7 p.m.) and work this situation out so my son could get his phone, which he eventually received on Oct. 31.
    I work as a newspaper reporter and I have an incredibly busy schedule. Yet the inability and unwillingness by Verizon to help me straighten out my account took much of my work time, which I had to make up for at a later time in order to get paid. Unfortunately, this meant that I had to take out much of my highly valued family time to talk to Verizon, which increased my frustration with your company, as you surely can understand. 
    As a loyal customer, I can’t stress enough how incredibly frustrating this experience was. I was forced to spend many hours away from work and family just to deal with the same situation over and over again. I lost track of the hours, but I am sure that one look at your call log will confirm that adding up these hours it was more than two full work days that I had to spend on the phone to work out a situation that I did not cause to begin with. Adding to these already incredibly upsetting circumstances were at least a couple of calls where it took me 15 minutes to get an agent on the line who then promised me to transfer me to the right person to help me, only, after more waiting time on hold, to be disconnected and start the process all over again. How I was able to maintain my composure and continue to be polite and respectful to the agents, I don’t know. I’m sure they are used to much harsher treatment from other unsatisfied customer for much lesser reasons.
    It is bad enough that a company like Verizon cannot protect their customers from getting their accounts hacked and hundreds of dollars being charged to their account. But what is even worse is that I have to spend hours and hours of valuable time and energy to mitigate a situation and fix a damage that I have not caused in the first place and had no control over, and Verizon has not offered me anything to reward my patience and loyalty other than brief apologies from stressed out agents that obviously were not qualified to handle such situation, resulting in their own frustration with this issue.
    What adds to this extremely frustrating and highly disappointing experience is that because of the hacking and the fraudulent charges that polluted my account for many weeks, it has become impossible for me to understand what I am being charged for and what I actually owe for the services that I did order and did receive. This frustration once again peaked on Saturday last week, when an agent told me that my past-due charges are more than $600, with a total of more than $900 total due within three weeks, ( that is about the same what Verizon charged me after my account had been hacked and an additional line and phone had been ordered by the perpetrator) in spite of my continuing “blind” payments towards my balance since this all began in September.
    I talked to two agents on Saturday, one from Customer Service; the other from the billing department, and neither was able to explain – or even seemed to understand themselves – how these charges occurred. In good faith, and in order to avoid a disruption of service, I still made a $170 payment, which is about half of what my total monthly payment should be under my current plan with five lines, and I vowed to pay another $170 by the end of next week in the hope that by then, someone with authority and complete and full understanding of these circumstances will have contacted me to explain my account and issue a sincere, well meant apology for what has happened to this loyal customer.
    Believe me, I rarely reach out to a company and complain like this. I have a busy and hectic schedule, but the time it took me to write even this long letter to Verizon was just a fraction of the time and energy that I wasted to restore my account and get my son his new iPhone on time for his birthday, which he was looking forward to very much.
    But after my experience with Verizon, I feel that Verizon should know that no loyal customer deserves this type of treatment and should ever have to go through what my family and I had to endure because of Verizon’s inability to protect the privacy and integrity of our account, and to restore it to its original standing.
    I left T-Mobile in 2011 after a total of 13 years as a loyal customer, because I was unhappy with their increasingly bad customer service. I came to Verizon in the hope that my family would have a better experience here, and we were ready to stay with the company for many years to come. But at the moment, we are regretting and reconsidering our choice. Our final decision will certainly depend on the final outcome of this incredibly frustrating situation.
    Believe me, I absolutely understand that fraud and the breach of customer account information occur even in the best and most professional companies. But I also believe that if this happens, the integrity and professionalism of a business must be judged based on their handling of such instances and how they treat customers who fall victim to such criminal practices without any wrong doing on their part.
    A company should do their best to not only fix the damage and try to make sure that this will not happen again, but also guide and support their loyal customers affected by this and provide them with enough information to understand what is going on. Most importantly, it should be Verizon, not the customer, who should carry the burden and the responsibility of such fraud. But unfortunately, Verizon Wireless has fallen short in this regard, as we were completely left alone and forced to fight for the full restoration of our account and to this day are confused about our bill and these sky-high charges that no one can explain to us.
    On top of that, I am tired of having to explain this situation dozens of times to different people with your company over and over again. No one should have to go through that, and I believe that your personnel has enough pressing business to deal with than to waste their and their customers time.
    Please understand that I am not complaining about the services by the more than a dozen individual agents that I talked to in order to sort out this mess. The vast majority of them have been polite and a couple honestly tried to go out of their way to help me. It is rather the way that your customer service is set up in total that reeks of failure to support and help a customer whose account had been hacked and scrambled beyond recognition.
    That’s why it is my hope that my reaching out to you will raise a red flag at the right places within your company to identify the failures in your service, work the problem and fix it so other loyal customers like me will be spared such hassle in the future. I think it wouldn’t be too far fetched to assume that we are not the only ones and last ones to fall victim to hacking and failing customer protection and service as a result.
    Of course I also sincerely hope that my complaint will finally set the wheels in motion to remedy the problems in our own case.  We believe that the very least that Verizon could do as a sign of good will and to honor our customer loyalty to is sweep clean our account and allow us to start from scratch so we can track and understand our future monthly charges and continue to make reliable payments to our account as we have done for more than two years until the hacking of our account and Verizon’s unprofessional and helpless handling of the situation has changed everything.
    I hope that someone within your company will take this complaint seriously and resolve this very unfortunate and frustrating situation in a manner that shows that we are valued and respected as the loyal customers that we (still) consider ourselves and that will help us restore our faith and trust in Verizon. 
    I am looking forward to your timely response.

        I'm confident that if you have spoken with our Fraud Team directly, that there are the proper wheels in motion to resolve all of the concerns that occured as a result of the fraudulant order on your account. It may take up to 2 bill cycles for all the adjustments to be applied and the changes made to your account to bring the dates and eligibility back to normal, so you should definitely be nearing the end of your wait. Based on your description, it may have been a while since you spoke with them directly instead of the customer service team, so I encourage you to give them a call at your earliest convenience to put your worries at ease. If you need to make arrangements for the charges that appear on your account, our Financial Services Team at 866-266-1445 will also be able to help possibly place a hold on the account regarding the disputed charges so there's no accidental inturruption in your service due to this unfortunate situation.
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • New Infinity connect issues - please help

    We are having ongoing issues with getting BT infinity installed to our new house.  I really need someone that can actually help us find out what is wrong and how we can resolve the issues we are having.
    It all started a few months ago when we ordered BT infinity and a new phone line to our new Chapel conversion house.
    Initially there were some issues with the engineer being unable to get the phone line to the house. After numerous phone calls and several engineers visits, we these have now been resolved and we do have a working telephone.
    The problem seems to be with the Infinity. Nobody can give me an answer as to why we have not yet got a connection.
    When the phone engineer visited he said that he would try and connect the Infinity in the green box. – When he went to do this he tried to obtain our patching information and was informed that there was no live order for infinity on our number… As there was nothing more he could do he left.
    We then checked with BT and they confirmed that we do have an order for infinity and that there was a problem that needed and engineer to look at. (We have a box and are paying for the service already…
    We were told last week that an engineer was going to attend on Monday 13th Jan and that we definitely would have a connection by last Monday at the latest… - no engineer attended despite my wife spending her 3rd day in the house waiting for an engineer!
    She phone BT on Tuesday and was told that there was a problem and she would be contacted by Thursday Morning at the latest. – Needless to say , No phone call!!
    We really need to sort this connection out.  Is there anyone who can take this and run with it until it’s sorted? – We are getting nowhere talking to random individuals who have no real history of our connection history.
    Please Help!
    Doug

    Hi dougchapel,
    Thanks for posting and welcome!
    I'm sorry for the problems you're having getting set up on BT Infinity.  I can help get you sorted from here.  Click on my username and under the "about me" section you'll see the link to get in touch with us.
    Cheers,
    Robbie
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Please help me in creating a form using Swing.

    (I m sorry if I've posted similar post in some other thread.I am new to this forum..:))
    There are several problems which I am facing while coding a form.
    1. In the form I have one JComboBox
    of Country and other of State. Now I want it in such a way that when
    I select a country from the Country JComboBox ,the corresponding states
    automatically appears in the State JComboBox.
    2. I need to add picture frame in the 6th tab so that the picture shows up when clicked browse and open.
    3.I need to add tables in 1st and 5th tab which shows up the details through database when added through several textboxes and combo boxes.
    so please help me!
    Here's my code
    ==========================================================
    import javax.swing.JFrame;
    import javax.swing.JTabbedPane;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JCheckBox;
    import javax.swing.border.*;
    import javax.swing.table.*;
    import javax.swing.Box;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Design extends JFrame
    public Design()
    super("Tenant Form");
    setLayout(new BorderLayout());
    JTabbedPane tabbedPane=new JTabbedPane(); //creating tabbed buttons
    //<--------coding for first tab--------->
    JPanel panel1=new JPanel();
    tabbedPane.addTab("Detail of Landlord",null,panel1,"first tab"); //here panel1 is created for tab1
    GridBagConstraints gbc=new GridBagConstraints();
    gbc.insets=new Insets(2,2,2,2);
    gbc.anchor=GridBagConstraints.WEST;
    JPanel jp11 = new JPanel(); //1st panel in 1st tab for top labels and buttons
    jp11.setLayout(new GridBagLayout());
    JLabel l241 = new JLabel("Name Of LandLord");
    jp11.add(l241,gbc);
    JComboBox jc01=new JComboBox();
    jc01.addItem("Select");
    jc01.addItem("Mr.");
    jc01.addItem("Mrs.");
    gbc.gridx=1;
    jp11.add(jc01,gbc);
    JTextField f01=new JTextField(10);
    gbc.gridx=2;
    jp11.add(f01,gbc);
    JLabel l251 = new JLabel("Sex");
    gbc.gridx=5;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l251,gbc);
    JComboBox jc11=new JComboBox();
    jc11.addItem("Select");
    jc11.addItem("Male");
    jc11.addItem("Female");
    gbc.gridx=6;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(jc11,gbc);
    JLabel l261 = new JLabel("Age(Yrs)");
    gbc.gridx=8;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l261,gbc);
    JTextField f11=new JTextField(3);
    gbc.gridx=9;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(f11,gbc);
    JLabel l271 = new JLabel("Occupation");
    gbc.gridx= 11;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l271,gbc);
    JComboBox jc21=new JComboBox();
    jc21.addItem("Select");
    jc21.addItem("Engineer");
    jc21.addItem("Business");
    gbc.gridx=12;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(jc21,gbc);
    JButton ab1=new JButton("ADD");
    gbc.gridx=14;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(ab1,gbc);
    panel1.add(jp11);
    //<--coding for adding table with scroll pane #yet to be coded#-->
    JTable jtab1=new JTable();
    //start of p21 panel. 1st of two titledborder panels in tab 1
    JPanel jp21=new JPanel();
    jp21.setBorder(new TitledBorder("Address Of Landlord Property"));
    jp21.setLayout(new GridBagLayout());
    JLabel l11=new JLabel("Property/House/Building Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp21.add(l11,gbc);
    JTextArea ta11=new JTextArea(3,15);
    ta11.setLineWrap(true);
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER;
    JScrollPane scroll11=new JScrollPane(ta11,v,h);
    gbc.gridx=1;
    jp21.add(scroll11);
    jp21.add(ta11,gbc);
    JLabel l21=new JLabel("Land Mark");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.ipady=0;
    gbc.gridheight=1;
    jp21.add(l21,gbc);
    JTextField tf21=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=1;
    jp21.add(tf21,gbc);
    JLabel l31=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=2;
    jp21.add(l31,gbc);
    JComboBox c11=new JComboBox();
    c11.addItem("India");
    c11.addItem("US");
    c11.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=2;
    jp21.add(c11,gbc);
    JLabel l41=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=3;
    jp21.add(l41,gbc);
    JComboBox c21=new JComboBox();
    c21.addItem("Rajasthan");
    c21.addItem("Delhi");
    c21.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=3;
    jp21.add(c21,gbc);
    JLabel l51=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=4;
    jp21.add(l51,gbc);
    JComboBox c31=new JComboBox();
    c31.addItem("jaipur");
    c31.addItem("ajmer");
    c31.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=4;
    jp21.add(c31,gbc);
    JLabel l61=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=5;
    jp21.add(l61,gbc);
    JTextField tf31=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=5;
    jp21.add(tf31,gbc);
    JLabel l71=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=6;
    jp21.add(l71,gbc);
    JComboBox c41=new JComboBox();
    c41.addItem("Jaipur");
    c41.addItem("Alwar");
    c41.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=6;
    jp21.add(c41,gbc);
    JLabel l81=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=7;
    jp21.add(l81,gbc);
    JComboBox c51=new JComboBox();
    c51.addItem("India");
    c51.addItem("US");
    c51.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=7;
    jp21.add(c51,gbc);
    JLabel l91=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=8;
    jp21.add(l91,gbc);
    JComboBox c61=new JComboBox();
    c61.addItem("Bani Park");
    c61.addItem("Raja Park");
    c61.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=8;
    jp21.add(c61,gbc);
    JLabel l101=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=9;
    jp21.add(l101,gbc);
    JTextField tf41=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=9;
    jp21.add(tf41,gbc);
    JLabel l111=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=10;
    jp21.add(l111,gbc);
    JTextField tf51=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=10;
    jp21.add(tf51,gbc);
    //start of p31.2nd of two titledborder panels in tab 1
    JPanel jp31=new JPanel();
    jp31.setBorder(new TitledBorder("Address Of Landlord Office"));
    jp31.setLayout(new GridBagLayout());
    JLabel l121=new JLabel("Office Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp31.add(l121,gbc);
    JTextArea ta61=new JTextArea(3,15);
    ta61.setLineWrap(true);
    JScrollPane scroll2=new JScrollPane(ta61);
    gbc.gridx=1;
    gbc.gridy=0;
    jp31.add(ta61,gbc);
    JLabel l131=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp31.add(l131,gbc);
    JComboBox c12=new JComboBox();
    c12.addItem("India");
    c12.addItem("US");
    c12.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp31.add(c12,gbc);
    JLabel l141=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp31.add(l141,gbc);
    JComboBox c22=new JComboBox();
    c22.addItem("Rajasthan");
    c22.addItem("Delhi");
    c22.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp31.add(c22,gbc);
    JLabel l151=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp31.add(l151,gbc);
    JComboBox c32=new JComboBox();
    c32.addItem("jaipur");
    c32.addItem("ajmer");
    c32.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp31.add(c32,gbc);
    JLabel l161=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp31.add(l161,gbc);
    JTextField tf71=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=4;
    jp31.add(tf71,gbc);
    JLabel l171=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp31.add(l171,gbc);
    JComboBox c42=new JComboBox();
    c42.addItem("Jaipur");
    c42.addItem("Alwar");
    c42.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp31.add(c42,gbc);
    JLabel l181=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp31.add(l181,gbc);
    JComboBox c52=new JComboBox();
    c52.addItem("India");
    c52.addItem("US");
    c52.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp31.add(c52,gbc);
    JLabel l191=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp31.add(l191,gbc);
    JComboBox c62=new JComboBox();
    c62.addItem("Bani Park");
    c62.addItem("Raja Park");
    c62.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp31.add(c62,gbc);
    JLabel l201=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp31.add(l201,gbc);
    JTextField tf81=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=8;
    jp31.add(tf81,gbc);
    JLabel l211=new JLabel("Phone No.(O)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp31.add(l211,gbc);
    JTextField tf91=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=9;
    jp31.add(tf91,gbc);
    JLabel l221=new JLabel("Phone No.(M)");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp31.add(l221,gbc);
    JTextField tf101=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=10;
    jp31.add(tf101,gbc);
    JLabel l231=new JLabel("E-mail");
    gbc.gridx=0;
    gbc.gridy=11;
    gbc.gridheight=1;
    jp31.add(l231,gbc);
    JTextField tf111=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=11;
    jp31.add(tf111,gbc);
    JPanel jp41=new JPanel(); //adding above two panels p21 and p31 to p41 panel.
    jp41.setLayout(new BoxLayout(jp41,BoxLayout.X_AXIS));
    jp41.add(jp21);
    jp41.add(Box.createHorizontalStrut(50));
    jp41.add(jp31);
    panel1.add(jp41); //adding p41 panel to panel1
    //<--------coding for second tab--------->
    JPanel panel2 = new JPanel();
    tabbedPane.addTab("Id of Landlord",null,panel2,"second tab");
    panel2.setLayout(new FlowLayout());
    //adding radiobutton above TitledBorder panel
    JPanel jp02=new JPanel();
    JLabel l12=new JLabel("Identity Known");
    JRadioButton jrb12=new JRadioButton("Yes");
    JRadioButton jrb22=new JRadioButton("No");
    ButtonGroup bg12=new ButtonGroup();
    bg12.add(jrb12);
    bg12.add(jrb22);
    jp02.add(l12);
    jp02.add(jrb12);
    jp02.add(jrb22);
    //adding TitledBorder panel
    JPanel jp12=new JPanel();
    jp12.setBorder(new TitledBorder("Identity Detail"));
    jp12.setLayout(new GridBagLayout());
    gbc.insets=new Insets(5,5,5,5);
    JLabel l22=new JLabel("Identity Card");
    gbc.gridx=0;
    gbc.gridy=0;
    jp12.add(l22,gbc);
    JTextField jtf12=new JTextField(10);
    gbc.gridx=1;
    jp12.add(jtf12,gbc);
    JLabel l32=new JLabel("Date of Issue");
    gbc.gridx=0;
    gbc.gridy=1;
    jp12.add(l32,gbc);
    JTextField jtf22=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp12.add(jtf22,gbc);
    JLabel l42=new JLabel("Identity Number");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp12.add(l42,gbc);
    JTextField jtf32=new JTextField(10);
    gbc.gridx=3;
    jp12.add(jtf32,gbc);
    JLabel l52=new JLabel("Name Of Issuer");
    gbc.gridx=0;
    gbc.gridy=2;
    jp12.add(l52,gbc);
    JTextField jtf42=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp12.add(jtf42,gbc);
    JLabel l62= new JLabel("Place Of Issuer");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp12.add(l62,gbc);
    JTextField jtf52=new JTextField(10);
    gbc.gridx=3;
    jp12.add(jtf52,gbc);
    gbc.gridx=0;
    gbc.gridy=2;
    Box b12 =Box.createVerticalBox(); //adding both panels to vertica box and adding it to panel2
    b12.add(jp02);
    b12.add(jp12);
    panel2.add(b12);
    //<--------coding for third tab--------->
    JPanel panel3 = new JPanel();
    tabbedPane.addTab("Detail of Tenant",null,panel3,"third tab");
    //adding panel for top data
    JPanel jp13=new JPanel(); //jp13 panel for details above 3 TitledBorder panels
    jp13.setLayout(new GridBagLayout());
    JLabel l13=new JLabel("Name");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=0;
    gbc.gridy=0;
    jp13.add(l13,gbc);
    JComboBox c13=new JComboBox();
    c13.addItem("Select");
    c13.addItem("Mr.");
    c13.addItem("Mrs.");
    gbc.gridx=1;
    jp13.add(c13,gbc);
    JTextField jtf13=new JTextField(16);
    gbc.gridx=2;
    gbc.gridwidth=2;
    jp13.add(jtf13,gbc);
    JLabel l23=new JLabel("Sex");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    gbc.gridwidth=1;
    jp13.add(l23,gbc);
    JComboBox c23=new JComboBox();
    c23.addItem("Select");
    c23.addItem("Male");
    c23.addItem("Female");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(c23,gbc);
    JLabel l33=new JLabel("Father/Mother/Husband's Name");
    gbc.gridy=1;
    gbc.gridx=0;
    jp13.add(l33,gbc);
    JComboBox c33=new JComboBox();
    c33.addItem("Select");
    c33.addItem("Mr.");
    c33.addItem("Mrs.");
    gbc.gridx=1;
    jp13.add(c33,gbc);
    JComboBox c43=new JComboBox();
    c43.addItem("Select");
    c43.addItem("Mr.");
    c43.addItem("Mrs.");
    gbc.gridx=2;
    jp13.add(c43,gbc);
    JTextField jtf23=new JTextField(10);
    gbc.gridx=3;
    jp13.add(jtf23,gbc);
    JLabel l43=new JLabel("Age(Yrs)");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    jp13.add(l43,gbc);
    JTextField jtf33=new JTextField(3);
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(jtf33,gbc);
    JLabel l53=new JLabel("Citizenship");
    gbc.gridy=2;
    gbc.gridx=0;
    jp13.add(l53,gbc);
    JComboBox c53=new JComboBox();
    c53.addItem("Select");
    c53.addItem("Indian");
    c53.addItem("Australian");
    gbc.gridx=1;
    gbc.gridwidth=2;
    jp13.add(c53,gbc);
    JLabel l63=new JLabel("Occupation");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    gbc.gridwidth=1;
    jp13.add(l63,gbc);
    JComboBox c63=new JComboBox();
    c63.addItem("Select");
    c63.addItem("Engineer");
    c63.addItem("Doctor");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(c63,gbc);
    panel3.add(jp13);
    JPanel jp23=new JPanel(); //first of 3 TitledBorder panels
    jp23.setBorder(new TitledBorder("Local Address"));
    jp23.setLayout(new GridBagLayout());
    JLabel l73=new JLabel("Local Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp23.add(l73,gbc);
    JTextArea ta43=new JTextArea(3,10);
    ta43.setLineWrap(true);
    JScrollPane scroll13=new JScrollPane(ta43);
    gbc.gridx=1;
    gbc.gridy=0;
    jp23.add(ta43,gbc);
    JLabel l83=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp23.add(l83,gbc);
    JComboBox c73=new JComboBox();
    c73.addItem("India");
    c73.addItem("US");
    c73.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp23.add(c73,gbc);
    JLabel l93=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp23.add(l93,gbc);
    JComboBox c83=new JComboBox();
    c83.addItem("Rajasthan");
    c83.addItem("Delhi");
    c83.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp23.add(c83,gbc);
    JLabel l103=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp23.add(l103,gbc);
    JComboBox c93=new JComboBox();
    c93.addItem("jaipur");
    c93.addItem("ajmer");
    c93.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp23.add(c93,gbc);
    JLabel l113=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp23.add(l113,gbc);
    JTextField tf53=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp23.add(tf53,gbc);
    JLabel l123=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp23.add(l123,gbc);
    JComboBox c103=new JComboBox();
    c103.addItem("Jaipur");
    c103.addItem("Alwar");
    c103.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp23.add(c103,gbc);
    JLabel l133=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp23.add(l133,gbc);
    JComboBox c113=new JComboBox();
    c113.addItem("India");
    c113.addItem("US");
    c113.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp23.add(c113,gbc);
    JLabel l143=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp23.add(l143,gbc);
    JComboBox c123=new JComboBox();
    c123.addItem("Bani Park");
    c123.addItem("Raja Park");
    c123.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp23.add(c123,gbc);
    JLabel l153=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp23.add(l153,gbc);
    JTextField tf63=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp23.add(tf63,gbc);
    JLabel l163=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp23.add(l163,gbc);
    JTextField tf73=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp23.add(tf73,gbc);
    JLabel l173=new JLabel("E-mail");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp23.add(l173,gbc);
    JTextField tf83=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp23.add(tf83,gbc);
    JPanel jp33=new JPanel(); //second of 3 TitledBorder panels
    jp33.setBorder(new TitledBorder("Permanent Address"));
    jp33.setLayout(new GridBagLayout());
    JLabel l183=new JLabel("Perm. Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp33.add(l183,gbc);
    JTextArea ta93=new JTextArea(5,10);
    JScrollPane scroll23=new JScrollPane(ta43);
    ta93.setLineWrap(true);
    gbc.gridx=1;
    gbc.gridy=0;
    jp33.add(ta43,gbc);
    JLabel l193=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp33.add(l193,gbc);
    JComboBox c133=new JComboBox();
    c133.addItem("India");
    c133.addItem("US");
    c133.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp33.add(c133,gbc);
    JLabel l203=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp33.add(l203,gbc);
    JComboBox c143=new JComboBox();
    c143.addItem("Rajasthan");
    c143.addItem("Delhi");
    c143.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp33.add(c143,gbc);
    JLabel l213=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp33.add(l213,gbc);
    JComboBox c153=new JComboBox();
    c153.addItem("jaipur");
    c153.addItem("ajmer");
    c153.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp33.add(c153,gbc);
    JLabel l223=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp33.add(l223,gbc);
    JTextField tf103=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp33.add(tf103,gbc);
    JLabel l233=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp33.add(l233,gbc);
    JComboBox c163=new JComboBox();
    c163.addItem("Jaipur");
    c163.addItem("Alwar");
    c163.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp33.add(c163,gbc);
    JLabel l243=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp33.add(l243,gbc);
    JComboBox c173=new JComboBox();
    c173.addItem("India");
    c173.addItem("US");
    c173.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp33.add(c173,gbc);
    JLabel l253=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp33.add(l253,gbc);
    JComboBox c183=new JComboBox();
    c183.addItem("Bani Park");
    c183.addItem("Raja Park");
    c183.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp33.add(c183,gbc);
    JLabel l263=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp33.add(l263,gbc);
    JTextField tf113=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp33.add(tf113,gbc);
    JLabel l273=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp33.add(l273,gbc);
    JTextField tf123=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp33.add(tf123,gbc);
    JLabel l283=new JLabel("phone No.(M)");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp33.add(l283,gbc);
    JTextField tf133=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp33.add(tf133,gbc);
    JPanel jp43=new JPanel(); //third of 3 TitledBorder panels
    jp43.setBorder(new TitledBorder("Ex-Home Address"));
    jp43.setLayout(new GridBagLayout());
    JLabel l293=new JLabel("Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp43.add(l293,gbc);
    JTextArea ta143=new JTextArea(3,10);
    ta143.setLineWrap(true);
    JScrollPane scroll33=new JScrollPane(ta143);
    gbc.gridx=1;
    gbc.gridy=0;
    jp43.add(ta143,gbc);
    JLabel l303=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp43.add(l303,gbc);
    JComboBox c193=new JComboBox();
    c193.addItem("India");
    c193.addItem("US");
    c193.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp43.add(c193,gbc);
    JLabel l313=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp43.add(l313,gbc);
    JComboBox c203=new JComboBox();
    c203.addItem("Rajasthan");
    c203.addItem("Delhi");
    c203.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp43.add(c203,gbc);
    JLabel l323=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp43.add(l323,gbc);
    JComboBox c213=new JComboBox();
    c213.addItem("jaipur");
    c213.addItem("ajmer");
    c213.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp43.add(c213,gbc);
    JLabel l333=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp43.add(l333,gbc);
    JTextField tf153=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp43.add(tf153,gbc);
    JLabel l343=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp43.add(l343,gbc);
    JComboBox c223=new JComboBox();
    c223.addItem("Jaipur");
    c223.addItem("Alwar");
    c223.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp43.add(c223,gbc);
    JLabel l353=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp43.add(l353,gbc);
    JComboBox c233=new JComboBox();
    c233.addItem("India");
    c233.addItem("US");
    c233.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp43.add(c233,gbc);
    JLabel l363=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp43.add(l363,gbc);
    JComboBox c243=new JComboBox();
    c243.addItem("Bani Park");
    c243.addItem("Raja Park");
    c243.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp43.add(c123,gbc);
    JLabel l373=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp43.add(l373,gbc);
    JTextField tf163=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp43.add(tf163,gbc);
    JLabel l383=new JLabel("Phone");
    gbc.gridx=0;
    gbc.gridy=9;
    jp43.add(l383,gbc);
    JTextField tf173=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp43.add(tf173,gbc);
    JLabel l393=new JLabel("Leaving Date");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp43.add(l393,gbc);
    JTextField tf183=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp43.add(tf183,gbc);
    /*JCheckBox cb13=new JCheckBox("Approx");
    gbc.gridx=2;
    gbc.gridy=10;
    jp43.add(cb13);*/
    JPanel jp53=new JPanel(); //panel for addin all 3 TitledBorder panels
    jp53.setLayout(new BoxLayout(jp53,BoxLayout.X_AXIS));
    jp53.add(jp23);
    jp53.add(Box.createHorizontalStrut(30)); //giving space between each TitledBorder panel
    jp53.add(jp33);
    jp53.add(Box.createHorizontalStrut(30));
    jp53.add(jp43);
    panel3.add(jp53); //adding panel which contains all 3 TitledBorder panels to panel3
    JPanel jp63=new JPanel(); //jp63 panel for bottom data
    jp63.setBorder(new TitledBorder("Tennancy Start/End"));
    JLabel l403=new JLabel("From Date");
    jp63.add(l403);
    JTextField jtf193=new JTextField(12);
    jp63.add(jtf193);
    JCheckBox jcb23=new JCheckBox("Approx");
    jp63.add(jcb23);
    JLabel l413=new JLabel("To Date");
    jp63.add(l413);
    JTextField jtf203=new JTextField(12);
    jp63.add(jtf203);
    JCheckBox jcb33=new JCheckBox("Approx");
    jp63.add(jcb33);
    panel3.add(jp63); //adding bottom details panel jp63 to panel3
    //<--------coding for fourth tab--------->
    JPanel panel4 = new JPanel();
    tabbedPane.addTab("Id of Tenant",null,panel4,"fourth tab");
    panel4.setLayout(new FlowLayout());
    //adding radiobutton above TitledBorder panel jp14
    JPanel jp04=new JPanel();
    JLabel l14=new JLabel("Identity Known");
    JRadioButton jrb14=new JRadioButton("Yes");
    JRadioButton jrb24=new JRadioButton("No");
    ButtonGroup bg14=new ButtonGroup();
    bg14.add(jrb14);
    bg14.add(jrb24);
    jp04.add(l14);
    jp04.add(jrb14);
    jp04.add(jrb24);
    //adding TitledBorder panel jp14
    JPanel jp14=new JPanel();
    jp14.setBorder(new TitledBorder("Identity Detail"));
    jp14.setLayout(new GridBagLayout());
    gbc.insets=new Insets(5,5,5,5);
    JLabel l24=new JLabel("Identity Card");
    gbc.gridx=0;
    gbc.gridy=0;
    jp14.add(l24,gbc);
    JTextField jtf14=new JTextField(10);
    gbc.gridx=1;
    jp14.add(jtf14,gbc);
    JLabel l34=new JLabel("Date of Issue");
    gbc.gridx=0;
    gbc.gridy=1;
    jp14.add(l34,gbc);
    JTextField jtf24=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp14.add(jtf24,gbc);
    JLabel l44=new JLabel("Identity Number");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp14.add(l44,gbc);
    JTextField jtf34=new JTextField(10);
    gbc.gridx=3;
    jp14.add(jtf34,gbc);
    JLabel l54=new JLabel("Name Of Issuer");
    gbc.gridx=0;
    gbc.gridy=2;
    jp14.add(l54,gbc);
    JTextField jtf44=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp14.add(jtf44,gbc);
    JLabel l64=new JLabel("Place Of Issuer");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp14.add(l64,gbc);
    JTextField jtf54=new JTextField(10);
    gbc.gridx=3;
    jp14.add(jtf54,gbc);
    gbc.gridx=0;
    gbc.gridy=2;
    Box b14=Box.createVerticalBox(); //adding both panels to panel4 in vertical box
    b14.add(jp04);
    b14.add(jp14);
    panel4.add(b14);
    //<--------coding for fifth tab--------->
    JPanel panel5 = new JPanel();
    tabbedPane.addTab("Info Of Other Members",null,panel5,"fifth tab");
    JPanel jp15=new JPanel(); //top panel jp15 for details above add delete buttons
    jp15.setLayout(new GridBagLayout());
    JLabel l15=new JLabel("Name");
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.insets=new Insets(10,10,10,10);
    jp15.add(l15,gbc);
    JTextField jtf15=new JTextField(10);
    gbc.gridx=1;
    jp15.add(jtf15,gbc);
    JLabel l25=new JLabel("Sex");
    gbc.gridx=2;
    gbc.insets=new Insets(10,80,10,10);
    jp15.add(l25,gbc);
    JComboBox jcb15=new JComboBox();
    jcb15.addItem("Male");
    jcb15.addItem("Female");
    gbc.gridx=3;
    gbc.insets=new Insets(10,10,10,10);
    jp15.add(jcb15,gbc);
    JLabel l35=new JLabel("Relation");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.insets=new Insets(10,10,40,10);
    jp15.add(l35,gbc);
    JTextField jtf25=new JTextField(10);
    gbc.gridx=1;
    jp15.add(jtf25,gbc);
    JLabel l45=new JLabel("Age");
    gbc.gridx=2;
    gbc.insets=new Insets(10,80,40,10);
    jp15.add(l45,gbc);
    JTextField jtf35 =new JTextField(10);
    gbc.gridx=3;
    gbc.insets=new Insets(10,10,40,10);
    jp15.add(jtf35,gbc);
    JPanel jp25=new JPanel(); //middle panel jp25 for adding "add" and "delete" buttons
    JButton jb15=new JButton("Add");
    JButton jb25=new JButton("Delete");
    jp25.add(jb15);
    jp25.add(jb25);
    //adding table #yet to be coded#
    Box b15=Box.createVerticalBox();
    b15.add(jp15);
    b15.add(jp25);
    panel5.add(b15); //adding jp15 and jp25 to panel5 in vertical box
    //<--------coding for sixth tab--------->
    JPanel panel6 = new JPanel();
    tabbedPane.addTab("Related To Office",null,panel6,"sixth tab");
    panel6.setLayout(new GridBagLayout());
    //adding 4 labels and textfields vertically
    JLabel l16=new JLabel("Investigation Officer");
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.insets=new Insets(40,40,20,10);
    panel6.add(l16,gbc);
    JTextField jtf16 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(40,20,20,40);
    panel6.add(jtf16,gbc);
    JLabel l26=new JLabel("S.No.");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l26,gbc);
    JTextField jtf26 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf26,gbc);
    JLabel l36=new JLabel("Page No.");
    gbc.gridx=0;
    gbc.gridy=2;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l36,gbc);
    JTextField jtf36 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf36,gbc);
    JLabel l46=new JLabel("Date");
    gbc.gridx=0;
    gbc.gridy=3;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l46,gbc);
    JTextField jtf46=new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf46,gbc);
    /* Canvas c16=new Canvas(); //creating a rectangle frame for adding image
    Image i16=c.createImage(200,100);
    gbc.gridx=2;
    gbc.gridy=0;
    gbc.insets=new Insets(40,20,20,40);
    gbc.gridheight=3;
    panel6.add(i16,gbc);*/
    JButton jb16=new JButton("Browse"); //adding "browse" and "save" buttons
    gbc.insets=new Insets(10,20,20,40);
    gbc.gridy=3;
    panel6.add(jb16,gbc);
    JButton jb26=new JButton("Save");
    gbc.insets=new Insets(50,20,20,40);
    gbc.gridy=4;
    panel6.add(jb26,gbc);
    //<-------end of sixth tab------->
    add(tabbedPane);
    //lower panel for cancel button
    JPanel jp1=new JPanel();
    jp1.setLayout(new FlowLayout(FlowLayout.RIGHT));
    JButton can=new JButton("Cancel"); //initialising cancel button
    jp1.add(can);
    add(jp1,BorderLayout.SOUTH);
    class Blistener implements ActionListener // class for action listener
    public void actionPerformed(ActionEvent ae)
    Object obj=ae.getSource();
    try{
    if(obj == can) //condition for cancel button
    System.exit(0);
    }catch(Exception e)
    {System.out.println(e);
    public class Project
    public static void main(String args[]) //main method for the program
    Design tabbedwin= new Design();
    tabbedwin.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    tabbedwin.setSize(900,700);
    tab

    First things first. Next time please use the code formating tags when posting your code.
    Secondly, we cant help you do your entire project or more specifically we cant do it for you. We can probably help you with one section at a time.
    Thirdly, do not post your entire code. Create a Short, Self Contained, Compilable Example (SSCCE) that demonstrates the problem section, and that is independent of any third party libraries and can compiled instantly and tested.
    Now, lets see if we can answer one problem here.
    Ques 1. In the form I have one JComboBox of Country and other of State. Now I want it in such a way that whenI select a country from the Country JComboBox ,the corresponding states automatically appears in the State JComboBox.
    Ans 1: Use an ItemListener or an ActionListener (javax.swing.event) for this. Once an item is selected, the event will be fired and then you populate your ComboBox with the requried data.
    Ques 2. I need to add picture frame in the 6th tab so that the picture shows up when clicked browse and open.
    Ans 2: You haven't created the JButton for the browse action, nor have you created the JLabel to show the picture in. Create the JButton, then the JLabel, attach an ActionListener to the button to listen for the button click, open a JFileChooser, select the image file, create an ImageIcon and pass the File object returned to it. Then call the JLabel.setIcon( the ImageIcon) to display the picture. You'll have to store the picture File information some where so can reference it when saving.
    Ques 3.I need to add tables in 1st and 5th tab which shows up the details through database when added through several textboxes and combo boxes.
    You need to do some reading. The Swing Tutorial has everything you need, from How to use Tables to How to connect to databases. There are also some examples in your JDK installation folder, ie, jdk/demos/jfc/tableExample. Here is the link to the swing tutorial on how to use Tables: http://java.sun.com/docs/books/tutorial/uiswing/components/table.html. You find other useful links there.
    ICE

  • ITunes has encountered a problem and needs to close.  PLEASE HELP ME!!!!!!!

    I bought the Apple airport router I installed it with the provided disc and that same day my iTunes would not come up. For window users I get the box that reads iTunes has encountered a problem and needs to close. We are sorry for the inconvenience with a box that you click to Send Error Report. Here is the error……… AppName: itunes.exe AppVer: 7.6.2.9 ModName: unknown
    ModVer: 0.0.0.0 Offset: 000a019a
    I figured that my music files somehow were corrupt and that shi_ happens. Well a week later I was having troubles with the Apple router so I returned it and uninstalled it from my program files C drive. Then I gave iTunes another shot and it opened. Weird, I know. Well my next router was a Net gear it worked fine but it lagged on COD4 while online with my PC, so I returned it. Then I bought a Belkin - N1 Vision Wireless-N Wireless Router and it did not come with an install disc just plug and play. That very same day my iTunes gave me that **** error again. This time I can’t try to uninstall it from my program files because it was plug and play. I already tried to do a system restore and I shut down my PC and start it back up without the router plugged in and still no luck. I also tried to repair iTunes and that didn’t work. I went to the Geek Squad and they tell me the two issues can’t be related (a router not allowing my iTunes to run). My computer is running on Windows XP Pro. I’m now playing my music through Windows Media Player. I’m in ****!!!! Can someone please help me!!!!! I also tried a few things on iTunes support and they didn’t work. I will be more than happy finically facilitate someone for helping me get my iTunes up and running like usual. Dallas @ [email protected] I’ll be checking this thread every day. PLEASE HELP!!!!!!!!!!!!!!!!!

    ,......"The enstaller encountered errors before the requested operations for Quicktime could not be completed. To retry these operations at a later time, please run the installer again."
    Checking on things that can cause QuickTime launch errors and install/uninstall errors now.
    Have you at any stage installed an ACE or K-Lite Mega Codec Pack, any copies of the programs QT Alternative, QT Lite or Storm Codec, or any media converter programs that can convert files into QuickTime readable formats?
    (I'm checking on these things because depending on the versions of the programs/codec-packs, these can install earlier versions of QuickTime componentry on a PC, which can interfere with the running/installing of a higher version of QuickTime.)

  • HT5624 My wife and I share the same apple id, we just updated our iphones. When we were asked if we wanted to share the same apple id for icloud we said yes, now our phones can't face time, please help?

    My wife and I share the same apple id, we just updated our iphones. When we were asked if we wanted to share the same apple id for icloud we said yes, now our phones can't face time, please help?

    Read http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    If you wish to share an Apple ID with family members then read: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/

Maybe you are looking for

  • G3 not booting from Master HD. from slave gets bomb in OS 9.2

    G3 B&W, 350 mhz, 320 Ram under 10.3.9 or 9.2. 2 HD's - 100 gb master with 10.3.9, partitioned into 6 drives, and slave is original 30gb under 9.2, partitioned into 4 drives. I was having trouble with it yesterday, so I put the 10.3 install disk in to

  • Problems Reinstalling OS X Maverick, amongst other issues...

    Hello everyone, I am having all sorts of problems with my MacBook Pro 13 inch (bought in Nov. 2012). I plugged in a USB cable connected to a smartphone and it immediately shut off the computer and would not turn back on. The power cord LED did not li

  • Recording from Mixer to Muvo 200 mi

    Hi ! i ?m thinking buying a muvo 200 micro so that i can record my dj sessions directly to the muvo 200 micro. I just want to know if the quality is ok and if the process of recording from the mixer to Muvo 200 micro is automatically converted in mp3

  • Printer and stereo in different rooms

    Up to this point we have used our Airport Express as an extension of our wireless linksys network to share a printer. We recently wanted to use iTunes over our stero which is in the living room, and the set up worked fine. However, since our printer

  • Receive email with dots in body

    I have a weird problem with BB8830. From time to time (most of the time received from a specific Domaine) I receive emails with all the dots in the email body, the email was sent by Exchange Server. The same email is well receive in my Outlook 2003 i