Unable to connect to Oracle using OS authentication (sqlplus / as sysdba)

Hello,
When I try to connect locally ,using OS authentication ( sqlplus / as sysdba ), on a Oracle database, I get "ORA-01031: insufficient privileges" error.
OS: Windows XP
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod.
connecting as sysdba using sys/pasword works.
I have setup :
-> Log on as a batch job
-> Log on as a service
I am also member of ORA_DBA group.
I mention that connecting "/ as sysdba" worked many months after I've installed the Oracle database. But at some moment in time connecting "/ as sysdba" was no longer possible.
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.1.0.3.0 - Production on Wed May 23 11:08:52 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges.
Thank you for any suggestion.

Hi,
I have the same issues from the beginning..
I have two Oracle homes ( One for earlier installed SOA10g, and another for current installing SOA11g).
I have the right sqlora.net file. I have removed the old path and reset to point the new oracle home. I have this home entry as the first entry in my Universal installer too.
I AM ABLE TO CONNECT WITH sys USER AS SYSDBA on THE SAME SYSTEM ( I MEAN WHERE i INSTALLED THE DATABASE) USING THE command prompt.
But I am not able to connect as the SYSDBA with sys ACCOUNT through the SQLDeveloper tool. or RCU tool? Any help please. Again I am able to connect as a normal user through the SQL developer using the SYSTEM account.
-- Khaleel

Similar Messages

  • Unable to connect to Oracle using OCI Drivers on Linux

    Hi Everyone!
    I am facing a peculiar issue while using Instant Client on Linux ( 64Bit ) running on Red Hat 4.1.
    I have downloaded the instant client version 10.2.0.3(.zip) .so files from the below URL
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html
    UPloaded all the files to a directory under /opt and changed the .bash_profile file, the latest content looks like
    ORACLE_HOME=/opt/instantclient_10_2
    export ORACLE_HOME
    PATH=$PATH:$ORACLE_HOME
    export PATH
    TNS_ADMIN=/opt/instantclient_10_2
    export TNS_ADMIN
    LD_LIBRARY_PATH=/opt/instantclient_10_2
    export LD_LIBRARY_PATH
    PATH=$PATH:$LD_LIBRARY_PATH
    export PATH
    CLASSPATH=/opt/instantclient_10_2:/opt/instantclient_10_2/ojdbc.jar
    export CLASSPATH
    Java.library.path=/opt/instantclient_10_2
    export Java.library.path
    As i have downloaded the Sqlplus utility as well, i am able to connect to the Oracle FARM via sqlplus.
    On the other hand, i am unable to connect to the same database via the application. It constantly gives me the following exception,
    java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3138)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3134)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:220)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:438)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:131)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
    at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:296)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:220)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:164)
    at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:105)
    at com.sun.enterprise.resource.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:68)
    at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(AbstractResourcePool.java:891)
    at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToPool(AbstractResourcePool.java:1752)
    at com.sun.enterprise.resource.AbstractResourcePool.createResources(AbstractResourcePool.java:917)
    at com.sun.enterprise.resource.AbstractResourcePool.initPool(AbstractResourcePool.java:225)
    at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:516)
    at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:443)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
    at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:108)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:922)
    at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:984)
    at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:117)
    at com.gecf.uk.pca.dcs.util.SystemParametersDAO$SysParamsStoredProcedure.execute(SystemParametersDAO.java:150)
    at com.gecf.uk.pca.dcs.util.SystemParametersDAO.getSystemParametersList(SystemParametersDAO.java:67)
    at com.gecf.uk.pca.dcs.util.SystemParametersDAO.getSystemParametersMap(SystemParametersDAO.java:94)
    at com.gecf.uk.pca.dcs.util.SystemParameters.loadParameters(SystemParameters.java:44)
    at com.gecf.uk.pca.dcs.util.SystemParameters.<init>(SystemParameters.java:33)
    at com.gecf.uk.pca.dcs.util.SystemParameters.getInstance(SystemParameters.java:72)
    at org.apache.jsp.common.secure.mypayment_jsp._jspService(mypayment_jsp.java from :86)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at com.gecf.uk.pca.dcs.web.util.SessionFilter.doFilter(SessionFilter.java:97)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    |#]
    I have used the classes12.jar and ojdbc.jar which came with the download and nothing seems to work. A bit surprising when sqlplus works and not the application. I suspect there could be an issue with the driver class. I have been struggling to figure this out for days now...
    Can anyone please share their thoughts if something similar was observed earlier please.
    Any quick help will highly be appreciated.

    ORACLE_HOME=/opt/instantclient_10_2
    export ORACLE_HOMEYou don't set ORACLE_HOME with Instant Client.
    PATH=$PATH:$LD_LIBRARY_PATH
    export PATHThis is unnecessary.
    CLASSPATH=/opt/instantclient_10_2:/opt/instantclient_10_2/ojdbc.jar
    export CLASSPATHThis is wrong.
    It should be:
    CLASSPATH=/opt/instantclient_10_2/ojdbc14.jar:<whatever else you need there>
    Java.library.path=/opt/instantclient_10_2
    export Java.library.pathThis is useless; java.library.path is not an environment variable.
    java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.pathThe case is pretty clear. You want to use the OCI driver (your URL starts with "jdbc:oracle:oci:"), so the Java Virtual Machine is looking for libocijdbc10.so in the Java library path but cannot find it.
    What is also clear is that the program does not use the CLASSPATH environment variable you set, because then it would never have found the Oracle Driver.
    So it seems that your program is ignoring the environment you set (which would explain why it also ignores LD_LIBRARY_PATH which you set correctly).
    You must have the environment variables set and exported in the shell that starts the "java" executable.
    Also, check that there is no other ojdbc14.jar on this machine (use "find").
    To help you debug your problem, let me explain how Sun Java sets Java library path on Linux:
    - If you start java with "java -Djava.library.path=/some/dir:/other/dir ...", the Java library path is set to exactly that value.
    - If you do not specify -Djava.library.path, the Java library path is taken from the environment variable LD_LIBRARY_PATH.
    - Directories listed in /etc/ld.so.conf have no influence on the Java library path (which gave me quite a headache in the beginning).
    Do you really need the OCI Driver? If you can do with the Thin Driver (i.e., use an URL that starts with "jdbc:oracle:thin:") you don't need any shared libraries at all.
    Yours,
    Laurenz Albe

  • Unable to connect to oracle using type4 driver

    hi
         I was trying to connect to oracle Database using type 4 thin drivers on win98.
         I downloaded the driver from oracle site and also downloaded some more drivers
         from other sites.While connecting to data base I ran into problems I am working
         for about two days on this thing but couldn't succeed.
         I get the following message:
              Connection refused ...........
         The driver is succefully loaded but when it tries to connect using
         conn = DriverManager.getConnection("jdbc:oracle:thin:@server:1521:orcl","userid","password");
         it gives the above message.
         now I think that I am giving the host name incorrect I couldn't find
         any way in oracle to figure out the host name.
         I am giving
                   "jdbc:oracle:thin:@127.0.0.1:1521:orcl"
              I have also tried other options for host name like localhost etc.but it
         didn't resolve.I think that the listener for oracle is not listening at the port 1521.
         I tried telnet to check that but it failed to connect at this port.I tried to do this
         with mysql to connect at port 3306 using telnet it succeeded.
              Second thing is that I tried to create a service name in oracle using TCP/IP protocol
         giving the above mentioned host names at all the attempts it gave the error that it has performed
         an illegal operation .
              I think that there are some settings needed for oracle to listen at this port which
         I dont know or I am giving the host name wrong . I shall be extremely thankful if u help
         me to solve this problem.
                                       Regards
                                                 shAhzad      

    It has been a long time since I tried to run Oracle on Win98 (or Win95) for that matter, but I don't believe that there is a listener in the traditional sense since you would be using Personal Oracle. Your first step should be to make sure you can login to Oracle using the standard client and SQLPLUS. You could then use TNSPING to see if the listener is listening (you will need to setup TNSNAMES.ORA properly but you can use the Net8 Assistant or whatever). Next I would suggest you try using the OCI client instead of the thin client.
    If you can, it would be much better to install Oracle on an NT, Win2K, or Linux machine. Oracle on Win98 is not really the same thing.

  • I am unable to connect to oracle using thin driver

    Hi,
    I am writing a program to connecto database using thih driver,by using ipadress of server where oracle 8i is installed.I am getting an error
    Exception in thread "main" java.sql.SQLException: No suitable driver
    How to over come this.Any one please help me.

    I am getting error saying No suitable driver found
    this is my function:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection cn=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.112:1521:orcle8i","scott","tiger");
    oracle 8i is my database name.I have created another database name with oracle in the server. will it cause any problem.

  • Unable to connect to oracle driver

    I am unable to connect to oracle driver. My code is as follows --
    try {
    Class.forName("oracle.jdbc.OracleDriver").newInstance();
    } catch (ClassNotFoundException e) {
    System.out.println("Can't find class oracle.jdbc.OracleDriver");
    System.exit(1);
    } catch (Exception e){
    e.printStackTrace();
    When I run the code, I am getting the 'ClassNotFoundException'. I have JVM 1.4 and have included classes12.zip and ojdbc.jar in the class path.
    What am I missing?

    or better yet, upgrade to a less ancient driver jar.
    The driver classname you supplied is correct for Oracle 9i and later, but the driver jar you use is for Oracle 8. It's also for Java 1.2 (hence the "classes12" name), and seriously lacking in features and performance compared to more modern versions.
    Of course if you're stuck with a 10 year old database version you have little recourse but to use it, but no reputable company would use something that old any longer, especially since it's been out of support for ages.

  • Compile 시 PCC-F-02104, Unable to connect to Oracle 관련 문의드립니다.

    안녕하세요..
    PCC-F-02104, Unable to connect to Oracle 관련 문제점을 해결하고자 글을 올립니다.
    Oracle Client 10.2.0.1 -> Oracle DB 10.2.0.4 로 접속이 되는 구에서 아래와 같이
    Client에서 Compile이 안되는 현상이 있습니다.
    사례가 있으셨던 분들의 도움을 요청합니다.
    $ make all
    /user/oracle/product/11.2.0/bin/proc SQLCHECK=SEMANTICS userid=dbmuser/palm_7256@IBQMDB2 MODE=ORACLE DBMS=V8 parse=full
    include=/user/ibqm/ibqm/include include=/user/ibqm/ibqm/libs/include pclqf_sql.pc pclqf_sql.c
    Pro*C/C++: Release 11.2.0.1.0 - Production on Tue Nov 17 10:10:02 2009
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    System default option values taken from: /user/oracle/product/11.2.0/precomp/admin/pcscfg.cfg
    PCC-F-02104, Unable to connect to Oracle
    *** Error code 1
    make: Fatal error: Command failed for target `pclqf_sql.c'
    $
    확인해본 내용
    1. sqlplus로 원격 접속은 잘 이루어집니다
    2. 양 Client 및 DB를 모두 재구성 해도 결과는 동일합니다.
    3. sqlcheck=syntax 또는 none 으로 해서 compile 하면 SQLCHECK=SEMANTICS 으로 해야 한다는 Error 메시지가 계속 나옴

    It's my GNUmakefile:
    # can't use -fno-rtti yet because it causes problems with exception
    # handling in GCC 2.95.2
    CXXFLAGS = -g
    # uncomment the next two lines to do a release build
    # CXXFLAGS = -O2 -DNDEBUG -ffunction-sections -fdata-sections
    # LDFLAGS = -Wl,--gc-sections
    export LD_LIBRARY_PATH = /home/oracle/db_1/lib
    ARFLAGS = -cr     # ar needs the dash on OpenBSD
    RANLIB = ranlib
    UNAME = $(shell uname)
    CXXFLAGS := $(CXXFLAGS) -pipe -I/home/oracle/db_1/precomp/public -I/home/oracle/db_1/rdbms/public -I/home/oracle/db_1/rdbms/demo -I/home/oracle/db_1/plsql/public -I/home/oracle/db_1/network/public
    ifeq ($(UNAME),SunOS)
    LDLIBS =
    endif
    ifeq ($(CXX),gcc)     # for some reason CXX is gcc on cygwin 1.1.4
    CXX = g++
    endif
    PROC = $(ORACLE_HOME)/bin/proc
    PROCPPFLAGS = code=cpp cpp_suffix=cpp threads=yes lines=yes sqlcheck=full userid=user/pw@tnsname
    ORA_LIB = -L/hone/oracle/db_1/lib `cat /home/oracle/db_1/lib/ldflags` -lclntst9 `cat /home/oracle/db_1/lib/sysliblist` -ldl -lm
    PCS = $(wildcard *.pc)
    ifeq ($(PCS),)          # workaround wildcard function bug in GNU Make 3.77
    PCS = $(shell ls *.pc)
    endif
    ORAS = $(PCS:.pc=.cpp)
    CPPS = $(wildcard *.cpp)
    ifeq ($(CPPS),)          # workaround wildcard function bug in GNU Make 3.77
    CPPS = $(shell ls *.cpp)
    endif
    OBJS = $(CPPS:.cpp=.o)
    all:
         $(MAKE) precomp
         $(MAKE) citycardpro
    clean:
         $(RM) citycardpro $(ORAS) $(OBJS)
    precomp: $(ORAS)
    citycardpro: $(OBJS)
         $(CXX) -o $@ $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(ORA_LIB) -lpthread -lcryptopp
    .SUFFIXES: .pc
    .pc.cpp:
         $(PROC) $(PROCPPFLAGS) $<
    .cpp.o: .pc
         $(CXX) $(CXXFLAGS) -c $<
    Proc as and sqlplus locate in $ORACLE_HOME/bin
    Thanks for reply.
    Andrew.

  • Error: unable to connect to database using user system. please check privil

    Hi All,
    i have 2 oracle databases in my system (ORCL,RR). i am able to connect both databases i sql prompt. but in ggsci prompt not able to connect rr database due to below error
    dblogin userid system, password tiger.
    Error: unable to connect to database using user system. please check privil
    Can you please help me to connect RR database also in GGSCI promt.
    Thanks
    Raja

    Did you try with RR database tns name or sid while connecting ?
    If No then try this ,
    GGSCI (ATP) 6> DBLOGIN USERID SYSTEM@<tns alias name>
    Password:
    Successfully logged into database.
    HTP
    Annamalai.

  • Error: Unable to connect to database using connection_pool

    Hi experts
    I have created repository and reports on my windows machine using ODBC , Now i have tranfered this to on unix with OCI, But when i am connecting to my dtabase it is showng the error:
    Error: Unable to connect to database using connection_pool
    Please suggest how to resolve this..

    Have you install the Oracle client in your Unix server?

  • Unable to connect to Oracle Applications database (afscpgcs) after clone

    Hi,
    I have just moved (clone using rapidclone) two of our 11.5.10.2 install from a solaris SPARC 8 to 10 . After the clone, while discoverer 10g works perfectly well in one environment, it is giving the error below in the another environment.
    - Failed to connect to database - Unable to connect to Oracle Applications database (afscpgcs)
    Notes:
    1. For the 2 environments, nothing as changed apart from the hostnames.
    2. The password has not changed on both - from source to targets.
    3. This happens when launching discoverer 10g from Apps.... discoverer works well on it own if not launched from apps.
    I raised a SR with oracle and the 2 things they said have not worked. they said
    1. change signon password case parameter - but I cannot find that in the list of system parameters on our system.
    2. The other note says apply patch 6430269 and I can confirm this patch has been on the system for sometime.
    Please advise on this if you have come accross this before and you can help here.
    Thanks

    Thanks for your concern. I have used the notes you listed but no luck. One thing I have to point out here is that I have always cloned from solaris 8 to 8 for years without this problem. Now I am cloning from solaris 8 to 10 and the problems is on just one environment. The other is working well. The problem seems to be related to the apps password but the password has not changed at all. Also, I have tried to change the password to something else and ran autoconfig but no luck. Please help

  • Unable to connect to DB using the SID

    HI Forum,
    I am unable to connect to DB using the SID i assigned using TOAD, but i am able to connect using the instance name.
    My setup needs that i should use a common name to connect to the DB immaterial of which instance is up.
    Can any one instruct me how to achieve this kind of setup.
    Regards
    Prakash

    Hi Prakash,
    1). Create a file called TestingLoop.java containing following code:
    import java.sql.*;
    public class TestingLoop {
    public static void main(String[] s)throws Exception {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    /* String url="jdbc:oracle:thin:@(DESCRIPTION= (LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=a) (PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=b)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=c) (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=orcl)))"; */
    String url ="jdbc:oracle:thin:@abc.us.oracle.com:23001:xyz";
    for (int i=0; i<20; i++) {
    try {
    long x= System.currentTimeMillis () ;
    Connection conn = DriverManager.getConnection(url,"scott","tiger");
    long y= System.currentTimeMillis ();
    System.out.println("Connection Succesful "+conn);
    System.out.println("Connection time is "+(y-x)/1000+" ms");
    Statement stmt =conn.createStatement();
    ResultSet res= stmt.executeQuery(" select host_name from v$instance");
    while(res.next()) {
    System.out.println(res.getString(1));
    stmt.close();
    conn.close();
    catch(Exception e) {
    e.printStackTrace();
    2). Compile the file using this command:
    javac TestingLoop.java
    3). Run the java program:
    java TestingLoop
    Single Virtual Ip doesn't make sense... does?
    You will lose failover vip capabilities...
    Regards,
    Rodrigo Mufalani

  • Unable to connect to Oracle Discover Application: ORB Initialization failure

    We are running Discoverer 4.1.37 in a DMZ. Some of our internal users receive a "Unable to connect to Oracle Discoverer Application: ORB Initialization failure ..." error when trying to use Discoverer Plus. Our external users are able to connect using Discoverer Plus. We have SSL and Gatekeeper was configured with the machine's IP address (Exterior address), port 443 (exterior port), and exterior proxy address. Networking changes were made to enable users to use one web address instead of two (one for external and one for internal). Also, if I trying to use the machine's IP address in the web address, Discoverer just says "Loading" in the Discoverer Plus status box. If I use the one web address (originally, the external web address), I can log into Discoverer.

    How are you trying to connect the database using JPA?
    Has your datasource got bind successfully. You should check all these things first. If your datasource has not got binded then debug for that.

  • Unable to connect to Oracle Applications database invalid username/password

    Hi,
    Ou Requirement is we want to connect to Oracle Applications using discoverer plus and discoverer viewer.
    Application Server used : 10.1.2.0.2
    Oracle Applications : R12 RUP4
    We have installed application server 10g with OID and when we try to connect to oracle applications we are getting
    A connection error has occurred.
    - Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
    Regards
    Ketan

    Hi,
    I think better to check with your sysadmin or DBA on this, I had the same isuse before but Apps 11i with Discoverer, I talked to ERP sysadmin and worked fine.
    Since applications userid cannot talk with Discoverer schema (eul10_us) and it should directly talk with APPS user and then APPS user can talk with Discoverer user.
    To the best of my knowledge I provided.
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Connecting to Oracle using JDBC

    Hi all,
    I am a new to Oracle. I am trying to connect to Oracle using JDBC
    The URL with which I tried to connect was:
    jdbc:oracle:oci8:@myServiceName,user='myLogin',password='myPassword'
    I get an error (ORA-12154)
    - TNS could not resolve service name
    When I use the same userid, password and service and connect thru' SQL*Plus it goes thru'. Is there any parameter which I am missing. Can anyone throw some light on this. I am held up with this issue badly.
    Thanks for all your help and time.
    Regards,
    Latha

    Hi Latha,
    Please try to use thin and add port number.
    m_conn = DriverManager.getConnection("jdbc:oracle:thin:@" + hostURL + ":" + port + ":" + database, user, password);
    Hong
    null

  • Connect to oracle using jdba thin driver

    i want to use jdbc thin driver to connect to oracle 8i for linux intel.
    my code is:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    String dbURL = "jdbc:oracle:thin:@dbserver:1521:iasdb";
    Connection con = DriverManager.getConnection(dbURL,"scott","tiger");
    but an error is reported as "the network adapter can not establish connection".
    why?
    i can connect to oracle using JDBC-ODBC bridge successfully.

    i want to use jdbc thin driver to connect to oracle 8i for linux intel.
    my code is:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    String dbURL = "jdbc:oracle:thin:@dbserver:1521:iasdb";
    Connection con = DriverManager.getConnection(dbURL,"scott","tiger");
    but an error is reported as "the network adapter can not establish connection".
    why?
    i can connect to oracle using JDBC-ODBC bridge successfully.

  • Unable to connect to Oracle Weblogic Administration Server

    Hi Folks,
    As part of installation steps, I am facing error with " Unable to connect to Oracle Weblogic Administration Server"
    Below is AdminServer Log, So please guide me reolving this impending issue.
    ####<12 Jun, 2014 2:46:01 PM IST> <Info> <Deployer> <obia111171w64> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KQFMukk5yW^5xV_AiW1JaMxv000002> <1402564561284> <BEA-149059> <Module adminservicesmbeans of application biadminservices [Version=11.1.1] is transitioning from STATE_ADMIN to STATE_PREPARED on server AdminServer.>
    ####<12 Jun, 2014 2:46:05 PM IST> <Info> <Deployer> <obia111171w64> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KQFMukk5yW^5xV_AiW1JaMxv000002> <1402564565300> <BEA-149061> <Module adminservicesmbeans of application biadminservices [Version=11.1.1] failed to transition from STATE_ADMIN to STATE_PREPARED on server AdminServer.>
    ####<12 Jun, 2014 2:46:11 PM IST> <Error> <Deployer> <obia111171w64> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KQFMukk5yW^5xV_AiW1JaMxv000002> <1402564571861> <BEA-149231> <Unable to set the activation state to true for the application 'biadminservices [Version=11.1.1]'.
    weblogic.management.DeploymentException: Unexpected error encountered
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.getOrCreateDeploymentException(AppContainerInvoker.java:299)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:84)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
      at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
      at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
      at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.OutOfMemoryError: PermGen space
      at weblogic.j2ee.J2EELogger.logIgnoringUndeploymentError(J2EELogger.java:2902)
      at weblogic.application.internal.BaseDeployment$2.logRollbackError(BaseDeployment.java:682)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:65)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
      at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
      at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
      at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    Thanks,
    Wj

    Did you manage to solve this issue?
    I'm running into the exact same error, but installing 11.1.1.7.0 on Windows 2003
    Haven't found anything on MOS yet :(
    Kind regards,
    Rob
    Edited by: rgouw on 10-apr-2013 1:10

Maybe you are looking for

  • Non-hex character in a hex string error message

    Hi everyone, I encountered n error message in Illustrator "Acrobat PDF File Format is having difficulties. Non-hex character in a hex string." when trying to open a particular file. File was originally created on a Windows 7 PC, tried opening file on

  • SRM Client Copy

    Hi everyone, Our SRM Production client is copied to SRM Test client.. Now i need to make the test client's configuration again ( integration with r3 , material replication , vendor replication... ) But in the test client, all master data is the same

  • Firefox.exe won't launch dur to a memory exception error.

    When I loaded Firefox this morning, it automatically installed an update. Now the .exe file won't run giving me the error message " The application was unable to start correctly (0xc0000056). Attempts to run in safe mode get the same result and when

  • My iPhone won't turn on or charge

    So I have an iPhone 4 16GB that I've had since brand new around 2 years ago. I charged it throughout last night and got to it this morning to find it hadn't charged, despite having a chare symbol in the corner. I left it to (from 4%) and tried to cha

  • Can't right click to get album artwork

    After importing my own CD into iTunes, I can no longer right-click on the album in Cover Flow and select Get Album Artwork. In fact, right-clicking on the album gives me no menu at all. What gives?