Make the connections JDBC TNS on Oracle 11 g

Hello

I am a developer ColdFusion 8 (CF), tries to form a connection on Oracle 11 g TNS. The CF service runs on a CentOS5 server. Here are the steps I took:

-Added oracle.net.tns_admin=/folder1/folder2/folder3/OracleTNS d argument in my list of JVM arguments

-Place the tnsnames.ora file in the folder referenced by the oracle.net.tns_admin parameter

-Placed ojdbc6.11.2.0.4.jar in the classpath, restarted CF and verified that CF detected and loaded

-Implementation of the JDBC URL: jdbc:oracle:thin:@MyTNS.DB

-Class driver used: oracle.jdbc.OracleDriver

When I try to connect, I get the error:

Invalid connection string format, a valid format is: ' host: port: sid. The root cause was that: java.sql.SQLRecoverableException: IO error: format invalid connection string, a valid format is: ' host: port: sid.


I tested another driver that came with CF: the Macromedia driver. For the TNS to work with her, I used the following JDBC URL:

JDBC:Macromedia:Oracle:TNSNamesFile =/folder1/folder2/folder3/OracleTNS/tnsnames.ora. TNSServerName = MyTNS.DB

This connection worked! This shows, at least, that the tnsnames.ora file is OK. So, my problem seems to work with the last 11g driver ojdbc6.11.2.0.4.jar and the good URL JDBC. I would just use the Macromedia driver. But, it is very old and I prefer to use the updated driver. If anyone has any ideas on what other measures I could do, please chime.


Thank you

HugeBob wrote:

Hello

I am a developer ColdFusion 8 (CF), tries to form a connection on Oracle 11 g TNS. The CF service runs on a CentOS5 server. Here are the steps I took:

-Added oracle.net.tns_admin=/folder1/folder2/folder3/OracleTNS d argument in my list of JVM arguments

-Place the tnsnames.ora file in the folder referenced by the oracle.net.tns_admin parameter

-Placed ojdbc6.11.2.0.4.jar in the classpath, restarted CF and verified that CF detected and loaded

-Implementation of the JDBC URL: jdbc:oracle:thin:@MyTNS.DB

-Class driver used: oracle.jdbc.OracleDriver

When I try to connect, I get the error:

Invalid connection string format, a valid format is: ' host: port: sid. The root cause was that: java.sql.SQLRecoverableException: IO error: format invalid connection string, a valid format is: ' host: port: sid.


I tested another driver that came with CF: the Macromedia driver. For the TNS to work with her, I used the following JDBC URL:

JDBC:Macromedia:Oracle:TNSNamesFile =/folder1/folder2/folder3/OracleTNS/tnsnames.ora. TNSServerName = MyTNS.DB

This connection worked! This shows, at least, that the tnsnames.ora file is OK. So, my problem seems to work with the last 11g driver ojdbc6.11.2.0.4.jar and the good URL JDBC. I would just use the Macromedia driver. But, it is very old and I prefer to use the updated driver. If anyone has any ideas on what other measures I could do, please chime.


Thank you

JDBC thin does NOT use the tnsnames.ora file

JDBC - Oracle FAQ

> jdbc:oracle:thin:@MyTNS.DB

above is wrong syntax, it should be as below. (see the difference)

a colon separator; not a period

connection string format, a valid format is: ' host: port: sid.

Tags: Database

Similar Questions

  • Make the connection - now what?

    I was able to make the connection between our two offices quickVPN.  I quess I expected to see the other computer or a log on screen.  I'm new to this, I was using UltraVNC.  What I have to put in place.

    Thank you

    Once connected to QuickVPN next thing you need to do is to check if you can test the computer that you want to access behind the VPN router

    If you get the answers, then you should be able to map the IP address of this computer by clicking Start > run > type computer \\IP address

    It should then give you a login on this computer screen or it should open all shared folders on this computer

    QVPN offers similar attributes, such as file sharing, only you do on the internet

  • Unable to make the connection with oracle (database sqlserver) non-oracle

    We are unable to connect with the database of sql server after you have created the dblink to the oracle server.

    tnsping everything works very well between the oracle and SQL Server for database, database

    Please provide us with the solution for this problem.

    The problem is that the HS_FDS_CONNECT_INFO in theinit .ora bridge was not properly configured.

    Using the format-

    HS_FDS_CONNECT_INFO =//.

    has permits the connection works.

  • Check the connection to a remote Oracle database


    Hello

    I have an application that runs on a server that connects to an Oracle database on another server.  The application uses Java and JNDI to connect, there is no Oracle client installed on the server hosting the application.  The application seems to have been to connect to the database on the other server.  How can I check that the connection to the database still work from the server hosting the application?  Is there a software tool that I use does not require Oracle client must be installed.

    Thanks in advance

    Alanjo

    the connection request is saved in the file listener.log on the DB server

  • Get the error about TNS from Oracle, hosted on a LINUX machine

    Hello

    We moved our Solaris servers Linux databases. I run a multithreaded process that creates a db that are shared by the threads connection pool. On the passage to Linx db I get the below error message

    [SERVERERROR] ORA-12520: TNS:listener could not find a Manager is available for the requested server type

    My first port of call for resolve this error has been to check tnsnames.ora and TNS_ADMIN but they are very good and then I checked the db DB some threads connected and inserted data usually error occurred when dropping the connection thread control and one other thread picks up.

    Later, I changed the configuration to run only a single thread, and then it works fine without any errors. I also tried the process running even with configured to create a thread during two different sessions and then a session had this error but continues.

    Here is the generated sqlnet.log file



    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:09
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=MD1SILNXDB03) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = TRO10G1) (CID = (PROGRAM = SchedulerDebug64) (HOST = md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:10
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:10
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:11
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:11
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:15
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:16
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:16
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:16
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:16
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:16
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:21
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:22
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:22
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:22
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:29
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0


    ***********************************************************************
    Fatal OR connect error 12520, connect to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MD1SILNXDB03)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TRO10G1)(CID=(PROGRAM=HBFCalcImputedObservationsDebug64)(HOST=md1sisun26)(USER=TROBat01)))

    VERSION INFORMATION:
    AMT for Solaris: release 10.2.0.4.0 - Production
    Protocol TCP/IP NT to Solaris adapter: release 10.2.0.4.0 - Production
    Time: 7 February 2012 07:50:29
    Tracing not lit.
    AMT error struct:
    NS main err in code: 12564
    AMT-12564: TNS:connection refused
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0
    NS secondary err code: 0
    NT main err in code: 0
    NT secondary err code: 0
    NT OS err code: 0
    _____________________________________________________________________________________________


    Can someone here help me to solve this error.


    Thank you
    Niraj Rouault

    This could be a resource issue, check for the second error TNS-12564 on metalink, there is not a lot (but still useful) hits.

  • Unable to make the connection to the Application Server in JDeveloper.

    Hi all

    I'm about to deploy my Webservice in my instance of development.

    However, when I tried to create the connection to the application server, I get the following error...

    Oracle.OC4J.admin.JMX.Shared.exceptions.JMXRuntimeException: error getting remote MBeanServer to url: ormi://ihrms03:25515 / default
    + oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:502) +.
    + oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer. < init > (CoreRemoteMBeanServer.java:161) +.
    + oracle.oc4j.admin.jmx.client.RemoteMBeanServer. < init > (RemoteMBeanServer.java:128) +.
    + oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158) +.
    + oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68) +.
    + oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190) +.
    + oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400) +.
    + javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) +.
    + oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269) +.
    + oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76) +.
    + oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75) +.
    + oracle.jdeveloper.cm.dt.ConnectionNode$ (ConnectionNode.java:423) NodeOpen.doWork +.
    + oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159) +.
    + oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551) +.
    + java.lang.Thread.run(Thread.java:595) +.
    Caused by: javax.naming.NamingException: reading of the application client descriptor error: communication error with server: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found [root exception is java.lang.InstantiationException: communication error with server: oc4j: internal/ResourceFinder not found; nested exception is: +]

    [+ javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found] +.
    + oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127) +.
    + oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117) +.
    + javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) +.
    + javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) +.
    + javax.naming.InitialContext.init(InitialContext.java:223) +.
    + javax.naming.InitialContext. < init > (InitialContext.java:197) +.
    + oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468) +.
    +     ... 14 more.
    Caused by: java.lang.InstantiationException: communication error with server: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found.
    + com.oracle.naming.J2EEContext.create(J2EEContext.java:103) +.
    + oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124) +.
    + more than 20 +.
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38) +.
    + com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541) +.
    + com.oracle.naming.J2EEContext.create(J2EEContext.java:96) +.
    +     ... 21 plus +.
    Caused by: javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found
    + com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101) +.
    +     ... 26 more.
    -Exception embedded
    javax.naming.NamingException: reading of the application client descriptor error: communication error with server: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found [root exception is java.lang.InstantiationException: communication error with server: oc4j: internal/ResourceFinder not found; nested exception is: +]

    [+ javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found] +.
    + oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127) +.
    + oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117) +.
    + javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) +.
    + javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) +.
    + javax.naming.InitialContext.init(InitialContext.java:223) +.
    + javax.naming.InitialContext. < init > (InitialContext.java:197) +.
    + oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468) +.
    + oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer. < init > (CoreRemoteMBeanServer.java:161) +.
    + oracle.oc4j.admin.jmx.client.RemoteMBeanServer. < init > (RemoteMBeanServer.java:128) +.
    + oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158) +.
    + oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68) +.
    + oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190) +.
    + oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400) +.
    + javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) +.
    + oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269) +.
    + oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76) +.
    + oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75) +.
    + oracle.jdeveloper.cm.dt.ConnectionNode$ (ConnectionNode.java:423) NodeOpen.doWork +.
    + oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159) +.
    + oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551) +.
    + java.lang.Thread.run(Thread.java:595) +.
    Caused by: java.lang.InstantiationException: communication error with server: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found.
    + com.oracle.naming.J2EEContext.create(J2EEContext.java:103) +.
    + oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124) +.
    + more than 20 +.
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38) +.
    + com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541) +.
    + com.oracle.naming.J2EEContext.create(J2EEContext.java:96) +.
    +     ... 21 plus +.
    Caused by: javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found
    + com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101) +.
    +     ... 26 more.
    -Exception embedded
    java.lang.InstantiationException: communication error with server: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found.
    + com.oracle.naming.J2EEContext.create(J2EEContext.java:103) +.
    + oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124) +.
    + oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117) +.
    + javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) +.
    + javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) +.
    + javax.naming.InitialContext.init(InitialContext.java:223) +.
    + javax.naming.InitialContext. < init > (InitialContext.java:197) +.
    + oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468) +.
    + oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer. < init > (CoreRemoteMBeanServer.java:161) +.
    + oracle.oc4j.admin.jmx.client.RemoteMBeanServer. < init > (RemoteMBeanServer.java:128) +.
    + oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158) +.
    + oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68) +.
    + oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190) +.
    + oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400) +.
    + javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) +.
    + oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269) +.
    + oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76) +.
    + oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75) +.
    + oracle.jdeveloper.cm.dt.ConnectionNode$ (ConnectionNode.java:423) NodeOpen.doWork +.
    + oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159) +.
    + oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551) +.
    + java.lang.Thread.run(Thread.java:595) +.
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38) +.
    + com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541) +.
    + com.oracle.naming.J2EEContext.create(J2EEContext.java:96) +.
    +     ... 21 plus +.
    Caused by: javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found
    + com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52) +.
    + oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101) +.
    +     ... 26 more.

    My connection is set up from the following:
    Connection type: Oracle Application Server 10 g 10.1.3
    Username: oc4jadmin
    Password: #.
    Connection for: Single Instance
    HostName: 10.251.28.21
    OPMN Port: 6203
    OC4J Instance: oafm

    When I test the connection, I get the following response:
    Error getting remote MBeanServer to url: ormi://ihrms03:25515 / default:
    Read the application client descriptor error: communication error with server: oc4j: internal/ResourceFinder not found; nested exception is:

    + javax.naming.NameNotFoundException: oc4j: internal/ResourceFinder not found.

    WEIRD THING IS THAT I am able to connect to an Instance of Production! I have no idea how this happens...!

    Y at - it a config I'm missing? Any file somewhere that is missing some configuration settings?

    Pleaseeeee advice?

    Thanks in advance to 1 million!

    My friend [url http://forums.oracle.com/forums/thread.jspa?threadID=363074] Google told me to tell you to check the file hosts on your development server to ensure that it has an entry for the local computer

    John

  • How to make the Connect-VIServer cmdlet to always ask for username password

    Hi all

    I use the connect-viserver cmdlet to connect between host windows to my vcenter server.

    using

    The host - Powershell - 2.0, Windows XP, Powercli installed machine.

    Target machine - Vcenter server 4.1.0 on windows 2008 server, in the other subnet

    I want to have a provision that it must always ask for user name and password to connect.

    I took a look at

    http://pubs.VMware.com/vSphere-50/index.jsp?topic=/com.VMware.wssdk.apiref.doc_50/Vim.virtualmachine.html

    resultof = % 22connect - viserver % 22 & http://pubs.VMware.com/vSphere-50/index.jsp?topic=/com.VMware.PowerCLI.cmdletref.doc_50/connect-VIServer.html

    But failed to get the relevant information.

    Any ideas?

    Thank you

    Madalena

    Bangalore-India

    My mistake, Connect-ViServer does not accept a SecureString. You first need to convert it

    Try it like this

    $userName = "username"
    $passwd = Read-Host ("Password for " + $userName) -AsSecureString:$true
    $cred = New-Object System.Management.Automation.PSCredential -ArgumentList $userName,$passwd
    Connect-VIServer -Server MyServer -Credential $cred
    
  • How to make the connection with the android Tablet?

    On the laptop, I use Windows 8 with wifi. On the Tablet (Android) is the same wifi network. How can I activate the tablet in a station of the wireless network? Goal is to share documents on the Tablet and laptop computer.

    I use WiFi File Transfer

    Can also set up an FTP server from your Tablet and connect with any folder opening and typing the address of the FTP server shows in the address bar
    Can also use SkyDrive
  • An FTP error occurred - cannot connect to the host. Maximum number of users reached or not authorized to make the connection because of local firewall blocks FTP data

    For days now, I have tried every index in the book simply download a page Web of DW CC. I get this error no matter what I do. I asked the server administrator to check. GoLive CS2 works perfectly with the same information to the ftp server. But I wanted to pass to CC... It seems the problem and this error message is well known, there are lots of places of in-depth discussions. With so many variables and so many simple solution, which seems a matter of luck if it works or not, simply download your page.

    There are two different questions:

    1. Dreamweaver cannot connect to your site by FTP, but may of FileZilla.
    2. Uploaded by FileZilla pages are not displayed.

    Assuming that the files downloaded by FileZilla are correct root folder, the second question is the result of your being not properly propagated via DNS servers domain name. It could also have an impact on the first question (Dreamweaver cannot connect because it can't find the correct server).

    You should contact your hosting and Network Solutions company (where you have registered the domain name) to ensure that the correct name servers have increased to oyafilm.com. Until this issue is resolved, it is impossible to untangle why Dreamweaver cannot connect.

  • How to make the lines dynimac columns in Oracle PL/SQL?

    I have this request:
    select cso.branch,
      decode(NVL(cso.YES,0)+ NVL(cso.NO,0)+ NVL(cso.NA,0),0,'N','Y') ||' - '|| NVL(cso.officer,0) AS CSO_YN
    from (
    SELECT A.BRAN_CODE_PK as branch, a.emp_code_pk as officer, 
       COUNT(CASE WHEN D.STATUS = 1 THEN D.STATUS ELSE NULL END) YES,
       COUNT(CASE WHEN D.STATUS = 2 THEN D.STATUS ELSE NULL END) NO,
       COUNT(CASE WHEN D.STATUS = 3 THEN D.STATUS ELSE NULL END) NA
    FROM sales_team_accounts A, users U LEFT OUTER JOIN daily_check_lists D ON (D.USER_ID_PK = U.EMP_OFFICER_CODE
                                                                    and to_date(D.CHECK_LIST_DATE, 'DD-MON-YYYY') = '08-JUL-2010' ) -- date should be the parameter date)
    WHERE 1=1
    AND A.EMP_OFFICER_CODE = U.EMP_OFFICER_CODE
    AND A.sale_type_fk = 101 -- CSO
    AND A.SUPV_EMP_CODE_FK != 0
    and a.BRAN_CODE_PK = 1001
    group by A.BRAN_CODE_PK, a.emp_code_pk
    ) cso;
    The result of this query is the following:
    BRANCH     CSO_YN
    --------------------------------------
    1001             Y - 321
    1001             N - 335
    1001             Y - 90050
    1001             N - 303
    The scenario is, there could be maximum 7 officers in a branch,
    the total number of columns must therefore 7, and employee Y or N must be shaped in these 7 columns.

    So for each branch, it will always be 1 row to have 7 columns:
    So I want that it resembles the following:
    BRANCH     CSO1      CSO2      CSO3         CSO4       CSO5     CSO6     CSO7
    -----------------------------------------------------------------------------------------------------------
    1001        Y - 321    N - 335    Y - 90050    N - 303
    Need to do using only the PL/SQL query

    Published by: imation3m on October 22, 2010 12:21

    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:766825833740
    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:15151874723724
    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:7644594042547

  • How can I make the CONNECTION wireless at the insertion of the ethernet cable?

    I have a Windows 7 computer laptop and a computer laptop Windows 8 . On two laptops, I'm leaving both wireless and wired adapters enabled and on my laptop Windows 8 , when you insert the ethernet cable, the IDEALLY AUTOMATICALLY DISCONNECT wireless but IDEALLY REST ENABLEDwireless adapter. When I pull the ethernet cable coming out, the wireless IDEALLY it RECONNECTS AUTOMATICALLY.

    On my laptop Windows 7 However, this annoyingly can't. What happens instead, is that when the ethernet cable is inserted, the wireless REST BRANCH. Is it possible on my Windows 7 computer laptop I can do the wireless DISCONNECT AUTOMATICALLY when I insert the cable ethernet and Is RECONNECT AUTOMATICALLY when I go out?

    Hello David,.

    My apologies for any confusion.

    Refer to the advice given by don241 replied on October 16, 2010.

    Hope that answers your query.

  • How to make the connection between applications on the computer with my subscription?

    I have Photoshop CS6 and Illustrator CS6 on my computer. When I open that is the one I get a message that says to contact my administrator to renew my subscription. I have a subscription. How can I get the apps to recognize the subscription or membership to recognize the application license, so I can continue to use? I have CC versions on work computer but versions CS6 on computer at home. No problem with subscription and applications on the work computer. With the home computer, apps will not identify subscription. Subscription has been implemented by the it Department at work.

    Hi Jody,.

    Please check the help below document:

    Using creative cloud | 'Renew your membership' window appears when you launch a creative cloud application

    Kind regards

    Sheena

  • No matter what Transport BB need us to open the connection in BB10?

    We develop a network BB10 application. We have a doubt concerning the transport of BB. is there any transport BB10 we need it to make the connection in application BB10. In Java of BB, we have the tranposrts as TRANSPORT_TCP_WIFI, TRANSPORT_WAP2, TRANSPORT_TCP_CELLULAR. Like this, we all BB10 transport?

    Thanks in advance

    chanduthedev

    No, BlackBerry 10 is much simpler in this respect. 'Transport', as they were known in BBOS are not something you generally need to worry.

    This blog should be useful:

    http://devBlog.BlackBerry.com/2013/02/Java-to-Cascades-part-3/

  • How to change the connection input language to English!

    Hello! everyone. I have Windows 7 on my laptop and it is protected by a password. I have the Nepali and English language in my laptop. Yesterday, when I restart my PC, it shows only Nepali keyboard in my login screen. But my password is in English. also I couldnot find language change option in the login screen. Please help me make the connection in English. I tried ALT + SHIFT to change the language, but nothing happened. Nepali language of all time is shown. WHAT SHOULD DO? Help me get out there!

    Hello! everyone. I have Windows 7 on my laptop and it is protected by a password. I have the Nepali and English language in my laptop. Yesterday, when I restart my PC, it shows only Nepali keyboard in my login screen. But my password is in English. also I couldnot find language change option in the login screen. Please help me make the connection in English. I tried ALT + SHIFT to change the language, but nothing happened. Nepali language of all time is shown. WHAT SHOULD DO? Help me get out there!

    In the upper left corner, there must be a panel of key exchange way like this... This picture is taken from one of my PC with windows 7 with the same parameter (here I have Sinhala and English key board)

  • ORA-12505, TNS: Listener does not currently of SID in the connection descriptor (code: 2 011)

    I get this error when you try to create a data store for Oracle database of the Disqualification.

    ORA-12505, TNS: Listener does not currently of SID in the connection descriptor (code: 2 011)

    I am able to connect to this database by using the same credentials through SQL, but the Disqualification, I'm not. Do I need to do anything in linux server before the implementation of Oracle data warehouses?

    Thank you

    Ravi

    There are a number of ways.

    1 use a JNDI connection configured in WebLogic and select by name

    2. use the LDAP connection or TNS - see http://docs.oracle.com/middleware/1213/edq/DQEXT/config_dbase.htm#DQEXT202

    3. Add an oracle.xml file in [local disqualification home] / dbconnectors with the following content. This will allow you to select the service name in the standard Oracle data store wizard:

    Class = "com.datanomic.utils.databasespecies.species.Oracle"

    MaxNameLength = "30" invalidnamechars ="" ' >

    {JDBC:Oracle:Thin:@${service = "srv"? /': "} ${host}: ${port} {service ="srv"? '/' : ':'}${sid}

    Oracle

    {JDBC:Oracle:Thin:@${service = "srv"? /': "} ${host}: ${port} {service ="srv"? '/' : ':'}${sid}

    ${superior (schema = "? user: schema)}

    dbproductname ~ = '(?i) oracle'

    name ~ = ' $BIN\\ [A-Za-z0-9 + /] {22, 24} ==------$\\p {digit} +'

    user = ${user}

    password = ${password}

    FetchSize = 100

    BatchSize = ${export.batchsize}

    void = TRUNCATE TABLE %s

    ALTER SESSION SET CURRENT_SCHEMA = ${schema}

    1521

Maybe you are looking for

  • Satellite Pro L450D No. bootening

    Satellite Pro L450D running win 7, works very well Saturday night, close properly, go into start, Sunday morning, no chance. It gets so far into the boot, display win7 logo animated, then quickly flashes a blue screen (too quick to see) then goes bac

  • Reminders iOS app

    When a new reminder of writing in this app there is a this bug that does not show what you type on the line, you are currently on, wait for a line like this always presents. For example, you completely full line 1 with writing and then the cursor mov

  • How to view video files from a t4i? Want to use TV

    I may be interested in spending a lot of $ to buy a t4i but want to play movies / video on TV.  One choice is Xbox via a USB but Xbox will only recognize .mp4 files and this camera uses .mov.  Second method is via the USB to my new LG TV input that d

  • Sansa Media Converter

    Can someone help me? I have a minute 03:40 long video which is in mp4 format that I want to put my Sansa fuze, but whenever I have it put in Sansa media converter to load on it tells me that my file cannot be imported and I need to install the approp

  • SL400 RAM support

    The SL400 does support the Kingston HyperX PC2-6400 or Kingston HyperX PC2-5300? Support two modules?