Oracle forms login problem

it asked me to log on, i typed:
Username: oracle, Password: password, Database: orcl
i get the error, TNS: could not resolve the connect identifier specifiec
Can please some1 help
Thanks

is this how my file should look like now:
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.93.130)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.93.130)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)

Similar Messages

  • Oracle Form designing problem...

    Hai experts,
    I am facing some problem in the oracle form desiging. we are receiving the dates from the customer and we are capping,washing and
    stuffing more than 10 service we are doing.
    refno -- primary key
    header table
    refno cust name mobile no weight status
    12345 xxxxxxxxx 1212121 100 kg 0
    details table
    refno service_type status
    12345 capping 0
    12345 washing 0
    12345 stuffing 0
    12345 quality 0
    12345 packing 0
    same way I have to create rows in the Oracle table.
    Check box
    . capping
    . washing
    . stuffing
    . packing
    ( easy way to user can use. check box clicked service required , un checked service is not required.. )
    If check box click "capping" 1 row must be create in the detail table
    If check box click "washing " 2 row must be create in the detail table
    if check box click" stuffing 3rd row must be create in the detail table
    If check box click " quality 4 row must be create in the detail table.
    My problem is in the check box... how to specified this categories in the detail table ?
    if details table status changed, user can Identified capping finished , washing finished, like that..
    please help me...
    vasanth.

    Hai,
    we are new to oracle environment sorry,
    Thank you very much for your immediate response. Master detail relation ship I created
    head.refno=detail.refno
    Complete Receiving form details are given below.
    Refno - primary key,
    Customer name -- connected customer master table...
    Mobile phone
    Tot weight.
    Questions to customer
    do you want to capping?
    do you want to washing?
    do you want to stuffing?
    do you want to quality?
    do you want to pack with plastic?
    Based upon this we have send the dates to capping section, washing section, stuffing section?
    Washing people based upon the detail (RNO) they will wash. all services same like.
    If washing finished we have to tell the status to customer also.
    Every process we have to indicate to the washing line, capping line, stuffing line. Once washed the Rno cannot display.
    Final process is packing to indicated Finished.
    Designing Questions
    Capping, washing stuffing quality is header table or detail table. ? How to specify the all status?
    Regards
    vasanth.

  • Oracle Forms LAF Problem

    Hi,
    I've been working on Oracle Forms & the LAF project for the past 1 week. Im totally new to both of them.
    Constantly, im getting problem in implementing CSS to oracle forms using the LAF project.
    I downloaded the latest LAF package and followed the steps indicated in the LAF project site. But, when i try to run the oracle form, the CSS is not getting applied to the forms.
    The whole window is shown with a white background, and the CSS gets applied only to the Grid Body part. The changes i do in the CSS file gets reflected in the Grid Body part, which means the module reads the CSS files successfully, but CSS is not getting applied to other things.
    Even when i try running the sample programs provided in the LAF package its not running properly. The same problem exists. Only the Grid Body part is working.
    And also, the fmb file i worked on seems to be working properly on another machine. Is it that im missing any configuration in order to make it work.
    I've attached screen shots below. Please check it and help me with a solution.
    !http://img403.imageshack.us/img403/4002/laf2.jpg!
    !http://img403.imageshack.us/img403/9363/laf1.jpg!

    Hello,
    As it is clearly indicated on the LAF Project home site, do not ask question about it on this forum. Send your questions to the dedicated mail : [email protected]
    Thanks in advance,
    Francois

  • Redevelop oracle forms login screen in adf

    hi i have the login screen in my oracle forms application which do the following
    -able the user to login in the application,by the username,password which are store in the table
    -in my screen i got the following username and password column and the login button.
    -the login button got two trigger> when-button-pressed and when-new-item-instance
    -i also have an option for new user to type new password and confirm the password when they start,every new user got default password and is force to change the password before login in the application
    -when the application start it does not show the new password column only if the user is new and when user password has been resert which is done by system admistrator.
    -i have one screen which list all the user in the application where system administrator can resert the password by clicking the button
    -i also have change password button which come if the user is new under this button i only have one trigger when-button-pressed which got
    -the user is the only person who enter the new password the system admistrator only resert the password he does not have option to enter new password
    if :logon.pwd is null then
    sms_code.error_message('SMS-'||to_char(0000002)||': '||'Password must be specified','', 'E', 'SMS');
    end if;
    login_pwd_title;
    perform_sdms_new_password;
    under my when-button-pressed trigger i got
    :logon.logon_ind := 1;
    perform_sdms_logon;
    and under my when-new-item-instance trigger i got
    if nvl(:logon.logon_ind,0) = 1 then
         :logon.logon_ind := 0;
    else     
    if :logon.usr_id is not null
    and :logon.pwd is not null then
    :logon.logon_ind :=1;
    perform_sdms_logon;
    end if;
    end if;
    and my perform_sdms_logon sp is below. which is in the form programm unit
    PROCEDURE perform_sdms_logon IS
    error_message varchar2(100);
    usr_id integer;
    fail_cnt integer;
    fail_limit integer;
    pwd sms_users.pwd%type;
    pwd_dt date;
    pwd_dt_period integer;
    sysdt date;
    msg_lvl varchar2(20) := :system.message_level;
    cursor usr is
    select id,pwd_change_dt,sysdate,pwd,login_failure_count
    from sms_users
    where user_id = :logon.usr_id
    -- and pwd = sms_secure.crypt('USR',id,:logon.pwd)
    BEGIN
    set_clnt_details;
    if :logon.usr_id is null then
         error_message := 'User id must be specified';
    sms_code.error_message('SMS-'||to_char(0000001)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.pwd is null then
         error_message := 'Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000002)||': '||error_message,'', 'E', 'SMS');
    end if;
    pwd_dt_period := sms_global.ref_code('SMS','PWD_PERIOD',30,1);
    fail_limit := sms_global.ref_code('SMS','PWD_FAIL_LIMIT',3,1);
    open usr;
    fetch usr into usr_id,pwd_dt,sysdt,pwd,fail_cnt;
    if usr%NOTFOUND then
    close usr;
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,:logon.usr_id
    ,'Not SMS User'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    end if;
    close usr;
    if fail_cnt > fail_limit then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD'
    ,:logon.usr_id ||':'||fail_cnt||':'||fail_limit
    ,'Password retry limit exceeded'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password error limit have been exceeded contact the Administrator';
    sms_code.error_message('SMS-'||to_char(0000014)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if pwd <> sms_secure.crypt('USR',usr_id,:logon.pwd) then
    sms_global.set_user_id(:logon.usr_id);
         update sms_users
         set login_failure_count = nvl(login_failure_count,0) + 1
         where id = usr_id
         :system.message_level := 15;
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Error'
    ,:logon.usr_id ||':'||:logon.pwd
    ,'Wrong user Password'
    ,:logon.usr_id
    ,'sms0000');
         commit;
         :system.message_level := msg_lvl;
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    else
         if fail_cnt > 0 then
         update sms_users
         set login_failure_count = 0
         where id = usr_id
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Correct'
    ,:logon.usr_id
    ,'Reset Failed count'
    ,:logon.usr_id
    ,'sms0000');
         :system.message_level := 15;
         commit;
         :system.message_level := msg_lvl;
    end if;           
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Correct'
    ,:logon.usr_id
    ,'Success'
    ,:logon.usr_id
    ,'sms0000');
    end if;
    if trunc(pwd_dt + pwd_dt_period) < sysdt then
         login_pwd_title;
    hide_an_item('logon.new_pwd1',1);
    hide_an_item('logon.new_pwd2',1);
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Expired'
    ,:logon.usr_id
    ,'Password use Expired'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password Expired. Please change password.';
    sms_code.error_message('SMS-'||to_char(0000004)||': '||error_message,'', 'E', 'SMS');
    end if;      
    sms_global.set_user_id(:logon.usr_id);
    :global.User := :logon.usr_id;
    validate_usr_profiles (:logon.usr_id);
    END;
    and my validate_usr_profiles is
    PROCEDURE validate_usr_profiles (i_usr varchar2) IS
    cnt number := 0;
    clnt_user varchar2(80);
    clnt_ip_addr varchar2(30);
    clnt_host_name varchar2(80);
    novell_user number;
    single_terminal number;
    found boolean;
    l_usr_id integer;
    BEGIN
    select count(*) ,usr.id
    into cnt,l_usr_id
    from sms_user_roles urol
    ,sms_users usr
    where user_id = i_usr
    and usr.id = usr_id
    group by usr.id
    if cnt = 0 then
         sms_code.error_message('SMS-'||to_char(0000020)||':No profiles have been granted.', '', 'E', 'SMS');
         exit_form;
    end if;     
    novell_user := sms_global.ref_code('SMS','NOVELL_USER',1,1);
    if novell_user = 1 then
         if lower(:global.clnt_user) <> lower(i_usr) then
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,i_usr ||':'||novell_user
    ,'Not Novell User'
    ,i_usr
    ,'sms0000');
              sms_code.error_message('SMS-'||to_char(0000019)||':User id not same as Host User.', clnt_user, 'E', 'SMS');
         end if;
    end if;      
    single_terminal := sms_global.ref_code('SMS','SINGLE_TERMINAL',1,1);
    if single_terminal = 1 then
         found := false;
         for c_uscon in (select * from sms_user_session_controls
         where usr_id = l_usr_id ) loop
         found := true;      
         if c_uscon.status = 0 then -- not logged on
         update sms_user_session_controls
         set status = 1
         ,status_date = sysdate
         ,computer_name = :global.clnt_host_name
         ,ip_addr = :global.clnt_ip_addr
         ,connections = 1
         where usr_id = l_usr_id
         commit;
         else
         if c_uscon.computer_name = :global.clnt_host_name
         and c_uscon.ip_addr = :global.clnt_ip_addr then
         update sms_user_session_controls
         set status_date = sysdate
         ,connections = connections + 1
         where usr_id = l_usr_id
         commit;
         else
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,c_uscon.computer_name ||':'||:global.clnt_host_name||':'||c_uscon.ip_addr||':'||:global.clnt_ip_addr
    ,'Multiple Session Failure'
    ,i_usr
    ,'sms0000');
              sms_code.error_message('SMS-'||to_char(0000021)||':User Logged onto computer ', c_uscon.computer_name, 'E', 'SMS');
         end if;
         end if;
    end loop;
         if not found then
              insert into sms_user_session_controls
              (usr_id,computer_name,ip_addr,status,status_date,connections)
              values
              (l_usr_id,:global.clnt_host_name,:global.clnt_ip_addr,1,sysdate,1);
              commit;
         end if;
    end if;      
    check_application_system;
    END;
    if there is more information you like from me ,you can ask
    my login_pwd_title sp is
    PROCEDURE login_pwd_title IS
    BEGIN
    set_item_property('logon.CHANGE_PWD',label,'Login & Change Password');
    END;
    and my perform_sdms_new_password sp ;
    PROCEDURE perform_sdms_new_password IS
    error_message varchar2(100);
    usr_id integer;
    fail_cnt integer;
    fail_limit integer;
    pwd_dt date;
    pwd varchar2(50);
    pwd_dt_period integer;
    pwd_history sms_users.pwd_history%type;
    sysdt date;
    pwd_length integer;
    pwd_special integer;
    pwd_numeric integer;
    pwd_alpha integer;
    pwd_list integer;
    o_aplha integer;
    o_number integer;
    o_special integer;
    new_pwd sms_users.pwd%type;
    prev_pwd sms_users.pwd%type;
    new_pwd_history sms_users.pwd_history%type;
    msg_lvl varchar(20) := :system.message_level;
    cursor usr is
    select id,pwd_change_dt,sysdate,pwd,pwd_history,login_failure_count
    from sms_users
    where user_id = :logon.usr_id
    --and   pwd     = sms_secure.crypt('USR',id,:logon.pwd)
    BEGIN
    set_clnt_details;     
    if get_item_property('logon.new_pwd1',visible) = 'FALSE' then
    hide_an_item('logon.new_pwd1',1);
    hide_an_item('logon.new_pwd2',1);
    else
    if :logon.usr_id is null then
         error_message := 'User id must be specified';
    sms_code.error_message('SMS-'||to_char(0000001)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.pwd is null then
         error_message := 'Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000002)||': '||error_message,'', 'E', 'SMS');
    end if;
    pwd_dt_period := sms_global.ref_code('SMS','PWD_PERIOD',30,1);
    fail_limit := sms_global.ref_code('SMS','PWD_FAIL_LIMIT',3,1);
    open usr;
    fetch usr into usr_id,pwd_dt,sysdt,pwd,pwd_history,fail_cnt;
    if usr%NOTFOUND then
    close usr;
              sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon'
    ,:logon.usr_id
    ,'Not SMS User'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Logon to SMS Denied';
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,' Password can only change after a successful logon', 'E', 'SMS');
    end if;
    close usr;
    if fail_cnt > fail_limit then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD'
    ,:logon.usr_id ||':'||fail_cnt||':'||fail_limit
    ,'Password retry limit exceeded'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'Password error limit have been exceeded contact the Administrator';
    sms_code.error_message('SMS-'||to_char(0000014)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if pwd <> sms_secure.crypt('USR',usr_id,:logon.pwd) then
         error_message := 'Logon to SMS Denied';
    sms_global.set_user_id(:logon.usr_id);
         update sms_users
         set login_failure_count = nvl(login_failure_count,0) + 1
         where id = usr_id
                        sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Error'
    ,:logon.usr_id ||':'||:logon.pwd
    ,'Wrong user Password'
    ,:logon.usr_id
    ,'sms0000');
         :system.message_level := 15;
         commit;
         :system.message_level := msg_lvl;
    sms_code.error_message('SMS-'||to_char(0000003)||': '||error_message,'', 'E', 'SMS');
    end if;
    if :logon.new_pwd1 is null then
         error_message := 'New Password must be specified';
    sms_code.error_message('SMS-'||to_char(0000005)||': '||error_message,'', 'E', 'SMS');
    end if;      
    pwd_length := sms_global.ref_code('SMS','PWD_LENGTH',6,1);
    pwd_special := sms_global.ref_code('SMS','PWD_SPECIAL',1,1);
    pwd_numeric := sms_global.ref_code('SMS','PWD_NUMERIC',1,1);
    pwd_alpha := sms_global.ref_code('SMS','PWD_ALPHA',1,1);
    pwd_list := sms_global.ref_code('SMS','PWD_LIST',24,1);
    if length(:logon.new_pwd1) < pwd_length then
         error_message := 'New Password must be of length ';
    sms_code.error_message('SMS-'||to_char(0000009)||': '||error_message,' ' || pwd_length ||' characters', 'E', 'SMS');
    end if;
    find_special(:logon.new_pwd1,o_aplha,o_number,o_special);
    if o_special < pwd_special then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000010)||': '||error_message,' ' || pwd_special ||' special characters', 'E', 'SMS');
    end if;      
    if o_number < pwd_numeric then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000011)||': '||error_message,' ' || pwd_numeric ||' numeric(s)', 'E', 'SMS');
    end if;      
    if o_aplha < pwd_alpha then
         error_message := 'New Password must contain at least ';
    sms_code.error_message('SMS-'||to_char(0000011)||': '||error_message,' ' || pwd_alpha ||' alphabetic charater(s)', 'E', 'SMS');
    end if;      
    if :logon.new_pwd1 = :logon.pwd then
         error_message := 'New Password can not be the same as old password';
    sms_code.error_message('SMS-'||to_char(0000006)||': '||error_message,'', 'E', 'SMS');
    end if;      
    if :logon.new_pwd1 <> nvl(:logon.new_pwd2,:logon.pwd) then
         error_message := 'New password are not equal values - retry';
    sms_code.error_message('SMS-'||to_char(0000007)||': '||error_message,'', 'E', 'SMS');
    end if;      
    for i in 1..pwd_list loop
         if utility.get_field(i,pwd_history||'~~','~') is null then
              exit;
         end if;
    prev_pwd := sms_secure.decrypt('USR',usr_id,utility.get_field(i,pwd_history,'~'));
         if :logon.new_pwd1 = prev_pwd then
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Used'
    ,:logon.usr_id
    ,'Password have been used'
    ,:logon.usr_id
    ,'sms0000');
         error_message := 'New password was found in history list - retry';
    sms_code.error_message('SMS-'||to_char(0000012)||': '||error_message,'', 'E', 'SMS');
    end if;           
    end loop;
    new_pwd := sms_secure.crypt('USR',usr_id,:logon.new_pwd1);
    new_pwd_history := utility.put_hash(pwd_list,'~');
    for i in 1..pwd_list loop
         new_pwd_history := utility.put_field(i+1,utility.get_field(i,pwd_history,'~'),new_pwd_history,'~');
    end loop;
    new_pwd_history := utility.put_field(1,new_pwd,new_pwd_history,'~');
    update sms_users
    set pwd = new_pwd
    ,pwd_history = new_pwd_history
    ,pwd_change_dt = sysdate
    where user_id = :logon.usr_id
                   sms_alog.record(:global.clnt_user
    ,:global.clnt_host_name ||':'||:global.clnt_ip_addr
    ,'Logon - PWD Change'
    ,:logon.usr_id
    ,'Success'
    ,:logon.usr_id
    ,'sms0000');
    commit;
    sms_global.set_user_id(:logon.usr_id);
    :global.User := :logon.usr_id;
    validate_usr_profiles (:logon.usr_id);
    end if;
    END;
    i hope this will make it clear of what am trying to achive your help will be appriciated
    Edited by: user603350 on 2012/01/04 10:48 AM

    On your login page have 2 fields for username and password. On the button click call a AM Impl method which calls your above procedure passing the required fields.
    This is the way you can call a prodecure/function from AM IMPL
    cstmt = getDBTransaction().createCallableStatement("{call pkg.procedurename(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}", getDBTransaction().DEFAULT);

  • Oracle Forms Installation Problem

    I am trying to install Oracle Forms Server on my computer but when I get part way into the installation I get the error message that I must stop all Oracle Services and Applications using NET8 for the NET8 installation to be successful. All my Oracle are services are stopped and I am unable to complete the installation.
    Can anyone help?

    Hi!
    The PC which I was trying to install already Windows XP and Oracle 9i got installed. Then I was trying to install Forms6i. First I clicked the Forms6i installer and then selected the required products(I was trying to install thru custom) and then clicked 'Install'. Thats all everything disappeared. I again tried the same procedure, but everytime after I select the products and click the 'Install' nothing I could see.
    I found in some forums that for Windows XP, I need to patch Patch13 or above. But without installing Forms6i how I can patch the Patch13? I found one more solution from forums that I need to reinstal Oracle9i(Oracle9i has to be installed after installing of Forms6i,preferably in a separate drive than Forms6i). As my user has time restriction I can't do this.
    I am not sure these two solution may really workout or not. So can anybody help me, what I should do now? How to install Forms6i without deinstalling Oracle9i.
    Thanks in advance

  • Oracle Forms - Inconsistent problem

    Hi,
    We have a Oracle Forms application running on Oracle 10g server.
    Recently we are facing a strange issue in one of the Forms where data entered is getting saved as empty.
    Form has three fields which maps to three columns of a same table - One column is of LONG DataType.
    Data entered in first two columns is getting saved correctly but data entered for LONG is getting saved as empty.
    Since this column holds long text, we allow the user to enter upto 4000 chars.
    When this issue was raised, we didn't find anything wrong in the coding and also this form was working fine for more than a year without untouched.
    After lot of analysis we found that this issue is occuring after backup activity every month using Recovery Tool in that server.
    This issue in our application gets resolved once the application server is restarted which is very strange.
    Again after following months backup, we get this issue again.
    During the issue occurence this is wat we see... Empty information is getting stored if the no. of characters entered by user is more than 1300+ whereas this issue doesn't occur if the text entered is below 1000. One more interesting thing, the text with 1300+ characters will get saved if it is tried again without moving out of the page.
    This issue is occuring for only one table and no other table which allows long text get this issue.
    Is this issue is due to possibility of some buffer size, so that text greater than a limit is getting replaced with empty string?
    Can a backup activity bring in inconsistency to a particular table?
    If someone has any ideas/solutions/suggestions, pls reply to this post.
    Regards,
    Ravi

    Would you please explain what backup activity every month using Recovery Tool is and where it's performed?!? Also you missed mentioning full forms and database versions. And last but not least: why are you using LONG columns when you let the user enter just 4000 characters? You can store 4000 BYTES in the database using a VARCHAR2(4000); In singlebyte characterset databases this means you can store 4000 characters; in multibyte characterset databases this would mean you can store up to 4000 characters (as one character can use from 1 to 3 BYTES and the maximum for a varchar2 column is 4000 BYTE).
    If you are on a singlebyte characterset you simply could use a VARCHAR2(4000) instead of your LONG and thus your life would get much simpler. And as LONGs are deprecated you should consider using LOBS (CLOB) instead of LONG. What code are you using to post your LONG data?
    cheers

  • Form login problem in Oracle 10g AS, even form does display

    Dear All
    We are facing one problem, when we access form with oracle 10g AS, the form is displayed, but when we enter username and password, it doesnt go to the other screen, it remains hang there and doesnt do any thing, neither give any error.
    we would appreciate the help.
    thanks in advance

    Sounds like you cannot connect to the database....
    Is there a firewall between the app-server and the database? If yes, could you check with your firewall people that all traffice from db-server is allowed to app-server (from app-server to db-server just 1521, or another port that you used for the listener, is enough)
    If not all traffic is allowed, then check the USE_SHARED_SOCKET environment variable (this is the windows name, there is a setting like this for unix too, but I can't recall the exact name by heart. It might be different)

  • Oracle Messenger - Login Problem

    <p>
    I am using Oracle Collaboration Suite. All components of RTC are working fine except Messenger. Actually, I cannot log in Oracle Messenger.
    At startup of Oracle Messenger following error is shown.
    <strong>{color:#000080}Configuration File Error.
    {color}</strong>{color:#ff0000} XML error on line number 1 because of Required white space was missing.
    {color}
    As I click OK button on error box, another error is shown after login attempt as follow.
    <strong>{color:#000080}Username sign in. Sign in failure.
    {color}</strong>{color:#ff0000} Unable to connect to the server, please try again later
    {color}{color:#000000}Can anybody help me to find the exact problem?
    Regards,
    Sami{color}
    </p>
    Edited by: Samiullah Niazi on Oct 29, 2008 4:43 AM

    I am providing same credentials which are working for other components of OCS. In every component I am able to login but this Messenger doesn't allow me to sign in :-(

  • Adf swing form login problem (Frank, look at this please)

    Hi All. I'm using JDeveloper 10.1.3
    Can anybody please give me a clue on how to create a simple stand alone adf swing form with a login dialog and the oracle jaas authentication?
    For me this kind af appllications works well only in design time :(. When i try to launch my generated .jar application the login dialog does appear but the authentication
    doesn't work "incorrect username or password".
    So i think i followed all the instructions from jDeveloper online help concerned with generating a login dialog... but my application still doesn't work properly after deployment.
    Please somebody look at what i've done and tell what is wrong.
    1. I created an adf swing form with a login dialog.
    2. I set the jbo.security.enforce property for my application module to Must.
    3. I added to my application a dialog for adding, removing and modifying application users via oracle.security.jazn api.
    4 I tested my appllication in Jdeveloper. It works great! I even added a number of application specific default users via my application.
    5. I assured myself that the oc4j security library has been added into the adf/swing project as well as into the deployment profile.
    6. I deployed my apllication to a .jar file.
    7. I created "config" folder inside the directory where the.jar file has been dropped. I copied there the following files: jazn.xml and system-jazn-data.xml (the last one file includes all my previously created principals) from /jdev_home/j2ee/home/config.
    8. Now when i start the application the login dialog appears as i've mentioned but authentication doesn't work.
    I found only one similar topic over the whole forum:
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=665430
    but what i've done seems to meet all Frank's advices.....
    Oracle staff please dont ignore my post.
    Thanks in advance.
    Edited by: Timin on Jun 22, 2009 11:58 PM

    Hi, rob nice to learn that i'm not the only one stumbled over this issue.
    Hope that this question will be finally answered...
    ...just a few additional comments.
    1. It appears that the position of the jazn.xml and jazn-data.xml files pointed in the documentation (config subfolder of the root .jar's folder) is right for if i rename or delete the jazn.xml it runs into the error: jazn configuration file not found, but nevertheless it works strange, it looks like it doesn't use the mentioned files at all....given the fact the i've already spent a number of days experimenting and looking for a solution i learned that after a first startup the files mentioned above (jazn.xml and jazn-data.xml) are modified in some way that prevents using them on another oc4j server instance (if i have i.e. another jdeveloper instance, i cant run and go through authentication in my application by simply coping the old jazn.xml and system-jazn-data.xml files into the /jdev_home/j2ee/home/config
    folder...instead i need to copy a pure "initial" jazn.xml file from the initial jdeveloper archive) ... something like the thing mentioned here:
    http://radio.weblogs.com/0118231/stories/2007/05/08/jdeveloperadf11gTechnicalPreviewTipsAndTricks.html
    also i noticed that if there is no system-jazn-data.xml file in the config folder it is created automatically after a first startup...so when i tried to delete the system-jazn-data.xml file from my deployed application's folder it would't create a new one though it saw the jazn.xml file (since no "jazn configuration file not found" error had ever appeared)...i also tried to place "pure" copies of jazn configuration files in my config subfolder but of course it would give no effect.
    2. i also changed the login.module.provider as well as the auth.policy.provider properties in the java.security file as documentation sais - no effect.
    So it would be great if Frank gave us a direct link to the white paper he was working on (and i hope had finished :) few years ago....or even better gave me the simpliest example of a finished adf swing application with authentication implemented.
    [email protected]
    ps. we know it's really really time consuming answering all questions but considering the lack of documentation on adf swing technology i hope we can rely on your help here.
    thanks.

  • Oracle Forms 9 Problem

    I am learning forms with Oracle 9i and have run into a problem.
    The following code runs just fine in a Save Button with a WHEN
    -BUTTON-PRESSED trigger that inserts a record from a stacked single
    record block (does not allow updates or deletes from it).
    DECLARE
    edit_alert alert;
    show boolean := false;
    message varchar2(150) := 'You Must Fill the Following Fields:';
    choice number;
    BEGIN
    IF :add_region.region_id IS NULL THEN
    show := true;
    message := message || CHR(10) || '----- Region Id';
    END IF;
    IF show = true THEN
    edit_alert := Find_Alert('EDIT');
    set_alert_property(edit_alert, ALERT_MESSAGE_TEXT, message);
    choice := show_alert(edit_alert);
    ELSE
    insert_record;
    commit;
    clear_block;
    go_block('regions');
    END IF;
    END;
    But when I try to use the following trigger on a Save button which is
    almost identical on a table canvas with a multi-line block that allows
    queries, updates and deletes...it basically skips the IF....IS NULL
    section because the show never turns true and the alert never fires so
    it automatically trys to update the record, but fails because of the
    null value. It works perfect if the item is not null and gets inserted.
    I figure that it has something to do with :regions.region_id within a
    multi-line block and the if statement not knowing the current record.
    I have searched and searched for a solution with no luck. Can anyone
    help?
    DECLARE
    edit_alert alert;
    show boolean := false;
    message varchar2(150) := 'You Must Fill the Following Fields:';
    choice number;
    BEGIN
    IF :regions.region_id IS NULL THEN
    show := true;
    message := message || CHR(10) || '----- Region Id';
    END IF;
    IF show = true THEN
    edit_alert := Find_Alert('EDIT');
    set_alert_property(edit_alert, ALERT_MESSAGE_TEXT, message);
    choice := show_alert(edit_alert);
    ELSE
    update_record;
    commit;
    END IF;
    END;
    I appreciate any time and help....
    Michael

    You say the forms don't work that waySteve said standard forms don't work that way. Your teacher may want to see working programs but (s)he might put more emphasis on your understanding of the forms environment, in which case using standard practices would be best. It's better to be standard in the real world too, although sometimes you really do just have to get something to work before a deadline.
    As an example of non-standard practices being bad, consider your idea of having validation/committing in a button. This is Ok as long as the user always presses the button but there are other ways to commit the data, such as closing the form, executing a query or navigating to a new record in a master block. That validation code will not run in those circumstances. Always use a when-validate-* trigger or the property pallette for validation.
    Your on-error trigger is also bad. Firstly, do you know why it is firing? Is it because there's a not-null restriction on the region_id item and a null value in the field? If it's firing for any other reason, such as because there is a duplicate record or the database has shut down, then the user will never know because you're overriding standard functionality. If it is firing because of the not-null restriction then a user who does put a value in there will not have their country_id checked at all.
    There may be other reasons as well but the on-error trigger is certainly firing because you're calling the update_record procedure in a button. That built-in is only allowed in an on-update trigger (it's annoying that forms will compile with errors like this but that's just the way it is). This will only cause it to fire once, so only the current record will be validated.
    Your foreign key integrity check is wrong. You're usingWHERE UPPER(country_id) = UPPER(:locations.country_id);so if I enter FranCe and FRANCE is on the database the program will not see a problem. That's Ok as long as throughout the system you refer to upper(country_id), but this will negate an index on that column so should be avoided. The standard method is to use an LOV and to set the item to 'Validate from List = true' (property pallette). Also, it's very rare to validate an item other than in its own when-validate-item trigger. The exception is paired items such as the start/end of a date range, where one date must precede the other and it's more user-friendly to validate both fields together.
    I can't see why the "if...is null" won't work in the WVR trigger, but if you use standard practices throughout the form and that is the only problem then you're much better off than now.
    For the path, use "get_form_property(<module_name>,file_name)" and strip off the <module_name>.fmx part. It seems you have a valid reason for not being standard here (using environment variables) so that's Ok ;-). Good luck with the assignment.

  • Oracle Report Printing problem

    Dear All,
    i m using below code on button in oracle forms 6i problem is that when i click on button report should be print
    on network printer but it's print blank page however network printer is not my default printer when i set default printer
    to this network printer its working fine.
    and also its working when i set mode=character and network printer is not default printer but when i set mode=default or bitmap and notwork printer is not default then its print blank page.
         DECLARE
              p_list     PARAMLIST;
         BEGIN
         p_list := get_parameter_list('importdata');
         IF NOT Id_Null(p_list) THEN
    Destroy_Parameter_List('importdata');
         END IF;
              p_list := Create_Parameter_List('importdata');
              Add_Parameter(p_list,'P_IGM_NO',TEXT_PARAMETER,'10117/11');
              Add_Parameter(p_list,'P_INDEX_NO',TEXT_PARAMETER,'498');
              Add_Parameter(p_list,'P_CHR_NO',TEXT_PARAMETER,'CL-APL100/011');
              Add_Parameter(p_list,'P_CONTAINER_NO',TEXT_PARAMETER,'APHU6305929');
              Add_Parameter(p_list,'P_USER',TEXT_PARAMETER,'ALI');
              Add_Parameter(p_list,'P_BAL_QTY',TEXT_PARAMETER,0);
              Add_Parameter(p_list, 'PARAMFORM', TEXT_PARAMETER, 'NO');
              Add_Parameter(p_list,'DESTYPE',TEXT_PARAMETER,'PRINTER');
         Add_Parameter(p_list,'DESNAME',TEXT_PARAMETER,'\\192.168.1.67\epson');
         RUN_PRODUCT(REPORTS,'\\ORASERV\Atlas6I\Import\System\Reports\abc.rep',
         SYNCHRONOUS,
         RUNTIME,
         FILESYSTEM,
         p_list,
         NULL);
         END;

    i have made one oracle 6i reports. its is quite wide.when i run the report it shrink into too small font.
    and i increse it font size it by pressing + button on menu bar it looks okay.
    >
    The + button only causes a zoom in on the screen. It is not affecting the actual layout.
    >
    but the problem is that when i take print out of it ,it's printout comes in its intial format(in small font) evenif i choose different type of paper size or different orientation . it's printout is coming in too small font.
    pl tell me how to overcome this problem>
    The report rendering engine tries to fit the report page into the physical page size. This results in shrinking of font size,etc.
    To fix
    a) reduce the content on the report to something reasonable for printing.(Std paper sizes and orientation)
    b) change the page size selection. Of course, you will need a printer and paper of the size you set.
    Cheers,

  • Errors in Execute Oracle Forms and Reports

    Hello for all. I have several problems trying to execute Oracle Forms and Oracle Reports on version 10g. In Oracle Forms the problem is: Message file orms\msg\fmcus.msb not found and this file I've got it inside of file /forms.
    With Report says to me:
    Error. AppName:rwbuilder.exe, AppVer:10.1.2.0, ModName:ca.dll, ModVer:10.1.2.0, Offset:0001d168

    MichaelFerrante,Thank you for your help.
    I have already used the HS services to connecto to external databases from our main Oracle database, and the solution works fine.
    But unfortunally for this particular client he cannont have installed a Oracle database due to internal policies restrictions.
    I can not migrate the full application to another technology like ADF in less than 6 or 8 months.
    Do you thifnk that there is any other solution?
    Mensagem editada por: user10660669

  • Make file directory from Oracle form (web)

    Hi,
    I'm using WebUtil to upload files to server thru Oracle form, my problem is if the file directory doesn't exist, how do I have it made at run time?
    Thanks,
    Jess

    You could use the HOST built in to create the directory with a CMD prompt
    e.g.
    HOST('cmd /C mkdir "'||directory_name||'"', NO_SCREEN);
    Don't forget the "'s incase the directory name has spaces in it.

  • Oracle 10g express edition browser login problem

    Hi
    I installed oracle 10g express edition and after installing successfully logged in browser , unlocked hr login and also created one form then I shutdown the database and rebooted my pc and since then when I try to login to "go to Database Home page" after starting database , I get a cookie 127.0.0.1 with username and password, First of all I am not sure what username/password it is expecting, I believe it requires my Windows XP username and password , I tried to enter couple of times my pc login username which has administrator privileges, I also checked it has ora_dba group but after entering pc username , password browser opens saying "unauthorized". I created another os user and tried with that still same. I tried entering oracle password "SYSTEM" and password for it but still could not login, I tried HR username password still nothing.
    I tried disabling firewall but still same issue. I tried to re-install two time but still same .
    Start database dos prompt does show all the process are started successfully .
    I also did ping for 127.0.0.1 and it does ping.
    I tried everything what I knew.
    Can anyone please help me ..to resolve this issue .

    Hi
    This is how I resolved the browser login problem .
    I checked the listener log
    C:\OracleXE\app\oracle\product\10.2.0\server\NETWORK\log
    And found the error
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in use
    I have another version for oracle installed on my pc .
    I ended both the oracle process (Oracle.exe) through the Task Manager
    Then manually started “OracleServiceXe” service through Component Services
    Control Panel – Performance & Maintenance – Administrative – Component Services
    Then did following
    Programs – Oracle Database10g ExpressEdition – Start Database
    Programs – Oracle Databse10g ExpressEdition – Go to Database Homepage –
    Enter username SYSTEM
    Enter password xxxxxx … whatever given at the time of installing.
    And I did successfully login to the browser .
    Hope this will help to those of you who have run into similar problem which I faced
    Good Luck .
    A. Patil

  • Oracle forms in APEX  problem

    Hi all,
    I have called oracle forms into my oracle apex application through iframe but having few problems.
    Sometimes oracle forms in  iframe region got stuck and then not work any more and if I logout from apex and login again it still in that stuck position.
    I don't no what to do now.
    I am thinking that it is reading from cache and i tried to close browser and clear cache and then login it still in that position.
    I want that whenever oracle forms are called it, does not read cache and run from scratch.
    Any solution guys.....
    Thanks

    You should check this link:
    https://apex.oracle.com/pls/apex/f?p=31517:95
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494

Maybe you are looking for