Help: Connecting to Personal Oracle 9i
I'm developing a web site that is going to use an Oracle database.
For that purpose I installed Microsoft Personal Web Server, and Personal Oracle 9i on a Windows 98.
I created a database using SQLPlus, but I can't connect to the database. I can't even create an ODBC connection.
The error message I get is ORA-12541. (no listener).
I am under the impression that the Personal Oracle doesn't work with a listener, is that right? What can I do in order to access the database from my client application?
Thanks ahead,
Fernando Cachicas.
The database listener usually runs as a service, but you can manually start it. Go to the bin directory of the DB and type:
"lsnrctl start"
Similar Messages
-
Can anybody tell me how to get connectivity between Personal Oracle 8.0.3 and Developer 2000 Rel 2.1 in Win 98 Environment.
I am able to install either Oracle 8 or Developer 2000 but not both, even if I use different Oracle Homes.
When I posted the same question to www.xperts.com someone wrote to me saying that a patch has to be used to get the connectivity.
I have been trying to solve the problem for last 6 months, but could not do it.
Can you please tell me how to get the connectivity or atleast tell me which version will facilitate connectivity in a stand alone PC.
Thanks and regards,
Ashok
nullFor Windows98. Worked for me, but no guarantee it will solve your problem.
1) Install Dev2K.
2) Install PO8i in a separate Oracle home.
3) Use the following for TNSNAMES.ORA in your DEV2K Home:
# C:\ORAWINKS\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:C:\orawinKS\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle Net8 Assistant
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
MYORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
null -
hi,how can i resolve this problem?
i use personal oracle with a tcp/ip connection and if i run a
report(developed with report builder oracle) i receive a
compiler error .if i run this same form on the server,the form
has no problem.
the only different is a client's call with tns (the listner is
start up)
thank and sorry for my bad englishHi, how are you?
I read your file. On my computer, I got the same problem. First I installed Personal Oracle 8.15 version under window 98. The oracle home is e:\orale\ora81. Then I installed Form 8i in the orale home e:\oracle\ora. After installation, there are two SQLPLUS. One is under ora81 and another is ora. The one which is in e:\oracle\ora81 is working and it can bring up the database. Another one and Forms don't work. They can not connect to the local database. It means my client which is under e:\oracle\ora can't connect to my server which is under e:\oracle\ora81. I think I shoud set up the connection in tnsnames.ora by using Net8 Easy Config. I did it. It failed. Can you help me?
Thanks.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by harry dhillon ([email protected]):
No, you shouldn't have to to.
If you have Personal Oraacle 8 running properly on your PC, then you can just connect to the database from Developer V6 using your normal username/password. For example, if you log on to SQLPLUS as scott/tiger, then the same will work for your forms and reports. You don't even need to enter a connect string. I have it working OK on a Windows '98 PC, with Personal Oracle 8i, and Forms v6i.<HR></BLOCKQUOTE>
null -
Hello,
would anyone help me to connect to the personal oracle using thin driver. i tried with the folling url. but i could not.
iam using ocalce8.0, jdk1.2.2.
String url="jdbc:oracle:thin:scott/tiger@(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = BEQ)
(PROGRAM = oracle80)
(ARGV0 = oracle80ORCL)
(ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')
(CONNECT_DATA = (SID = ORCL)
Connection con=DriverManager.getConnection(url);
I get an exception java.sql.SQLException: IoException :The Network Adapter could not establish the connection.
Pls, help me to connect to the personal oracle.
thanks,
LakshmiI think
String url="jdbc:oracle:thin:scott/tiger"
is enough for personal oracle versions,
while you call from local machine. -
How to connect to personal oracle using oracle thin driver on windows98
Hi,
i would like to know is it possible to connect to personal oracle8 using oracle thin driver on windows98.iam getting some exceptions when iam running ,could any one help me
1.exception in thread main java.sqlexception:IOexception:the
networkadapter could not establish the connection
2.at oracle.jdbc.dbaccess.DBError.throws sqlexception(DBError.java)
3.atoracle.jdbc.dbaccess.DBError.throws sqlexception(DBError.java)
4.atoracle.jdbc.driver.oracleconnection.<init>(oracleconnection.java)
5.atoracle.jdbc.driver.oracledriver.getconnectioninstance(oracledrive
r.jva)
6.atoracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
7.atjava.sql.DriverManager.getConnection(unknown source)
8.atjava.sql.DriverManager.getConnection(unknown source)
9.at JEmp.main(JEmp.java:16)
nullhttp://www.orafaq.com/wiki/JDBC#Thin_driver
-
Unable to connect to Personal Oracle 9i database
I have loaded Borland Jbuilder 8 and Oracle 9i Release 1 Personal Edition in WinXP
When i try to compile the below code , i get the Error
Exception in thread "main" java.lang.NoClassDefFoundError
I have set my CLASSPATH to c:\oracle\ora90\jdbc\lib\classes12.zip
import java.sql.*;
class Employee
public static void main (String args [])
throws SQLException
// Load the Oracle JDBC driver
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
String url = "jdbc:oracle:oci8:@test";
try {
String url1 = System.getProperty("JDBC_URL");
if (url1 != null)
url = url1;
} catch (Exception e) {
Connection conn =
DriverManager.getConnection (url, "scott", "tiger");
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
while (rset.next ())
System.out.println (rset.getString (1));
rset.close();
stmt.close();
conn.close();
Is there anything else i have to do. I even tied compiling from command line but i got the same error. Any help will be higly appreciated2) Make sure, you have ojdbc14.jar and nls_charset12.zip in your >CLATHPASS, I have it both for user and system varables, to be on the >safe side).
I don't think you need classes12.zip in the CLASSPATH.
Just fyi: for JDK 1.2.x 1.3.x, you need to have classes12.zip and >nls_charset12.zip in the CLASSPATH to work, but I didn't try it since >I have 1.4venyP, I am not questioning your post because I am still pretty new to Java (I started writing Java since February). However, I don't have any of those jar file or zip file in my CLASSPATH, and I am using JDK 1.3.1.
I am using 1.3.1 because back in February when I visited the Sun site, their J2EE 1.4 was still in beta, therefore, I downloaded the 1.3.1 of both J2EE and J2SE.
Like the original poster, I am also using Oracle 9.2 and JBuilder 8. And I never ever have to do any tweaking to my CLASSPATH. Everything works beautifully. I can compile and run any Java program from JBuilder, from Eclipse, and from the command prompt. No problem whatsoever.
That's why I don't understand why everybody is talking about all these modification to the CLASSPATH.
Just wondering. Thanks. -
Help Connecting Weblogic to Oracle.
Hello,
We are encountering some error to connect weblogic at start up to
oracle 8i on a Solaris box. I have attached an error log file for the
same. The Error is something to do with ORA-24327.
The Fact is I am able to connect to oracle from NT Weblogic server,
NT SQL, SVRMGRL . But when I try to connect to oracle from Solaris
WebLogic I get this Error.
Thanks in advance for the help.
[weblogic.log]According to our jdbc engineer:
ORA-24327 ("need explicit attach before authenticating a user")
First, this is not one of our error codes. Its one of OCI's many ways of telling you it
could not connect for some unknown reason. Unfortunately, this generally doesn't help
solve the problem. Currently, I'm aware of
two things that might cause this problem:
1. Oracle client DLL/SO is not compatable with Oracle server or Oracle client
installation. The former is a limitation of oracle that we can't do anything about.
The latter often implies an installation problem or conflict with some other installed
software. For example, some Oracle applications will install the OCI DLL in your path
(most
often in the windows system directory), thinking that its being helpful.
Unfortunately, if your ORACLE_HOME is pointing to a different version of oracle, this
will screw you. So if you get this error, one thing to check whether you have an old
version of OCI (OCI.DLL and/or OCIW32.dll) somewhere in your path.
2. More recently, I've learned that this error can also occur if your tnsnames.ora
does not have a reference to the service you are trying to access.
Hope this helps
--Kumar
Sheshadri Yagati wrote:
Hello,
We are encountering some error to connect weblogic at start up to
oracle 8i on a Solaris box. I have attached an error log file for the
same. The Error is something to do with ORA-24327.
The Fact is I am able to connect to oracle from NT Weblogic server,
NT SQL, SVRMGRL . But when I try to connect to oracle from Solaris
WebLogic I get this Error.
Thanks in advance for the help.
Name: weblogic.log
weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
Encoding: base64 -
Developer rel 6i connection problem to Personal Oracle 8i (8.1.6)
Hi guys!
I have a very general problem regarding the connection to
personal oracle 8.1.6 database from developer 6i products.
I have oracle 8.0.5 client database portion and developer 2.1
installed on my WIN98 machine in as DEFAULT ORACLE HOME.
Then I installed Personal Oracle 8.1.6. in a separate directory
and separate ORACLE_HOME. I am able to connect from the SQL*PLUS
8.0 to the Personal Oracle 8.1.6
Then I installed D2K rel 6i in DEFAULT ORACLE_HOME as I was
informed that FORMS 6i should be installed in the DEFAULT ORACLE
HOME. Now when I try to connect to personal oracle 8.1.6 from
forms 6.0.8, the error message comes as the 'ORA-1034 ORACLE NOT
AVAILABLE '
I made sure that the directory in which the D2K 6i is installed
takes the first precedence in the PATH environment variable of
the AUTOEXEC.BAT
I made sure the listener for the personal oracle is working.
I seek your guidance.
Thanks for your help.
Regards,
Kalpesh.I have also the same problem. Please help me too with this.
-
Developer 6 (Graphics)/Personal Oracle 7.3.3 - Connectivity
SQL*Plus, Forms and Reports, all seem to connect to Personal
Oracle V7.3.3 OK. However when I connect with Graphics, although
I get a message indicating successful completion, the logon
dialogue box is still displayed and the connection hasn't
succeeded.
Any ideas?
Sean
nullFaisal Shaikh (guest) wrote:
: I amd having problem connecting Developer 6 with Personal
Oracle
: 7. Problem seems to be with TNS.
Faisal,
You may already have resolved this issue but just in case you
are still getting problems, here is some info that may help.
I faced the same problems with Oracle Developer 6 and Personal
Oracle 7.3.3. Oracle Developer 6 uses Net8 to connect to the db
whereas Personal Oracle 7 uses SQL*Net, hence the TNS problems
you have been getting.
There is a solution. Oracle Support suggested that you had to
have a listener running in order for the connection to work. To
do this you needed to instal the SQL*Net Add-Ons from the
Personal Oracle CD, configure TNSNAMES.ora to point to a dummy
IP address and start the listener. When I tried this I
discovered that you don't infact need amend the TNSNAMES.ora
file or run up the listener. As long as the SQL*Net add-ons are
installed, the connection from Oracle Developer 6 to Personal
Oracle 7 seems to work.
Hope this is of some help.
Sean Griscti
null -
Connection Developer 200 with Personal Oracle 8
Hi,
I have installed Personal Oracle 8 and developer 2000
I am able to work in SQL*plus 8 BUt i am not able
to establish a connection with developer 2000 (Forms as
well as reports )
my queries are
1) what should be installed first
a) personal oracle 8 or developer 2000
b) what about their home directories
2) what all i need to do after installation to establish
a connection between Personal oracle 8 and developer 2000
CAN SOMEONE HELP ME ON THIS
TARUNinstall them in 2 separate homes.
start your database listener (lsnrctl start).
create a sqlnet connection using the sqlnet easy config utility
in the forms home. -
Connecting Personal Oracle 8i and Developer
Hi
The following works for me.
The critical files required are tnsnames.ora, sqlnet.ora and listener.ora.
Put sqlnet.ora, listener.ora and tnsnames.ora in the ORACLE\ORA81\NETWORK\ADMIN directory.
Put sqlnet.ora and tnsnames.ora in the
ORAWIN95\NETWORK directory.
The following are how the files should look.
This is assuming the PO 8I installation defaults were taken (SID is ORCL, and GLOBAL DATABASE NAME is ORACLE).
Listener.ora file:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(PROTOCOL_STACK =
(PRESENTATION = TTC)
(SESSION = NS)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(PROTOCOL_STACK =
(PRESENTATION = TTC)
(SESSION = NS)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 2481))
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\Oracle\Ora81)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = Oracle)
(ORACLE_HOME = c:\Oracle\Ora81)
(SID_NAME = ORCL)
tnsnames.ora file:
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oracle)
(SID = ORCL)
sqlnet.ora file:
TRACE_LEVEL_LISTENER=OFF
TRACE_DIRECTORY=C:\ORACLE\ORA81\NETWORK\LOG
trace_level_client = off
trace_directory_client = c:\orawin95\network\log
#sqlnet.authentication_services=(NONE)
names.directory_path=(TNSNAMES,HOSTNAME)
#names.default_domain=world
#name.default_zone=world
automatic_ipc = off# c:\oracle\ora81\network\admin\tnsnames.ora
TRACE_LEVEL_CLIENT=OFF
TRACE_DIRECTORY_CLIENT=C:\ORACLE\ORAWIN95\NETWORK\LOG
Create a shortcut for listener (C:\Oracle\Ora81\BIN\LSNRCTL.EXE).
Start developer.
Start PO 8i.
Start Listener and enter "start".
You should now be able to connect to Oracle
from Developer using scott/tiger and using oracle as the database name.
Good Luck.
Jim
nullHi.
I too had problems getting Developer 6 to connect to Personal Oracle 8 on Windows 98.
Thanks to the information Jim posted I am now able to connect.
I followed Jim's instructions with three exceptions.
First exception - On my machine the sqlnet.ora and tnsnames.ora file belong in the ORAWIN95\NET80 directory rather than ORAWIN95\NETWORK directory.
Second exception -- Personal Oracle 8 was installed in C:\ORA81 rather than C:\ORACLE\ORA81 so I adjusted pathnames as needed.
Third exception -- I made backup copies of the sqlnet.ora, tnsnames.ora, and listener.ora files that the installation had created before I started editing them.
My first attempt to start the listener failed with TNS-01152 message which indicated that the addresses provided to listener were not valid.
I replaced the listener.ora file in my C:\ORA81\NETWORK\ADMIN directory with the one that the installation had created then attempted to start the listener again.
The listener started successfully. I attempted to connect from Developer6 using scott/tiger@oracle. Developer6 connected!
Here is what my listern.ora file looks like:
# LISTENER.ORA Network Configuration File: # C:\ora81\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = i8q4v6)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = i8q4v6)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\ora81)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORACLE)
(ORACLE_HOME = C:\ora81)
(SID_NAME = ORCL)
Good Luck.
Debbie.
null -
Connected refused to personal oracle
Iam getting an SQLExcpetion :Connection refused :no further information error
when trying to connect to personal oracle 8.0.4 using classes102.zip (oracle thin drivers) with jdk1.2.2.
The same thing works with jdbcOdbc Driver.
iam not getting the exact reason for this error.
This is my conect String "con = DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.1:1521:orcl",
"scott", "tiger"); "
Pls post the answer to my id :
[email protected]sudha the error is a typo while i was posting and if i compiled with that it would give me compilation error......
We could not establish connection using the following lines.............
static final String url="jdbc:oracle:thin:@(description=(address=(host=127.0.0.1)(protocol=tcp)(port=1521))(connect_data=(sid=orcl)))";
try
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con=DriverManager.getConnection(url,"scott","tiger");
catch(Exception ex)
System.out.println("Connection error.........");
This gave the following error:
"Network Adapter could not establish connection" -
Has anyone experience with personal oracle on a lone machine?
I keep changing configurations around trying to connect with personal oracle running on my own machine. Right now, EasyConfig doesnt like any of the service_names I give it and gives me ORA-12514. Please post or e-mail me. Thanks
According to the information on this page the required Aircard 580 card is NOT compatible with any version of the Mac OS. Which is really odd since the banner across the top of the page proclaims "wireless, mobile web access for your mac". Perhaps they intend for you to buy a compatible phone and use Bluetooth connectivity to allow the phone to act as a modem for your Mac.
The built-in wireless of your Mac does not allow you to connect directly to cellular networks like BlueMobility.
After some more digging... I found this page which supposedly lists the Mac compatible options. -
Connecting to aa Oracle Server Using Power Query
Hi
Just got started with Power Query,
I want to get connected to the remote Oracle Server, which is used as DB by our Internal Ticketing system.
Can Any one let me know how can I get connected to Oracle Server. I had gone through some documentation from below link
http://office.microsoft.com/en-us/excel-help/connect-to-an-oracle-database-HA104019815.aspx?CTT=5&origin=HA104003952
and downloaded the "instantclient-basic-windows.x64-12.1.0.1.0" from Oracle Site too.
Can some one guide me on how to proceed further.
Regards
SuryaAny ideas for Surya?
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Connecting Developer 6 to Personal Oracle 8.1.0.5
I installed Personal Oracle 6.0 and Developer 6.0 on Windows 98 in different homes.
Have I install a network card to be able to connect Developer 6.0 to the personal Oracle 8.1.0.5 ?Hi, how are you?
I read your file. On my computer, I got the same problem. First I installed Personal Oracle 8.15 version under window 98. The oracle home is e:\orale\ora81. Then I installed Form 8i in the orale home e:\oracle\ora. After installation, there are two SQLPLUS. One is under ora81 and another is ora. The one which is in e:\oracle\ora81 is working and it can bring up the database. Another one and Forms don't work. They can not connect to the local database. It means my client which is under e:\oracle\ora can't connect to my server which is under e:\oracle\ora81. I think I shoud set up the connection in tnsnames.ora by using Net8 Easy Config. I did it. It failed. Can you help me?
Thanks.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by harry dhillon ([email protected]):
No, you shouldn't have to to.
If you have Personal Oraacle 8 running properly on your PC, then you can just connect to the database from Developer V6 using your normal username/password. For example, if you log on to SQLPLUS as scott/tiger, then the same will work for your forms and reports. You don't even need to enter a connect string. I have it working OK on a Windows '98 PC, with Personal Oracle 8i, and Forms v6i.<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
Ctrl and shift alt shortcuts not working in Illustrator CS4
Hi Can´t seem to get these keys to work properly. For instance while drawing with the rectangle tool then pressing shift to get a square does not give me a square, all I get is a tooltip balloon saying "shift" same goes with ctrl and alt and spacebar
-
IPod Updater Won't Work. Please Help!!!!!!!
HI!!!, i tried opening up the iPod updater 2006-03-23 but when it does open up it says. 'iPod Universal Updater has encountered a problem and needs to close. We are sorry for the inconvenience.' and then the choices Debug, Send Error Report And Don't
-
How do I make my external hard drive the primary itunes library
I want my iTunes library to store in an external hard drive instead of computer hard drive. How do I make this happen?
-
Apple's battery replacement = different ipod?
Got a question about ipod battery replacement on Apple Care. Recently purchased two ipod classics, just before they were discontinued. The battery of one of them appears to be underperforming. I also have some older ipods that may need out-of-warrant
-
Obviously Ive had the same errors originally but the software has updated fine now. But for some reason the music on the phone will not play atall! with or with out headphones. It seems too just be staying at 0.00mins and even if I fast forward it it