Java oracle rac connection using scan url

Hey,.

Im trying to connect to an oracle rac using jdbc thin. When I use the analysis as the host

Like this

String url = "jdbc:oracle:thin:@// < scan >: port/servicename;

I get error 1153, connection refused

but when I use the ip address of the RAC instead of analysis

String url = "jdbc:oracle:thin:@// < ip >: port/servicename;

the connection is successful

is the issue at the level of the application? or is the problem with the server

Thanks for the help.

I solved the problem. I changed my ojdbc.jar from 14 to 6. I would like to know why it works because I've been using ojdbc14 for oracle 11g and I've never had a problem

Tags: Java

Similar Questions

  • AMT for Oracle 11 g RAC connection string

    Dear all,

    In earlier versions, 2-node Oracle RAC, we used to use the connection string (in tnsnames.ora) as:

    < TNS name > =.

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = VIP-Node1) (PORT = < PortNumber >))

    (ADDRESS = (PROTOCOL = TCP) (HOST = VIP-Node2) (PORT = < PortNumber >))

    (LOAD_BALANCE = yes)

    )

    (CONNECT_DATA =

    (SERVICE_NAME = < ServiceName >)

    )

    )

    With Oracle 11 g RAC, we now SCAN in place; How TNS entry will look like? It will be like:

    < TNS name > =.

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = name SCAN) (PORT = < PortNumber >))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = < ServiceName >)

    )

    )

    Kind regards

    Mohammed Riaz

    Yes.

  • To navigate to new answers how to report a go using the URL

    Hello

    I have a column in a report that contains data such as
    0001
    0002
    0003
    0004

    If I click on a value less than 0002 then it must navigate to a report of responses

    I tried to do this using go url, but I have not had the desired effect
    Here's the code wat I wrote


    BOX WHEN "tell Sun." "" Say Code "<" 0002' THEN ' ' OTHER 'tell Sun' "." " Tell Code"END


    Thank you

    Published by: Copter on November 17, 2010 11:42

    All syntax is incorrect

    Copter wrote:
    BOX WHEN "tell Sun." "' Tell the Code ' < 0002="" then=""> ' OTHER"Dis Dim. " "" Say Code "END
    So use as

    -Case when tableA.col = 'X' then ' [a href = saw.dll? Go&path=/shared/sample/Report1&action=navigate&col1=TableA.Col&val1='|| tableA.col: ' > '. tableA.col |' [/a>'
    else ' [a href = saw.dll? Go&path=/shared/sample/Report2&action=navigate&col1=TableA.Col&val1='|| tableA.col: ' > '. tableA.col |' [/ a > ' end]

    After sailing use & col1 = a column and val1.

    Check out all first of Go url
    http://sureshotstrategies.WordPress.com/2008/12/13/integrating-Oracle-OBIEE-content-using-go-URL-syntax-2/

    Kind regards
    Sandeep

  • Application is not able to connect using the Oracle SCAN chain

    Dear Oracle gurus

    We have 11g r2 11.2.0.3.0 2 cluster nodes

    We have configured the scanning using scan-vip single using/etc/hosts file resolution

    Our app to work correctly using the string of double local Vip (10g method)

    Scan works very well in the database server when we check using sqlplus

    Works very well in the database server Oracle SCAN

    Sqlplus DB - 1 test bench / testbed@my-db-scan:1521 / orcl

    When we use it below URL JDBC in Tomcat Version-6 then "doesn't allow not to connect even if there will connect a while but connectivity isn't stable when we reboot the tomcat"

    Hibernate.Connection.URL=jdbc:Oracle:Thin:@My-DB-Scan:1521/ORCL

    Application is not able to connect using the Oracle SCAN chain

    [May 13, 2013 12:48:24] [INFO] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: init() Called.
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: adding the data manager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 1: com.cmp.mysm.hibernate.core.system.staff.HStaffDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 2: com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 3: com.cmp.mysm.hibernate.core.system.profilemanagement.HProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 4: com.cmp.mysm.hibernate.core.system.accessgroup.HAccessGroupDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 5: com.cmp.mysm.hibernate.systemaudit.HSystemAuditDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 6: com.cmp.mysm.hibernate.datasource.database.HDatabaseDSDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 7: com.cmp.mysm.hibernate.datasource.ldap.HLDAPDatasourceDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 8: com.cmp.mysm.hibernate.sessionmanager.HSessionManagerDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 9: com.cmp.mysm.hibernate.sessionmanager.HASMDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 10: com.cmp.mysm.hibernate.digestconf.HDigestConfDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 11: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 12: com.cmp.mysm.hibernate.externalsystem.HExternalSystemInterfaceDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 13: com.cmp.mysm.hibernate.servermgr.drivers.HDriverDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 14: com.cmp.mysm.hibernate.servermgr.drivers.subscriberprofile.database.HDatabaseSubscriberProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 15: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 16: com.cmp.mysm.hibernate.servicepolicy.auth.HAuthServicePoilcyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 17: com.cmp.mysm.hibernate.servicepolicy.acct.HAcctServicePoilcyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 18: com.cmp.mysm.hibernate.servicepolicy.dynauth.HDynAuthServicePoilcyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 19: com.cmp.mysm.hibernate.servermgr.server.HServerDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 20: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 21: com.cmp.mysm.hibernate.servermgr.plugin.HPluginDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 22: com.cmp.mysm.hibernate.rm.ippool.HIPPoolDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 23: com.cmp.mysm.hibernate.servermgr.eap.HEAPConfigDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 24: com.cmp.mysm.hibernate.servermgr.alert.HAlertListenerDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 25: com.cmp.mysm.hibernate.servermgr.gracepolicy.HGracePolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 26: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 27: com.cmp.mysm.hibernate.radius.dictionary.HDictionaryDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 28: com.cmp.mysm.hibernate.radius.policies.accesspolicy.HAccessPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 29: com.cmp.mysm.hibernate.radius.policies.radiuspolicy.HRadiusPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 30: com.cmp.mysm.hibernate.radius.radtest.HRadiusTestDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 31: com.cmp.mysm.hibernate.radius.bwlist.HBWListBLManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 32: com.cmp.mysm.hibernate.rm.concurrentloginpolicy.HConcurrentLoginPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 33: com.cmp.mysm.hibernate.wsconfig.HWebServiceConfigDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 34: com.cmp.mysm.hibernate.diameter.dictionary.HDictionaryDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 35: com.cmp.mysm.hibernate.servicepolicy.diameter.naspolicy.HDiameterNASPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 36: com.cmp.mysm.hibernate.servicepolicy.diameter.creditcontrolpolicy.HCreditControlPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 37: com.cmp.mysm.hibernate.servicepolicy.diameter.eappolicy.HEAPPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 38: com.cmp.mysm.hibernate.servermgr.drivers.HDiameterDriverDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 39: com.cmp.mysm.hibernate.servermgr.transmapconf.HTranslationMappingConfDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 40: com.cmp.mysm.hibernate.diameter.diameterpolicy.HDiameterPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 41: com.cmp.mysm.hibernate.servicepolicy.rm.cgpolicy.HCGPolicyDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 42: com.cmp.mysm.hibernate.reports.userstat.HUserStatisticsDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 43: com.cmp.mysm.hibernate.diameter.routingconf.HDiameterRoutingConfDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 44: com.cmp.mysm.hibernate.diameter.diameterpeerprofile.HDiameterPeerProfileDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 45: com.cmp.mysm.hibernate.diameter.diameterpeer.HDiameterPeerDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 46: com.cmp.mysm.hibernate.core.base.HGenericDataManager
    [May 13, 2013 12:48:24] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
    [May 13, 2013 12:48:24] [INFO] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: Data Manager was initialized successfully.
    [May 13, 2013 12:48:29] [ERROR] [0.0.0.0] - unknown [CONFIG MANAGER]: error during the Configuration Manager operation, reason: failed to open the connection
    [May 13, 2013 12:48:29] [TRACE] [0.0.0.0] - unknown [CONFIG MANAGER] com.cmp.mysm.datamanager.DataManagerException: failed to open the connection
    at com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager.getList (HSystemParameterDataManager.java:45)
    at com.cmp.mysm.blmanager.core.system.systemparameter.SystemParameterBLManager.getList (SystemParameterBLManager.java:71)
    at com.cmp.mysm.web.core.system.cache.ConfigManager.init (ConfigManager.java:47)
    at com.cmp.mysm.web.core.system.servlet.myServlet.init (myServlet.java:27)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:414)
    Caused by: org.hibernate.exception.GenericJDBCException: failed to open the connection
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
    at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1596)
    at org.hibernate.loader.Loader.doQuery(Loader.java:717)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
    at org.hibernate.loader.Loader.doList(Loader.java:2294)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)
    at org.hibernate.loader.Loader.list(Loader.java:2167)
    at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1706)
    at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347)
    at com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager.getList (HSystemParameterDataManager.java:43)
    ... 21 more
    Caused by: java.sql.SQLException: an attempt by a client to fund a connection has expired.
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:527)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
    at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    ... more than 33
    Caused by: com.mchange.v2.resourcepool.TimeoutException: a client has expired while waiting to acquire a resource of com.mchange.v2.resourcepool.BasicResourcePool@47503458--timeout to awaitAvailable()
    at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1317)
    at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
    at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
    ... 36 more

    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDescriptor
    NEWS: Deployment descriptor configuration host - manager .xml
    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDescriptor
    NEWS: Deployment configuration descriptor manager.xml
    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
    NEWS: Deployment of the directory docs web application
    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Examples of Directory deployment web application
    May 13, 2013 12:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploy the web application ROOT directory
    May 13, 2013 org.apache.coyote.http11.Http11Protocol start 12:48:29 AM
    INFO: From Coyote HTTP/1.1 on http-8080
    May 13, 2013 12:48:30 AM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    May 13, 2013 12:48:30 hours departure from org.apache.jk.server.JkMain
    INFO: Jk running ID = time 0 = 0/15 config = null
    May 13, 2013 12:48:30 hours departure from org.apache.catalina.startup.Catalina
    INFO: Starting the server in 16222 ms

    Some time Tomcat to connect to the database*.
    [May 13, 2013 10:02:29] [INFO] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: init() Called.
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: adding the data manager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 1: com.cmp.mysm.hibernate.core.system.staff.HStaffDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 2: com.cmp.mysm.hibernate.core.system.systemparameter.HSystemParameterDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 3: com.cmp.mysm.hibernate.core.system.profilemanagement.HProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 4: com.cmp.mysm.hibernate.core.system.accessgroup.HAccessGroupDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 5: com.cmp.mysm.hibernate.systemaudit.HSystemAuditDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 6: com.cmp.mysm.hibernate.datasource.database.HDatabaseDSDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 7: com.cmp.mysm.hibernate.datasource.ldap.HLDAPDatasourceDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 8: com.cmp.mysm.hibernate.sessionmanager.HSessionManagerDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 9: com.cmp.mysm.hibernate.sessionmanager.HASMDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 10: com.cmp.mysm.hibernate.digestconf.HDigestConfDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 11: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 12: com.cmp.mysm.hibernate.externalsystem.HExternalSystemInterfaceDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 13: com.cmp.mysm.hibernate.servermgr.drivers.HDriverDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 14: com.cmp.mysm.hibernate.servermgr.drivers.subscriberprofile.database.HDatabaseSubscriberProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 15: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 16: com.cmp.mysm.hibernate.servicepolicy.auth.HAuthServicePoilcyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 17: com.cmp.mysm.hibernate.servicepolicy.acct.HAcctServicePoilcyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 18: com.cmp.mysm.hibernate.servicepolicy.dynauth.HDynAuthServicePoilcyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 19: com.cmp.mysm.hibernate.servermgr.server.HServerDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 20: com.cmp.mysm.hibernate.servermgr.service.HServiceDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 21: com.cmp.mysm.hibernate.servermgr.plugin.HPluginDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 22: com.cmp.mysm.hibernate.rm.ippool.HIPPoolDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 23: com.cmp.mysm.hibernate.servermgr.eap.HEAPConfigDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 24: com.cmp.mysm.hibernate.servermgr.alert.HAlertListenerDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 25: com.cmp.mysm.hibernate.servermgr.gracepolicy.HGracePolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 26: com.cmp.mysm.hibernate.radius.clientprofile.HClientProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 27: com.cmp.mysm.hibernate.radius.dictionary.HDictionaryDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 28: com.cmp.mysm.hibernate.radius.policies.accesspolicy.HAccessPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 29: com.cmp.mysm.hibernate.radius.policies.radiuspolicy.HRadiusPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 30: com.cmp.mysm.hibernate.radius.radtest.HRadiusTestDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 31: com.cmp.mysm.hibernate.radius.bwlist.HBWListBLManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 32: com.cmp.mysm.hibernate.rm.concurrentloginpolicy.HConcurrentLoginPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 33: com.cmp.mysm.hibernate.wsconfig.HWebServiceConfigDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 34: com.cmp.mysm.hibernate.diameter.dictionary.HDictionaryDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 35: com.cmp.mysm.hibernate.servicepolicy.diameter.naspolicy.HDiameterNASPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 36: com.cmp.mysm.hibernate.servicepolicy.diameter.creditcontrolpolicy.HCreditControlPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 37: com.cmp.mysm.hibernate.servicepolicy.diameter.eappolicy.HEAPPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - [DATA MANAGER FACTORY] unknown: 38: com.cmp.mysm.hibernate.servermgr.drivers.HDiameterDriverDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 39: com.cmp.mysm.hibernate.servermgr.transmapconf.HTranslationMappingConfDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 40: com.cmp.mysm.hibernate.diameter.diameterpolicy.HDiameterPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 41: com.cmp.mysm.hibernate.servicepolicy.rm.cgpolicy.HCGPolicyDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 42: com.cmp.mysm.hibernate.reports.userstat.HUserStatisticsDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 43: com.cmp.mysm.hibernate.diameter.routingconf.HDiameterRoutingConfDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 44: com.cmp.mysm.hibernate.diameter.diameterpeerprofile.HDiameterPeerProfileDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 45: com.cmp.mysm.hibernate.diameter.diameterpeer.HDiameterPeerDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: 46: com.cmp.mysm.hibernate.core.base.HGenericDataManager
    [May 13, 2013 10:02:29] [DEBUG] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: *.
    [May 13, 2013 10:02:29] [INFO] [0.0.0.0] - unknown [DATA MANAGER FACTORY]: Data Manager was initialized successfully.
    In data manager: 1
    In data manager: 2
    In data manager: 19
    In data manager: 20
    In data manager: 21
    In data manager: 22
    In data manager: 23
    In data manager: 24
    In data manager: 3
    In data manager: 4
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDescriptor
    NEWS: Deployment configuration descriptor manager.xml
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDescriptor
    NEWS: Deployment descriptor configuration host - manager .xml
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
    NEWS: Deployment of the directory docs web application
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploy the web application ROOT directory
    May 13, 2013 10:02:30 org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Examples of Directory deployment web application
    10:02:30 org.apache.coyote.http11.Http11Protocol start may 13, 2013
    INFO: From Coyote HTTP/1.1 on http-8080
    May 13, 2013 10:02:30 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Org.apache.jk.server.JkMain 10:02:30 starting May 13, 2013
    INFO: Jk running ID = time 0 = 0/14 config = null
    Org.apache.catalina.startup.Catalina 10:02:30 starting May 13, 2013
    INFO: 6176 SP server startup


    But even once, when we try to stop and start then same problem occurred that we are not able to connect to the database

    Thanks in advanace

    We had solved the problem of our self
    to disable the setting of listener_network

    We also increase the connection timeout on the demand side

  • Java class to connect to Oracle Database Express Edition11g and URL

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    I'm just starting to learn Java and with it, learn how to use the Oracle Database Express Edition11g and with it the Oracle SQL Developer...

    At this point, I have the Express Edition is installed and the SQL Developer installed and were able to establish a connection and to run a query and get a result.

    I use Eclipse for JAVA.  I have a work of class that performs a query on a database/table in MySQL.

    So now I'm eager to make the same use as the database Oracle Database Express Edition11g engine.

    And this means that two different versions of JAVA that I need to get the right to be able to do.

    The first is the value of the url variable.

    I now like

    String url = "jdbc:oracle:thin:@localhost";

    then

    Class.forName ("oracle.jdbc.OracleDriver");

    and then

    Connection connection = DriverManager.getConnection (url);

    The thing I'm puzzled on is in the URL where I 'localhost' was supposed to be the term generic and not so much as the text, you should use.

    I see in Web sites like 3 connection to Oracle Database XE

    and decrease example 3-2 by specifying the URL of database using the XE Client Setup

    There I see

    JDBC:driver_type: [username/password] @[//]host_name[: port] [XE]]

    And just what is and what is not is explained here.  So what I ended up with was

    String url = "jdbc:oracle:thin:@localhost";

    So if it was just a text to rest for a name I wonder just such a value or name might really where.

    I noticed that view that an app called "Oracle JDeveloper" has been used to create the values.   I don't have such a thing, or at least I don't think I do.

    Do I need?

    I have Oracle SQL DEVELOPER, where I used the following to connect to the database of the XE.

    My choice for Oracle's SQL Developer Help

    Name of connection: Connection1

    User name: Rod

    Password: myOracle11

    Host name: localhost

    Port: 1521, which is the default value

    SID: xe

    Above so I have to host name set to localhost

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    1. I do nothing

    2. While wouldn't you say it

    3. no results from the earlier assignment.

    I asked "'can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?" "

    I showed the choice that I used in SQL Developer to connect to the schema.  And I was wondering, now that I had done this case those are the values that I could use in the Java class that I wrote.  The web site in the first post of this thread showed connection but he was using JDeveloper and SQL Developer.

    So I was wondering if the connection that I made using SQL Developer would do the same trick, and if I could use the values I did there.

    I'm happy to announce that YES, The values used to connect using SQL Developer work exactly like JDeveloper.

    So, given that in SQL Developer for Hostname I chose the value "localhost" "Rod" Username and password "myOracle11".

    I did the following JAVA CLASS that worked:

    package VC_2_9;

    Java for COBOL - copyright 1999 Doke & Hardgrave programmer

    import java.sql. *;

    public class DataBaseDemoOracle

    {

    Public Shared Sub main (string args [])

    {

    String CUST_LAST_NAME;

    / * String url = "jdbc:mysql://localhost/visualcafe";                     */

    String url = "JDBC: thin: @localhost';"

    / * String sqlQuery = "SELECT Name, SSNo, address, telephone OF THE customer;    */

    String sqlQuery = "SELECT CUST_LAST_NAME FROM DEMO_CUSTOMERS";

    //                                               |||||||||||||||

    Try

    {

    Class.forName ("oracle.jdbc.OracleDriver");

    Connection connection = DriverManager.getConnection (url, "Rod","myOracle11" ");

    Statement statement = aConnection.createStatement ();

    ResultSet rs = aStatement.executeQuery (sqlQuery);

    Boolean more = rs.next ();

    (more)

    {

    CUST_LAST_NAME = rs.getString (1);

    /* */

    System.out.println ("name:" + CUST_LAST_NAME);

    more = rs.next ();

    }

    RS. Close();

    aStatement.close ();

    aConnection.close ();

    }

    catch (ClassNotFoundException e)

    {System.out.println ("Exception caught" + e) ;}}

    catch (SQLException e)

    {If (e! = null)}

    {System.out.println ("SQLException taking" + e);}

    e = e.getNextException ();

    } / / end of while loop

    } / / end of capture

    } / / main end

    } / / end DataBaseDemoOracle.java

  • When I try to connect from the client to the RAC by using the SCANNER, I get ERROR: ORA-12541: TNS: no listenerOracle

    CARS: 2 nodes with Oracle single Client Access name (SCAN)

    OS: OEL 5.4 64-bit

    Version: 11.2.0.3

    When I try to connect from the client to the RAC by using the SCANNER, I get ERROR: ORA-12541: TNS: no listenerOracle. I noticed that the service is in place and properly configured (client tnsnames).

    servicioBD = (DESCRIPTION = (LOAD_BALANCE = yes) (ADDRESS = (PROTOCOL = TCP)(HOST = scanvip.domain1.local) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = serviceBD) (FAILOVER_MODE = (TYPE = SΘLECTIONNER) (METHOD = BASIC) (RETRIES = 180) (DELAY = 5))))

    serviceBD service

    SQL > select name, failover_method, failover_type, failover_retries, goal, clb_goal, aq_ha_notifications from dba_services where service_id = 3;

    METHOD NAME TYPE PURPOSE CLB_GOAL AQNOT ATTEMPTS

    ---------------------------------------------------------------- ----------- ---------- -------- ---------- -------- -----

    serviceBD BASIC SELECT 180 NO LONG YES

    But when I do not use the service created for the tnsnames file SCAN, it's that if I directly put tnsnames to connect to any work of two nodes very well.

    Node 1

    servicioBD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.210.2.10)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = orcl)

    )

    )

    Or

    Node 1

    servicioBD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.210.2.11)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = orcl)

    )

    )

    I have also observed the following (cluvfy).

    1 all LISTENER_SCAN running node 1

    2 there is no TCP connectivity

    3 the error message is obtained PRVF-5713

    [grid@rac1 ~] comp cluvfy $ scan - verbose

    Check scan

    Checking the single Client access name (SCAN)...

    ANALYZE the running node name?      ListenerName Port running?

    ----------------  ------------ ------------  ------------  ------------ ------------

    scanvip.Domain1.local 1521 LISTENER_SCAN1 true true rac1

    scanvip.Domain1.local 1521 LISTENER_SCAN2 true true rac1

    scanvip.Domain1.local 1521 LISTENER_SCAN3 true true rac1

    Checking TCP connectivity to ANALYZE listeners...

    Node of ListenerName TCP connectivity?

    ------------ ------------------------  ------------------------

    RAC1 LISTENER_SCAN1 no

    RAC1 LISTENER_SCAN2 no

    RAC1 LISTENER_SCAN3 no

    PRVF-5713: command "/u01/app/11.2.0/grid/bin/tnsping" (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.210.2.17) (PORT = 1521)))'"running on the node"rac1"produces no output no output.

    PRVF-5713: command "/u01/app/11.2.0/grid/bin/tnsping" (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.210.2.19) (PORT = 1521)))'"running on the node"rac1"produces no output no output.

    PRVF-5713: command "/u01/app/11.2.0/grid/bin/tnsping" (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=10.210.2.18) (PORT = 1521)))'"running on the node"rac1"produces no output no output.

    Check the resolution settings of name to 'scanvip.domain1.local '...

    SCAN the IP address status comment name

    ------------ ------------------------ ------------------------ ----------

    scanvip.Domain1.local 10.210.2.18 spent

    scanvip.Domain1.local 10.210.2.19 spent

    scanvip.Domain1.local 10.210.2.17 spent

    Verification of the installation program ANALYZES VIP and the listener has failed

    The analysis check failed on all specified nodes.

    Could someone help me please.

    The solution was to restart scan_listener.

    srvctl stop scan_listener

    srvctl start scan_listener

  • Update adf URL connection using deployment plan

    Hi all

    This is my first experience with the deployment plan file and I need a little help.

    I am trying to use the deployment plan to replace the values of my adf connections in the connections.xml file.
    I am trying to replace the value of the url of my TARGET_URLconnection, but it does not, the value is not updated after deployment.

    See below my plan:

    <? XML version = "1.0" encoding = "UTF - 8"? >
    <-plan of deployment xmlns = "http://xmlns.oracle.com/weblogic/deployment-plan" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" - global variables = "false" >
    < application name - > TVLPortal < / application_name >
    > definition of variable <
    < variable >
    < name > Web_tvlportal_contextRoot_13426112217490 < / name >
    < value > / tvlportal < / value >
    < / variable >
    < variable >
    < name > TARGET_URL < / name >
    < value > < /value > http://www.oracle.com
    < / variable >
    < / variable-definition >
    < module-override >
    < module name > TVLPortal.ear < / module-name >
    ear of < module-type > < / module-type >
    < descriptor-external module = "false" >
    applications weblogic < root > < / root >
    < uri > META-INF/weblogic - application.xml < / uri >
    < / module-descriptor >
    .....
    < descriptor-external module = "false" >
    References > root element < < / root >
    < uri > adf/META-INF/connections.xml < / uri >
    > assignment of variable <
    < name > TARGET_URL < / name >
    /References/reference[@name="TARGET_URL"]/RefAddresses/XmlRefAddr/contents/URLConnection@URL < xpath > < / xpath >
    Replace < operation > < / operation >
    < / variable assignment >
    < / module-descriptor >
    ......
    < / module-override >

    My connections.xml file:

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < reference xmlns = "http://xmlns.oracle.com/adf/jndi" >
    ...
    < reference name = "TARGET_URL" className = "oracle.adf.model.connection.url.HttpURLConnection" xmlns ="" > "
    < className="oracle.adf.model.connection.url.URLConnectionFactory"/ factory >
    < RefAddresses >
    < XmlRefAddr addrType = "TARGET_URL" >
    < content >
    < name urlconnection = "TARGET_URL" url = "http://www.ABCD.com" / >
    < / Summary >
    < / XmlRefAddr >
    < / RefAddresses >
    < / reference >
    ....


    Thanks in advance.

    Bruno Barreto

    Hello

    to quote "The Oracle® Fusion Middleware of Oracle JDeveloper User Guide" (http://docs.oracle.com/cd/E16162_01/user.1112/e17455/deploying_apps.htm#sthref464)

    + "' You can control how an application is deployed by using a deployment plan that allows you to make settings of configuration in the Web.XML for application, weblogic.xml, application.xml and weblogic deployment descriptors - application.xml." + "

    It does not list the specific connections.xml of ADF

    Here's a post explaining how to use a URL of proxy in a the Web.XML context parameter: http://biemond.blogspot.de/2009/04/using-weblogic-deployment-plan-to.html

    Not sure whether this also works in your case

    Frank

  • Facing the question Entity framework with Oracle 11 g using MVC 4 connecting

    Hello

    I am trying to connect to Oracle through Entity Framework data.

    I created two projects

    ((1) one for the project Web MVC4 access data) 2.

    It works fine if I am trying to connect using the console Application and App.config, but facing the question trying to connect using we.config and the web application.

    I added using Nuget packages in data access project.

    I made reference to this dll aaccess of data in the web project and try to call the oracle connection.

    Package.config:

    < Package >

    < package id = "EF" version = "6.0.2" targetFramework = "net45" / >

    < package id = "odp.net.x64" version = "112.3.20" targetFramework = "net45" / > "

    < package id = "Oracle.ManagedDataAccess" version = "12.1.021" targetFramework = "net45" / > "

    < package id = "Oracle.ManagedDataAccess.EntityFramework" version = "12.1.021" targetFramework = "net45" / > "

    < / packages >

    Web.Config:

    < configuration >

    < configSections >

    <!-for more information on the configuration of the Entity Framework, visit http://go.Microsoft.com/fwlink/?LinkId=237468 ->

    < section name = "EF".

    type = 'System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, Entity Framework, Version = 6.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'

    requirePermission = "false" / >

    "< name =" article oracle.manageddataaccess.client"type =" OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

    < / configSections >

    < connectionStrings >

    < clear / >

    < name = "OracleDbContext" providerName = "Oracle.ManagedDataAccess.Client"

    connectionString ="Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = host address)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = oracle))); User = username ID; Password = pwd; "/ >

    < / connectionStrings >

    < Entity Framework >

    <!-< defaultConnectionFactory type = "System.Data.Entity.Infrastructure.SqlConnectionFactory, Entity Framework" / >-->

    < defaultConnectionFactory type = "Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" > "

    < / defaultConnectionFactory >

    <>providers

    < invariantName = "Oracle.ManagedDataAccess.Client provider"

    Type = "Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / >

    < invariantName = "System.Data.SqlClient provider" type = "System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" / > "

    < / providers >

    < / Entity Framework >

    < system.data >

    < DbProviderFactories >

    < remove invariant = "Oracle.ManagedDataAccess.Client" / > "

    "< add name =" ODP.NET, successful pilot"invariant =" Oracle.ManagedDataAccess.Client "description ="Oracle Data Provider for.NET, successful pilot"type =" Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342"/ >"

    < / DbProviderFactories >

    < system.data >

    < runtime >

    < assemblyBinding xmlns = "urn: schemas-microsoft-com: ASM.v1" >

    < dependentAssembly >

    < publisherPolicy apply = "no" / >

    < name = "Oracle.ManagedDataAccess assemblyIdentity" publicKeyToken = "89b483f429c47342" culture = "neutral" / > "

    < / dependentAssembly >

    < / assemblyBinding >

    < / SPAN >

    < oracle.manageddataaccess.client >

    < version number = "*" >

    < dataSources >

    < alias dataSource = "OracleDbContext" descriptor = "(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=hostname) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = oracle)));" User = username ID; Password = pwd; "/ >

    < / dataSources >

    < / version >

    < /oracle.manageddataaccess.client >

    < / configuration >

    I am facing the sub question:

    Provider of the type EF ' Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "in the application for the vendor configuration file ADO.NET with invariant name 'Oracle.ManagedDataAccess.Client' could not be loaded." Make sure that the qualified assembly name is used and that the assembly is available in the currently running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

    Hello

    I tried with what follows and it started working.

    I just pointed out that line of defaultConnectionFactory in the web.config file

    Type = "Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / > "

    .

  • After changing the orainventory place im unable to connect using the oracle user

    Hello

    IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses

    / u01/app/Oracle

    After making these changes im is no longer able to connect using the oracle user...

    also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...

    any help on this would be greatly appreciated

    Sadia. wrote:

    Hello

    IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses

    / u01/app/Oracle

    After making these changes im is no longer able to connect using the oracle user...

    also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...

    any help on this would be greatly appreciated

    Newer versions of oracle have implemented a great new technology to help solve problems, called "error messages."  Unfortunately, I can't find any reference to an error message named 'is no longer able to connect.

    And why you are moving your site from inventory?  When you have installed oracle, he put the inventory where he wanted.  There is no reason to try to change or replace.

  • How to install Oracle RAC using GR 11, 2 on Win 7 32 bit from scratch?

    HIII,

    I am a cool and I have a win 7 32 bit with oracle 11 g 2 system.

    I want to install RAC with two servers or more, but I don't know too much about.

    I tried searching on google but all they give information into pieces (for win 7) or Linux on (please tell me why its all Linux everywhere not Windows).

    Please let me know if there is a site where I can find installation step by step from scratch.

    What are the basic requirements (/ software if necessary).

    Thank you.

    Hello

    Firstly forget Windows! Oracle is mainly designed for Linux systems. Oracle as a true process runs multiple on the Linux machines while under Windows, it runs as a single process with multi-thread.

    Using memory - huge pages, single CPU run queue, drop-outs, storage... etc are a lot of concepts.

    Also Windows is one of the most poorly designed operating systems, you must use only for watching movies of cute kitten on youtube... Believe me, you don't want to learn Oracle on Windows...

    Install virtualbox and then configure Oracle Enterprise Linux on it at first... By the way you have to deal with the DNS server of version 11.X, RAC, you can start with 10g for now.

    ORACLE-BASE has all the installation steps explained detailly, search for "oracle rac install base" on google.

    I also explained on my blog, but it is a little more advanced installation by using the ZFS storage Simulator. The DNS server installation is also explained: http://ilkertaysi.com/2013/11/11/oracle-rac-installation-with-zfs-storage/

  • What is the use of the network user and 4 asm disks in oracle rac 11 g 2?

    Friends,

    Separate server DNS:
    bones of DNS: OEL 5.7

    RAC1
    OS: OEL 5.7 64bits
    DB: 11.2.0.3 64-bit

    Rac2
    OS: OEL 5.7 64bits
    DB: 11.2.0.3 64-bit

    4 disks are shared between rac1 and rac2... and I configured using the oracleasm successfully...
    above all 3 nodes are in virtual box 4.1.1.8

    I'm installing oracle 11 g 2 cars in the configuration node above the 2.

    I'm partially by following this link http://www.oracle-base.com/articles/11g/oracle-db-11gr2-rac-installation-on-oracle-linux-6-using-virtualbox.php
    up to

    runcluvfy.sh stage pre - crsinst - n rac1, rac2-verbose

    is success... now I got a question... What is the use of the network user?
    because after checking above... it installs through the user oracle... of the complete notes he has no use for the user to this network...
    can someone tell me the use of the network user?

    of course I ask only this person who wrote this installation... to get a quick answer, I ask you here...
    I hope that someone will clarify my doubt to the success of this installation in a few hours...

    I have already created users and groups below... in each node

    Node1
    [root@rac1 ~]# id oracle
    uid=200(oracle) gid=500(oinstall) groups=500(oinstall),505(dba),502(asmdba),504(oper)
    [root@rac1 ~]# id grid
    uid=201(grid) gid=500(oinstall) groups=500(oinstall),501(asmadmin),502(asmdba),503(asmoper)
    [root@rac1 ~]# 
    [root@rac2 ~]# id oracle
    uid=200(oracle) gid=500(oinstall) groups=500(oinstall),505(dba),502(asmdba),504(oper)
    [root@rac2 ~]# id grid
    uid=201(grid) gid=500(oinstall) groups=500(oinstall),501(asmadmin),502(asmdba),503(asmoper)
    [root@rac2 ~]# 
    and on the shared drive... He created 4 disks... I saw in the paper... 3 is normal and 5 for the top... but 4?

    Thank you and best regards,

    OraDB wrote:
    Thanks for the link...
    So how about storage shared... it's 4 disc are necessary for normal redundancy? or 3 is sufficient according to the documentation.

    Thank you

    Before you answer, you must reflect on what is to say NORMAL redundancy? As long as you can keep your total drive less than the size of a full disk, you'll be fine... If it becomes higher than that and you have a failure, you now will have a major problem trying to recover a defective unit. The documentation is for a minimum configuration, however, you generally have to be smarter than the documentation. You must configure really redundant N + 1. Whatever size you need, configure always a plus. So, if you need the space of 2 devices, set up 3. If you need the space of 3, Setup 4. And if you start using the appliance + 1, add another. Always keep N + 1.

    In what concerns the grid + oracle user in most of the stores of this level of "termination" is total nonsense. Unless you have a DBA who makes GI and a DBA who data bases etc... It's a moot point. I'd say it's a complete waste of time and energy in all cases. I have it configured with grid + oracle user and I configured with just the oracle user. The multi-user method can sometimes become confused when you try to find something like the other user. YMMV.

  • Connect to oracle 10g db using shell linux files

    Hello

    I need to connect to oracle 10g db using shell linux files. Already I have username, password, hoststring and details is SCOTT/TIGER@TESTDB.
    I need to pass the values of this 3 (SCOTT/TIGER@TESTDB) at runtime only (i.e.) as PARAMETERS. Suppose that I'll give the wrong password or username, I need to capture this error in 1file and send the error details to our dba teams mail identification. Identification of email as [email protected] if its success, I have need to write the 'success' message in 1 file and no need to send a mail to the group.

    Can U please help to solve this problem.

    Thanks and greetings
    Sivaraman.

    double post: Re: connect oracle using shell with the error log

    Please do not cross post.

  • How to apply the PSU on Oracle RAC?

    Hello guys,.

    How about the Oracle RAC database without any stop PSU? (patch only database, not clusterware).

    Lets say I have 2 CCR node on different hosts with separate houses oracle/grid (no shared resources). What are the steps to avoid blackouts? I simply apply the last OPatch on grid/oracle homes, and then generate the oracle user ocm.rsp file and simply run as root: opatch auto/patch/path /-oh oracle_home - ocmrf /path/ocm.rsp and he will do everything for me on this node? then move service on node patched and do the same on another node? Oh, and there will be no interruption of service? Thank you!

    Gytis

    Hello

    Yes, the concept of a rolling patch is that the DB will always be upward, albeit on a node or another (or maybe 2 of 3, etc.)

    Check out this doc, spec 14.2.4 reduce planned downtime Maintenance

    Essentially an instance will come down in time. You can either manually a node patch or another, or well let Oracle patch bearing (but make sure you test it in the configuration of test first, if you have one, or else we put up with the same group of patches just in case).

    The idea is that the VIP relocate Node2, or if you use SCAN apps will detect node1 down.

    If possible, it is good to do this with a team Apps - ask them to move the connection with Betclic / application servers to the next node in the cluster, then the first patch (rolling patch), then exchange all node1 and make the node 2.

    The same steps apply for clusterware.

    See you soon,.

  • RAC, listener to scan and firewall

    Hello

    We have a 11.2.0.3.8 SE RAC on linux 6.5 server two oracle. An instance must be accessiable by clients behind one firewall, either case, not. My solution is a second local listener with a different port. If you know another way, I'll be happy to hear, thank you.

    Best regards

    Thomas

    There are a number of considerations.

    The TNS connect string wants to connect to a service. This service can have multiple points of termination (supported by a number of bodies and registered with the listener by these bodies).

    You can connect to server1 public static IP, port 1521 and ask a connection service dbname1. But as dbname1 was recorded by all RAC servers and that the listener also has port 1527 as tcp listener endpoint and addresses are used as a number of IP static and virtual - your client could very well be redirected by the database instance listener 5 Server5, via a virtual IP address and the port 1527.

    If a connection request by the client on port 1521 to server1, doesn't mean that's where the real Oracle client-server session will end.

    If you are planning that the static tcp, the listener port should only be listening on a single port. I've seen listeners set up for multiple ports (1521 and 1527), with only one port opened through a firewall, with intermittent connectivity - result as any other connection get a redirect to the other port.

    The listener also distributes host names (assuming a good config listener.ora and network) when the redirection of a client connection.  For example you connecting host server1 name and get a redirect to Server5.

    If server1 is only accessible IP the current network (firewall, etc.), we can address the redirect on the client - in solving all host names passed by the listener to the IP address that works. For example local hosts file customer resolve server1 Server5and server1-vip to Server5-vip, this unique IP to work.

    If you want a client to select a specific instance of the CARS to connect to (or force connections to a single specific instance), you can use the service_name parameter. This is by default the value db name and db-domain on multiple RAC instances. This means that all levels of RAC record the same service with listeners. Allowing a connection of client for this service will be handled by any instance RAC (high availability, etc.).

    You can also add a unique service for this instance RAC instance RAC. This service will be so registered by a single instance of the FCAC and the client connections requesting this service (connection via SCAN or other listeners CARS), will always get redirected to this forum.

    In the scenario you described, I would not use a secondary headset. I would like to use a unique service name to limit client connections to one specific instance of the CAR and the hostname/IP server. I would not use several ports tcp as listener endpoints. And then ask this IP and port to be open on the firewall and giving that service name to the clients that connect through the firewall.

  • Monitor the application Oracle DB connection

    The Oracle cartridge can monitor the connection of the application of Oracle DB connection on each server?

    How is that possible?

    Depending on the type of applicatino, there may be a way to monitor this side application.

    You are running a server to something that exposes this information using JMX or Java applications? You run this with application .NET or something that can be exposed using WMI?

    Are the connections mapped on the process that we have?

    Golan

Maybe you are looking for