Trying to connect to target database...ORA-01994: GRANT failed: password

I am trying to connect to a target database which on linux from a catalog database which is on Windows. I was initially having problems with our DEV database but eventually got it working. Now I have to register the QA database and I'm running into the same problems. Below is a list og things that I have tried:
C:\>rman
Recovery Manager: Release 10.2.0.3.0 - Production on Thu May 10 17:01:51 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target sys/password@fprcqa
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-01031: insufficient privileges
2. So I went to the target database (FPRCQA) and I checked the following:
SYS@FPRCQA> select * from v$pwfile_users;
no rows selected
SYS@FPRCQA> grant sysdba to sys;
grant sysdba to sys
ERROR at line 1:
ORA-01994: GRANT failed: password file missing or disabled
3. Then I checked the passwordfile
SYS@FPRCQA> show parameter pass
NAME TYPE VALUE
remote_login_passwordfile string[b] EXCLUSIVE
4. Then I created a passwordfile in $ORACLE_HOME/dbs because it did not exist.
[oracle@rh-staging dbs]$ orapwd file=orapwdFPRCQA password=password entries=300
-rw-r----- 1 oracle oinstall 8385 Sep 11 1998 init.ora
-rw-r--r-- 1 oracle oinstall 12920 May 3 2001 initdw.ora
-rw-rw---- 1 oracle oinstall 1552 May 8 14:09 hc_FPRCQA.dat
-rw-rw---- 1 oracle oinstall 24 May 8 14:09 lkFPRCQA
drwxr-xr-x 63 oracle dba 4096 May 8 15:12 ..
drwxr-x--- 2 oracle oinstall 4096 May 10 16:10 .
-rw-r----- 1 oracle oinstall 5632 May 10 16:10 spfileFPRCQA.ora
-rwSr----- 1 oracle oinstall 39424 May 10 16:14 orapwdFPRCQA
5. Then I tried again to grant sysdba to sys and it gave me the same error as before.
ALSO, I cannot connect to the the target database from the catalog database through sqlplus...as I get the same error of insufficient privs:
C:\>set ORACLE_SID=fprcqa
C:\>sqlplus /nolog
SQL*Plus: Release 10.1.0.3.0 - Production on Thu May 10 17:11:41 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect sys/password@fprcqa as sysdba
ERROR:
ORA-01031: insufficient privileges
Can anyone help please?

Hello all;
I created the files with following command in $ORACLE_HOME/dbs/
orapwd file=orapwRCVDB password=sys entries=20
remote_login_passwordfile=EXCLUSIVE
$ ls -ltr orapw*
-rwxrwxrwx 1 oracle dba 3584 Dec 22 15:29 orapwRCVDB
but still I am facing similar error ..
SQL> grant sysdba to system;
ORA-01994: GRANT failed: password file missing or disabled
so i checked ...
SQL> select * from v$pwfile_users;no rows selected
can anyone tell me where I am doing mistakes ? It's urgent !!
atul.

Similar Messages

  • Getting ORA-01031 while connecting to target database

    I have created RMAN catalog. While connecting to target database i am getting ORA-01031: insufficient privileges. What could be the reason. I have added entry of both the databases in listner.ora as well as tnsnames.ora, but still facing the same problem. Please help
    [oracle@dbapool ~]$ rman catalog=rman/pass@sdn target=sys/pass@sdn1
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Apr 30 23:49:46 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges

    Issue got resolved. The problem was with password file.

  • Error RMAN connection to auxiliary database ORA- 12514

    Hi,
    I'm trying to make a clone of my database in another server but when I'm trying to connect as follow the RMAN return
    to me the error ORA-12514.
    C:\Documents and Settings\joses.morales>rman TARGET sys/pass@iswgen nocatalog
    AUXILIARY sys/[email protected]
    Recovery Manager: Release 8.1.7.4.1 - Production
    RMAN-06005: connected to target database: ISWGEN (DBID=2348350645)
    RMAN-06009: using target database controlfile instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    For more information:
    - the auxiliary database is started whit nomount option.
    - this is my listener.ora in the auxiliary host
         LISTENER =
         (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
         SID_LIST_LISTENER =
         (SID_LIST =
         (SID_DESC =
         (GLOBAL_DBNAME = oracle8)
         (ORACLE_HOME = C:\oracle\ora81)
         (SID_NAME = iswgen)
         (SID_DESC =
         (GLOBAL_DBNAME = oracle8)
         (ORACLE_HOME = C:\oracle\ora81)
         (SID_NAME = oracle8)
    - this is my tnsnames.ora in the auxiliary host
         ISWGEN =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = iswgen)
         ORACLE8 =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = oracle8)
    - this is my tnsnames.ora in the target host
    iswgen =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gdcoracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = iswgen)
         iswgen.wssp61 =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = iswgen)
    - target server: gdcoracle
    - auxiliary server: wssp61
    - global name in auxiliary: Oracle8
    - intances in auxiliary: Oracle8 & Iswgen
    I was expecting the follow message:
    connected to target database: ISWGEN (DBID=519338572)
    using target database control file instead of recovery catalog
    connected to auxiliary database: ISWGEN.WSSP61 (not mounted)
    Can anybody help me to resolve this error ORA-12514??
    Thanks

    I'm try to connect to the auxiliary server at SQLPLUS and I get the follow:
    C:\Documents and Settings\joses.morales>sqlplus /nolog
    SQL*Plus: Release 8.1.7.0.0 - Production on Sex Jun 1 12:26:09 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    SQL> conn sys@iswgen
    Informe a senha:
    ERROR:
    ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
    descitor de conexao
    SQL> conn sys@iswgen as sysdba
    Informe a senha:
    ERROR:
    ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
    descitor de conexao
    SQL> conn internal as sysdba
    Conectado.
    SQL>
    Any sugestions?
    Thanks everyone and regards

  • Unable to connect my target database

    I am trying to create a clone of my database named proddb using my production RMNA backup,
    so when i export ORACLE_SID=proddb
    and then try to connect to my rman using
    rman target /
    its showing connected to target database clonedb
    i have checked the servicxes and there are no services named clonedb and their is no entry in my tnsnames or listner as clonedb......

    user9038728 wrote:
    oracle@localhost ~]$ export ORACLE_SID=proddb
    [oracle@localhost ~]$ export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1/
    [oracle@localhost ~]$ rman target sys/password
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Jan 6 11:27:13 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: CLONEDB (not mounted)
    RMAN>
    this is the output which i am getting.......Your target/source/Production database should be in OPEN status & your new/clone/auxiliary instance should be in started/not mounted status.
    You have to connect as below
    $rman target sys/*****@prod auxiliary /
    Then target will be production, you have to export SID of auxiliary and test the TNS connectivity to primary.

  • Error Could not connect to the database - ora-12545: tns:name lookup failure

    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

    Copy the tnsname.ora file from Oracle Database serve onto the client PC.
    Path: %Oracle_home%\net80\admin\
    Send me a mail if there is any other issues
    Regards
    Oluseyi Funmi Oduberu
    Oracle Consultant
    Email:[email protected]
    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

  • Regarding connection to target database

    hi guys
    i want to create my dr database(standby)
    the sys password of target database is pcc$111 and db name is pccdb and tw instances are pccdb1 pccdb2
    the database name of standby database is pccdb and instances are scc1 scc2
    now when i am giving command as
    $rman target sys/pcc$111@pccdb1 auxiliary /
    it gives error
    00554--initialisation of internal recovery manager package failed
    rman -01017 invalid username/password
    another way i am doing is
    $rman target pccdb1 auxiliary /
    rman>duplicate target database for standby;
    rman--05502-target database must be mounted when issuing duplicate command
    so please clear is in this way it is connecting to target database and my target database is open

    >
    the sys password of target database is pcc$111 and db name is pccdb and tw instances are pccdb1 pccdb2
    the database name of standby database is pccdb and instances are scc1 scc2
    now when i am giving command as
    $rman target sys/pcc$111@pccdb1 auxiliary /
    it gives error
    00554--initialisation of internal recovery manager package failed
    rman -01017 invalid username/password
    You didn't give your exact release of Oracle, but with some releases there are issues with case sensitive passwords for privileged connections. This can be related to whether you used the ignorecase switch when you created your password files.
    John Watson
    http://skillbuilders.com

  • ORA-12514 when trying to connect to the database using SERVICE

    Hi,
    Version 10204
    In a single instance database i would like to create new SERVICEs in order to use them later with Resource Manager.
    The instance name is DWH.
    I run the following commands:
    I added to the tnsnames.ora file the following input:
    XYZ =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XYZ)
    As SYSDBA i execute:
    > exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
    PL/SQL procedure successfully completed.
    > exec DBMS_SERVICE.START_SERVICE('xyz');
    PL/SQL procedure successfully completed.
    But when i tried to connect to the instance:
    sqlplus ac/ac@xyzSQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:44:43 2008
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    When i am trying to connect , not via the service , its successed:
    sqlplus ac/ac@dwh
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Nov 1 14:45:07 2008
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Could you please help to understand why its failed to connect via SERVICE ?
    Thanks

    You told us.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    I ask some questions, you set alias for listener port (no default) + local_listener parameter, don't you?
    If you did....
    Please check by .....
    lsnrctl status
    lsnrctl service
    Let me show my example:
    About 1522 (no default port)
    SQL> show parameter local_listener
    NAME TYPE VALUE
    local_listener string ALIASLISTENER
    - check tnsnames.ora file in the same location listener.ora file.
    $ cat tnsnames.ora
    ALIASLISTENER=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost )(PORT = 1522))
    - About create new service
    SQL> show parameter service_names
    NAME TYPE VALUE
    service_names string db
    SQL> exec DBMS_SERVICE.CREATE_SERVICE('xyz','xyz');
    PL/SQL procedure successfully completed.
    SQL> exec DBMS_SERVICE.START_SERVICE('xyz');
    PL/SQL procedure successfully completed.
    SQL> show parameter service_names
    NAME TYPE VALUE
    service_names string xyz
    $ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:21
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date 02-NOV-2008 03:28:45
    Uptime 0 days 0 hr. 0 min. 36 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File ORACLE_HOME/network/admin/listener.ora
    Listener Log File ORACLE_HOME/log/diag/tnslsnr/hostname/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522)))
    Services Summary...
    Service "db" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "db2XDB" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "db_XPT" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Service "xyz" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    $ lsnrctl service
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 02-NOV-2008 03:29:40
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1522)))
    Services Summary...
    Service "db" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "db2XDB" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:972 state:ready
    DISPATCHER <machine: hostname, pid: 30200>
    (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=45572))
    Service "db_XPT" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "xyz" has 1 instance(s).
    Instance "db", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully

  • Issues when trying to connect to Oracle database

    Hi
    We have set up a linked server in SQL Server to connect to an Oracle database. We are using SQL Server 2008 R2 Enterprise (64 bit) on Windows Server 2008 and Oracle client 11g 11.02.00.01 connecting to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production using UTF8.
    Most tables are selectable without error, however, we got this error message for some:
    Msg 7347, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'OurLinkedServer' returned data that does not match expected data length for column '[OraOLEDB.Oracle].Ourfieldname'. The (maximum) expected data length is 6, while the returned data length is 2.
    This error message refers to a column of type char(3)
    Will the characterset cause this error (I’ve read that SQL Server doesn’t support UTF8)?
    If not, is there some other resolution that anyone can think of?
    Any suggestions are greatly appreciated.
    Thanks a lot!
    Tom

    Thank You for replying, Justin!
    Yes, I can connect successfully to the database through other tools - at the moment I tried SQL*Plus, Net8 Easy Config and Schema Manager.
    The Oracle client in the NT machine is 8.0.5.0.0. And unfortunately I do not know anything about the Oracle installation on this machine and at the moment I don't have that person near me too whom to ask also. But I think the installation was ok, because the connection through ODBC was working before the DB upgrade as far as I understood (sorry, again at the moment I don't know what was the previous version of DB. I will ask that information as soon as possible).
    The main problem that bothers me at the moment is that I can't install 8.1.* series OraODBC driver with 8.0.5.0.0 Oracle Installer. I managed to install 8.0.6.6.0 version of the driver, but not the newer ones. As far as I've understood I have to upgrade the whole Oracle in the NT machine to upgrade that installer. Am I correct?
    Regards,
    Madis Priilinn

  • While trying to connect to Oracle database 11g from SQL developer (Error)

    Hi Guys,
    Installed OIM in virtual machine with Windows 2008 and when trying to connect to Database after completing installation receiving with Error ' No more data to read from socket'
    Vendor code : 17410. can anybody give suggestion on this.
    thanks
    sri485.

    yes i tried connecting DB directly its working fine and i tried select * from DUAL it displays 2 . VMware with OIM working fine in my system and when i copied the same VMWARE file to other system and i tried running OIM and connecting to DB it not working.
    log trace:
    <Aug 21, 2012 2:28:56 PM BST> <Warning> <DeploymentService> <BEA-290014> <Inval
    d user name or password.>
    <Aug 21, 2012 2:28:58 PM BST> <Error> <OIM Authenticator> <BEA-000000> <Error s
    tting SQL Hint java.sql.SQLException: Unable to start the Universal Connection
    ool: oracle.ucp.UniversalConnectionPoolException: Error during pool creation in
    Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPoolExce
    tion: Error during pool creation in Universal Connection Pool Manager: oracle.u
    p.UniversalConnectionPoolException: Universal Connection Pool already exists in
    the Universal Connection Pool Manager. Universal Connection Pool cannot be adde
    to the Universal Connection Pool Manager>
    java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.uc
    .UniversalConnectionPoolException: Error during pool creation in Universal Conn
    ction Pool Manager MBean: oracle.ucp.UniversalConnectionPoolException: Error du
    ing pool creation in Universal Connection Pool Manager: oracle.ucp.UniversalCon
    ectionPoolException: Universal Connection Pool already exists in the Universal
    onnection Pool Manager. Universal Connection Pool cannot be added to the Univer
    al Connection Pool Manager
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java
    488)
    at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.ja
    a:163)
    at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java
    651)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:890)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:857)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:851)
    at oracle.iam.platform.auth.impl.DBStore.getConnection(DBStore.java:130
    at oracle.iam.platform.auth.impl.DBStore.setSQLHint(DBStore.java:107)
    at oracle.iam.platform.auth.impl.DBStore.<init>(DBStore.java:62)
    at oracle.iam.platform.auth.impl.DBStore.getInstance(DBStore.java:83)
    at oracle.iam.platform.auth.impl.Authenticator.<init>(Authenticator.jav
    :87)
    at oracle.iam.platform.auth.impl.Authenticator.getInstance(Authenticato
    .java:71)
    at oracle.iam.platform.auth.providers.wls.OIMAuthLoginModule.login(OIMA
    thLoginModule.java:43)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(Lo
    inModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(Lo
    inModuleWrapper.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:
    86)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:
    80)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(
    AASLoginServiceImpl.java:113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHand
    er.invoke(Delegator.java:57)
    at $Proxy25.login(Unknown Source)
    at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceIm
    l.login(WLSJAASLoginServiceImpl.java:89)
    at com.bea.common.security.internal.service.JAASAuthenticationServiceIm
    l.authenticate(JAASAuthenticationServiceImpl.java:82)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHand
    er.invoke(Delegator.java:57)
    at $Proxy43.authenticate(Unknown Source)
    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authen
    icate(WLSJAASAuthenticationServiceWrapper.java:40)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(Princi
    alAuthenticator.java:348)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(Princi
    alAuthenticator.java:355)
    at weblogic.management.servlet.BootstrapServlet$1.run(BootstrapServlet.
    ava:169)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticat
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java
    146)
    at weblogic.management.servlet.BootstrapServlet.processGet(BootstrapSer
    let.java:119)
    at weblogic.management.servlet.BootstrapServlet.doGet(BootstrapServlet.
    ava:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.ru
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecur
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
    a:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
    a:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    n.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticat
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebApp
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServlet
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Error during pool creat
    on in Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPo
    lException: Error during pool creation in Universal Connection Pool Manager: or
    cle.ucp.UniversalConnectionPoolException: Universal Connection Pool already exi
    ts in the Universal Connection Pool Manager. Universal Connection Pool cannot b
    added to the Universal Connection Pool Manager
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(
    CPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolExceptio
    (UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolExceptio
    (UCPErrorHandler.java:80)
    at oracle.ucp.admin.UniversalConnectionPoolManagerMBeanImpl.createConne
    tionPool(UniversalConnectionPoolManagerMBeanImpl.java:316)
    at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java
    625)
    ... 61 more
    <Aug 21, 2012 2:28:58 PM BST> <Error> <Configuration Management> <BEA-150035> <
    n attempt was made to download the configuration for the server oim_server1 by
    he user iamamin with an invalid password.>
    thanks
    sri485

  • Trying to connect to a database via JSP

    I'm trying to make a simple connection to a database called testbase but to no prevail. As you can see the code is really simple but i keep getting "javax.servlet.ServletException: Table 'testbase.testbase' doesn't exist".
    //connection.jsp
    <HTML>
    <HEAD><TITLE>Employee List</TITLE></HEAD>
    <BODY>
    <%@ page import="java.sql.*" %>
    <TABLE BORDER=1 width="75%">
    <TR><TH>Data</TH></TR>
    <%
    Connection conn = null;
    Statement st = null;
    ResultSet rs = null;
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/testbase",
    st = conn.createStatement();
    rs = st.executeQuery("select * from testbase");
    %>
    <TR><TD><%= rs.getString("table01") %></TD>
    <TD><%= rs.getString("field01") %></TD></TR>
    </BODY>
    </HTML>
    Can anyone find something wrong with the code or do you think that there's a connection problem someplace else?
    Any replies are greatly appreciated

    DriverManager.getConnection("jdbc:mysql://localhost:33
    06/testbase",
    st = conn.createStatement();
    rs = st.executeQuery("select * from testbase");One of them or both might not be correct. Check if you have a database called testbase and it has a table called testbase.
    You could login from MySQL command prompt with your login name and password (which I hope is not *) and check.

  • Suddenly unable to connect Reports to database: ORA 12154 TNS can't resolve

    Beginning end of last week, the Reports development tool (rwbuilder v10.1.2.0.2) suddenly lost the ability to connect to the database. The error is ORA-12154: TNS: could not resolve the connect identifer specified.
    However, nothing has changed on either the database or my workstation. SQL*Developer and the Network Administrator can both access the database, confirming the configuration of TNSNAMES.
    A fresh install of the DevSuite (rwbuilder v9 something) onto another workstation yielded the same error. The problem seems to be with Reports, not my workstation, my TNSNAMES configuration, or the database itself.
    What could possibly cause the database to reject only Reports?

    Well, continued searching this forum revealed the answer. It was found in:
    ORA - 12154 - Unable to resolve TNS..
    It seems that something did, indeed, change on my workstation. I renamed all of the TNSNAMES.ORA files other than the one used by the network administrator. It seems that Oracle*Reports requires its own copy of the TNSNAMES file. What I don't understand is how it gets updated when changes are made to the real TNSNAMES file via the network administrator.
    In any event, I'm back up and running. Sorry for the wasted bandwidth.

  • Connect to Remote Database - ORA-12154

    When attempting to use OCI to attach to a remote database I cannot resolve the service name.
    However, I am able to connect using tnsping.
    Example output is:
    bash-2.03$ bin/msgoptim mo password mo
    Message Optimiser - Version 1.0
    Oracle DB Initialising
    Database Access Error - ORA-12154: TNS:could not resolve service name
    Abort (core dumped)
    bash-2.03$ tnsping mo
    TNS Ping Utility for Solaris: Version 8.1.7.0.0 - Production on 03-APR-2003 11:28:14
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=qld)(PORT=1521))
    OK (0 msec)
    The remote database name is fed to the OCIServerAttach call as in :
    checkerr( errhp, OCIServerAttach( svrhp, errhp, (text*) server.c_str(),
    (sb4) server.length(), 0));
    Am I doing this in the correct location, or am I missing something else in the process for remote databases.
    I have no trouble connecting to a local database with a empty string in the OCIServerAttach call.
    Thanks in anticipation.

    ORA-12154: "Could not resolve service name"
    ORA-12541: "No listener"
    ORA-12154: "Could not resolve service name"
    When you try to connect to your database through Developer, try using the connect_string you've been using with .world added to it (sometimes it's appended to your connect_string automatically, and if your sqlnet.ora file has NAMES.DEFAULT_DOMAIN and NAME.DEFAULT_ZONE set to anything other than 'world' then you may have to create a new sqlnet.ora file and set NAMES.DEFAULT_DOMAIN and NAME.DEFAULT_ZONE to world for it to work properly.
    ORA-12541: "No listener"
    You just need to verify that the listener is running and also is listening for the SID or CONNECT_DATA value being sent be PL/SQL Developer. For example, if the listener on your remote machine is listening for 'pl_sql' but when you try to connect to the remote database the PL/SQL Developer is sending a request to connect to 'plsql', then there is 'no listener' listening for 'plsql' and it fails. IF you can connect to the remote database via sqlplus, but then when you try it from PL/SQL Developer and it fails, that means the listener is in fact running, but not listening for the correct string being sent to it by the application.
    Hope this helps.
    Roy

  • Applet trying to connect to Oracle Database

    Hello!
    I am trying to access an Oracle 8i database from an Applet. The problem is that the following exception is reported in IE 5.5
    and the Applet is not run.
    exception: com.ms.security.SecurityEceptionEx[oracle/net/nt/TcpNTAdpater.connect]:cannot access "pc38"
    (where my database is being hosted on the intranet at a NT workstation called pc38). The applet does not seem to be able to connect to the datase due to security reason).
    In Netscape no exception is shown in the Java Console but the Applet is not run anyway.
    What do I have to do for the Applet to be able to connect to the database. The code for the Applet and the HTML file have been appended to this message.
    Thanx in advance
    Saad
    /*********************************Applet*******************************/
    String serviceName="ora816";
    String hostName="pc38";
    String userName="ipweb355";
    String password="ipweb355";
    String port="1521";
    Connection conn=null;
    try
    java.sql.DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    String url = "jdbc:oracle:thin:@"+this.hostName+":"+this.port+":"+this.serviceName;
    System.out.println("url = "+url+ " UserName = "+this.userName+ " password = "+this.password+" port = "+this.port );
    conn = java.sql.DriverManager.getConnection(url, this.userName, this.password);
    public void paint(Graphics g){
    g.drawString("HI there",20,20);
    try{
    Connection con = conn;
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("Select COUNT(*) AS NUM_ROWS from TABLE_ONE");
    rs.next();
    String temp = rs.getString("NUM_ROWS");
    g.drawString(temp,100,20);
    catch(SQLException e){
    g.drawString(e.getMessage(),20,20);
    /********************HTML*********************************************/
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <TITLE>
    HTML Test Page
    </TITLE>
    </HEAD>
    <BODY>
    testApplet will appear below in a Java enabled browser.<BR>
    <APPLET
    CODEBASE = "D:\IPWeb\Swings\TreeApplet\src"
    ARCHIVE = "classes111.zip"
    CODE = "testApplet.class"
    NAME = "TestApplet"
    WIDTH = 400
    HEIGHT = 300
    HSPACE = 0
    VSPACE = 0
    ALIGN = middle
    >
    </APPLET>
    </BODY>
    </HTML>
    <!--the classes111.zip is being send in the Archive file so that the java.lang.ClassNotFound Exception is not reported-->
    /*********************************************************************/

    Hi!
    Try to add this line to java.policy file on machine that's running applet:
    permission java.security.AllPermission;

  • Report tries to connect to wrong database

    Hello,
    We're currently developing an ASP.NET C# Web Application and integrate some Crystal Reports using the CrystalReportViewer control. Our environment looks like this:
    <h1>Dev Environment:</h1>
    One machine using
    - Windows Server 2003
    - .NET Framework 3.5 SP1
    - IIS 6
    - SQL Server 2008 Developer Edition, Default instance
    - Crystal Reports 2008 (no service packs applied so far)
    <h1>Production Environment:</h1>
    One machine using
    - Windows Server 2008
    - .NET Framework 3.5 SP1
    - IIS 7
    - SQL Server 2008 Express Edition, Named instance
    I've designed the report on the Dev Environment. For this I created a new database connection inside the report to the Dev Database. We use OLE DB for SQL Server to connect to the database using sql authentication. We pass the login credentials in code. The report uses two sql server views and one sql table to display its data. The report is configured to not store data inside.
    To pass the login credentials, we use the same code as recommended in your code samples on https://www.sdn.sap.com/irj/boc/samples:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Configuration;
    using CrystalDecisions.Shared;
    namespace Ispin.Irma.Helpman
        public partial class ShowReport : System.Web.UI.Page
            protected void Page_Init(object sender, EventArgs e)
                ConfigureCrystalReports();
            private void ConfigureCrystalReports()
                string ReportPath = Server.MapPath("ReportCallTimeUsage.rpt");   
                ConnectionInfo connectionInfo = new ConnectionInfo();
                connectionInfo.ServerName = "ANANKE\\SQLEXPRESS";
                connectionInfo.DatabaseName = "Irma";
                connectionInfo.UserID = "<username goes here>";
                connectionInfo.Password = "<password goes here>";
                CrystalReportViewer1.ReportSource = ReportPath;
                SetDBLogonForReport(connectionInfo);
            private void SetDBLogonForReport(ConnectionInfo connectionInfo)
                TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
                foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
                    tableLogOnInfo.ConnectionInfo = connectionInfo;
    <h1>Problem:</h1>
    When deploying the application and reports to the production environemt, the reports come up with a login window, forcing me to enter login credentials to the dev database. At this point I can only change the username and passwort fields, but not the server or the database. So, I'm unable to enter the correct login data to connect to the production system since this is on another machine.
    <h1>What I already did:</h1>
    - Install Crystal Reports 2008 runtime on production webserver (this helped, but the login problem still arises). I got the runtime from https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm, I've choosen the "Crystal Reports 2008 - Redistributable Installation" file, published on 10.09.2008.
    - Install Crystal Reports 2008 Trial Edition on production server (I could start the report sucessfully out of the designer using the login credentials for the productive database server).
    It seems that the code for passing the credentials at runtime is not effective. It looks as if the report is saving login credentials inside the rpt file. but why? It must be possible to pass login credentials by code. Can you please provide me additional hints for getting this thing to work?
    Thank you very much.
    Edited by: AndreG on Aug 9, 2009 3:41 PM
    Code formatting seems not to work.... sorry.

    Lots of posting for this same question. Please search before posting the same question again.

  • Trying to connect to DB2 database....get windows Application error message

    Hello,
    I have just started using JDBC and I am trying to connect to a DB2 db from my pc. The program I have written compiles ok but when I try to run the program I get a windows error:
    java.exe - Application error
    The instruction at "0x10009f62" referenced memory at "0x0000001c". The memory could not be "read".
    Click OK to terminate the program.
    Click CANCEL to debug the program.
    I am using Windows2000 and DB2 v6.1.0 is installed on my laptop.
    The program I am trying to run is as follows:
    //Class to load jdbc driver and test connectivity to DB
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    //Dynamic SQL application using jdbc
    //example taken from Don Chamberlain's book, page 504
    //Adjusted for reptest DB
    public class Test{
    //Register the jdbc driver
    static{
    try{
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
    }//ends try
    catch (Exception e){
    System.out.println("Error registering the jdbc driver");
    e.printStackTrace();
    }//ends catch
    }//ends static
    public static void main(String args[]){
    //try catch block, Create a Connection object and use it to connect to the DB and turn autocommit off
    //The DB is identified by a URl that begins with "jdbc:db2" followed by the DB name
    try{
    String dbname = "dbname";
    String userid = "uid";
    String pw = "password";
    String url = "jdbc:db2:" + dbname;
    Connection con = DriverManager.getConnection(url, userid, pw);
    con.setAutoCommit(false);
    //Simple select statement
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT problem_id" + "FROM problems" + "WHERE problem_id = 2002219");
    System.out.println(rs.getString(1));
    }//end try
    //General purpose exception
    catch(Exception e){
    System.out.println("Error");
    e.printStackTrace();
    }//ends outer catch
    System.out.println("Successful");
    }//ends main
    }//ends class
    I'd appreciate any help. Thanks , Ali

    Hello,
    This is because of the DB2Java.zip file, what i did is unzip the file into a temp folder then make a jar using jar -cvf DB2java.jar COM
    (COM is important)now you can see jar file is created. you have to use this jar file in your classpath it works fine,
    That's all it works for me.
    Thanks for somebody placed in the java forum.
    Cheers
    Bala

Maybe you are looking for

  • Getting syntax error while executing keyfigure routine BI 7.0

    Hello, I am writing a very simple keyfigure routine to calculate sales revune using sales quantity and sales price, I am getting error as follows - I am in 'Rules Details' screen and I have selected 'Routine' as the rule type. I enter the following c

  • Condition Type for Service PO Items

    Hi all expert, May i know that where to define the condition type for Service PO items? For item of service PO, there have Service Tab, under this tab, there may have few items and each of the item have condition type. thus, i would like to know that

  • Configure Dynamics AX 2012 Mobile Connector Error

    I tried to install and Configure Dynamics AX Mobile Time and Expense application, by following the instructions mentioned in the Whitepaper (ConfigureMicrosoftDynamicsAXConnectorforMobileApplications.docx). Azure Account Creation ADFS 2.0 Configurati

  • Importing RAW images into iPhoto5

    I'm trying to import RAW images taken by my Canon Powershot S45. It says it's an invalid file type or invalid data. However, if I use the Image Capture application, the pictures come out okay. Of course, I can't import those images to iPhoto. Is ther

  • Bootcamp Install, No Bootable Disk

    Hi, I was just in the process of installing Windows 8 on my Macbook Pro Late 2011 15" when after i partioned the hard drive, and restarted i had the no bootable disk error, with the black screen. I was attempting to use the Windows 8 ISO on a USB sti