Problem in starting SQL*PLUS in oracle database 10g
Hi
Well I am facing one problem while starting SQL*PLUS in oracle database 10g
ERROR - "Procedure entry point longjmp could not be located in dynamic link library orauts.dll"
This has happened when I installed Oracle Database 11g on same machine and when I deinstalled Oracle 11g then SQL*PLUS is started...no error came
Can anybody tell me the reason please...
hi
pls im having the same problem but in my own case i installed oracle apex using 11g.
im env variable is:
C:\Oracle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\app\Xty\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
pls which is my apex_home so i can interchange it?
i also have oracle 10g client installed
Similar Messages
-
Problem in connecting SQL developer to Oracle database
Hi,I don't know this is the correct forum for my problem
I Just installed Oracle Sql developer 3.2.I encountered a problem while creating a new connection with Oracle database 11g..
The error message says "Status : Failure -Test failed: The Network Adapter could not establish the connection"..
The command response as follows
lsnrctl stop
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:52
:56
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-01190: The user is not authorized to execute the requested listener command
lsnrctl start
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:55
:49
Copyright (c) 1991, 2010, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:57
:07
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 31-OCT-2013 20:57:07
Uptime 0 days 1 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\RIYAS\product\11.2.0\dbhome_1\network\admin\lis
tener.ora
Listener Log File c:\app\riyas\diag\tnslsnr\RIYAS-PC\listener\alert\log.
xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 31-OCT-2013 21:58
:28
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:102 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: RIYAS-PC, pid: 1828>
(ADDRESS=(PROTOCOL=tcp)(HOST=RIYAS-PC)(PORT=49911))
The command completed successfully
set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\RIYAS\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=RIYAS-PC
ComSpec=C:\windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\RIYAS
LOCALAPPDATA=C:\Users\RIYAS\AppData\Local
LOGONSERVER=\\RIYAS-PC
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\app\RIYAS\product\11.2.0\dbhome_1\bin;C:\app\RIYAS\product\11.2.0\dbhome
_2\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files\Common
Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsof
t Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\
Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\wi
ndows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPo
werShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program File
s (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\I
ntel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Open
CL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Progra
m Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\P
rogram Files (x86)\Windows Live\Shared
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=3a09
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\windows
TEMP=C:\Users\RIYAS\AppData\Local\Temp
TMP=C:\Users\RIYAS\AppData\Local\Temp
USERDOMAIN=RIYAS-PC
USERNAME=RIYAS
USERPROFILE=C:\Users\RIYAS
windir=C:\windows
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
Pls help..You don't say what you have done to set up a connection.
This error is usually caused by something like using the wrong host name, or port number. -
Starting SQL PLUS in Oracle 9i
Hi All,
I have Oracle 9i installed.
I can login to SQL PLUS by User name : scott Password : tiger
It shows me the prompt SQL>
What is Host String? And what value or characters is supposed to be entered there.
Nisarg SutariaGlobal database name is : matrix.neo
so SID : matrix
now if I give Host String : [email protected] (It does not work)
if I give Host String : matrix.neo (It does not work)
If I give Host String : matrix (IT WORKS)
It shows SQL> prompt.
Let me know if I am correct.
Nisarg -
SQL Developer and Oracle Database 10g Express Edition, Connection Problem
I am using SQL Developer version 1.2.1 and am connecting to a 10g database on a windows xp.
Up until today there have been no problems with the connection. When I tried to connect to the database and have not been able to.
The error states that "...listener refused the connection with the following error: ORA-12505, TNS; listener does not currently know of SID given in connect descriptor..."
Also tried to log into the database home page but page doesn't load...I'd bet the database is down.
Try a login through sqlplus ("Run SQL Command Line" in the Oracle Express Edition 'Start' menu).
Do a CONN / AS SYSDBA
If you get a message about database or memory area not available, try STARTUP.
If that doesn't work, you are best off in the General Database forum or the Express Edition forum.
You'll probably get the most expert response in General Database, but the Express Edition forum can be gentler on newbies (as it is more accepted that questioners are not and do not have access to full-time DBAs). -
Cannot run SQL script on Oracle Database 10g Express Edition
I'm trying to upload a script, and the file is being uploaded fine, but in the Script Editor window where I'm going to actually run the script, the entire file content is shown on one line and the whole edit area is in red. I'm not being able to run that script. Also if I create a new script from the editor, the edit area is again in red and I'm not able to save it. Please help me understand what's to be done so that I can run my SQL scripts.
I'd bet the database is down.
Try a login through sqlplus ("Run SQL Command Line" in the Oracle Express Edition 'Start' menu).
Do a CONN / AS SYSDBA
If you get a message about database or memory area not available, try STARTUP.
If that doesn't work, you are best off in the General Database forum or the Express Edition forum.
You'll probably get the most expert response in General Database, but the Express Edition forum can be gentler on newbies (as it is more accepted that questioners are not and do not have access to full-time DBAs). -
How to start another instance in oracle database 10g
Hi,
i have created another database on linux Enterprise Server 5 with SID name "rmann". after database is created the address is "http://linux:5500/em"
Now after that i run the address link it works fine. but when i restarted the computer run the address link http://linux:5500/em doen't run.
So how i can run the new address link
Thanks
SohailSohail wrote:
Hi,
i have created another database on linux Enterprise Server 5 with SID name "rmann". after database is created the address is "http://linux:5500/em"
Now after that i run the address link it works fine. but when i restarted the computer run the address link http://linux:5500/em doen't run.
So how i can run the new address link You mean that after the restart of teh machine, EM doesn't work? Did you check that whether the service of the EM is running or not?
emctl status dbconsoleIf it shows that the EM is not running then you must start teh service using,
emctl start dbconsoleAnd also check that you are not using DHCP, in case of which EM would keep on crashing since the IP would be changed all the time. For this, you must ensure that you configured EM using a static IP only.
HTH
Aman.... -
Hello Friends
I have Installed Oracle Database 10g Express Edition in "Ubuntu Linux" but i have Following Problems:
1.) After i installed Oracle Database 10g Express Edition i gone to
"Application" -> "Oracle Database 10g Express Edition" -> "Run SQL Command Line"
SQL Window has been opened there i have typed "SELECT * FROM tab;" here i got Warning Messg of
"SP2-0640: Not connected"
2.) From There i have Again gone to
"Application" -> "Oracle Database 10g Express Edition" -> "Start Database"
i got Warning Messg of "Operation Failed. venu is not a Member of DBA Group"
3.) Finally i want Solution For "How to get Connected in "Oracle Database 10g Express Edition"
Please Post the Answer As Soon As Possible ...
From Venu(INDIA)Was the oracle-xe configure completed successfully?
Are the pmon and listener processes running ... set your environment and connect via sqlplus if so. If no processes, the instance needs a startup.
$ ps -ef |egrep pmon
oracle ... ora_pmon_XE
$ ps -ef |egrep lsnr # can also check the listener status, see below
oracle ... /usr/.../tnslsnr ...
$ lsnrctl status
Endpoints Summary ...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<your hostname>)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=http) ... (PORT=8080)))
...In the ORACLE_HOME/bin directory there is a shell script you can source to set up your environment variables for connecting to the database. The full path to the .sh should be revealed by the tnslsnr process, /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
$ /usr/.../oracle_env.sh
$ sqlplus /nolog
SQL> connect system
Password: ...
Connected.
SQL> select status from v$instance;
STATUS
OPENThe oracle user created by the configure won't have a known password set. Set it and switch user to the oracle login. If you don't want to muck about with the oracle user, at least add your user to the dba group so that you can connect with the sysdba privilege when needed.
Edited by: clcarter on Feb 22, 2011 7:06 AM -
How to 100% Protect PL/SQL Code By Wrapped in Oracle Database 10g R2
Hello,
Is Possible to 100% Protect PL/SQL Code By Wrapped in Oracle 10g R2 ?
If it is not possible by wrap in oracle 10g R2,
Please, let me suggest, how i will be able to 100% protect PL/SQL code in Oracle Database 10g R2.
Because, I have lot of functions, procedures & package's in my project.
Which is running in field filed.
So, i have needed to protect 100%.
Also, will i convert to al functions, procedures & package's to .pll file ?
And .pll file to .plx file?
Is it possible to convert .plx file to .pll file ?
Please, let know any better solutions in this case....
Regards
MehediHello,
No, wrapping is not a 100% secure method. It could prevent your code from amateurs, but not from professional hackers. Look at the article http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/wrap.htm#BEHGBJAA
It says: "•Wrapping is not a secure method for hiding passwords or table names.
Wrapping a PL/SQL unit prevents most users from examining the source code, but might not stop all of them."
Edited by: apiminov on 03.12.2012 3:23
Edited by: apiminov on 03.12.2012 3:24 -
Disconnected from Oracle Database 10g Release 10.2.0.1.0 - Production
Can anyone tell me why my Database is not starting, I have been getting this error for quite some time now
Total System Global Area 532676608 bytes
Fixed Size 1249992 bytes
Variable Size 167775544 bytes
Database Buffers 360710144 bytes
Redo Buffers 2940928 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle Database 10g Release 10.2.0.1.0 - Production
Thank you in advanceYour Database has started. It only disconnected the session that started the database. For instance, if you are using a startuo script or dbstart.
Why do you think it is not started? -
Connecting to Oracle Database 10g Express Edition
Hello guys,
Im running Windows XP SP2.
Ive just installed Oracle SQL Developer and Oracle Database 10g Express Edition.
Im trying to connect via SQL Developer with:
hr/hr (yes, ive unlocked this user)
localhost:1521
sid:orcl
but then it says:
"Status: Failure -Listener refused the connection with the following error:ORC-12505, TNS:listener does not currently know of SID given in connect descript..."
i guess its smth wrong with my SID.
Im total newbie to oracle, keep that in mind.
Please help!The default SID for Oracle Database 10g Express Edition is XE.
-
Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition
G'Day Apex gurus,
I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
I went to the steps:
@apexins SYSAUX SYSAUX TEMP /i/
Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
@apxchpwd
with not problems
Then I connected to SQL*Plus as SYS by:
sqlplus /nolog
CONNECT SYS as SYSDBA
Enter password: xxxxxxxxxxx
but when I tried to run:
@APEX_HOME/apex/apxldimg.sql APEX_HOME
where APEX_HOME is Apex3.2.1 in my case
SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
PL/SQL procedure successfully completed.
old 1: create directory APEX_IMAGES as '&1/apex/images'
new 1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
Directory created.
declare
*+
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the path specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at line 15
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.17
Directory dropped.
Can anyone help me in how to trouble shout this?
I tried to continue by following the steps document
@APEX_HOME/apex/apxxepwd.sql password
(where password is the password of the Application Express internal ADMIN account)
but when I tried to login in:
http://localhost:8080/apex/f?p=4550:1
when I type the credentials
system
system
systempassword
nothing happens
or even If I try:
http://localhost:8080/apex/f?p=4550:10
admin
adminpassword
nothing happens here too.
I appreciate any help
Kind regards
CarlosMy database version is 10.2.0.1.0 Oracle express.
Operating system is Windows Vista.
I started installing using the following commands.
@ C:\temp\apex\apexins.sql
it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
If I supply the value for images the sqlplus window closes after scrolling a lot of info.
Enroute it also prompts me for a value for 9:
I don't know what the input shall be.
Then it again stops at enter value for version:
I used 3.2.1.0
The window scrols a while and closes.
later I changed the password and ran the command.
@c:\temp\apex\apxldimg.sql c:\temp
but no success with installation.
the output is as following.
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect system/sairam as sysdba;
Connected.
SQL> @ c:\temp\apex\apxchpwd
Enter a value below for the password for the Application Express ADMIN user.
Enter a password for the ADMIN user []
Session altered.
...changing password for ADMIN
wwv_flow_security.g_security_group_id := 10;
ERROR at line 3:
ORA-06550: line 3, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
ORA-06550: line 4, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
ORA-06550: line 4, column 5:
PL/SQL: Statement ignored
ORA-06550: line 5, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
ORA-06550: line 5, column 5:
PL/SQL: Statement ignored
ORA-06550: line 8, column 23:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 7, column 15:
PL/SQL: SQL Statement ignored
ORA-06550: line 13, column 32:
PLS-00364: loop index variable 'C1' use is invalid
ORA-06550: line 12, column 9:
PL/SQL: Statement ignored
ORA-06550: line 19, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
ORA-06550: line 19, column 5:
PL/SQL: Statement ignored
Commit complete.
SQL> @c:\temp\apex\apxldimg.sql c:\temp
PL/SQL procedure successfully completed.
Directory created.
if wwv_flow_utilities.db_version_is_at_least('11') then
ERROR at line 32:
ORA-06550: line 32, column 25:
PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
ORA-06550: line 32, column 3:
PL/SQL: Statement ignored
PL/SQL procedure successfully completed.
if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
ERROR at line 16:
ORA-06550: line 16, column 25:
PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
ORA-06550: line 16, column 3:
PL/SQL: Statement ignored
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.32
Directory dropped.
SQL>
Does this require XE 11 or anything else.
This will happen even if I supply as following(closing of sqlplus in the begining).
@ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
Any help. -
If you are running Personal Oracle, you do not need to give host
string to log in SQL Plus. However, database should be started
up first.
In order to run SQL Plus on a client workstation in client-
server environment, you should create a host string using Net
Easy Configuration. If you have created 'ORACLE' as the host
string, it is OK. You will also have to start a listener.sorry I was trying to reply to a post I read and had this
happen. Please ignore this. -
Hi friends
I have installed oracle 9i on windows XP successfully.
I can't start SQL plus, i am typing scott as username and tiger as password then it gives me TNS protocol error.
Please help me, how shall I fix this problem.
Thanks
Harishthe service might not exist yet in the services panel. you'll have to execute the following command from the server where Oracle is installed:
c:\> lsnrctl start
You should receive a series of messages about the listener starting. Then re-check the services as described above and you should see it there. -
Problem when connecting locally to Oracle Database 10g from Java code
Good afternoon,
I try to connect to my local Oracle 10g from JAVA code. Could somebody tells me what are the 'values' to enter in place of 'value1, value2, value3' in the following:
final String connectionURLThin = "jdbc:oracle:thin:@value1:value2:value3";
I tried to put my 'user' and 'pw' credentials I used when connecting with SQL*PLUS:
value1=my_user_name
value2=my_pw
value3=my_schema
but it doest work. Besides where could have I to put the 'WORKSPACE" name?
Thanks for any help.
Claude
Details:
ERR MESSAGE----------------------
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:365)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:854)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:200)
at javaapplication6.ConnectionExample.driverManager(ConnectionExample.java:138)
at javaapplication6.Main.main(Main.java:36)
Caused by: java.lang.ClassNotFoundException: oracle.dms.instrument.ExecutionContextForJDBC
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
... 8 more
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)
---------------------ERR MESSAGE
JAVA code------------------it compiles but throw an error when running there -> (*)...
final String driverClass = "oracle.jdbc.driver.OracleDriver";
final String connectionURLThin = "jdbc:oracle:thin:@jeffreyh3:1521:CUSTDB";
final String userID = "scott";
final String userPassword = "tiger";
final String queryString = "SELECT" +
" user " +
" , TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') " +
"FROM dual";
public void driverManager() {
Connection con = null;
Statement stmt = null;
ResultSet rset = null;
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection(connectionURLThin, userID, userPassword); // (*) prob here
stmt = con.createStatement ();
rset = stmt.executeQuery(queryString);
rset.close();
stmt.close();
} catch (SQLException e) {e.printStackTrace();
--------------------JAVA JDK 1.6
My system ------------------------
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionYes, the network connection could not be established. Like the error said.
What you're asking about is the exact reason, but that could be any number of things and not at all related to code. You could have the wrong host, the wrong port. A firewall could be blocking the outgoing connection, a firewall could be blocking the incoming connection. Etc. etc. -
Insert and update tables from SQL server to oracle database tables
Hi,
I am having problem while update data from sql server to oracle database tables.
I am doing one way insert +updates that is from SQL Server tables ==> Oracle database tables
I am using tools Sql server Integration service. I can insert data from sql server to oracle but update can't. Please help me how can I update + insert from sql server to oracle database tables easily.
Thanks in advance.Hi,
What about using Oracle SQL Developer for migration
http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
HTH
Maybe you are looking for
-
INSTALLED NEW INK CARTRIDGE and cancelled the alignment PRINT HEAD IS STUCK
Greeting everyone I just put a new color 57 HP ink cartridge into my all in one 2210 printer & somehow I cancelled the alignment as it seemed not to be doing anything....and now it will not return the printer head and will do nothing.... how will I
-
I have no sound on my Macbook pro. My devices options shows only Apple Tv/Airplay. My internal speakers option has vanished
-
I am in Jilin China and went to the local Apple resale store, but all the MacBook Pros with Retina Display have Chinese as the core language, and the store workers couldn't help me get English. Where can I buy a BacBook Pro in China that has English
-
Cannot configure SCSI controller
Hi, this task has landed on my desk and i have little or no knowledge of what this involves (lucky me). I am trying to configure a SCSI controller using the cfgadm command and it will not configure? SCSI controllers and attached drives: Ap_Id Type
-
Hello, Since upgrading from ECC 604 to ECC 606, we are unable to change the GR based IV flag on the PO when vendor is maintained with this flag. In other words it is forced by vendor record where previously it was defaulted by vendor record and coul