[New Connection][Oracle][ssh]
Hi,
I have just installed SQL Developer on a Windows XP platform.
I need to connect a distant Oracle database which is on a distant LAN.
The problem is that the host is not reachable from outside.
Usually I connect to the distant LAN using SSH and then connect myself to the Oracle database throught the SSH session.
I haven't seen SSH parameters (such as "login" "password" and "host") in the New Connection dialog box.
Is it possible to connect myself to this Oracle database with SQL Developer ?
a+, =)
-=Finiderire=-
PS : I'm a french guy and I apologize for mistakes.
Bonjour,
Sql Developer connects to the database with JDBC drivers. As far as I know those don't support stuff like SSH.
If you have a visual interface through the SSH session, I'd install sqldev on the server (or another machine in the remote network), so you'd connect to that.
K.
Similar Messages
-
Is it possible create a new connection with oracle database in javascript or formcalc?
I need create a new connection, but it is necessary that I connect when the user click in a button.
Is it possible?
How can I do?
Thanks
RubénHow to connect ORACLE database to ADOBE LIFE CYCLE READER EXTENSION or ADOBE LIFE CYCLE DESIGNER
-
New to Oracle, Need to connect forms 9i with oraclient 10g schemas n tables
Hi,
I am very new to oracle applications and i am not even sure if the terminology i am using is right. I have trained on Oracle SQL/PL and Forms 9i recently and i am trying to create an oracle environment where i can practice.
I have downloaded the Oraclient 10g and 9i Developer suite. I want to use the forms applications and even do coding for SQL/PL from the forms sql/pl editor.
I am not able to connect the forms application to the database as it is asking for a username, pswd and a host string. During installation i have not given any id's or passwords.
can someone help me on how i can start using the existing tables from the oraclient and build forms.
thanks in advance for the help.thanks. i don't know what to read as the course i did was totally on a developer track, i have knowledge of DB only through PL/SQL and i have forms 9i. I understand that one needs to link up the forms to some sort of a database schemas n tables to be able to start working with it's pl/sql editor. and i know i have the database with the oraclient 10g. all i need to know now is how to connect this database to the forms client. cuz everytime i go into the pl/sql editor it is asking of me to provide a user name, password and a host string which i don't know where to get from. please guide
-
JD3.* could connecting Oracle database 5.05 but not new version
Dear Sir,
JD3.* could connecting Oracle database 8.05 but not new version of Oracle_Database at all(8I and 9I in OTN version), but could run on Borland JBuilder.
Error message : IOException
Could you tell me, help me too.
steve chu
(This week in Openworld and and email: [email protected])Steve -- My guess would be that you need to upgrade your JDBC drivers for your client program. They are downloadable from OTN. I expect that JBuilder has its own JDBC drivers which are newer than what you have and that is why it does not have a problem.
Thanks -- Jeff -
Error while creating a new connection in ODSM for OVD
Hi all,
I am getting the following error while creating a new connection in ODSM for OVD.
Error log:
[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by:
=======
java.lang.NoClassDefFoundError: Could not initialize class
com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
at com.octetstring.vde.admin.services.client.ServerMgrServiceLocator.getVDEAdminService(ServerMgrServiceLocator.java:58)
at oracle.ldap.odsm.model.ovd.APServerProxy.connect(APServerProxy.java:248)
at oracle.ldap.odsm.model.ovd.APServerProxy.authenticateAs(APServerProxy.java:684)
at oracle.ldap.odsm.model.ovd.APServerProxy.authenticate(APServerProxy.java:286)
at oracle.ldap.odsm.model.ovd.APServerProxy.init(APServerProxy.java:216)
at oracle.ldap.odsm.model.ovd.APServerProxy.<init>(APServerProxy.java:198)
at oracle.ldap.odsm.model.ovd.OVDRoot.connectOVD(OVDRoot.java:185)
at oracle.ldap.odsm.ui.common.Connection.connect(Connection.java:120)
at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:663)
at oracle.ldap.odsm.ui.common.Login.saveChanges(Login.java:215)
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 com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 28 more
How to resolve this issue.Pls suggest me.
Regards,
-Deena.Hi Deena,
This error:
"[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
is known issue
Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
You need to apply that patch.
I hope this helps,
Thiago Leoncio. -
Forms installation problem - how do I create a new default Oracle home?
I am new to Oracle so please forgive my utter ignorance. My impression of Oracle because of how an installation
has to be done is taking a nosedive. I thought Microsoft was bad with all the re-booting but the explanation that I
read in Anubhav Seth's post about installing Dev 6i before 8i and the suggestion (not a requirement) to format the
harddisk and reinstall Windows just leaves me with my jaw hanging open. I'm having a little trouble swallowing that
one.
Here's my situation... I'm running 8i at home and I am using it for the Oracle courses that I am taking at a local
university. So 8i with its SQL*Plus has been all I have needed to date. Now we have a project to do that involves forms.
So I go to the OTN page for downloads and downloaded file 6irel2nt.exe which is 264 MB in size. This file, I assume,
has forms in it -- what else I don't know because things are not explained all that well on the web site or I don't know
where to look (which implies poor organization of the web pages).
I run the 6irel2nt.exe file and end up with 11,128 new files on my computer. That's nice. I run the setup file and a step or
two into it it complains that my 'Ora81' home is already being used and that I need to install it into another Oracle Home.
Now I'm trying to find out how I create another Oracle Home. I perform a search in GOOGLE on "creat default Oracle
home" and basically get nowhere. My $50+ "Oracle 8i A Beginner's Guide" from Oracle Press mentions Oracle Home
on one page (pg. 170) but is completely useless in this case. My $184 worth of Oracle University manuals (which
are really PowerPoint slides) is useless too. My next step will be to comb through the FAQs. All this because I cannot
believe that I have to totally uninstall one product to get another to install and then reinstall the first one. That is INSANE!
If I have gone way off track please feel free to blast me but if this is true then all I can say is that the folks at Oracle need
a lesson in KISS (Keep It Simple Stupid)! Computers and computer software are supposed to make our lives simpler
not complicate the holy hell out of them. I'll get off my soapbox now. Sorry about the whining.I ended up uninstalling 8i and then I installed Dev 6i (Forms) and then I reinstalled 8i. I had some problems
installing Dev 6i because of this error "path.vrf(86): Unbound variable 'path_too_long_prompt'". Right after this error
appears I get a dialog that states, "The Oracle Installer cannot update the system path variable to %new_path%
because it is too long. Please restrict your system path to 127 characters and make sure D:\Oracle\OraWin95\bin
is included in your path."
The path D:\Oracle\OraWin95 was what I set up for this installation.
What I did to work around this problem was this...
(1) Go to Start - Accessories - System Tools - System Information.
(2) Click on the Tools menu
(3) Select System Configuration Utility
(4) Select the Autoexec.bat tab
(5) I added D:\Oracle\OraWin95\bin to my PATH variable and unchecked the checkbox next to one of the several
lines that I have that build my PATH variable. (I have several PATH lines that simply add a path to the system
variable %path%). After the installation is complete you can go back and turn back on the paths that you had disabled.
After installing 8i I did have a problem connecting to the database. I got this error:
Error: ORA-01034 Oracle not available
I believe this happened because I had forgotten to turn back on some of my PATH information that I mentioned
earlier. After checking one of my PATH variables and rebooting, this problem disappeared.
When reinstalling 8i and when the installation asks for an SID and you enter the SID you had used in the original
installation you may get a notice that says the SID already exists. I think this happens because the uninstall does not
clean up the registry totally, so I entered a different one. Later on, after the installation has been completed and you
are connecting to your database, you will be prompted to select an SID -- just make sure that you select the SID from
the latest installation.
I should've mentioned first that in preparing for this whole ridiculous exercise I created a directory under my Oracle
directory that I was going to use as the new 'Oracle home.' So I guess that's all one has to do to create a new Oracle
home -- just have another directory ready to install 'stuff' into.
All in all, this a pretty asinine exercise. Oracle really needs to fix this mess. I honestly thought Microsoft was bad but
this takes the cake. I wonder if SQL Server is this screwed up. -
SBO0001 error DBD:ORA12154 error while creating new connection
Dear All,
I have installed XIR3 on a windows 64 bit with oracle 10g R2 client.
The CMS is up and running and I am able to connect to the infoview and view the lsit of all the migrated objects from BOXIR2.
But, when I am trying to create a new connection for the universe or trying to execute the existing reports i am getting the following error.
(i.e I guess BO is unable to connect to DB)
*SBO0001 error DBD:ORA12154 error while creating new connection
I tried various solution from BOB but still could not solve this. Please anyone suggest few tips regarding this case
Business objects: CMS is running and able to connect to infoview and able to log on to CMC
Database client: Able to log on to DB using sqlplus and tnsping is working.
the details of the software are as follows
*BO Server configuration
OS: Windows Server 2008 R2 64 bit
Business Objects XI R3 3.0
Oracle client 10gR2 32 bit
*Database server configuration
Oracle 11g R2 64 bit
Thanks,
MikeMike :
I am having a similar issue with the BOE and Oracle.
Can you please provide details of which Oracle client you ended-up using..?
32-bit or 64-bit...?
Oracle client version...?
Specific client patches applied..?
Thanks,
Mark -
Error in writing an Ant task for creating a new connection pool.
I have written the following ant task to create a new connection pool in weblogic 10.3.
<target name="pool.dev">
<wlconfig url="http://localhost:7001/" username="weblogic" password="weblogic">
<query domain="C:/weblogic/rtg-L0" name="myserver"/>
<create type="JDBCConnectionPool" name="OneSourceConnectionPool">
<set attribute="DriverName"
value="oracle.jdbc.OracleDriver"/>
<set attribute="InitialCapacity" value="1"/>
<set attribute="MaxCapacity" value="5"/>
<set attribute="Password" value="rating"/>
<set attribute="Properties" value="user=rating"/>
<set attribute="RefreshMinutes" value="0"/>
<set attribute="ShrinkPeriodMinutes" value="15"/>
<set attribute="ShrinkingEnabled" value="true"/>
<set attribute="TestConnectionsOnRelease" value="true"/>
<set attribute="TestConnectionsOnReserve" value="true"/>
<set attribute="TestConnectionsOnCreate" value="true"/>
<set attribute="TestTableName" value="SQL SELECT 1 FROM DUAL"/>
<set attribute="URL"
value="jdbc:oracle:thin:@xyz.com:1522:oradvl"/>
<set attribute="Targets" value="myserver"/>
</create>
</wlconfig>
</target>
When I run it, I see the following error:
BUILD FAILED
C:\ganymede\eclipse\workspace1\RtgSvr\build.xml:286: Failed to connect to the server: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
Can anybody please help me regarding this...
Thank you,
SowmyaHi everybody,
Thank you very much for your replies....actually I added weblogic.jar to the classpath of the target. So, now I dont see that error. But, I have another problem which is as follows:
<target name="initJDBC">
<wlconfig url="t3://${host}:${port}" username="${username}" password="${password}">
<query domain="domain.name" type="Server" name="${target.server}" property="${target.server}"/>
<create type="JDBCConnectionPool" name="TestConnectionPool">
<set attribute="DriverName" value="oracle.jdbc.OracleDriver"/>
<set attribute="Password" value="welcome"/>
<set attribute="Properties" value="user=welcome"/>
<set attribute="URL" value="jdbc:oracle:thin:@test.com:1522:oradvl"/>
<set attribute="Targets" value=""/>
<set attribute="TestTableName" value="SQL SELECT 1 FROM DUAL"/>
<set attribute="TestConnectionsOnRelease" value="false"/>
<set attribute="TestConnectionsOnReserve" value="true"/>
</create>
<create type="JDBCDataSource" name="TestDataSource">
<set attribute="JNDIName" value="TestDataSource"/>
<set attribute="PoolName" value="TestConnectionPool"/>
<set attribute="Targets" value=""/>
</create>
</wlconfig>
</target>
I am not knowing what to give in the value field of <set attribute="Targets" value=""/>. The following is my build.properties file:
target.server=myserver
host=127.0.0.1
port=7001
username=weblogic
password=weblogic
domain.name=testDomain
If I give <set attribute="Targets" value="${myserver}"/>, I get the following error:
BUILD FAILED
C:\ganymede\eclipse\workspace1\TestSvr\build.xml:290: Property not set: ${myserver}
When I set myserver=myserver in build.properties, I get the following error:
BUILD FAILED
C:\ganymede\eclipse\workspace1\TestSvr\build.xml:290: Error invoking MBean command: java.lang.IllegalArgumentException: Property Name and value not valid for the MBean. Value myserver for parameter[Targets].java.lang.IllegalArgumentException: Unable to convert the argument valuemyserver to class javax.management.ObjectName.java.lang.reflect.InvocationTargetException
Can someone plzz help me in this regard.
Thank you,
Sowmya -
Error in testing a new connection to Financial Consolidation
Hi.
we want to create a new connection to Financial Consolidation. It works so far, but when i click on "Test connection" i'm getting the following error:
Unerwarteter Fehler bei der Aktion Webdienst-URL-Verbindung validieren'. Wenden Sie sich an den Systemadministrator
com.sap.fpm.fim.common.webservice.ESException: Fehler beim Aufrufen des Systems 'Finance'zum Durchführen der
Aktion 'getReferenceValuesFromTable'. javax.xml.ws.soap.SOAPFaultException:
Cartesis.Framework.Business.Client.InvalidTokenException: Invalid security token. at
Cartesis.Framework.Business.Client.ServiceHub.Invoke(Stream requestMessageStream) at
Cartesis.Framework.Business.Client.ServiceProxy.Invoke( Stream requestMessageStream ) at
Cartesis.Finance.OperationConsolidation.ConsolidationServices.getIdentificationForAlleConsolidationDefinitions() The
Zone of the assembly that failed was: MyComputer -- End of inner exception stack trace -- at...
Did you ever experienced such an error ? Do you have any ideas how to solve this issue or where to search ?
Thanks a lot,
SebastianHi Deena,
This error:
"[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
is known issue
Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
You need to apply that patch.
I hope this helps,
Thiago Leoncio. -
(V9I) ORACLE 9I NEW FEATURE : ORACLE FLASHBACK
제품 : ORACLE SERVER
작성날짜 : 2002-11-01
(V9I) ORACLE 9I New Feature : ORACLE FLASHBACK
==============================================
PURPOSE
Oracle9i 새로운 기능인 Flashback 의 등장으로 Commit 된 Transaction 에 대해
특정 시점의 과거 DATA를 Query가 가능함으로써 Self-service repair 기능이 향상되었다.
다음 Flashback query 기능과 Setup 방법 및 실제 Data Recovery 에 관한 내용에 대해 알아보도록 한다.
Explanation
Flashback : 새로운 기능인 Flahback 은 과거 시점의 consistent view 를 볼 수있는
기능으로 system time or systme change number(SCN) 기반 read-only view이다.
다음은 Flashback 기능을 사용하기 위해 미리 설정해야할 부분에 대해 알아보도록 한다.
1) 반드시 Automatic Undo Management 에서만 가능
(initSID.ora file이나 spfile에 다음 파라미터가 auto로 설정)
UNDO_MANAGEMENT = AUTO
2) Rentention interval 을 두어 해당 time 동안은 inactive rollback 이라 하더라도
overwrite 되지 않도록 유지(초단위)
SQL> ALTER SYSTEM SET undo_retention = 1200;
UNDO_RETENTION 을 지정한 다음 실제 적용을 위해 5분정도 기다려야 한다.
3) DBMS_FLASHBACK package를 이용하여 Flashback 기능을 enable 시킨다.
SQL> call dbms_flashback.enable_at_time('9-NOV-01:11:00:00');
Example1. Flashback setup 과 date/time 설정
1) Undo tablespace 생성
SQL> create undo tablespace UNDOTBS datafile
'/database/901/V901/undotbs01.dbf' size 100M;
2) intiSID or spfile 에 다음 파라미터 적용
undo_management=auto
undo_retention=1200
undo_tablespace=UNDOTBS
3) dbms_flashback exeucte 권한 grant
SQL> connect / as sysdba
Connected.
SQL> grant execute on dbms_flashback to testuser;
Grant succeeded.
4) test table 생성
SQL> connect testuser/testuser;
Connected.
SQL> create table emp_flash as select * from scott.emp;
Table created.
SQL> select count(*) from emp_flash;
COUNT(*)
15
5) table 생성후 5분 정도 waiting -> table delete
SQL> delete from emp_flash;
15 rows deleted.
SQL> commit;
Commit complete.
SQL> select count(*) from emp_flash;
COUNT(*)
0
6) flashback 활성화
SQL> execute DBMS_FLASHBACK.ENABLE_AT_TIME(sysdate - 5/1440);
PL/SQL procedure successfully completed.
SQL> select count(*) from emp_flash;
COUNT(*)
15
SQL> execute DBMS_FLASHBACK.DISABLE;
PL/SQL procedure successfully completed.
SQL> select count(*) from emp_flash;
COUNT(*)
0
Example2. Flashback 으로 잃어버린 data recovery
1) test user 생성
SQL> connect testuser/testuser;
Connected.
SQL> create table emp_recover as select * from scott.emp;
Table created.
SQL> select count(*) from emp_recover;
COUNT(*)
15
2) delete table
SQL> VARIABLE SCN_SAVE NUMBER;
SQL> EXECUTE :SCN_SAVE := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER;
PL/SQL procedure successfully completed.
SQL> PRINT SCN_SAVE
SCN_SAVE
6.4455E+12
SQL> select count(*) from emp_recover;
COUNT(*)
15
SQL> delete from emp_recover;
15 rows deleted.
SQL> commit;
Commit complete.
SQL> select count(*) from emp_recover;
COUNT(*)
0
3) flashback 이용한 data recover
SQL> DECLARE
2 CURSOR FLASH_RECOVER IS
3 select * from emp_recover;
4 emp_recover_rec emp_recover%ROWTYPE;
5 begin
6 DBMS_FLASHBACK.ENABLE_AT_SYSTEM_CHANGE_NUMBER(:SCN_SAVE);
7 open FLASH_RECOVER;
8 DBMS_FLASHBACK.DISABLE;
9 loop
10 FETCH FLASH_RECOVER INTO emp_recover_rec;
11 EXIT WHEN FLASH_RECOVER%NOTFOUND;
12 insert into emp_recover
13 values
14 (emp_recover_rec.empno,
15 emp_recover_rec.ename,
16 emp_recover_rec.job,
17 emp_recover_rec.mgr,
18 emp_recover_rec.hiredate,
19 emp_recover_rec.sal,
20 emp_recover_rec.comm,
21 emp_recover_rec.deptno);
22 end loop;
23 CLOSE FLASH_RECOVER;
24 commit;
25 end;
26 /
PL/SQL procedure successfully completed.
SQL> select count(*) from emp_recover;
COUNT(*)
15
Reference Document
Note. 174425.1
Note. 143217.1
Note. 179851.1I 'm sorry I can not offer the correct figure since I'm an easy-to-forget guy.
Below is extracted from other's post. wish it helps.
Oracle Security Server ---> 2 questions
High Availability Technology ---> 4 questions
LogMiner Enhancements -> 1 question
Backup & Recovery Enhancements ---> 3 questions
Data Guard ---> 3 questions
Resource Manager Enhancements ---> 2 questions
Online Operations Enhancements ---> 3 questions
Segment Management (Part I) ---> 4 questions
Segment Management (Part II) ---> 3 questions
Performance Improvements ---> 4 questions
Scalable Session Management ---> 2 questions
Real Application Clusters ---> 2 questions
File Management ---> 4 questions
Tablespace Management ---> 4 questions
Memory Management ---> 3 questions
Enterprise Manager Enhancements ---> 2 questions
by the way, I just found an enthusiast (roxylo
) posted a book about the 9i new features. It surely will help -
How to connect Oracle database in VC++.06
How to connect Oracle database in VC++.06 please give me details
on the Insert command button and add the following code to the button click event:
try
string results = "";
OracleConnection con = new OracleConnection("DSN=Employee;uid=system;pwd=test");
con.Open();
..................................................................... -
Please help me. I'm new to Oracle.
Hello all
I'm Sean and new to Oracle and wana purse learning Oracle Forms&Reports but to start I need to also learn Oracle DataBase as well.
Please I know you're all busy but HELP me to fix this problem and start learning Oracle.
I've installed oracle DB 10G. XE. without any problem and have been using it everyday BUT I just installed Oracle SQL Dev v. 1.2.1.... and can't creat a new connection. (it's all installed in my compaq laptop using Win XP SP 3).
I've been reading all the comments in forums but I'm still stuck. PLEASE SOME ONE HELP ME.
Learning from all you guys comment I looked at my Listener.ora and it looks like this:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = Shawn_COMPAQ)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
and my sqlnet.ora looks like this:
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
The tnsnames.ora looks like this:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = SHAWN_COMPAQ)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
from looks of it comparing to what I have seen in ppl's comments and copy&past of files in forums, my 3 files all looks weird and I guess it missing lot of things.
when I try to create a new connection to see built-in schema (HR) all though it's unlocked but sql dev can't establishes a connection.
In New \ Select database connection window for following fields iI put:
Hostname = localhost:1521:orcl (I 've tried just putting localhost)
Port = 1521
SID = orcl
In my browser when I am in home page of DB 10g XE the URL reads: http://127.0.0.1:8080/apex/f?p=4500:1000:4313426409493576
When i put hostname = localhost (or either 127.0.0.1) and port = 1521 and SID = orcl, I'm getting error :
status: failure-listener refused the connection with following error - ORA-12505, TNS: listener doesn't currently know of SID given in connect descriptor The connection descriptor used by client was: localhost:1521:orcl .
When I just change the Port to 8080 I get the error:
Status: failure-Io Exception: Got minus one from a read call.
By default DB 10g XE installed in: C:\oraclexe\app\oracle\product\10.2.0\.............
and all the mentioned files (3 files mentioned above) are in: C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
Please I know you're all busy but HELP me to fix this problem.
God bless you.
tnx
SeanThanks a lot.
Yes. It works well now.
In it's documentation it says put orcl for SID but never thought to try default xe.
You're the man.
tnx -
Connect Oracle Form Builder 10g to Oracle Database 10g Express
Hi,
I'm new to Oracle.
I've installed both form builder and database 10g express.
I tried to connect form builder to HR sample database in 10g express with the following:
user name: hr
password: hr
database: hr
but I received message: ora-12154: tns could not resolve the connect identifier specified.
Can anyone help me on that? Do I need to change the tnsnames.ora?
If yes, what should I need to change in order to connect to the HR sample?
Thank you.Yes you need to have an entry in the tnsnames.ora file for you database service name or sid. The service name or sid is usually XE unless you changed it when you installed 10g express.
-
Hi, i am new to oracle, SQL DEVELOPER:- ERROR:- ORA-01918
Hi,
I am new to oracle, and i have installed Oracle database 12c enterprise edition, and oracle jdeveloper 12c for adf web application development,
I created a database and a new connection in it using sql developer, however while trying to create new user with the name db1 by right clicking on other users. by following the instructions in oracle documentation site. i get the error that new user db1 doesnt exist, and gives error:- ORA-01981. i even tried by changing the username as i thought may be it doesnt support alphanumeric name, but still i get the same error.
So please tell me how to create a new user. is there any way to get out of this ora:-01918, as i googled and it says this is a bug.
My os is win 7 x64(amd processor ).
Thank you
BaldwinA new user (called a schema in Oracle) is created using the CREATE USER SQL command. You need to be signed in as the SYS schema/user or as a schema that has been granted the rights to create schemas.
12c database comes in two basic flavours. Container database (containing pluggable databases). Standard database. If connected to a container database, you cannot create standard user schemas - you need to be connected to a pluggable database.
Also, your question has no relevance to either the SQL or PL/SQL languages - the subject matter of this forum. Please repost your question to a more appropriate forum dealing with SQL-Developer issues. -
ORA Connect via SSH Tunnel on Windows failed! LINUX works ...
Hello again,
i tried to establish a Oracle Client Connection via SSH Tunnel on WinXP Pro.
1. Opened SSH-Tunnel Connection with plink (putty)
TUNNEL: 10.5.1.111:1521 => localhost:1521
(plink works fine with telnet, MySQL Client and other stuff)
2. Connected with Oracle Client on Tunnel END => Localhost, Port 1521
3. WIth ORA8i i got: Paket Error, With ORA10g i get: TNS: no listener
plink works fine, so i dont think the problem is located there.
i tried, tnsnames.ora, easyconnect and TNS-Less. So i guess, its not related to the connection method.
i tried the same on LINUX ... ssh tunnel and sqlplus connect ... IT WORKS !
Does Oracle need an aditional Port?
Does it have Problems with WIN2UNIX Connections? (ORA DB is on UNIX)
tnxHi,
Hum..., I guess this not work!
Looking for this schema below, you need put the 1521 port
If you desire, access the www.ssh.com site and download other ssh program
Secure Connection
+---->-------[SSH]-------->-----+
| |
| |
^ |
| Insecure Connection v
CLIENTE--->--------------------> ORACLE
ssh2 -l oracle -L 1521:192.148.1.251:1521 200.10.11.12
| | |
| | |
A LOCAL | |
B INTERNAL IP ORACLE |
C EXTERNAL IP (GATEWAY)
C B
| Firewall| . . . . .|INTERNET| . . . . . . |Firewall| . . . . . . . . . . |ORACLE|
| Gateway | |Gateway | 192.148.1.251:1521
. 200.10.11.12
A .
|Oracle Client|
(TNSNAMES.ORA)
<SERVICO> =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SID = <ORCL>)
)Cheers
Maybe you are looking for
-
Right now i am coding a game and i need to read from a text file to load the map. The only problem is that i cant do this in internet exploerer because i get an error saying that access is denied. I've been researchign the problem nonstop and the onl
-
Creating data sources when database is in standby mode
Hi, We have two oracle db in prod environment. One will always be running and the other will be in standby mode. Is it possible to create multi data source without shutting down the managed server and bringing up the standby database. Thanks
-
I have a client server application, 1) Server is running on a Linux Suse machine 2) Client is running on a Windows 2000 machine I had been running this application for some time now, but now i started getting this weird problem. When i try to run the
-
Find the list of forwarded workitems, forwarded by and forwarded to agents
Hi experts, I want to find the list of workitems which were forwarded and the corresponding forwarded by and forwarded to agents. The above requirement is for workitems of all kinds of status (might be completed, ready etc..) Please suggest. Regards,
-
Don't see changes in Live View until after 30 second delay
Running Dreamweaver CS5.5 on Mac OS X 10.7.5 Running Locally using MAMP Site is configured to run on a local PHP/MySQL server, and consists of a single index.php file with nothing more than an html header (I don't even have any PHP in there yet). Whe