New to Oracle - Ques. about globals.jsa

Hi,
I'm trying to put together a simple web application (JSPs only) to run under Oracle 9i. For this application, I need to maintain a persistent variable among all users and sessions (we would set the variable initially, once, via our app, and the variable would be available to all of our JSPs).
I guess with other containers, I would use ServletContext, but I understand this is not supported in Oracle, and I may need to use globals.jsa instead.
This is a simple requirement I think, and I think I actually have it working, but just want to check if I'm doing things correctly.
What I have so far is a globals.jsa in my apps home directory:
<%-----------------------------------------------------------
Copyright © 1999, Oracle Corporation. All rights reserved.
------------------------------------------------------------%>
<event:application_OnStart>
     <jsp:useBean id="myvar" class="oracle.jsp.jml.JmlString" scope = "application" />
</event:application_OnStart>
<event:application_OnEnd>
     <jsp:useBean id="myvar" class="oracle.jsp.jml.JmlString" scope = "application" />
</event:application_OnEnd>
<event:session_OnStart>
     <%-- Acquire beans --%>
</event:session_OnStart>
<event:session_OnEnd>
     <%-- Acquire beans --%>
</event:session_OnEnd>
And, in my JSPs, I add:
<jsp:useBean id="myvar" class="oracle.jsp.jml.JmlString" scope = "application" />
Then, I access the 'global' variable:
To retrieve: String s = myvar.getValue();
or
To update: myvar.setValue("whatever");
Like I said, this seems to be working, but I'm just checking. I'm kind of unclear about what I have in the globals.jsa itself. Is what I have above correct?
Thanks,
Jim

Jim, I am not sure if I have ever used globals.jsa or not. However, if you got it working, then it is working. Please take a look at the documentation "chapter 9, Oracle JSP in Apache JServ" in
Oracle9i Support for JavaServer Pages Reference
Release 2 (9.2)
Part Number A96657-01
Current url is http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96657/apjsvsup.htm#1015160
Any particular reason that you are trying to use globals.jsa as of now?! Please note the j2ee aspect in the Oracle java product has been moved forward enormously. For a minor example, globals.jsa is not longer supported in later releases. It was only a mechanism for implementing the JSP specification in a servlet 2.0 environment as Web applications and servlet contexts are not fully defined in the servlet 2.0 specification. Since we have passed year 2002, there is no reason to support globals.jsa.
Please have fun trying oc4j 10.1.2 production or oc4j 10.1.3 developer preview.

Similar Messages

  • Forms installation problem - how do I create a new default Oracle home?

    I am new to Oracle so please forgive my utter ignorance. My impression of Oracle because of how an installation
    has to be done is taking a nosedive. I thought Microsoft was bad with all the re-booting but the explanation that I
    read in Anubhav Seth's post about installing Dev 6i before 8i and the suggestion (not a requirement) to format the
    harddisk and reinstall Windows just leaves me with my jaw hanging open. I'm having a little trouble swallowing that
    one.
    Here's my situation... I'm running 8i at home and I am using it for the Oracle courses that I am taking at a local
    university. So 8i with its SQL*Plus has been all I have needed to date. Now we have a project to do that involves forms.
    So I go to the OTN page for downloads and downloaded file 6irel2nt.exe which is 264 MB in size. This file, I assume,
    has forms in it -- what else I don't know because things are not explained all that well on the web site or I don't know
    where to look (which implies poor organization of the web pages).
    I run the 6irel2nt.exe file and end up with 11,128 new files on my computer. That's nice. I run the setup file and a step or
    two into it it complains that my 'Ora81' home is already being used and that I need to install it into another Oracle Home.
    Now I'm trying to find out how I create another Oracle Home. I perform a search in GOOGLE on "creat default Oracle
    home" and basically get nowhere. My $50+ "Oracle 8i A Beginner's Guide" from Oracle Press mentions Oracle Home
    on one page (pg. 170) but is completely useless in this case. My $184 worth of Oracle University manuals (which
    are really PowerPoint slides) is useless too. My next step will be to comb through the FAQs. All this because I cannot
    believe that I have to totally uninstall one product to get another to install and then reinstall the first one. That is INSANE!
    If I have gone way off track please feel free to blast me but if this is true then all I can say is that the folks at Oracle need
    a lesson in KISS (Keep It Simple Stupid)! Computers and computer software are supposed to make our lives simpler
    not complicate the holy hell out of them. I'll get off my soapbox now. Sorry about the whining.

    I ended up uninstalling 8i and then I installed Dev 6i (Forms) and then I reinstalled 8i. I had some problems
    installing Dev 6i because of this error "path.vrf(86): Unbound variable 'path_too_long_prompt'". Right after this error
    appears I get a dialog that states, "The Oracle Installer cannot update the system path variable to %new_path%
    because it is too long. Please restrict your system path to 127 characters and make sure D:\Oracle\OraWin95\bin
    is included in your path."
    The path D:\Oracle\OraWin95 was what I set up for this installation.
    What I did to work around this problem was this...
    (1) Go to Start - Accessories - System Tools - System Information.
    (2) Click on the Tools menu
    (3) Select System Configuration Utility
    (4) Select the Autoexec.bat tab
    (5) I added D:\Oracle\OraWin95\bin to my PATH variable and unchecked the checkbox next to one of the several
    lines that I have that build my PATH variable. (I have several PATH lines that simply add a path to the system
    variable %path%). After the installation is complete you can go back and turn back on the paths that you had disabled.
    After installing 8i I did have a problem connecting to the database. I got this error:
    Error: ORA-01034 Oracle not available
    I believe this happened because I had forgotten to turn back on some of my PATH information that I mentioned
    earlier. After checking one of my PATH variables and rebooting, this problem disappeared.
    When reinstalling 8i and when the installation asks for an SID and you enter the SID you had used in the original
    installation you may get a notice that says the SID already exists. I think this happens because the uninstall does not
    clean up the registry totally, so I entered a different one. Later on, after the installation has been completed and you
    are connecting to your database, you will be prompted to select an SID -- just make sure that you select the SID from
    the latest installation.
    I should've mentioned first that in preparing for this whole ridiculous exercise I created a directory under my Oracle
    directory that I was going to use as the new 'Oracle home.' So I guess that's all one has to do to create a new Oracle
    home -- just have another directory ready to install 'stuff' into.
    All in all, this a pretty asinine exercise. Oracle really needs to fix this mess. I honestly thought Microsoft was bad but
    this takes the cake. I wonder if SQL Server is this screwed up.

  • (V9I) ORACLE 9I NEW FEATURE : ORACLE FLASHBACK

    제품 : ORACLE SERVER
    작성날짜 : 2002-11-01
    (V9I) ORACLE 9I New Feature : ORACLE FLASHBACK
    ==============================================
    PURPOSE
    Oracle9i 새로운 기능인 Flashback 의 등장으로 Commit 된 Transaction 에 대해
    특정 시점의 과거 DATA를 Query가 가능함으로써 Self-service repair 기능이 향상되었다.
    다음 Flashback query 기능과 Setup 방법 및 실제 Data Recovery 에 관한 내용에 대해 알아보도록 한다.
    Explanation
    Flashback : 새로운 기능인 Flahback 은 과거 시점의 consistent view 를 볼 수있는
    기능으로 system time or systme change number(SCN) 기반 read-only view이다.
    다음은 Flashback 기능을 사용하기 위해 미리 설정해야할 부분에 대해 알아보도록 한다.
    1) 반드시 Automatic Undo Management 에서만 가능
    (initSID.ora file이나 spfile에 다음 파라미터가 auto로 설정)
    UNDO_MANAGEMENT = AUTO
    2) Rentention interval 을 두어 해당 time 동안은 inactive rollback 이라 하더라도
    overwrite 되지 않도록 유지(초단위)
    SQL> ALTER SYSTEM SET undo_retention = 1200;
    UNDO_RETENTION 을 지정한 다음 실제 적용을 위해 5분정도 기다려야 한다.
    3) DBMS_FLASHBACK package를 이용하여 Flashback 기능을 enable 시킨다.
    SQL> call dbms_flashback.enable_at_time('9-NOV-01:11:00:00');
    Example1. Flashback setup 과 date/time 설정
    1) Undo tablespace 생성
    SQL> create undo tablespace UNDOTBS datafile
    '/database/901/V901/undotbs01.dbf' size 100M;
    2) intiSID or spfile 에 다음 파라미터 적용
    undo_management=auto
    undo_retention=1200
    undo_tablespace=UNDOTBS
    3) dbms_flashback exeucte 권한 grant
    SQL> connect / as sysdba
    Connected.
    SQL> grant execute on dbms_flashback to testuser;
    Grant succeeded.
    4) test table 생성
    SQL> connect testuser/testuser;
    Connected.
    SQL> create table emp_flash as select * from scott.emp;
    Table created.
    SQL> select count(*) from emp_flash;
    COUNT(*)
    15
    5) table 생성후 5분 정도 waiting -> table delete
    SQL> delete from emp_flash;
    15 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from emp_flash;
    COUNT(*)
    0
    6) flashback 활성화
    SQL> execute DBMS_FLASHBACK.ENABLE_AT_TIME(sysdate - 5/1440);
    PL/SQL procedure successfully completed.
    SQL> select count(*) from emp_flash;
    COUNT(*)
    15
    SQL> execute DBMS_FLASHBACK.DISABLE;
    PL/SQL procedure successfully completed.
    SQL> select count(*) from emp_flash;
    COUNT(*)
    0
    Example2. Flashback 으로 잃어버린 data recovery
    1) test user 생성
    SQL> connect testuser/testuser;
    Connected.
    SQL> create table emp_recover as select * from scott.emp;
    Table created.
    SQL> select count(*) from emp_recover;
    COUNT(*)
    15
    2) delete table
    SQL> VARIABLE SCN_SAVE NUMBER;
    SQL> EXECUTE :SCN_SAVE := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER;
    PL/SQL procedure successfully completed.
    SQL> PRINT SCN_SAVE
    SCN_SAVE
    6.4455E+12
    SQL> select count(*) from emp_recover;
    COUNT(*)
    15
    SQL> delete from emp_recover;
    15 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from emp_recover;
    COUNT(*)
    0
    3) flashback 이용한 data recover
    SQL> DECLARE
    2 CURSOR FLASH_RECOVER IS
    3 select * from emp_recover;
    4 emp_recover_rec emp_recover%ROWTYPE;
    5 begin
    6 DBMS_FLASHBACK.ENABLE_AT_SYSTEM_CHANGE_NUMBER(:SCN_SAVE);
    7 open FLASH_RECOVER;
    8 DBMS_FLASHBACK.DISABLE;
    9 loop
    10 FETCH FLASH_RECOVER INTO emp_recover_rec;
    11 EXIT WHEN FLASH_RECOVER%NOTFOUND;
    12 insert into emp_recover
    13 values
    14 (emp_recover_rec.empno,
    15 emp_recover_rec.ename,
    16 emp_recover_rec.job,
    17 emp_recover_rec.mgr,
    18 emp_recover_rec.hiredate,
    19 emp_recover_rec.sal,
    20 emp_recover_rec.comm,
    21 emp_recover_rec.deptno);
    22 end loop;
    23 CLOSE FLASH_RECOVER;
    24 commit;
    25 end;
    26 /
    PL/SQL procedure successfully completed.
    SQL> select count(*) from emp_recover;
    COUNT(*)
    15
    Reference Document
    Note. 174425.1
    Note. 143217.1
    Note. 179851.1

    I 'm sorry I can not offer the correct figure since I'm an easy-to-forget guy.
    Below is extracted from other's post. wish it helps.
    Oracle Security Server ---> 2 questions
    High Availability Technology ---> 4 questions
    LogMiner Enhancements -> 1 question
    Backup & Recovery Enhancements ---> 3 questions
    Data Guard ---> 3 questions
    Resource Manager Enhancements ---> 2 questions
    Online Operations Enhancements ---> 3 questions
    Segment Management (Part I) ---> 4 questions
    Segment Management (Part II) ---> 3 questions
    Performance Improvements ---> 4 questions
    Scalable Session Management ---> 2 questions
    Real Application Clusters ---> 2 questions
    File Management ---> 4 questions
    Tablespace Management ---> 4 questions
    Memory Management ---> 3 questions
    Enterprise Manager Enhancements ---> 2 questions
    by the way, I just found an enthusiast (roxylo
    ) posted a book about the 9i new features. It surely will help

  • Am New To Oracle WorkFlow.

    Hi All,
    m new to oracle workflow,i have no idea about workflow software that should install before practise on my personnel computer.i already install oracle DB 10g,forms 10g,plz told me wut i should install for workflow so i can do practice of workflow.
    plz help me

    Pl see this thread
    WorkFlow Training
    HTH
    Srini

  • New to Oracle DBI

    Hi,
    I'm kinda new to Oracle DBI but so far i manage to understand the concept and what it can do. I'm currently in a process of learning and there are a few things that i need to know about implementing DBI. What i would like to know is does implementing DBI requires AIM documents like for example BP 080 or BR030.
    Thanks

    For the standalone version of Oracle Workflow, see the software requirements in the the installation notes for the
    version you want, such as the Oracle Workflow Server Installation Notes for WF 2.6.2 bundled with 9iDB R2:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a96643/toc.htm
    and the Oracle Workflow Client Installation Notes for the same release:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/workflow.920/a96644/toc.htm
    For the version embedded in Oracle Applications, Workflow is included in the Apps installation. See the
    Oracle Applications installation guide for details.
    Regards,
    Clara
    I am new to Oracle workflow. Could any one please let me know what and all software(including database) should I download to run a sample workflow project.
    Thanks,
    Anil.

  • How to publish - Circular / News - all oracle portal users

    Dear friend,
    I am new to Oracle Portal,
    want to design two pages
    one contains about news about our organization or any new updates everyday or week those will be updated here
    another one page contains about circular for all our portal users
    anyone help with details, will be appreciated
    Thanks in advance
    Regs...
    selvan
    [email protected]

    Can you do with wikis? http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10149/content_wikis.htm#WCSUG7207
    If not, take a look also here: http://www.oracle.com/technetwork/middleware/ias/index-089317.html or at discussion in this thread: Re: Metadata through user input from portal application while new check In

  • Hi to all (Problems for new to Oracle)

    Hi everybody,
    Thanks in advance.
    Actually I know SQL Server/MySQL.
    I am new to Oracle.
    I want to enter in this field.
    Do I expect more problems regarding SQL/PLSQL???????

    For a good overview of PL/SQL, which you don't really have an equivalent of in MySQL or SQLServer you might want to have a look at Mastering Oracle PL/SQL by Connor McDonald. It's clear and reasonably straightforward.
    Also, if you're looking to learn, download Oracle XE, it's a first class training database and totally free, available for Windows and Linux. It's missing a few things, like a JVM, but mot of the power of 10g is there. You can get it via otn.oracle.com/xe. It's still in beta (very stable), the production release shoul be out by the end of the month.
    Tom Kyte, as the previous poster suggested, is widely regarded as the one of, if not the leading Oracle Technology guru, and all his books are excellent, but they are also daunting if you're just starting into Oracle (in fact, they're still daunting). Have a look at asktom.oracle.com, and if you feel comfortable with the solution discussions, then get the credit card out and start buying, you'll never get a better understanding of the database.
    Don't forget about the Oracle library itself
    http://www.oracle.com/technology/documentation/database10gr2.html
    All Oracle documentation is published here, free. Good luck!

  • Globals.jsa application object problem

    Hi...
    I have tried the following code:
    <event:application_OnStart>
    String str = "test";
    application.setAttribute("str",str);
    </event:application_OnStart>
    in the globals.jsa and I get a method not found for the setAttribute method, can anyone help ? My environment is iAS (win)

    try to launch cmd.exe /C
    it has help me to quit fine cmd...
    Tell me,
    Buddy20x
    www.buddy20x.com
    > Hi-
    >
    > I have an application object that points to a batch file. The batch
    file
    > basically just does a map del, map, sets a few variables and then calls
    a
    > Cobol executable. This works fine under NT4.
    >
    > However, on XP, the first time I click on the application object, the
    dos
    > box opens and hangs after the map command, but does map the drive (can
    be
    > seen through explorer). The second time I click on the object, it now
    > works and the cobol program loads. (because the drive is now already
    > mapped)
    >
    > If I put a pause in the batch file after the map command, everything
    works.
    > So, the problem seems to be some sort of timing issue with getting the
    > network drive mapped or having it visible to that ntvdm/cmd.exe session.
    >
    > Also, if I don't use the application object and just click directly on
    the
    > batch file, it works fine on XP ??
    >
    > What is it about the application object calling the batch file and
    loading
    > cmd.exe that could cause such a problem? We lock down our users so they
    > can't run files/programs directly so I have to give them an application
    > object to start this app?
    >
    > Any ideas?

  • How to do it? Need help in syntax - new to Oracle syntax

    create or replace
    PROCEDURE "SP_SAMPLE_data" (prodName in VARCHAR2) AS
    where_criteria char(100);
    BEGIN
    if prodName = 'A' then
    I want to build the where criteria string as “product_name in (‘iPod’,’iPad’)”
    else
    I want to build the where criteria string as “product_name = directly read from the passed variable(prodName)”
    end if;
    select *
    from “MySchema”.”MyTable”
    where where_criteria concatenated here – do not know how to concatenate;
    END SP_SAMPLE_data;
    New to Oracle PL/SQL syntax.
    Oracle 10gR2

    You could try someting like this
    create or replace procedure SP_SAMPLE_data (prodName in VARCHAR2) AS
       where_criteria char(100);
       sql_stmt varchar2(1000);
    BEGIN
       if prodName = 'A' then
          -- I want to build the where criteria string as "product_name in ('iPod','iPad')"
          where_criteria := 'product_name in (''iPod'',''iPad'')';
       else
          -- I want to build the where criteria string as
          -- "product_name = directly read from the passed variable(prodName)"
          where_criteria := 'product_name = '''||prodName||'''';
      end if;
      sql_stmt := 'select * from MySchema.MyTable'||where_criteria;
    END SP_SAMPLE_data;I added SQL_STMT variable as I am not sure what do you want to do with SQL statement once it is created. Do you plan to execute it in the procedure or pass it back to the calling environment? If you need to pass it back, then specify SQL_STMT as out parameter.

  • New to oracle report builder

    Dear all;
    Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
    create or replace package test1 is
    type r_cursor is ref cursor;
    function report(company_name in varchar2) return r_cursor;
    end test1;
    create or replace package body test1 is
    function report(company_name in varchar2) return r_cursor as
    my_r_cursor r_cursor;
    begin
    if(company_name = 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t;
    return my_r_cursor;
    elsif(company_name != 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t
    where t.t_id = company_name;
    return my_r_cursor;
    end if;
    end;
    end test1;
    create table t1
    t_id varchar2(200) not null,
    t_description varchar2(250),
    primary key(t_id)
    insert into t1
      (t_id, t_description)
    values
      ('CITI', 'PROFIT: 2.2Billion');
    insert into t1
      (t_id, t_description)
    values
      ('GE', 'PROFIT: 1Billion');
    insert into t1
      (t_id, t_description)
    values
      ('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.

    Hi,
    first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
    so first you create your package
    create or replace package test1
    as
    TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
    , company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
    TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
    end test1;
    show errors
    create or replace package body test1
    is
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
    is
    my_r_cursor T_REF_CURSOR;
    begin
    if(company_name = '1')
    THEN
    open my_r_cursor for
    select 1 as t_id, 'description' ast_description from dual
    else
    open my_r_cursor for
    select 2 as t_id, 'description2' as t_description from dual
    end if;
    end;
    end test1;
    show errors
    then, in your report you create a ref cursor query :
    function QR_1RefCurDS
    return test1.t_ref_cursor
    is
    C_return test1.t_ref_cursor;
    begin
         test1.report(1,C_return);
    RETURN(C_return) ;
    end;
    hope this helps you !
    E

  • Please help me. I'm new to Oracle.

    Hello all
    I'm Sean and new to Oracle and wana purse learning Oracle Forms&Reports but to start I need to also learn Oracle DataBase as well.
    Please I know you're all busy but HELP me to fix this problem and start learning Oracle.
    I've installed oracle DB 10G. XE. without any problem and have been using it everyday BUT I just installed Oracle SQL Dev v. 1.2.1.... and can't creat a new connection. (it's all installed in my compaq laptop using Win XP SP 3).
    I've been reading all the comments in forums but I'm still stuck. PLEASE SOME ONE HELP ME.
    Learning from all you guys comment I looked at my Listener.ora and it looks like this:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Shawn_COMPAQ)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    and my sqlnet.ora looks like this:
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    The tnsnames.ora looks like this:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SHAWN_COMPAQ)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    from looks of it comparing to what I have seen in ppl's comments and copy&past of files in forums, my 3 files all looks weird and I guess it missing lot of things.
    when I try to create a new connection to see built-in schema (HR) all though it's unlocked but sql dev can't establishes a connection.
    In New \ Select database connection window for following fields iI put:
    Hostname = localhost:1521:orcl (I 've tried just putting localhost)
    Port = 1521
    SID = orcl
    In my browser when I am in home page of DB 10g XE the URL reads: http://127.0.0.1:8080/apex/f?p=4500:1000:4313426409493576
    When i put hostname = localhost (or either 127.0.0.1) and port = 1521 and SID = orcl, I'm getting error :
    status: failure-listener refused the connection with following error - ORA-12505, TNS: listener doesn't currently know of SID given in connect descriptor The connection descriptor used by client was: localhost:1521:orcl .
    When I just change the Port to 8080 I get the error:
    Status: failure-Io Exception: Got minus one from a read call.
    By default DB 10g XE installed in: C:\oraclexe\app\oracle\product\10.2.0\.............
    and all the mentioned files (3 files mentioned above) are in: C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
    Please I know you're all busy but HELP me to fix this problem.
    God bless you.
    tnx
    Sean

    Thanks a lot.
    Yes. It works well now.
    In it's documentation it says put orcl for SID but never thought to try default xe.
    You're the man.
    tnx

  • Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918

    Hi,
    I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
    I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
    So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
    My os is win 7 x64(amd processor ).
    Thank you
    Baldwin

    A new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
    12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
    Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues.

  • HT1689 the computer I orginally sync"ed" to broke.  The new computer only has about a dozen songs.  How can I downdload my music from the Ipod to the computer?

    the computer I orginally syncd to broke.  The new computer only has about a dozen songs that were purchased from itunes.  Is there any way
    I can get the thousands of other songs from the ipod downloaded to the computer.

    - Connect the iPod to the computer and transfer iTunes purchases:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Transfer other music by using a third-party program like one of those discussed here:
    Copy music
    - Connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up
    - Restore the iPod from that backup
    Note that the iPod backup that iTunes makes does not included synced media like apps and music.

  • Does globals.jsa exist in JDeveloper 10.1.3.3.0

    Hi Guys,
    I've built some old jsps using JDeveloper 10.1.2.1.0 (Build 1913) and want to bring them across using the JDeveloper 10.1.3.3.0. Because 'globals.jsa' was automatically generated by the JDeveloper 10.1.2.1.0 and when I tried to migrate the project and open it in JDeveloper 10.1.3.3.0, all the files were brought across but I was unable to compile them,i.e. the jsp files, because one of the identifiers defined in the 'globals.jsa' were not recognised. My question is does the concept of 'global.jsa' still apply to JDeveloper 10.1.3.3.0? If it does or does not, what is the substitute of 'globals.jsa' in JDeveloper 10.1.3.3.0 and how do I create or generate it? Thank you for time and assistance.
    Regards,
    John

    Hi Guys,
    I'm still stuck with this issue, can anyone help? Thanks.
    Regards,
    John

  • New in oracle webcenter

    Hi , i am new in oracle webcenter .I am quite confuse now .Can anyone tell me what software should i need to install to try the oracle webcenter? I has already download Oracle Jdeveloper, Weblogic , Database ,Webcenter suite and Oracle RCU. Is it compulsory to install all the software on my PC? So far I am using window 7 64 bit.
    In addition , can anyone give me some note which are best for the newbie to try the oracle webcenter?
    I know this question is quite stupid. Special thanks to anyone who help me :)

    You don't need to install all that software if you want to test the basic functionality of WebCenter.
    JDeveloper is the IDE that you will be using to develop the portal. When you have installed Jdev, go to Help, Check for updates and look for the WebCenter extensions. Download and install them.
    JDeveloper will than restart and when you create a new application you will see additional templates:
    WebCenter Portal application: this is the template that allows you to create a portal with webcenter
    Portlet producer: this template will create an application that allows you to create JSR 286 portlets that can be consumed in a webcenter portal or any other JEE portal with WSRP support.
    The webcenter extensions do not contain the webcenter services like document services, discussion forums, activity streams and so on. If you also want to test them out, than you will need to install weblogic + webcenter suite.
    A good start is the tutorial. I am currently in the procces of writing one. Currently i only have finished 2 parts but it's a start :)
    http://www.yonaweb.be/webcenter_tutorial/introduction
    You will also find lots of other examples and articles on my blog :)
    You can also download the prebuild VM from Oracle: http://www.oracle.com/technetwork/middleware/webcenter/downloads/owcs-portalfw-vbox-284132.html
    This VM does contain a full installation of the webcenter portal framework with the services (webcenter spaces is not installed on this VM).
    And this is the tutorial from Oracle: http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/toc.htm

Maybe you are looking for