ORA-01023: Cursor context not found (Invalid cursor number)

hello guys.
when i'm trying to make a regular recover, i get this error:
RMAN> run
2> {
3> restore database;
4> recover database;
5> alter database open;
6> }
Starting restore at 09-MAR-07
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/09/2007 10:23:41
ORA-01023: Cursor context not found (Invalid cursor number)
what am i doing wrong and how could i open this cursor?
sorry, that i'm clueless.
thank you.

TAF is not supported with RMAN according to Metalink note

Similar Messages

  • Displaying "ORA-20502: Automation context not found." error message

    Hi all,
    I am implementing functionality in OSM 7 to read jms message sent by external system.I am setting default jmscorrelationid as "test" in order to identify message.I have implemented an automated task as xslt automator and having external event receiver.but when i get the message on the queue from external system weblogic console start giving error message as -
    "ORA-20502: Automation context not found.
    Can you please tell me what could be the reason for this??

    The trick is that OSM needs to initiate the communication. It is depicted in the diagrams in OSM Developer's Guide in the automation plugin section (however not very clear - in my opinion).
    My experience is that you need to correlate messages to OSM by using the (JMS)correlation id sent by the initiating message from OSM. If this can't be sent directly to the external system, a component (e.g. JMS queue + MDB) needs to be placed between the systems and handle the correlation between the messages from the external systems and the OSM "request for reply".

  • Handling no_Data_found and handling the cursor context not found exceptions

    hi all,
    when the value is not there in table, we will get the no_data_found exception.
    im sending the sample procedure.
    check that one.
    create or replace procedure registration.P_GetPatientDetails(in_UHID in Patient.Uhid%Type,
    ocursor_Component1 OUT SYS_REFCURSOR,
    ---ocursor_Component2 OUT SYS_REFCURSOR,
    ocursor_Component3 OUT SYS_REFCURSOR,
    ocursor_Component4 OUT SYS_REFCURSOR
    AS
    in_RegistrationID varchar2(50);
    ln_genderLovID NUMBER(10);
    ln_rhfactorLovID NUMBER(10);
    BEGIN
    SELECT RegistrationId
    into in_RegistrationID
    from Patient
    where (Upper(UHID) = Upper(in_UHID)) ;
    /* COMMIT;*/
    /*dbms_output.put_line(in_RegistrationID);*/
    OPEN ocursor_Component1 FOR
    SELECT RegistrationID,PreRegistrationNo,EmergencyNo,UHID
    FROM patient p LEFT OUTER JOIN EHIS.Titlemaster TM ON p.title = tm.titlecode LEFT OUTER JOIN EHIS.SuffixMaster SM on p.sufix = SM.SUFFIXCODE LEFT OUTER JOIN EHIS.Maritalstatusmaster MSM ON MSM.MARITALSTATUSID = p.maritalstatus LEFT OUTER JOIN EHIS.Bloodgroupmaster BGM ON BGM.BLOODGROUPID = p.bloodgroup LEFT OUTER JOIN EHIS.LovDetail LD ON(LD.LOVDETAILID = p.gender AND LD.LOVID = ln_genderLovID) LEFT OUTER JOIN EHIS.LovDetail rf ON(rf.LOVDETAILID = p.rhfactor AND rf.LOVID = ln_rhfactorLovID)
    WHERE RegistrationID = in_RegistrationID AND p.Status = 1 ;
    OPEN ocursor_Component3 FOR
    SELECT RegistrationID,ResidenceNumber,MobileNumber,PrimaryEmail
    FROM AddressMaster
    WHERE UPPER(RegistrationID) = UPPER(in_RegistrationID) AND Status = 1 AND
    AddressTypeID =
    (SELECT AddressTypeID
    FROM AddressTypeMaster
    WHERE AddressTypeName = 'PermanentAddress');
    /* COMMIT;*/
    OPEN ocursor_Component4 FOR
    SELECT ResidenceNumber, MobileNumber,EmergencyNumber,PrimaryEmail
    FROM AddressMaster am LEFT OUTER JOIN EHIS.Countrymaster CM ON CM.COUNTRYID = am.country LEFT OUTER JOIN EHIS.Statemaster SM ON SM.STATEID = am.state LEFT OUTER JOIN EHIS.Districtmaster DM ON DM.DISTRICTID = am.district LEFT OUTER JOIN EHIS.Citymaster CM1 ON CM1.CITYID = am.city
    WHERE UPPER(RegistrationID) = UPPER(in_RegistrationID) AND Status = 1 AND
    AddressTypeID =
    (SELECT AddressTypeID
    FROM AddressTypeMaster
    WHERE AddressTypeName = 'CurrentAddress');
    /* COMMIT;*/
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(TO_CHAR(SQLCODE) || SQLERRM);
    END;
    if the data is not there for teh given uhid,
    we are displaying the err msg in exception block
    but from .net environment ,
    they will define the cursors as out params.
    if they wont get the data,
    in .net environment, the exception is raised.
    how to handle these situations.

    Implicit cursors are prone to both the NO_DATA_FOUND and TOO_MANY_ROWS errors. They MUST return precisely one row or you get to do extra coding in the form of exception handlers. Using explicit cursors (declared in the DECLARE SECTION) will avoid both errors, though they have their own considerations. When an explict cursor doesn't find something it doens't put NULL into the destination variable(s); it leaves them alone so its a good idea to null out variables and records before fetching into them.

  • Automation Context not Found

    Hi ,
    im a begginer in OSM. i installed the PIP cartridges in my machine and i simply placed an order by using the Sample XML inside the Sales order Sample cartridges. i placed the order with the GoldCSalesOrder10010-V2EBM.xml...... the order taking around 10-12 minutes to complete though it has only automated tasks... i monitored the log and i found it is throwing some error... it is ORA-20502 Automation context Not Found....finally its getting completed but taking much time... im just installed PIP and submitted the order... what could be the issue...help me to sort out..
    thanks,
    Jeeva

    The trick is that OSM needs to initiate the communication. It is depicted in the diagrams in OSM Developer's Guide in the automation plugin section (however not very clear - in my opinion).
    My experience is that you need to correlate messages to OSM by using the (JMS)correlation id sent by the initiating message from OSM. If this can't be sent directly to the external system, a component (e.g. JMS queue + MDB) needs to be placed between the systems and handle the correlation between the messages from the external systems and the OSM "request for reply".

  • ORA-01878: specified field not found in datetime or interval

    I have TIME_SOLD field which is a date data type. WHen I run a simple query against this table with the where clause below, I get ORA-01878: specified field not found in datetime or interval. Please help?
    and to_char(from_tz(cast(time_sold as timestamp), 'Australia/Sydney') at time zone 'US/Pacific', 'yyyymmdd') >= '20091001'
    and to_char(from_tz(cast(time_sold as timestamp), 'Australia/Sydney') at time zone 'US/Pacific', 'yyyymmdd') < '20091101'

    just to give an exampe I've created a table called your_table with a date field (time_sold).
    I've inserted 100 random values plus this one: 20090329 02:30:00 (read it using the format yyyymmdd hh24:mi:ss).
    It's a non valid time in Rome because on March 29 we went to the DST so time skipped from 02.00 to 03.00.
    Here's my script's result:
    SQL> declare
      2    x varchar2(100);
      3    cursor c is
      4      select time_sold from your_table;
      5  begin
      6    for r in c loop
      7      begin
      8       x:= to_char(from_tz(cast(r.time_sold as timestamp), 'Europe/Rome') at time zone 'US/Pacific', 'yyyym
    mdd');
      9      exception
    10        when others then
    11           DBMS_OUTPUT.PUT_LINE(SQLCODE||' '||to_char(r.time_sold,'yyyymmdd hh24:mi:ss'));
    12      end;
    13    end loop;
    14  end;
    15  /
    -1878 20090329 02:30:00Max

  • CoA Session Context Not Found

    Hello Guys,
    I am using a Cisco 2951 with 15.3(3)M1, and when doing some tests with CoA i got the following error:      
    *Nov  7 10:34:24.780: COA: 1.1.1.1 request queued
    *Nov  7 10:34:24.780: RADIUS:  authenticator 52 CF BB 58 BB D5 69 4E - 59 3B 09 75 E9 83 54 4C
    *Nov  7 10:34:24.780: RADIUS:  User-Name           [1]   2   ""
    *Nov  7 10:34:24.780: RADIUS:  Acct-Session-Id     [44]  10  "0000002B"
    *Nov  7 10:34:24.780: RADIUS:  Vendor, Cisco       [26]  42
    *Nov  7 10:34:24.780: RADIUS:   Cisco AVpair       [1]   36  "subscriber:command=reauthenticate "
    *Nov  7 10:34:24.780: RADIUS:  Message-Authenticato[80]  18
    *Nov  7 10:34:24.780: RADIUS:   B6 78 8B EA DE 3B 73 26 57 53 C0 E7 47 89 2C 6D         [ x;s&WSG,m]
    *Nov  7 10:34:24.780: COA: Message Authenticator decode passed
    *Nov  7 10:34:24.780:  ++++++ CoA Attribute List ++++++
    *Nov  7 10:34:24.780: 01EEAF6C 0 00000081 username(450) 0
    *Nov  7 10:34:24.780: 01EEB7EC 0 00000001 session-id(408) 4 43(2B)
    *Nov  7 10:34:24.780: 01EEB820 0 00000081 ssg-command-code(490) 1 32
    *Nov  7 10:34:24.780:
    *Nov  7 10:34:24.780:  ++++++ Received CoA response Attribute List ++++++
    *Nov  7 10:34:24.780: 01EEB7EC 0 00000082 reply-message(273) 16 No valid Session
    *Nov  7 10:34:24.780: 01EEB820 0 00000002 error-cause(272) 4 Session Context Not Found
    This is very strange, because the session-id is correct.
    Can anyone advice me on this? Thanks!
    David

    Hello Manuel,
    Thanks for all your help. Here is the show output
    LNS#show subscriber session uid 47 detailed internal
    Subscriber session handle: EC00005E, state: connected, service: Local Term
    Unique Session ID: 47
    Identifier: [email protected]
    SIP subscriber access type(s): VPDN/PPP
    Root SIP Handle: 5300005D, PID: 313
    Child SIP Handle: 7900002F, PID: 318
    Current SIP options: Req Fwding/Req Fwded
    Session Up-time: 19:52:55, Last Changed: 19:52:55
    Switch handle: 211E
    Interface: Virtual-Access2.2
    Policy information:
      Context 10EC39C0: Handle 7B00002F
      AAA_id 0000003B: Flow_handle 0
      Authentication status: authen
    Policy internals:
      Policy state                        : wait-for-events
      Authorization type                  : AAA service
      Active key                          : apply-config-only
      Authorization active key            : Auth-User
      Last top level rule type            : session-service-found
      Client                              : SM
      Last message from client            : Apply Config Success
      Last message to client              : Apply Config Success
      Current key list from client        :
        Identifier: Auth-Domain = "xxx.xx"
        Identifier: Protocol-Type = 0 (PPP Access Protocol)
        Identifier: Session-Handle = 3959423070 (EC00005E)
        Identifier: Tunnel-Name = "LNS"
        Identifier: Media-Type = 2 (IP)
        Identifier: Input Interface = "GigabitEthernet0/1.2000"
        Identifier: AAA-Acct-Enbl = 1 (YES)
        Identifier: Authen-Status = 0 (Authenticated)
        Identifier: Nasport = Vty Terminal: port 47 IP 69.17.193.90
        Identifier: Auth-User = "[email protected]"
      Network plumbing done yet           : Yes
      Network plumbing directive proposed : None
      AIE handle                          : 2B00002F
      AIE user ID                         : 47
      AAA user ID                         : 0000003B/59
      Authorization index                 : 0
      Authorization priority              : 1
      Context                             : 7B00002F
      North handle                        : 00000000
      North callback                      : 00000000
      South handle                        : EC00005E
      South callback                      : 06B898A8
      Current access-type                 : PPP
      All access-types                    : [0] VPDN
                                          : [1] PPP
      No more keys available from         : PPP
      Session activated                   : Yes
    Session inbound features:
    Feature: QoS Policy Map
      Input Policy Map: INTERNET-15Mb-IN
    Session outbound features:
    Feature: QoS Policy Map
      Output Policy Map: INTERNET-15Mb-OUT
    Configuration sources associated with this session:
    Interface: Virtual-Template1, Active Time = 19:52:55
    Pending status associated with this session:
    Bind status: Success, Delay delete: No, Pending mask: 0
    And the debug output for a reauthenticate command
    *Nov  8 10:21:58.367: RADIUS: COA  received from id 1 x.x.x.x:60590, CoA Request, len 108
    *Nov  8 10:21:58.367: COA: x.x.x.x request queued
    *Nov  8 10:21:58.367: RADIUS:  authenticator 1D 92 FF 04 43 EA 0E 11 - DE 49 2F AE 81 46 42 78
    *Nov  8 10:21:58.367: RADIUS:  User-Name           [1]   18  [email protected]
    *Nov  8 10:21:58.367: RADIUS:  Acct-Session-Id     [44]  10  "0000003B"
    *Nov  8 10:21:58.367: RADIUS:  Vendor, Cisco       [26]  42
    *Nov  8 10:21:58.367: RADIUS:   Cisco AVpair       [1]   36  "subscriber:command=reauthenticate "
    *Nov  8 10:21:58.367: RADIUS:  Message-Authenticato[80]  18
    *Nov  8 10:21:58.367: RADIUS:   7F CA 0A 96 A7 4C 5F 05 57 33 4D 36 D6 7A 37 7E         [ L_W3M6z7~]
    *Nov  8 10:21:58.367: COA: Message Authenticator decode passed
    *Nov  8 10:21:58.367:  ++++++ CoA Attribute List ++++++
    *Nov  8 10:21:58.367: 01FCE77C 0 00000081 username(450) 16 [email protected]
    *Nov  8 10:21:58.367: 01FCFBAC 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:21:58.367: 01FCFBE0 0 00000081 ssg-command-code(490) 1 32
    *Nov  8 10:21:58.367:
    *Nov  8 10:21:58.367: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:21:58.367: RADIUS(00000000): sending
    *Nov  8 10:21:58.367: RADIUS(00000000): Send CoA Nack Response to 69.17.193.4:60590 id 1, len 62
    *Nov  8 10:21:58.367: RADIUS:  authenticator A3 EC 85 01 C3 31 E2 B3 - 25 22 38 79 DA 8E 95 46
    *Nov  8 10:21:58.367: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:21:58.367: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:21:58.367: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503]
    *Nov  8 10:21:58.367: RADIUS:  Message-Authenticato[80]  18
    *Nov  8 10:21:58.367: RADIUS:   AC 83 2A 7C DE 7D 78 8E B7 91 C9 F0 16 8B 86 D2              [ *|}x]
    Even the PoA is not working
    *Nov  8 10:24:04.022: RADIUS: POD  received from id 4 x.x.x.x:57061, POD Request, len 66
    *Nov  8 10:24:04.022: POD: 69.17.193.4 request queued
    *Nov  8 10:24:04.022:  ++++++ POD Attribute List ++++++
    *Nov  8 10:24:04.022: 01FCFBAC 0 00000081 username(450) 16
    [email protected]
    *Nov  8 10:24:04.022: 01FCE77C 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:24:04.022: 01FCE7B0 0 00000081 Message-Authenticator(274) 16 20 2C D0 32 B2 B7 70 BC CE 0F 57 30 8A 0B 52 B7
    *Nov  8 10:24:04.022:
    *Nov  8 10:24:04.022: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:24:04.022: RADIUS(00000000): sending
    *Nov  8 10:24:04.022: RADIUS(00000000): Send Disconnect Nack Response to x.x.x.x:57061 id 4, len 44
    *Nov  8 10:24:04.022: RADIUS:  authenticator 86 6C A4 7E EC E6 D8 DA - 30 03 38 E7 51 03 78 86
    *Nov  8 10:24:04.022: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:24:04.022: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:24:04.022: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503] *Nov  8 10:24:04.022: RADIUS: POD  received from id 4 x.x.x.x:57061, POD Request, len 66
    *Nov  8 10:24:04.022: POD: x.x.x.x request queued
    *Nov  8 10:24:04.022:  ++++++ POD Attribute List ++++++
    *Nov  8 10:24:04.022: 01FCFBAC 0 00000081 username(450) 16 [email protected]
    *Nov  8 10:24:04.022: 01FCE77C 0 00000001 session-id(408) 4 59(3B)
    *Nov  8 10:24:04.022: 01FCE7B0 0 00000081 Message-Authenticator(274) 16 20 2C D0 32 B2 B7 70 BC CE 0F 57 30 8A 0B 52 B7
    *Nov  8 10:24:04.022:
    *Nov  8 10:24:04.022: RADIUS/ENCODE(00000000):Orig. component type = Invalid
    *Nov  8 10:24:04.022: RADIUS(00000000): sending
    *Nov  8 10:24:04.022: RADIUS(00000000): Send Disconnect Nack Response to x.x.x.x:57061 id 4, len 44
    *Nov  8 10:24:04.022: RADIUS:  authenticator 86 6C A4 7E EC E6 D8 DA - 30 03 38 E7 51 03 78 86
    *Nov  8 10:24:04.022: RADIUS:  Reply-Message       [18]  18
    *Nov  8 10:24:04.022: RADIUS:   4E 6F 20 76 61 6C 69 64 20 53 65 73 73 69 6F 6E  [ No valid Session]
    *Nov  8 10:24:04.022: RADIUS:  Dynamic-Author-Error[101] 6   Session Context Not Found [503]
    Thanks!!
    David

  • ERROR in JDEVELOPER: ORA-01882: timezone region not found

    Hello All,
    When i create new database connection with HR database (XE), I'm getting ORA-01882: timezone region not found error in jdeveloper.
    Database Navigator->Create Database Connection
    How to i fix this problem?
    - JDeveloper 11.1.1.4
    - Oracle Expression Edition 10g.
    Thank you,
    Erdenebayar.

    Hi Erdenebayar,
    How did u add the line in jdev.conf i tried by adding below variants but none worked. Can you please print exact line that you've added to jdev.conf and added to projects (I'm using jdev 11.1.1.4):
    Variant 0)
    -Duser.timezone="+05:30" (each projects run profile)
    Variant 1)
    AddVMOption -Duser.timezone='05.30' (line added to jdev.conf)
    -Duser.timezone='05.30' (each projects run profile)
    Variant 2)
    AddVMOption -Duser.timezone='+05.30' (line added to jdev.conf)
    -Duser.timezone='+05.30' (each projects run profile)
    Variant 3)
    AddVMOption -Duser.timezone='+05.30' (line added to jdev.conf)
    -Duser.timezone='+05.30' (each projects run profile)
    Variant 4)
    AddVMOption -Duser.timezone="+05:30" (line added to jdev.conf)
    -Duser.timezone="+05:30" (each projects run profile)
    Variant 5)
    AddVMOption -Duser.timezone="05:30" (line added to jdev.conf)
    -Duser.timezone="05:30" (each projects run profile)
    But none are resolving the issue.

  • Faces context not found (Form based authentication)

    <security-constraint>
    <display-name>Example Security Constraint</display-name>
    <web-resource-collection>
    <web-resource-name>Protected Area</web-resource-name>
    <url-pattern>/jsp/WorkingZone.jsp</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>manager</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>Example Form-Based Authentication Area</realm-name>
    <form-login-config>
    <form-login-page>/Login/login.jsp</form-login-page>
    <form-error-page>/Login/error.jsp</form-error-page>
    </form-login-config>
    </login-config>
    when i tried to login with valid user the the url shows
    http://localhost:8080/FormAuth/jsp/WorkingZone.jsp
    how to append faces context automatically.
    I am not finding for this faces context.
    Plz suggest me a solution soon.
    Thanks
    Raghavendra Pattar

    The FacesContext is created by FacesServlet which is
    definied in the web.xml with an url-pattern.
    If you just follow the url-pattern of this
    FacesServlet, usually /faces/ or *.faces, or *.jsf,
    then the FacesContext will be created.Hi balu,
    this is the web.xml that i am using
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
      </context-param>
    <context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value>
      </context-param>
    <context-param>
        <param-name>com.sun.faces.validateXml</param-name>
        <param-value>true</param-value>
      </context-param>
    <context-param>
        <param-name>com.sun.faces.verifyObjects</param-name>
        <param-value>false</param-value>
      </context-param>
    <filter>
        <filter-name>UploadFilter</filter-name>
        <filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class>
        <init-param>
          <description>
              The maximum allowed upload size in bytes.  If this is set
              to a negative value, there is no maximum.  The default
              value is 1000000.
            </description>
          <param-name>maxSize</param-name>
          <param-value>1000000</param-value>
        </init-param>
        <init-param>
          <description>
              The size (in bytes) of an uploaded file which, if it is
              exceeded, will cause the file to be written directly to
              disk instead of stored in memory.  Files smaller than or
              equal to this size will be stored in memory.  The default
              value is 4096.
            </description>
          <param-name>sizeThreshold</param-name>
          <param-value>4096</param-value>
        </init-param>
      </filter>
    <filter-mapping>
        <filter-name>UploadFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
      </filter-mapping>
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
    <servlet>
        <servlet-name>ThemeServlet</servlet-name>
        <servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class>
      </servlet>
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
    <servlet-mapping>
        <servlet-name>ThemeServlet</servlet-name>
        <url-pattern>/theme/*</url-pattern>
      </servlet-mapping>
    <welcome-file-list>
        <welcome-file></welcome-file>
         </welcome-file-list>
    <jsp-config>
        <jsp-property-group>
          <url-pattern>*.jspf</url-pattern>
          <is-xml>true</is-xml>
        </jsp-property-group>
      </jsp-config>
    <security-constraint>
        <display-name>Example Security Constraint</display-name>
        <web-resource-collection>
          <web-resource-name>Protected Area</web-resource-name>
          <url-pattern>/secure/*</url-pattern>
            <http-method>GET</http-method>
          <http-method>POST</http-method>
        </web-resource-collection>
        <auth-constraint>
          <role-name>manager</role-name>
        </auth-constraint>
      </security-constraint>
      <!-- Default a login configuration that uses form-based authentication -->
      <login-config>
        <auth-method>FORM</auth-method>
        <realm-name>Example Form-Based Authentication Area</realm-name>
        <form-login-config>
          <form-login-page>/Login/login.jsp</form-login-page>
          <form-error-page>/Login/error.jsp</form-error-page>
        </form-login-config>
      </login-config>
      <!-- Define a logical role for this application, needs to be mapped to an actual role at deployment time -->
      <security-role>
        <role-name>manager</role-name>
      </security-role>
    </web-app>1)My requirement is Login page should be the first page
    If enter the valid user and password
    then i will get directory structure
    when i click the secured JSF page inside secure
    i got this URL
    http://localhost/secure/WorkingZone.jsp
    obiviously /faces is missing
    and i am getting faces context not found.
    If u need further clarification i will send u..
    Plz reply me...

  • Java.sql.SQLDataException: ORA-01878: specified field not found in datetime

    I am getting the exception mentioned in the subject field. Here is the query
    select * from tabel_abc where from_tz(cast(LAST_RECEIVED_TIME + timeout_duration/86400 as timestamp),'UTC') <systimestamp at time zone 'UTC';
    This is happening only for the during the daylight saving, because the date operation is returning the incorrect time value.
    timeout_duration holds the value in terms of number of seconds.
    Please suggest how to resolve the issue.
    Caused by: java.sql.SQLDataException: ORA-01878: specified field not found in
    datetime or interval
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    at
    oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at
    oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.ja
    va:1079)
    at
    oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1
    293)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1
    419)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedState
    ment.java:3752)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatemen
    t.java:3806)
    at
    oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedS
    tatementWrapper.java:1667)
    at
    weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:13
    5)
    at

    >
    When I run the following expression on this value I get the ORA-01878 error:
    (EXTRACT(DAY FROM ((ETD_ZULU - 4/24) - SYSTIMESTAMP)))
    >
    That isn't the same as the snippet you first posted
    This works
    select EXTRACT(DAY FROM ((ETD_ZULU - 4/24) - SYSTIMESTAMP)) from
    (select cast (systimestamp as timestamp(6)) etd_zulu from dual)The first snippet you posted was
    >
    select * from tabel_abc where from_tz(cast(LAST_RECEIVED_TIME + timeout_duration/86400 as timestamp),'UTC') <systimestamp at time zone 'UTC';
    >
    And it includes time zone. All of the web references I have found indicate the problem is either a missing timezone or a timezone mismatch.
    I can't reproduce the problem with the last snippet you used. Are you certain that ETD_ZULE is timestamp and does not include timezone?
    Do you have a complete query that fails? If so, try to narrow the query down to one record that is causing the problem. If you have to you can use brute force approach. Assume that 60 records should be produced. Add
    WHERE ROWNUM < 30to the query. If it runs clean the problem is in the second half so use '< 40', and keep testing until you know which record. Then examine the contents of the field for that record.
    Without some code to try to reproduce the problem there isn't much other help to offer.

  • URGENT: ORA-12514: Message 12514 not found;

    Hi, I have a big problem:
    I have a PC (PC1) with an Oracle 9.2.0.5 database.
    I have other PC (client=PC2) with Oracle forms and reports runtime installed.
    I try to execute my .fmx from PC2 and everything was ok.
    After that, I installed again in another server (PC3) the Oracle database, and when I tried to connect from my client (PC2) to the new database, it appears the error:
    ORA-12514: Message 12514 not found; Product=RDBMS80; Facility=ORA
    Why is giving this error? May be the PC3 needs an ORACLE_HOME environment variable or similar?
    I've seen the following in relation with oracle_home:
    In the PC server (PC3) the ora_home variable in regedit (it doesn't exists as windows environment variable) is e:\oracle\ora92
    It's different from oracle_home in PC2 (Pc client) , in which is: c:\orant
    Is it important?
    Is this error possible because of the TNSNAMES configuration?
    Please help me, is very urgent for me.
    Thanks a lot

    Hi guys,
    I've solved the problem: It was in the TNSNAMES. The service_name was incorrect. I changed it and it worked.

  • ORA-12514: Message 12514 not found;  product=RDBMS80; facility=ORA

    Hi,
    I have installed 10g's OracleEXE version and Oracle forms 6i on my machine.
    I am able to log on trough oracle 10g without using tnsnames.ora or sid.
    But when I am trying to connect 10g database through command prompt by using
    sqlplus username/password@xe then it is showing me below mentioned error.
    ORA-12514: Message 12514 not found; product=RDBMS80; facility=ORA
    I have tried tnsping xe on command prompt it is taking only 30msec. But still I am getting this error.
    Could anybody please help me out of it.
    Thanks in advance.
    Chandrakant.

    Hi to all,
    Is any knowledgable person is available in this group who can help me out of this problem.
    I have done following things.
    1) Installed Oracle XE version.
    2) Installed Forms 6i
    I am able to connect OracleXE through sqlplus system/abcd command but not with system/abcd@XE i.e. (with SID).
    Hence I am not able to connect OracleXE through Oracle Forms.
    Checked with tnsping xe at Dos Prompt.
    Getting connected through 30 seconds.
    Listener is up & Running and it is in started mode.
    netstat command is showing me the port 1521 (as opened)
    But Still I am not able to connect Forms 6i with OracleXE version.
    Please suggest me what should I do.
    Chandrakant.

  • ORA-00923:FROM KEYWORD NOT FOUND WHERE EXPECTED

    I have nade a oracle ODBC TO MS-EXCEL.While writting query in microsoft query editor I got the error msg
    ORA-00923:FROM KEYWORD NOT FOUND WHERE EXPECTED
    The following query runs fine on sql plus editior
    wht could be the reason ,pls guide me
    select ORDR_H.ORDERDT,ordR_h.orderno,ordr_h.partycd "CODE",
    DECODE (PARTY_M.PARTY_TY,1,'TRADE',2,'NTR'),
    party_m.party_n1,c1.citee_nm "Stockist Place",
    c.citee_nm "CONSIGNEE PLACE"
    from citee_m c,citee_m c1,ordr_h,ordr_d,party_m
    where
    ordr_h.orderno=ordr_d.orderno
    and c.citee_cd=ordr_h.destncd
    and c1.citee_cd=party_ct
    and ordr_h.partycd=party_m.party_cd
    and ordr_h.orderdt>='01-jan-09'
    order by 2,3

    One thing that comes to mind is that ODBC does not allow Oracle-specific syntax.

  • ORA-01882: timezone region  not found

    Hi
    I am getting an error while i am trying to access the Data-source created in my weblogic server
    I have created Data source and the test connection was success ,after that i have deployed my application to weblogic server
    whenever my application trying to access Database through i am getting an error ORA-01882: timezone region  not found
    I am using weblogic 10.3 installed on Enterprise-Linux Release5 for 64 bit
    I am using Oracle 11 DB installed on windows 2003 server
    and i have tried by adding -Duser.timezone=GMT+5:30 to JAVA_PROPERTIES in setDomainEnv.sh and i tried a lot of time zones eg: UTC,...
    Please Advice
    Please see the log below
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region  not found
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5128)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5016)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1128)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6368)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:286)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:553)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:409)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8534)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4392)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2388)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2204)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3088)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1494)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1399)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1370)
    at view.backing.Login.fnLogin(Login.java:69)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    Dear Joe,
    Once again thank you very much for your prompt response.
    I have tried the proposed solution without success. In order to identify the exact issue I have created a small application and tried with JDBC connection as below It works fine. But when tried using the DSN it does NOT connects.
    Any idea whether we should consider any special option when we create DSN on WL which is in Linux when compared to Windows? Please advice.
    ====================
    public static Connection getConnection() throws Exception
         Connection con=null;
         String url = "jdbc:oracle:thin:@10.201.1.65:1521:TEST";
         String driverName = "oracle.jdbc.driver.OracleDriver";
         Class.forName(driverName);
         con = DriverManager.getConnection(url, "HR", "HR");
    System.out.println("CONNECTED===>"+con);
         return con;
    =====================
    Thanks in advance
    -Jeethi

  • ORA-01882:timezone region not found while trying to add ADF-BC Fact in Rule

    Hi,
    I want to use the SOA component "Oracle Business Rules" in the ADF application.
    I created a ADF Application, created relevant VO's. I created a SOA project in the same workspace and tried to add a ADF-BC fact to the Business Rule component.
    I configured the -Duser.timezone="+05:30" option for java runtime.
    However I still get the timezone not found exception and am unable to add ADF-BC fact to the rule component.
    Here is the full stack trace.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5550)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5267)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1185)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:153)
         at oracle.rules.sdk2.datamodel.impt.AdfBcTransactionFactory.createTransaction(AdfBcTransactionFactory.java:50)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1899)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1875)
         at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createBCFacts(SDKModel.java:3155)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationPanel.handleImportViewDefinition(BCFactCreationPanel.java:222)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationDialog$2.run(BCFactCreationDialog.java:157)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:998)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1822)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:280)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:8007)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5544)
         ... 19 more
    ## Detail 0 ##
    java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:998)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1822)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:280)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:8007)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5544)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5267)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1185)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:153)
         at oracle.rules.sdk2.datamodel.impt.AdfBcTransactionFactory.createTransaction(AdfBcTransactionFactory.java:50)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1899)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1875)
         at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createBCFacts(SDKModel.java:3155)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationPanel.handleImportViewDefinition(BCFactCreationPanel.java:222)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationDialog$2.run(BCFactCreationDialog.java:157)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)

    Hi,
    ORA-01882: timezone region not found in pivot is it bug
    Its a database error, why do you think its a bug with the Pivot table. The same behavior can be observed with WebLogic Server and SQL Developer - so I am not quite sure how this can be pointed back to the pivot table in your opinion. Maybe this here will help you getting to the core of the problem: http://www.jvmhost.com/articles/java-and-timezones
    Frank
    Edited by: Frank Nimphius on Jun 1, 2012 8:01 AM

  • Error ORA-01882: timezone region not found

    Hi, Any one can help on this issue.
    On Webpage
    :P129_CRT_START: 20-JUL-2007 11:45
    :P129_CRT_TZ: PST8PDT
    :P129_LOCAL_TZ: Asia/Calcutta
    SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE(:P129_CRT_START, 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),':P129_CRT_TZ') AT TIME ZONE ':P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    Error ORA-01882: timezone region not found
    Error ERR-1019 Error computing item default value: page=129 name=P129_LOCAL_CRT_START.
    OK
    with SQL Prompt
    SQL> SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('&P129_CRT_START', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'&P129_CRT_TZ') AT TIME ZONE '&P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL;
    Enter value for p129_crt_start: 20-JUL-2007 11:45
    Enter value for p129_crt_tz: PST8PDT
    Enter value for p129_local_tz: Asia/Calcutta
    old 1: SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('&P129_CRT_START', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'&P129_CRT_TZ') AT TIME ZONE '&P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    new 1: SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('20-JUL-2007 11:45', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'PST8PDT') AT TIME ZONE 'Asia/Calcutta' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    TO_CHAR((SELECTFR
    21-JUL-2007 00:15
    I am not getting default value of the Item. Please Help.
    Regards,
    Rahul

    SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE(:P129_CRT_START, 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),(:P129_CRT_TZ)) AT TIME ZONE (:P129_LOCAL_TZ) FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    Workling

Maybe you are looking for