Oracle 11g - Merge PL/SQL issue - Same code work in Oracle10g
Below PL/SQL block stop working after Oracle11g upgrade, working fine in Oracle10g
CREATE TABLE TMP_TABLE1 (P_PROVIDER NUMBER, P_ID NUMBER);
CREATE TABLE TMP_TABLE2 (COL1 NUMBER, COL2 NUMBER);
CREATE TABLE TMP_TABLE3 (COL3 NUMBER, COL4 NUMBER);
BEGIN
FOR i IN (SELECT p_provider p_provider, p_id p_id FROM tmp_table1)
LOOP
MERGE INTO TMP_TABLE2 T
USING ( SELECT I.P_PROVIDER P_PROVIDER,
I.P_ID P_ID FROM DUAL) DDD
ON (T.COL1= DDD.P_PROVIDER AND T.COL2 = DDD.P_ID)
WHEN NOT MATCHED THEN
INSERT (COL1, COL2) VALUES (1, (SELECT x.COL4 FROM TMP_TABLE3 x WHERE x.COL4 = DDD.P_ID));
END LOOP;
END;
Oracle 10g Version:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Oracle 11g Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 – Production
Oracle11 g Error:
Error at line 5
ORA-06550: line 11, column 93:
PL/SQL: ORA-00904: "DDD"."P_ID": invalid identifier
ORA-06550: line 5, column 7:
PL/SQL: SQL Statement ignored
Script Terminated on line 5.
Is there any patch/work around in Oracle 11g?
Please advice
Thank you
Raj
We had a similar issue when our organization upgraded to 11gR2.
It looks like it boils down to a change Oracle made in regards to how it works with correlated subqueries within an insert statement.
Anyway, this thread has a little more information:
Merge Command in 10g vs 11g
And it says to look at Metalink note 1109983.1 (which I can't seem to find).
Anyway, a workaround in thread is suggests (which worked for us) to wrap the insert subquery around a dummy decode clause, and oddly it will work.
eg:
INSERT (COL1, COL2) VALUES (1, (decode(1,1,(SELECT x.COL4 FROM TMP_TABLE3 x WHERE x.COL4 = DDD.P_ID)) ) ) ;
Quite a kludge, but at least it is an immediate fix to the problem, without having to rewrite anything.
Similar Messages
-
Oracle 11g - External Table/SQL Developer Issue?
Oracle 11g - External Table/SQL Developer Issue?
==============================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
======================
Date1,date2,Political party,Name, ROLE
20-Jan-66,22-Nov-69,Democratic,"John ", MMM
22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
9-Aug-72,20-Jan-75,Republican,Henry,MMM
------ ALL NULL -- record
20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
======================
Our Expernal table structures is as follows
CREATE TABLE P_LOAD
DATE1 VARCHAR2(10),
DATE2 VARCHAR2(10),
POL_PRTY VARCHAR2(30),
P_NAME VARCHAR2(30),
P_ROLE VARCHAR2(5)
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY P_EXT_TAB_D
ACCESS PARAMETERS (
RECORDS DELIMITED by NEWLINE
SKIP 1
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
REJECT ROWS WITH ALL NULL FIELDS
MISSING FIELD VALUES ARE NULL
DATE1 CHAR (10) Terminated by "," ,
DATE2 CHAR (10) Terminated by "," ,
POL_PRTY CHAR (30) Terminated by "," ,
P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
P_ROLE CHAR (5) Terminated by ","
LOCATION ('Input.dat')
REJECT LIMIT UNLIMITED;
It created successfully using SQL Developer
Here is the issue.
It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
It is loading all NULL value record (Rec # 6)
*** If we remove the '"' from input data, it loads all records including all NULL records
Log file has
KUP-04021: field formatting error for field P_NAME
KUP-04036: second enclosing delimiter not found
KUP-04101: record 2 rejected in file ....
Our questions
Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
Any idea?
Thanks in helping.I don't think this is a SQLDeveloper issue. You will get better answers in the Database - General or perhaps SQL and PL/SQL forums.
-
Database link between Oracle 11g and MS Sql Server 2005 EE
Hi everybody,
I trying to create database link from Oracle 11g to MS Sql and I'm not succesful.
I found tutorial for Oracle 10g, but it does't work.
I created odbc data source, then I modified tnsnames.ora and listener.ora, then I created initkw.ora in HS directory and then I created dabase link, but it does't work.
Can you help me please? Thanks for help ... ondra
Tnsnames.ora:
KW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = tcp)(HOST = oracle_ip)(PORT = 1521))
(CONNECT_DATA =
(SID = KW)
(HS = OK)
listener.ora:
(SID_DESC =
(SID_NAME = KW)
(ORACLE_HOME = C:\oracle\product\11.1.0\db_1)
(PROGRAM = hsodbc)
initkw.ora
HS_FDS_CONNECT_INFO = kw
HS_FDS_TRACE_LEVEL = 0
HS_FDS_TRACE_FILE_NAME = kw.trc
create public database link KW connect to "user" identified by "pass" using 'KW';
Message was edited by:
user598176Hi, I get two errors.
ORA-28545 - NET8 mistake Unable to restrieve textof NEWTWORK/NCR message 65535
and then ORA-02063
zenda
I resolved one of error, I have wrong ip.
But now I have another error:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source name
not found and no default driver specified (SQL State: IM002; SQL Code: 0)
I have ODBC data source in system DSN
PS: Our Oracle 11g database is 64 bit version
Message was edited by:
user598176 -
Send encrypted data from oracle 11g to Ms SQL Server 12
Hi every body,
we want to send encrypted data from oracle 11g to Ms SQL Server 12:
- data are encrypted to oracle
- data should be sent encrypted to Ms SQL server
- data will be decrypted in Ms SQL server by sensitive users.
How can we do this senario, any one has contact simlare senario?
can we use asymetric encription to do this senario?
Please Help!!
Thanks in advance.Hi,
What you want to do about copying data from Oracle to SQL*Server using insert will work with the 12c gateway. There was a problem trying to do this using the 11.2 gateway but it should be fixed with the 12c gateway.
If 'insert' doesn't work then you can use the SQLPLUS 'copy' command, for example -
SQL> COPY FROM SCOTT/TIGER@ORACLEDB -
INSERT SCOTT.EMP@MSQL -
USING SELECT * FROM EMP
There is further information in this note available on My Oracle Support -
Copying Data Between an Oracle Database and Non-Oracle Foreign Data Stores or Databases Using Gateways (Doc ID 171790.1)
However, if the data is encrypted already in the Oracle database then it will be sent in the encrypted format. The gateway cannot decrypt the data before it is sent to SQL*Server.
There is no specific documentation about the gateways and TDE. TDE encrypts the data as it is in the Oracle database but I doubt that SQL*Server will be able to de-encrypt the Oracle data if it is passed in encrypted format and as far as I know it is not designed to be used for non-Oracle databases.
The Gateway encrypts data as it is sent across the network for security but doesn't encrypt the data at source in the same way as TDE does.
Regards,
Mike -
Oracle 11g Advanced PL/SQL 1Z0-146
Dears,
Good Day
I spent a lot of time to search on Material Guides to prepare to (Oracle 11g Advanced PL/SQL 1Z0-146) Exam.
Please anyone have free Materials or free useful sites tell me about it.
Waiting your kind response.
Thank you&
Best RegardsOracle certification related questions are better answered at {forum:id=459}
-
ORACLE 11g R2 POST Install Issue
Hi,
I have successfully installed ORACLE 11g R2 on my windows 7 platform. The problem is that when i open the database control URL page and then enter my credentials, it fails to log in and says that an internal error has occurred. Please view the log files. I have also seen the logs but didn't find anything helpful. Kindly help.
Thanks.I got this data from 'emoms.log' It's not the full log file. It's just a last few part of it.
May be this is the required one.
2010-07-17 07:33:37,550 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.344 - java.lang.NullPointerException
java.lang.NullPointerException
at oracle.sysman.emSDK.emd.comm.EMDClient.getURL(EMDClient.java:1570)
at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1266)
at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1242)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1689)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:981)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:340)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:154)
at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:416)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:605)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:325)
at java.lang.Thread.run(Thread.java:595)
2010-07-17 07:33:37,560 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.344 - java.lang.NullPointerException
java.lang.NullPointerException
at oracle.sysman.emSDK.emd.comm.EMDClient.getURL(EMDClient.java:1570)
at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1266)
at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1242)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1689)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:981)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:340)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:154)
at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:416)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:605)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:325)
at java.lang.Thread.run(Thread.java:595)
2010-07-17 07:58:50,860 [HTTPThreadGroup-7] WARN jdbc.ConnectionCache _getConnection.352 - Invalid or Stale Connection found in the Connection Cache
java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:73)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:525)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:544)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:480)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:336)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1138)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1172)
at oracle.sysman.eml.app.SessionObjectManager.sessionDestroyed(SessionObjectManager.java:116)
at oracle.sysman.eml.app.SessionListener.sessionDestroyed(SessionListener.java:126)
at com.evermind.server.http.HttpApplication.invalidateSession(HttpApplication.java:860)
at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:397)
at oracle.sysman.emSDK.sec.auth.EMBaseLoginAdapterImpl.logoff(EMBaseLoginAdapterImpl.java:680)
at oracle.sysman.emSDK.sec.auth.EMBaseLoginAdapterImpl.login(EMBaseLoginAdapterImpl.java:629)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:127)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
2010-07-17 07:58:50,862 [HTTPThreadGroup-7] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17143; Cleaning up cache and retrying
2010-07-17 07:59:06,521 [HTTPThreadGroup-7] ERROR app.SessionObjectManager sessionDestroyed.128 - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:77)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:501)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:436)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:621)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:492)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:386)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:276)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:212)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:140)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1752)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeOneConnection(OracleImplicitConnectionCache.java:644)
at oracle.jdbc.pool.OracleImplicitConnectionCache.defaultUserPrePopulateCache(OracleImplicitConnectionCache.java:272)
at oracle.jdbc.pool.OracleImplicitConnectionCache.doForEveryCachedConnection(OracleImplicitConnectionCache.java:1307)
at oracle.jdbc.pool.OracleImplicitConnectionCache.refreshCacheConnections(OracleImplicitConnectionCache.java:1902)
at oracle.jdbc.pool.OracleConnectionCacheManager.refreshCache(OracleConnectionCacheManager.java:756)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:357)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1138)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1172)
at oracle.sysman.eml.app.SessionObjectManager.sessionDestroyed(SessionObjectManager.java:116)
at oracle.sysman.eml.app.SessionListener.sessionDestroyed(SessionListener.java:126)
at com.evermind.server.http.HttpApplication.invalidateSession(HttpApplication.java:860)
at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:397)
at oracle.sysman.emSDK.sec.auth.EMBaseLoginAdapterImpl.logoff(EMBaseLoginAdapterImpl.java:680)
at oracle.sysman.emSDK.sec.auth.EMBaseLoginAdapterImpl.login(EMBaseLoginAdapterImpl.java:629)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:127)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
2010-07-17 07:59:57,217 [HTTPThreadGroup-7] WARN jdbc.ConnectionCache _getConnection.352 - Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:77)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:501)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:436)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:621)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:492)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:386)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:276)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:212)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:140)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1752)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeOneConnection(OracleImplicitConnectionCache.java:644)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:592)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:460)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:544)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:480)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:336)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1138)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1172)
at oracle.sysman.eml.app.SessionObjectManager.sessionDestroyed(SessionObjectManager.java:116)
at oracle.sysman.eml.app.SessionListener.sessionDestroyed(SessionListener.java:126)
at com.evermind.server.http.HttpApplication.invalidateSession(HttpApplication.java:860)
at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:397)
at oracle.sysman.eml.sec.auth.AuthUtils.invalidateOldSession(AuthUtils.java:62)
at oracle.sysman.emSDK.sec.auth.EMLoginService.doEMLogin(EMLoginService.java:111)
at oracle.sysman.emSDK.sec.auth.EMLoginServlet.authenticate(EMLoginServlet.java:695)
at oracle.sysman.emSDK.sec.auth.EMLoginServlet.authenticateUser(EMLoginServlet.java:314)
at oracle.sysman.emSDK.sec.auth.EMLoginServlet.doPost(EMLoginServlet.java:541)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
2010-07-17 07:59:57,232 [HTTPThreadGroup-7] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
2010-07-17 08:00:12,239 [HTTPThreadGroup-7] ERROR app.SessionObjectManager sessionDestroyed.128 - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:77)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:501)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:436)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:621)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:492)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:386)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:276)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:212)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:140)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1752)
at oracle.jdbc.pool.OracleImplicitConnectionCache.makeOneConnection(OracleImplicitConnectionCache.java:644)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:592)
at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:460)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:544)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:248)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:201)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:359)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1138)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1172)
at oracle.sysman.eml.app.SessionObjectManager.sessionDestroyed(SessionObjectManager.java:116)
at oracle.sysman.eml.app.SessionListener.sessionDestroyed(SessionListener.java:126)
at com.evermind.server.http.HttpApplication.invalidateSession(HttpApplication.java:860)
at com.evermind.server.http.EvermindHttpSession.invalidate(EvermindHttpSession.java:397)
at oracle.sysman.eml.sec.auth.AuthUtils.invalidateOldSession(AuthUtils.java:62)
at oracle.sysman.emSDK.sec.auth.EMLoginService.doEMLogin(EMLoginService.java:111)
at oracle.sysman.emSDK.sec.auth.EMLoginServlet.authenticate(EMLoginServlet.java:695)
at oracle.sysman.emSDK.sec.auth.EMLoginServlet.authenticateUser(EMLoginServlet.java:314)
at oracle.sysman.emSDK.sec.auth.EMLoginServlet.doPost(EMLoginServlet.java:541)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:165)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:357)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Thanks... -
Oracle 11g FREE download installation issues
I am installing this database on an HP Pavilion Desktop
I essentially have TWO (2) issues.
1st ISSUE
I was able to successfully run the setup.exe and my Oracle 11g is now installed.
When I go to start, programs, Oracle, Application Development, SQL Plus
it opens a windown for SQL plus, however, I am not able to do anything.
I followed the install instructions about setting up the ODBC drivers, however I still
can not get this to work. Would also like to know how to set access to this up as a desktop icon.
2nd ISSUE
Acording to the README..for the Oracle Enterprise Edition, I was only required to download
V20610-01 Part 1 of 2
V20610-01 Part 2 of 2
V20609-01
V20606-01
V19145-01
The Oracle Fusion Middleware download V18762-01 they said was OPTIONAL (O)
Because I was having problems with the install where it was coming up with errors about
not finding files, I downloaded ALL the ones from the list which were for 64bit INCLUDING Orcale Fusion Middleware.
Only then did my install work properly.
What I need to know is, on a desktop where I will be the only user,
IS THE ORACLE FUSION MIDDLEWARE REQIRED?
If NOT, and I completed the install, what will happen if I delete that folder (size is 11G)?
Please advise!
Edited by: user11925571 on Jul 15, 2010 8:31 AM>
I am installing this database on an HP Pavilion Desktop ...
>
Which version of 11g ? What is the OS ? Assuming 11gR2 and Windows, pl confirm you meet or exceed the requirements for the install
http://download.oracle.com/docs/cd/E11882_01/install.112/e10843/reqs.htm#i1011417
HTH
Srini -
Need help setting up DB Link from my Oracle 11g XE to SQL Server.
Hi,
I'm trying to create a DB Link from my Oracle 11g Express Edition in a Windows XP machine to an SQL Server. Here are the steps I've done so far.
1. Created and setup an ODBC Connection for the SQL Server DB. Named it SQLSERVER. Windows Authenticated.
2. Modified listener.ora. See below.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = SQLSERVER)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)3. Modified tnsnames.ora. See below.
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
SQLSERVER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT=1521))
(CONNECT_DATA =
(SID = SQLSERVER)
(HS = OK)
)4. Copied C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initdg4odbc.ora to C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initSQLSERVER.ora and modified it. See below.
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = SQLSERVER
HS_FDS_TRACE_LEVEL = off
# Environment variables required for the non-Oracle system
#set <envvar>=<value>5. Restarted listener.
C:\>lsnrctl stop
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
:51
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
C:\>lsnrctl start
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
:54
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\ad
min\listener.ora
Log messages written to C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\list
ener\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 18-SEP-2012 11:33:57
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\li
stener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "SQLSERVER" has 1 instance(s).
Instance "SQLSERVER", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully6. Created database link using the following command.
create database link sqlserver using 'SQLSERVER';7. Test using
select * from "dbo.mytable"@sqlserver;
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from SQLSERVER
select * from dbo.mytable@sqlserver;
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from SQLSERVER
select * from mytable@sqlserver;
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from SQLSERVERI followed the steps provided in this link but not sure where I went wrong. Can someone help me.
http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
Thanks,
AllenHere's more information on the machines.
Machine where the Oracle Database 11g Express Edition: IP Address is 10.162.128.67
Machine where the SQL Server database: IP Address is 142.120.51.30.
I've modified the tnsnames.ora to the following:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.162.128.67)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
SQLSERVER =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 142.120.51.30)(PORT=1433))
(CONNECT_DATA =
(SID = SQLSERVER)
(HS = OK)
)But now I'm getting the following error:
C:\>tnsping sqlserver
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2
012 14:52:59
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 142.120.51.30)(PORT=1434))) (CONNECT_DATA = (SID = SQLSERVER)) (HS = OK)
TNS-12541: TNS:no listener
C:\>Regards,
Allen -
Oracle 11g merge statement not working properly
HI I have recently my oracle version to 11.2.0.3 -64 bit . My merge statement is geeting failied saying that invlid identfier at line number 18
MERGE INTO peer_index indx USING staging.stg_peer_filing stg ON (indx.peer_element_code = stg.fund_code and indx.index_effective_date = trunc(stg.pricing_date)) WHEN MATCHED THEN UPDATE SET indx.filing_date = trunc(stg.filing_date), indx.reported_net_assets = stg.net_assets, indx.active_flag = 'N', indx.parent_index_code = NULL, indx.update_datetime = systimestamp, indx.last_update_user_id = user WHEN NOT MATCHED THEN INSERT (index_code, peer_element_code, filing_date, index_effective_date, reported_net_assets, active_flag ) VALUES ((SELECT pe.index_code_prefix || to_char(stg.pricing_date,'MMRR') FROM fi_benchmark.peer_element pe WHERE pe.peer_element_code = stg.fund_code), stg.fund_code, trunc(stg.filing_date), trunc(stg.pricing_date), stg.net_assets, 'N' );
please help why this is happening .Same query works fine in 10g .which line is the line that has the error?
merge INTO peer_index indx
USING staging.stg_peer_filing stg
ON (indx.peer_element_code = stg.fund_code AND indx.index_effective_date = Trunc
(stg.pricing_date))
WHEN matched THEN
UPDATE SET indx.filing_date = Trunc(stg.filing_date),
indx.reported_net_assets = stg.net_assets,
indx.active_flag = 'N',
indx.parent_index_code = NULL,
indx.update_datetime = systimestamp,
indx.last_update_user_id = USER
WHEN NOT matched THEN
INSERT (index_code,
peer_element_code,
filing_date,
index_effective_date,
reported_net_assets,
active_flag )
VALUES ((SELECT pe.index_code_prefix
|| To_char(stg.pricing_date, 'MMRR')
FROM fi_benchmark.peer_element pe
WHERE pe.peer_element_code = stg.fund_code),
stg.fund_code,
Trunc(stg.filing_date),
Trunc(stg.pricing_date),
stg.net_assets,
'N' ); -
ORACLE 11g R2 SCAN LISTNER ISSUE
Hi,
Suddenly the Oracle 11g r2 RAC scan listener was changed to intermediate state in our envrionment.
How can we change state from intermediate to online state?
please find the details as below,
OS : HP Unix B.11.31
DB Version: 11.2.0.3.0
ora.LISTENER_SCAN1.lsnr
1 ONLINE INTERMEDIATE Node2 CHECK TIMED OUT
ora.LISTENER_SCAN2.lsnr
1 ONLINE INTERMEDIATE Node1 CHECK TIMED OUT
ora.LISTENER_SCAN3.lsnr
1 ONLINE INTERMEDIATE Node1 CHECK TIMED OUT
ora.LISTENER.lsnr
ONLINE INTERMEDIATE Node1 CHECK TIMED OUT
ONLINE ONLINE Node2
If you need further information, kindly let me know.
Thanks.Thanks for your reply.
But i checked the listener status its showing for ONLINE.
For same status is not updated the crsctl stat res -t. Kindly advise on this.
$ srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node Node1
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node Node2
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node Node2
$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): Node1,Node2 -
Oracle 11g XE and SQL Developer
Hello:
Very new here. I'm not sure where to post anything. Apologies, but I'm all over the board.
I've installed 11g and downloaded SQL Developer (not even sure if this needs to be "installed" as it's just a zip file).
Anyway, at the SQL command line I enter CONNECT SYSTEM and then my password. I get the following error:
ORA 12154: TNS could not resolve the connect identifier specified.
Also, the "get started" link does not work either. Not sure what's going on or if it's specific to my laptop. I've been trying to connect for two days to no avail.
thank for any help.c\> lsnrctl stat
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 08-SEP-2014 12:28:18
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CFXXXXXXX.xxxxxxxxxxxx.com)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error -
1Z1-146 Oracle 11g: Advanced PL/SQL
Hi All,
have planned to take up 1Z1-146 Oracle Database 11g: Advanced PL/SQL Beta exam by next month.
I don't find ample study materials or sample questions online. Can you suggest some resources of study? Did anyone completed the above certification exam before? If so, please let me know ..
ThanksHi Rose18
Have you consulted the following link ?
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=&lang=&p_exam_id=1Z0_146
Oracle Recommended Training and Preparation is Oracle Database 11g: Advanced PL/SQL
It seems that no book and/or samples questions are available at the moment for that exam.
Hope this help you. -
Oracle 11g R2 Windows Installation issue
Hey everybody,
i was trying to install Oracle 11g R2 on a Windows Server 2008 64-bit machine. During the installation i am getting an error message multiple times (about 20 times) where it says it cannot find certain files like C:\app\ora11g\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\WFMLRSVCApp.ear and some other files too. If i click move on in the dialog box each time an error occurs the installation will succeed and finish successfully.
What am I doing wrong, do I have to change anything before installation starts?
I am using the correct 64-bit installation files i downloaded from the Oracle homepage...
Edited by: user12266335 on 07.04.2010 05:32SKramer_MuM wrote:
Hi Hans,
know I found where it contains the information about the downloads. It only shows up when you click on the "See All", but it won´t show up if you directly download via the Disk 1 or Disk 2 link on the download page. Good point. I never would have believed noobs would stop at that page and not be curious about what other stuff might be available under 'See All'. Stuff like the 'De-install' package.
Since you didn't do it, I posted a comment/suggestion in the Download forum to put an additional note on the top 11gR2 download page.
What brings up more confusion is when you click on the "See All" button next to the download for the 32-bit Version of 11g R2 for Windows an error comes up. Worked for me.
You reported your error ... where?
So I think Oracle needs to improve its homepage a lot...If you have ideas there is a forum "Forum Home » Technology Network Community » Community Feedback and Suggestions" in which you you are welcome to submit comments. -
Oracle 11G password case sensitive option is not working.
Hello,
I am facing problem in Oracle 11G. I installed and created a database. I disabled password case sensitive option by setting it to false (Pls see the below output). but case sensitive option is not disabled and i am not able to logon using the lower case password.
SQL> connect sys/<pwd in lower case>@<connect string> as sysdba;
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
SQL> connect sys/<pwd in uppper case>@<connect string> as sysdba;
Connected.
SQL> show parameter SEC_CASE_SENSITIVE_LOGON
NAME TYPE VALUE
sec_case_sensitive_logon boolean FALSE
Any idea.... should i open the case in the metalink ?
With Regards
Hemant Joshi.Can you execute:
SQL> select USERNAME, PASSWORD_VERSIONS from dba_users where username = 'SYS';Have you tried reseting the sys password? When you create the password file by default the passwords stored on it are case sensitive, maybe you also need to rebuild it...
Enrique
PS. See Note:429465.1 +11g R1 New Feature : Case Sensitive Passwords and Strong User Authentication+
Edited by: Enrique Orbegozo on Oct 15, 2008 1:20 AM -
Oracle 11g: How to ensure the same transaction across several BPEL calls?
How to ensure transaction semantics across invocations of several BPEL services with a Database operations (Insert, update)? We are using transaction REQUIRED property in all of our BPELs. We are using webserive and JCA to access and modify the same row. Our code uses a combination of JCA, Spring bean, enity services, EJBs in these BPELs. The code can be more efficient, but, at this point, we have no option but to fix the transaction issue in this code. So, our question is how to ensure the same transaction context is used in all these BPELs to inser/update the same row? We have tried to set the GetUnitOfWork in the JCA Adapter but it did not provide any solution. Apaert from setting transaction in BPEL to REQUIRED and the JCA Adapter to use Unit of work, we are out of ideas. Any help is much apprecited. We are using Oracle SOA Suite 11g 11.1.1.5 version. --chary
Hi,
I can help you if you can describe the processes.
There can be some difficulties when you try to use the same transaction especially when you use many DB transactions & BPEL processes.
Using unit of work only ,might not be enough.
Thanks
Arik
Maybe you are looking for
-
Adobe Premiere Elements 10 and Photoshop Elements 10
This product worked great up till yesterday. I went to open it and it wouldn't allow me to open it. I uninstalled the program, jumped through all the hoop to re-instal it, and it still doesn't work. Why all of a sudden? I've tried re-booting my compu
-
Transfer photos from ipod to pc -HELP
Windows XP I am about to head overseas and purchased the opid video espcially so I can transfer photos from my camera to store them on my ipod. But I have tried to transfer them from the ipod to the computer and do not seem to have any success. c
-
SELECT :Selecting multiple values through a single query
I have to select 2 distinct column values into variables in one query.Something like SELECT TSTAMP into varConcurrencyTstamp,VoucherTbId INTO cnt FROM VOUCHERTB WHERE VOUCHERTBID =FnDeleteVOUCHERTB.VOUCHERTBID;//Not working This task can be done by 2
-
How do I manually change the song length?
After finishing recording a song, I have some blank space at the end (about 10 bars) where there's no content on any of the tracks. Just empty bars. How can I reduce the song length to get rid of those unused bars?
-
Elements Premier: How do i rotate a video without clipping off parts of it?
Can someone tell me how to do this? I know how to rotate from the help forums: Rotate a clip Select the clip in the Timeline. In the Effects view, click the Edit Effects button. Expand the Motion effect in the Properties view, and do one of the foll