Query to get connect descriptor of the DB instance currently in.

Guys,
I need a query to get the Connect descriptor of the Database instance currently logged in?
Could someone provide guidance?
Thanks,
Bhagat

Thanks for your quick response!!!
Yes..I need the TNS connect descriptor.
When i try your command, this is what I get..
SQL>sqlprompt "_USER'@'_CONNECT_IDENTIFER> "
_USER'@'_CONNECT_IDENTIFER>
..doesn't seem to work..
Regards,
Bhagat

Similar Messages

  • To execute the query after getting connected to db from a unix shell script

    How the variable "output" can be used in the sql query after getting connected to database.
    Code:
    #!/bin/bash
    sort shipments | uniq > test1.txt
    sed "s/.*/'TESCO.&',/;$ s/,//" test1.txt | paste -s -d '' > output
    sqlplus glo/glo@tcot
    select * from xx where column_name in ($output)
    In this case, am getting connected to database, but cursor is waiting at sql prompt, with out executing the above select query.
    Please help.

    Try something like:
    #!/bin/bash
    sort shipments | uniq > test1.txt
    sed "s/.*/'TESCO.&',/;$ s/,//" test1.txt | paste -s -d '' > output
    sqlplus glo/glo@tcot << EOF
    WHENEVER SQLERROR EXIT 1;
    WHENEVER OSERROR EXIT 1;
    set serveroutput on
    declare
    v_data varchar2(100) := NULL;
    BEGIN
    select col_name into v_Data from xx where column_name in ('$output')
    and rownum < 2;
    dbms_output.put_line(v_Data);
    end;
    exit
    EOF

  • Activating an iPad and getting a message that the iPad is currently linked to another apple id, need to sign in to set up the iPad.  I have done a restore following the Ht1808, and tried to do a DFU mode restore but still get the activation message

    Activating an iPad and getting a message that the iPad is currently linked to another apple id, need to sign in to set up the iPad.  I have put the Ipad into recovery mode and done a restore following the Ht1808 support instructions and tried to do a DFU mode restore but still get the activation message after the restore. 

    Activation Lock
    http://support.apple.com/kb/PH13695

  • Query to get total counts in the given scenario

    Hi,
    I am using Oracle 10g
    I have a table A with following data
    AgId     Trm     CD     S
    1000     100010     12-JAN     A
    1000     100019     20-MAR     A
    1000     100019     20-JUL     D
    1001     100011     25-JAN     A
    1001     100011     20-FEB     D
    1001     100011     23-MAR     A
    1001     100012     31-JAN     A
    1002     100013     14-FEB     A
    1002     100013     05-APR     D
    1002     100015     02-MAY     A
    1003     100014     03-MAR     A
    1003     100014     25-MAR     D
    1004     100016     22-MAY     A
    1004     100017     21-JUN     A
    1004     100018     01-JUL     A
    1005     100020     21-MAY     D
    1005     100020     21-JUL     A
    1005     100020     11-AUG     D
    Here the overall status of AgId '1000' is A as he is having atleast 1 Trm active
    Similarly, status of AgId '1001' is A
    status of AgId '1002' is A
    But,status of AgId '1003' is D as his trm is disconnected after activation(according to date column'CD')
    Then, status of AgId '1004' is A
    and finally status of AgId '1005' is D again as his trm deactivated, activated and deactivated at last
    So, considering these criteria can any one give me a query to get total no of AgId's who are 'Active' and similarly for 'Deactive'

    Hi,
    when you put some code please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    CREATE TABLE ... etc.
    {noformat}{noformat}
    Also do not forget to put correct statements. Your insert were missing semicolon at the end.
    Coming back to your problem, I assum that the current status of any trm is the latest status so I have done what follows:
    {code:sql}
    SELECT agid
         , trm
         , cd
         , s
         , ROW_NUMBER () OVER (PARTITION BY agid, trm ORDER BY cd) rn
         , COUNT (*) OVER (PARTITION BY agid, trm) rn_tot
    FROM a
    ORDER BY agid, trm, cd;
    Output:
          AGID        TRM CD        S         RN     RN_TOT
          1000     100010 12-JAN-12 A          1          1
          1000     100019 20-MAR-12 A          1          2
          1000     100019 20-JUL-12 D          2          2
          1001     100011 25-JAN-12 A          1          3
          1001     100011 20-FEB-12 D          2          3
          1001     100011 23-MAR-12 A          3          3
          1001     100012 31-JAN-12 A          1          1
          1002     100013 14-FEB-12 A          1          2
          1002     100013 05-APR-12 D          2          2
          1002     100015 02-MAY-12 A          1          1
          1003     100014 03-MAR-12 A          1          2
          1003     100014 25-MAR-12 D          2          2
          1004     100016 22-MAY-12 A          1          1
          1004     100017 21-JUN-12 A          1          1
          1004     100018 01-JUL-12 A          1          1
          1005     100020 21-MAY-12 D          1          3
          1005     100020 21-JUL-12 A          2          3
          1005     100020 11-AUG-12 D          3          3I have used to columns rn and rn_tot to find the latest entry for a specific agid, trm
    Using the query above I have done the following:
    WITH mydata AS
       SELECT agid
            , trm
            , cd
            , s
            , ROW_NUMBER () OVER (PARTITION BY agid, trm ORDER BY cd) rn
            , COUNT (*) OVER (PARTITION BY agid, trm) rn_tot
        FROM a
    SELECT agid
         , CASE WHEN SUM (CASE s WHEN 'A' THEN 1 END) > 0 THEN 'A' ELSE 'D' END s
      FROM mydata
    WHERE rn = rn_tot
    GROUP BY agid;
    Output:
          AGID S
          1000 A
          1001 A
          1002 A
          1003 D
          1004 A
          1005 D
    {code}
    Which is listing the agid and its status if at least there is one trm with final status 'A' for that agid.
    To sum up everything you can do simply like this:
    {code:sql}
    WITH mydata AS
       SELECT agid
            , trm
            , cd
            , s
            , ROW_NUMBER () OVER (PARTITION BY agid, trm ORDER BY cd) rn
            , COUNT (*) OVER (PARTITION BY agid, trm) rn_tot
        FROM a
    totdata AS
       SELECT agid
            , CASE WHEN SUM (CASE s WHEN 'A' THEN 1 END) > 0 THEN 'A' ELSE 'D' END s
         FROM mydata
        WHERE rn = rn_tot
        GROUP BY agid
    SELECT S, COUNT(*) cnt
      FROM totdata
    GROUP BY S;
    Output:
    S        CNT
    D          2
    A          4
    {code}
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How do I get a reference to the SecurityServices instance in my web appl?

    I would like to use the audit provider of weblogic to log audit event that I send from my servlet. For writing a auditevent I need a reference to the AuditService instance. How do I obtain that? IS there any static class through with I can get references to the security services?
    Lakshmi

    Pete,
    The Thread class's public static Thread currentThread() method will return a reference to the Thread object that represents the thread of execution that is live when the method is invoked. More simply, it provides a reference to the currently executing thread.
    So you could use this as a key in a hashtable to represent which thread has a lock on some entity:
       // "hash" is a hashtable
       // entity is an Object representing something that is locked (like
       // a record number or a resource identifier)
       hash.put(Thread.currentThread(),entity);I think this answers your question, unless I misunderstood you.
    Damian

  • In BAM, how to get activity ID for the running instance in the orchestration.

    I am trying to add document reference URL to the active instance in the orchestration for the activity which is already started.
    Please let me know how to get such activity ID.
    Thanks
    Jagadeesh 
    Jagadeesh RS

    Are you using TPE to set up the Activity Tracking or BAM API. If you are using TPE then identify what has been set as the Activity Id in the BTT file. If the Message Id is used then use "BTS.InterchangeID" [refer
    http://msdn.microsoft.com/en-us/library/aa562116.aspx] on the received message to get the Activity Id.
    If however you've mapped the Activity Id in BTT to the InstanceId then use
    "Microsoft.XLANGs.Core.Service.RootService.InstanceId"
    to get the activity id.
    Regards.

  • Sql query to get Thursday (Date) for the year 2014

    Hello All,
    I want to get the date for all the Thursdays in the year 2014. How can I achieve this using SQL query? Can anybody give me a hand with this? Thanks.
    Amol

    Hi,
    Check if this can help you
    DECLARE @counter INT
    DECLARE @Date Date
    SELECT @counter = 0
    Select @Date = '20131226'
    WHILE @counter <= 52
    BEGIN
    select Thursday = convert(varchar(10),DATEADD(WEEK,1, @Date),120)
    SELECT @counter = @counter + 1
    Select @Date = DATEADD(WEEK,1, @Date)
    END
    Regards
    Prasad Tandel
    Please dont forget to mark as answer if this helps you :)

  • HT1349 I phone model MC922LL/A  I cannot get connected  it to the apple store to download a free app

    I have changed my password 3 or 4 times in the last hour.  I still cannot get into the apple store to download a new free app.  What is my problem?

    Hello, Dalagood. 
    Thank you for visiting Apple Support Communities.
    I would need more information regarding the exact issues you are experiencing when attempting to sign into the App Store to better assist you.  However, I would include a basic troubleshooting guide for issues connecting to the iTunes Store.
    Troubleshoot issues on an iPhone, iPad, or iPod touch
    If you haven't been able to connect to the iTunes Store:
    Make sure your date, time, and time zone are correct in Settings > General >Date & Time.
    Note: Time Zone may list another city in your time zone.
    Make sure that your iOS software is up to date by tapping Settings > General> Software Update (iOS 5 or later) or connecting your iOS device to iTunes and clicking Check for Update on your device's Summary page.
    Check and verify that you're in range of a Wi-Fi router or base station. If you're on a device with cellular service, make sure that cellular data is turned on from Settings > General > Cellular.
    Note: If connected to cellular data, larger items may not download. You may need to connect to Wi-Fi to download apps, videos, and podcasts.
    Make sure that you have an active Internet connection. You can check theuser guide for your device for help with connecting to the Internet.
    Make sure that other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Try resetting (turning off and then on again) your Wi-Fi router.
    If the issue persists, try troubleshooting your Wi-Fi networks and connections.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    If you are receiving an incorrect password alert when attempting to sign in, see the article below.
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Cheers,
    Jason H.

  • Getting error while starting the RAC instance through SRVCTL utility

    Hi DBA's,
    We are getting the below error while starting the Orcale 10g RAC instance on one of the node thru SRVCTL:
    oracle:/home/oracle]>srvctl start instance -d SQLTSTM2 -i SQLTSTM21
    PRKP-1001 : Error starting instance SQLTSTM21 on node r1racd
    CRS-1028: Dependency analysis failed because of:
    CRS-0223: Resource 'ora.SQLTSTM2.SQLTSTM21.inst' has placement error.
    :oracle:/home/oracle]>
    srvctl status database -d SQLTSTM2
    PRKO-2015 : Error in checking condition of instance on node: r1racd
    Instance SQLTSTM22 is running on node r2racd
    oracle:/opt/oracle/product/10.2.0/db]>
    NOTE: but i am able to start the instance thru SQLPLUS.
    After starting the instance thru SQLPLUS i checked the CRS_STAT -t . It shows the status offline... Please find the details below:
    Name Type Target State Host
    ora....21.inst application OFFLINE OFFLINE
    ora....22.inst application ONLINE ONLINE r2racd
    ora....VLM2.db application ONLINE ONLINE r2racd
    ora....21.inst application ONLINE ONLINE r1racd
    ora....22.inst application ONLINE ONLINE r2racd
    ora....STM2.db application ONLINE ONLINE r2racd
    ora....SM1.asm application ONLINE ONLINE r1racd
    ora....CD.lsnr application ONLINE ONLINE r1racd
    ora.r1racd.gsd application ONLINE ONLINE r1racd
    ora.r1racd.ons application ONLINE ONLINE r1racd
    ora.r1racd.vip application ONLINE ONLINE r1racd
    ora....SM2.asm application ONLINE ONLINE r2racd
    ora....CD.lsnr application ONLINE ONLINE r2racd
    ora.r2racd.gsd application ONLINE ONLINE r2racd
    ora.r2racd.ons application ONLINE ONLINE r2racd
    ora.r2racd.vip application ONLINE ONLINE r2racd
    Thanks in advance...
    Anil

    Use the 'srvctl config database -d ' command to check if the instance has been configured in the Oracle Cluster Registry; make sure that the GSDs are running on each node in the cluster.
    Also refere to Metalink note 295328.1

  • Can someone tell me how to get a div to the right of current div? See site

    I'm tryin so hard to do an all CSS site instead of using tables. Very tough! Can someone look at http://www.duenorthdesign.com/pcm and tell me:
    1) How to get a new div to line up to the right of the current (light green) one. Currently it is below it. I"ve tried floating the left one left so the new div would go to the right. Strange results! Tried floating it to the right.... UGH. I've never felt so stupid in my life!
    2) Also, why does my content run outside of my div (the light green article)? Shouldn't the div expand accordingly?
    Thanks so much, you are all so helpful!

    Both your questions can be answered by amending your css selector from this :
    .twoColFixLtHdr #container #mainContent #feature2 {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 12px;
        line-height: 20px;
        height: 300px;
        width: 300px;
        background-color: rgba(240,244,230,1);
        margin-top: 10px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        padding: 5px;
    To this:
    .twoColFixLtHdr #container #mainContent #feature2 {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 12px;
        line-height: 20px;
        width: 300px;
        float: left;
        background-color: rgba(240,244,230,1);
        margin-top: 10px;
        padding: 5px;
    and this one:
    .twoColFixLtHdr #mainContent {
        padding: 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
        background-color: #FFF;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 203px;
    to this:
    .twoColFixLtHdr #mainContent {
        padding: 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
        background-color: #FFF;
        overflow: hidden;
    Then add this one to your css styles:
    #feature3 {
    float: left;
    width: 300px;
    margin-left: 20px;
    display: inline;

  • Named SQL queries without a descriptor in the workbench

    Hi,
    I want to call some named query SQLs from my DAO by using
    result = (ResultSet)Session. executeQuery(String queryName, Vector paramList);
    The way I have done it now in the mapping workbench I have defined all named queries and SQL with a class descriptor, even though that class doean't have any mappings. I couldn't find any other way of defining named query SQLs in mapping workbench, other than attaching to a class descriptor. But I think because I'm using this API of calling executeQuery instead of getting the domain class too..I'm running into the following exception -
    Exception [TOPLINK-6026] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.QueryException
    Exception Description: Query named [FIND_MUTUAL_FUND_SINGLE_SYMBOL] is not defined. Domain class: []
         at oracle.toplink.exceptions.QueryException.queryNotDefined(QueryException.java:587)
         at oracle.toplink.exceptions.QueryException.queryNotDefined(QueryException.java:580)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1020)
    What is the proper way of defining a named query with our a descriptor in the workbench, so that I can use above mentioned API from my DAO? Any where in the doc? Is it Session events?
    Any sort of sample example would be deeply appreciated.

    To execute a named query for a paticular class/descriptor you need to call the Session.executeQuery(String queryName, Class descriptorClass, ...) API. The API that does not take a class is only for session-level named queries.
    i.e.
    List employees = (List) session.executeQuery("findAll", Employee.class);
    Currently the Mapping Workbench does not support defining session-level queries, so if you wish to define queries not related to any descriptor, you need to define these through code (if you are using a sessions.xml to define your session, you can add the queries through a SessionCustomizer (10.1.3), or use a SessionEventListener and the preLogin event (9.0.4)).
    You can execute named queries on any Session class (ClientSession, UnitOfWork, DatabaseSession, SessionBroker). But you need to define the queries in the ServerSession or DatabaseSession before login.
    i.e.
    ReadAllQuery query = new ReadAllQuery(Employee.class);
    serverSession.addQuery("findAllEmployees", query);
    List employees = (List) clientSession.executeQuery("findAllEmployees");

  • TNS:listener does not currently know of SID given in connect descriptor

    Hi
    I have installed 11g on Windows 7, the startup & shutdown of DB is normal.
    But connecting to a particular DB is giving a problem:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    in the listener.ora following entry is made:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sid_test)
    (ORACLE_HOME =$ORACLE_HOME)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = sid_test)
    (ORACLE_HOME = $ORACLE_HOME)
    (SID_NAME = orcl_test)
    LIST1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    Also tried using ALTER SYSTEM REGISTER;
    still there is no connection being established.
    following outputs i am getting while connecting:
    SQL> connect test_db@tns_test
    Enter password:
    ERROR:
    ORA-12505: TNS:listener does not currently know of SID given in connect
    descriptor
    Warning: You are no longer connected to ORACLE.
    While running lsnrctl status command, following error is appearing:
    C:\Windows\system32> lsnrctl status list1
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 28-SEP-2012 10:35
    :38
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias list1
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date 28-SEP-2012 10:29:40
    Uptime 0 days 0 hr. 5 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File XXXXXXXXXXXXXXXXXXXXXXXXXXXX\listener.ora
    Listener Log File XXXXXXXXXXXXXXXXXXXXX\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    The listener supports no services
    The command completed successfully
    Please help...!!!

    Hi Niket,
    Thanks for the reply, i tried following as well in the listener file (still the error persistes):
    list1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = sid_test)
    (ORACLE_HOME =$ORACLE_HOME)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = sid_test)
    (ORACLE_HOME = $Oracle_home)
    (SID_NAME = sid_test)
    The tnsnames.ora entry:
    tns_test =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = sid_test)
    )

  • CAML query to get task assigned to current logged in user

    I want to know the CAML query to get tasks assigned to the currently logged in user
    Nour

    Hi,
    This is the query that worked for me
    <Where>
    <And>
    <Or>
    <Membership Type=’CurrentUserGroups’>
    <FieldRef Name=’AssignedTo’ />
    </Membership>
    <Eq>
    <FieldRef Name=’AssignedTo’  LookupId=’TRUE’ />
    <Value Type=’Lookup’>123</Value>
    </Eq>
    </Or>
    <Neq>
    <FieldRef Name=’Status’ />
    <Value Type=’Text’>Completed</Value>
    </Neq>
    </And>
    </Where>
    Regards,
    Nishant Rana
    http://nishantrana.wordpress.com https://twitter.com/#!/nishantranacrm

  • Query to get Biennium

    How to get the query to get out put in the biennium column as below for corresponding year
    year                              Biennium
    2000                            2000-2001
    2001                            2000-2001
    2002                            2002-2003
    2003                            2002-2003
    and so on

    Or simply:
    WITH t AS (
               SELECT 2000 yr FROM dual UNION ALL
               SELECT 2001 FROM dual UNION ALL
               SELECT 2002 FROM dual UNION ALL
               SELECT 2003 FROM dual
    SELECT  yr YEAR,
            (TRUNC(yr / 2) * 2) || '-' || (TRUNC(yr / 2) * 2 + 1 )BIENNIUM
      FROM  t
          YEAR BIENNIUM
          2000 2000-2001
          2001 2000-2001
          2002 2002-2003
          2003 2002-2003
    SQL>
    SY.

  • Error while installing OIM, during the OC4J Instance Configuration Assistan

    Hi, running RHEL 4 32Bit Linux. There's an installation of the SOA Suite 10.1.3.1 (Release 2) on /u01/app/oracle/OracleAS_1, and I am installing OIM on /u01/app/oracle/OraHome_2
    Near the end of the installation, when it's installing the recommended configuration assistants, I get an error while the OC4J Instance Configuration Assistant piece is running.
    Here's the full readout:
    Launched configuration assistant 'OC4J Instance Configuration Assistant'
    Tool type is: Recommended.
    The command being spawned is: '/u01/app/oracle/OraHome_2/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath /u01/app/oracle/OraHome_2/dcm/lib/dcm.jar:/u01/app/oracle/OraHome_2/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/OraHome_2/opmn/lib/opmnplugin.jar -Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/OraHome_2/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy -oraclehome /u01/app/oracle/OraHome_2 -verbose -inifile /u01/app/oracle/OraHome_2/j2ee/deploy.ini '
    Start output from spawned process:
    Reading ini file - '/u01/app/oracle/OraHome_2/j2ee/deploy.ini'
    Adding web-app 'wirelesssso-web.war' for app 'wirelesssso'.
    Adding web-app 'web.war' for app 'sso'.
    Adding web-app 'ssohelp.war' for app 'sso'.
    Adding web-app 'pls.war' for app 'sso'.
    OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-server'
    OC4J instance 'OC4J_SECURITY': Adding java command line option '-Xmx512m'
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'LD_LIBRARY_PATH' with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
    OC4J instance 'OC4J_SECURITY': Adding Environment variable 'DISPLAY' with value 'oracleb.djl.com:0.0'
    Adding web-app 'ui.war' for app 'oiddas'.
    OC4J instance 'OC4J_SECURITY': Adding java stop command line option '-Xss1M'
    Ignoring jvm command-line option '-Xmx512m'. Larger heap already specified with '-Xmx512m'
    OC4J instance 'OC4J_SECURITY': Env Option 'LD_LIBRARY_PATH' already exists with value '/u01/app/oracle/OraHome_2/lib32:/u01/app/oracle/OraHome_2/lib'
    Initializing DCM...done.
    Creating OC4J instance 'OC4J_SECURITY' (protected)...done.
    Adding dependent libraries for application 'default'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Starting OC4J instance 'OC4J_SECURITY'...done.
    Deploying application 'wirelesssso' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for wirelesssso STARTS [ 2006-11-27T17:20:23.691EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> Unpack wirelesssso.ear begins...
    Notification ==> Unpack wirelesssso.ear ends...
    Notification ==> Initialize wirelesssso.ear begins...
    Notification ==> Initialize wirelesssso.ear ends...
    Notification ==> Initialize wirelesssso-web begins...
    Notification ==> Initialize wirelesssso-web ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/wirelesssso/wirelesssso-web.war
    Notification ==> Application Deployer for wirelesssso COMPLETES [ 2006-11-27T17:20:24.193EST ]
    Deploying application 'oiddas' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for oiddas STARTS [ 2006-11-27T17:20:24.246EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> Unpack oiddas.ear begins...
    Notification ==> Unpack oiddas.ear ends...
    Notification ==> Initialize oiddas.ear begins...
    Notification ==> Initialize oiddas.ear ends...
    Notification ==> Initialize ui begins...
    Notification ==> Initialize ui ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/oiddas/ui.war
    Notification ==> Application Deployer for oiddas COMPLETES [ 2006-11-27T17:20:28.312EST ]
    Deploying application 'sso' to OC4J instance 'OC4J_SECURITY'.
    Notification ==> Application Deployer for sso STARTS [ 2006-11-27T17:20:28.351EST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Removing files for app file:/u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> Copy the archive to /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> Unpack sso.ear begins...
    Notification ==> Unpack sso.ear ends...
    Notification ==> Initialize sso.ear begins...
    Notification ==> Initialize sso.ear ends...
    Notification ==> Initialize web begins...
    Notification ==> Initialize web ends...
    Notification ==> Initialize ssohelp begins...
    Notification ==> Initialize ssohelp ends...
    Notification ==> Initialize pls begins...
    Notification ==> Initialize pls ends...
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso.ear
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/web.war
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/ssohelp.war
    Notification ==> deleting: /u01/app/oracle/OraHome_2/j2ee/OC4J_SECURITY/applications/sso/pls.war
    Notification ==> Application Deployer for sso COMPLETES [ 2006-11-27T17:20:29.806EST ]
    Calling updateConfig to notify DCM of new deployments...done.
    Adding OC4J mount points for application 'wirelesssso'...done.
    Adding OC4J mount points for application 'oiddas'...done.
    Adding dependent libraries for application 'sso'...done.
    Adding OC4J mount points for application 'sso'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Binding web app 'wirelesssso-web' to default-web-site for application 'wirelesssso' in OC4J instance 'OC4J_SECURITY'
    Web app 'wirelesssso-web' bound successfully.
    Binding web app 'ui' to default-web-site for application 'oiddas' in OC4J instance 'OC4J_SECURITY'
    Web app 'ui' bound successfully.
    Binding web app 'web' to default-web-site for application 'sso' in OC4J instance 'OC4J_SECURITY'
    ERROR: Caught exception while binding web app 'web' to default-web-site:
    Calling updateConfig to notify DCM of new web-bindings...java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: Disconnected: RMIConnection Disconnected
         at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:31)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:139)
         ... 8 more
    Caused by: com.evermind.server.rmi.OrionRemoteException: Disconnected: RMIConnection Disconnected
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.bindWebApp(Unknown Source)
         at com.evermind.client.orion.BindWebAppCommand.execute(BindWebAppCommand.java:28)
         ... 9 more
    done.
    Adding application 'wirelesssso' to the DCM repository...done.
    Application 'wirelesssso' deployed successfully.
    Adding application 'oiddas' to the DCM repository...done.
    Application 'oiddas' deployed successfully.
    Undeploying application 'sso' from OC4J instance 'OC4J_SECURITY'.
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Caused by: com.evermind.client.orion.AdminCommandException: IOException communicating with the remote server: Connection reset
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:121)
         ... 8 more
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2508)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2361)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1800)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:725)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:106)
         ... 8 more
    FAILED!
    ERROR: Caught exception while undeploying 'sso' from 'OC4J_SECURITY':
    Removing OC4J mount points for application 'sso'...done.
    Calling SMI to save changes.
    SMISession.saveChanges succeeded.
    Calling updateConfig to notify DCM of undeployments...done.
    Stopping OC4J instance 'OC4J_SECURITY'...done.
    Calling SMI to retry init of failed plugins...done.
    Terminating DCM...done.
    Copying /u01/app/oracle/OraHome_2/j2ee/deploy.ini to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.1164667126315.bak.
    Writing any undeployed entries back to /u01/app/oracle/OraHome_2/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    End output from spawned process.
    Any help is appreciated, thanks!

    Hi, did you ever resolve this problem? We've got the same error.
    Cheers,
    Eystein

Maybe you are looking for

  • Write permission for labview.in​i

    When I select Tools > Options, LabVIEW gives me this error: "You do not have write permission for the LabVIEW configuration file...." LabVIEW 7.1 OS: Win2000 I am a user in the Administrator Group. The machine is on a large network with a domain. If

  • Time Machine - Error Code 43

    I have a OS X 10.5.8 on IMac and my Time Machine says 'An unexpected error occured-error code 43.  The only key I can press is OK.  What does this error mean?

  • Any function module to retrieve all Payment Run Data

    I am looking for a RFC enabled function module which would retrieve all the data related to Payment Run.( Tables REGUH REGUP, PAYR, BKPF, BSEG) Any idea or pointers ?

  • Zen Micro . . a few quer

    Hello all, I'm glad to have found the forum. I've been reading through pages and pages . . . my eyes are pretty sore, but most of my issues are resolved, except a few (which I probably overlooked the solutions)By the way, I own a red zen micro, purch

  • AS2 project

    Hi, I do have an assignemnt, deadline os tommorow 4pm. In this  assignment i should create interactive video in flash. I have choosen to  create game like Mortal Kombat. I have one video with 28 cue points. I  made buttons that take us to the right p