Personal Oracle8 and JDBC:URL
I am trying to use Oracle8 Personal Edition with Weblogic7.0. I tried to setup
the connection pool but I couldn't figure out the JDBC:URL value correctly. I
know the format is supposed to be jdbc:oracle:thin:@server:port:sid
The server in my case is the localhost. I have created an instance called FBN.
I don't know the port number. Can anyone help me to setup the Connection Pool
properly? Thanks a lot.
Here is an sample node to use oracle thin JDBC driver:
<JDBCConnectionPool CapacityIncrement="5"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="5"
MaxCapacity="40" Name="RFIDPool"
Password="{3DES}FslOVhEO+VkeNVHoDdRxpw=="
Properties="user=dwschema" Targets="myserver" URL="jdbc:oracle:thin:@localhost:1522:scisidw
"/>
Please note this one works with weblogic 6.1.
Yong
"Sai S Prasad" <[email protected]> wrote:
>
I am trying to use Oracle8 Personal Edition with Weblogic7.0. I tried
to setup
the connection pool but I couldn't figure out the JDBC:URL value correctly.
I
know the format is supposed to be jdbc:oracle:thin:@server:port:sid
The server in my case is the localhost. I have created an instance called
FBN.
I don't know the port number. Can anyone help me to setup the Connection
Pool
properly? Thanks a lot.
Similar Messages
-
Connection to Personal Oracle8 with JDBC - JDK 1.2
I am new to development with java and have been struggling the last four days implementing connecting to Personal Oracle8 via JDBC, JDK 1.2.
I have Personal Oracle8 installed on my machine along with JDK 1.2. I am confused on how to construct the URL that would point to my Local Database along with which driver to use. Can someone help me in out.
Thanks
Clif Dawes
Application BuildersHi,
Openlink Software provides JDBC 2.0 Core API compliancy in Type-1, Type-2, and Type-3 JDBC driver suites. This Multi-Tier Driver Suite offers the high performance, scalability and security that you won't find in other JDBC drivers on the market.
Try a free non-expiring limited seat license at http://www.openlinksw.com
Specific information on contructing the URL string with these drivers can be found at: http://www.openlinksw.com/info/docs/rel3doc/jdbc/cliclass.htm
Best regards,
Stephen Schadt http://www.openlinksw.com -
Creating a service ; What needs to be added to tnsnames.ora and JDBC url?
DB version: 11.2.0.2
OS platform : Solaris 10
We have a 2 node RAC.
DB name = mbsprd
Instance1 = mbsprd1
Instance2 = mbsprd2I want Instance 1 (mbsprd1) to be used for our OLTP application and Instance 2 (mbsprd2) to be used for another application of DSS nature.
Based on the syntax
srvctl add service -d <dbname> -s <ServiceName> -r <Preferred Instance> -a <Available Instance>I am going to create 2 services
-- Creating a service called OLTP
srvctl add service -d mbsprd -s OLTP -r mbsprd1 -a mbsprd2-- Creating a service called DSS
srvctl add service -d mbsprd -s DSS -r mbsprd2 -a mbsprd1-- Starting the services
srvctl start service -d mbsprd -s OLTP
srvctl start service -d mbsprd -s DSSI guess the above steps are enough to configure a service at the server side.
I would like to know what needs to be done at the client side.
Currently the tnsnames.ora file and JDBC url used by our clients are shown below. What needs to be added to tnsnames.ora file and jdbc URL to start using services configured above?
-- SCAN based TNS entry
mbsprd =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = tcp.world)
(PROTOCOL = TCP)(Host = p148149-scan.tpam.net) (Port = 36964))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mbsprd)
(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))
-- TNS entry based on local listener
-- Instance 1
mbsprd1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp148-vip)(PORT = 36973))
(CONNECT_DATA =
(SERVICE_NAME = mbsprd)
(INSTANCE_NAME = mbsprd1)
-- Instance 2
-- TNS entry based on local listener
mbsprd2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp149-vip)(PORT = 36973))
(CONNECT_DATA =
(SERVICE_NAME = mbsprd)
(INSTANCE_NAME = mbsprd2)
)JDBC entry for RAC
jdbc:oracle:thin:@p148149-scan.tpam.net:36964:mbsprd -- Alternative version used by some clients because the above had 'some issues'
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=p148149-scan.tpam.net) (PORT=36964))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mbsprd)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 10))))OLTP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OLTP)
DSS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DSS)
)JDBC entry for RAC
jdbc:oracle:thin:@p148149-scan.tpam.net:36964:service_name
jdbc:oracle:thin:@new_tns_entry_description(if you would like to connect the database with particular service)
try this and let us know any issues, -
Connecting personal oracle8 and dev2000
How to connect personal oracle8 and dev2000
ok, for connecting PO8 to D2k you have to do the same setting as for central database connectivity.
Anyway, here is the solution :
1. Make an entry in tnsname.ora for your PO8 sid.
2. Start the listener by giving the command lsnrctl start on command prompt.
3. Start the database.
4. Check the connectivity through SQL Plus.
5. If sql plus is connected, start forms and connect it from there.
Note : you may need to give po8.world in the connect string, but it is not required most of the time.
where po8.world is the entry in the tnsname.ora.
Best of luck -
Driver Class name and JDBC URL Format
Hi,
I'm trying to use the oracle jdbc driver to connect to an (what a surprise) oracle database.
I need a 'driver class name' and the JDBC URL Format. But I cannot find these anywhere.
Can anyone help me out here?
Regards,
Laurenshttp://myjdbc.tripod.com/basic/jdbcurl.html
-
Personal Oracle8 and Developer6 ?
I've installed Personal Oracle 8.0.3 on my Win98 computer. I
tried to install also Developer6 (required support files 8.0.5c),
but instalation was interrupted because of version conflict
between support files of Dev6 and Personal Oracle8 (I was
installing in one ORACLE_HOME). If I had ignored warning and
continued with instalation of Dev6, I was not able to start
Oracle database after succesfull installation of Dev6. I've got
message: "The Oracle80.exe file is linked to missing export
NZ80.dll:nztpfvec".
I tried to copy NZ80.dll from Oracle distribution to my
Oracle_Home, but database still was not operational.
Is possible to install these products to diffrent Oracle_homes?
Could anyone help me ?
nullHi there,
You cannot have Oracle8 and Dev6.0 in the same Oracle home.
Install Dev6.0 in a different Oracle home.
I guess it should solve your problem.
regards,
Vikram
Petr Matula (guest) wrote:
: I've installed Personal Oracle 8.0.3 on my Win98 computer. I
: tried to install also Developer6 (required support files
8.0.5c),
: but instalation was interrupted because of version conflict
: between support files of Dev6 and Personal Oracle8 (I was
: installing in one ORACLE_HOME). If I had ignored warning and
: continued with instalation of Dev6, I was not able to start
: Oracle database after succesfull installation of Dev6. I've got
: message: "The Oracle80.exe file is linked to missing export
: NZ80.dll:nztpfvec".
: I tried to copy NZ80.dll from Oracle distribution to my
: Oracle_Home, but database still was not operational.
: Is possible to install these products to diffrent Oracle_homes?
: Could anyone help me ?
null -
Personal Oracle8 v803 and Oracle8i Lite v40 on Win98
Is it possible to have Personal Oracle8 and Oralce8i Lite
running on the same machine? If it is, can someone tell me how?
Thanks,
Ronald
nullRonald I don'tknow if you can run both
but at least for me converting was non\
trivial.
I removed personal oracle on my win98 machine
by running orainst and removing every thing
I could, then renaming the orawin directory,
and running the windows registry editor
and deleting the oracle section from
within a section callled software.
I am under the impression that O8 lite
is to replace personal oracle 8.
One thing that seems missing is
pl/sql.
Jordan Schwartz
Ronald Luitwieler (guest) wrote:
: Is it possible to have Personal Oracle8 and Oralce8i Lite
: running on the same machine? If it is, can someone tell me how?
: Thanks,
: Ronald
null -
Which ODBC driver for Personal Oracle8?
I'm using Personal Oracle8 and trying to connect via ODBC from a
Java program using JDBC. I can connect to MS Access 7 via ODBC
but I cannot connect to Personal Oracle8 using the delivered
ODBC 8 driver (8.0.4.0). Looking through the technet product
listing, the other ODBC 8 drivers only work with NT. I'm using a
laptop with Windows98. I'm stumped. What should I use and where
do I download it from please?
Thanks in advance,
Dave
nullAre you connecting via a JDBC-ODBC bridge or just using the
native JDBC driver? The ODBC drivers (or JDBC drivers for that
matter) don't care if they run on WIndows 9x or NT. The problem
here might be that you are using Personal Oracle. This version is
not intended to be remotely connected to (i.e. from a remote
machine) -- it is only intended for bequeath connections (i.e.
processes local to the RDBMS). You CAN start a listener on the PO
RDBMS (it isn't running by default), although that really isn't
what it is intended to do (i.e. be a server). Try using the
workgroup or enterprise server instead.
The ODBC (and JDBC drivers) will need a listener running to
connect remotely (which is probably the source of your trouble).
null -
Hi All,
I installed Personal Oracle8.03 and Forms5.0 I tired to connect
to the Personal Oracle from the Forms5.0 using the Beq-Local
protocol which is used to connect to local databases but it did
not work at all.
Is there anyone can suggest something on this?
Thanks in advance
nullRonald I don'tknow if you can run both
but at least for me converting was non\
trivial.
I removed personal oracle on my win98 machine
by running orainst and removing every thing
I could, then renaming the orawin directory,
and running the windows registry editor
and deleting the oracle section from
within a section callled software.
I am under the impression that O8 lite
is to replace personal oracle 8.
One thing that seems missing is
pl/sql.
Jordan Schwartz
Ronald Luitwieler (guest) wrote:
: Is it possible to have Personal Oracle8 and Oralce8i Lite
: running on the same machine? If it is, can someone tell me how?
: Thanks,
: Ronald
null -
Jdbc urls and when does load balancing and failover work?
I you use a jdbc url with OracleDriver not OracleDataSource because we use dbcp for our connection pooling. What can we expect by putting in two connection descriptors one for each host when an 11g RAC node goes away?
I know all about ONS and FCF etc but when you are not using OracleDataSource and friends what benefit is there is having mulitple hosts in the jdbc url?
What is that recognises the other host in the jdbc url when a RAC node goes away? Is that integral to OracleDataSource or anything outside of OracleDriver?
right now we only have one HOST = in your jdbc url but I'm not sure how we would benefit by adding the second if we are not using OracleDataSource.Best I can suggest - step up and become the expert.
You are dealing with RAC which most people do not have and do not use (based on postings I have seen) so you already have that advantage.
The dbcp pool doesn't mean anything since it just acts as a wrapper around the Oracle driver. -
Personal Oracle8.0 and Forms5.0
Hi all,
I installed Forms5.0 and Personal Oracle8.0 on my PC. I could
connect to the Oracle instance using SQL*Plus8.0. But when I
tried to connect to the Oracle Instance with Forms Builder I
could not!. Well, I could connect to Personal Oracle7.0 with
Forms5.0. But I need to know how to connect ot Personal
Oracle8.0. Anyone can help please?!!
nullHi Emad,
here is your problem:
Personal Oracle8 uses the Beaquent driver to connect to the
database by default. This is why you can connect to the database
from sql*plus but not from the developer/2000. The trick is to
run the Net8 utility and create your very own tnsnames.ora,
listener.ora and sqlnet.ora files. After you created those
files, you will start the listener and then the database. The
listener will listen at port 1521 for the database (by default).
Then you will be able to connect from within the developer.
Try and if you will still have problems send me an e-mail.
Zafer
Emad Kehail (guest) wrote:
: Hi all,
: I installed Forms5.0 and Personal Oracle8.0 on my PC. I could
: connect to the Oracle instance using SQL*Plus8.0. But when I
: tried to connect to the Oracle Instance with Forms Builder I
: could not!. Well, I could connect to Personal Oracle7.0 with
: Forms5.0. But I need to know how to connect ot Personal
: Oracle8.0. Anyone can help please?!!
null -
Difference between Personalized url and Vanity url
Hi All,
Can any one plz let me know the difference between Personalized url and Vanity url interms of Weblogic Portal ?
thanks,
XXXXXI'm not familiar with these concepts of personalized URLs and vanity URLs, but after a little bit of research it appears to pose the same issues as Search Engine Optimization as it relates to informative URLs.
Search on this forum for Search Engine Optimization or SEO and you'll find some ideas that should be equally applicable to personalized/vanity URLs.
Brad -
Oracle8i and Oracle9i with BWLS5.1
Hi, I need help!!!
I ve a Oracle8i and an Oracle9i connection pools in WLS 5.1
The Oracle9i connection pool is not stable, and have been told to upgrad the drivers for it. I wonder if there is any problem use connection pool to an Oracle8i and Oracle9i, without any conflicts.
Can WLS5.1 handle it? how should I do ?
Pleaaaase!
regards / John CokouloHi Sree,
Sorry, I was wrong, I found the JDBC drivers for the Oracle9i.
The JDBC pack contains the OCI and Thin drivers.
Thanks alot.
best regards, John.
"John" <[email protected]> wrote:
>
Hi Sree,
thanks alot for your help!
I was looking for Oracle 9i Thin driver, but could not find any!
The only I could find was Oracle 9i thin JDBC driver for Mac OS X.
and thanks again for your help.
regard, John!
"Sree Bodapati" <[email protected]> wrote:
Hi John,
WebLogic jDriver for Oracle 9i is not available for WLS5.1. Its only
available for WLS6.1SP2 and above.
I suggest you use the Oracle thin driver from Oracle to connect to the
9i
database.
when you download and install the 9i thin driver, the connection pool
can be
configured as,
weblogic.jdbc.connectionPool.O9iPool=\
url=jdbc:oracle:thin:@9imachinename:port:SID,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=5,\
maxCapacity=12,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=12,\
props=user=o9iusr;password=o9ipwd;weblogic.oci.min_bind_size=660
You cannot use two different OCI drivers at the same time to create
Connection pools in a single server.
HTH
sree
"John" <[email protected]> wrote in message
news:[email protected]...
Hi Sree, thanks for your help... now this information is what I got.
Some data:
ORACLE_HOME=/oracle/product/8.1.7
PATH includes $ORACLE_HOME/bin
My ld library path include the oracle driver: oci815_8:$ and ORACLE_HOME/lib
As I can see is the oci815_8 in use.
weblogic.jdbc.connectionPool.O8iPool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=5,\
maxCapacity=12,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=12,\
props=user=o8iusr;password=o8ipwd;server=O8iServer;weblogic.oci.min_bind_siz
e=2000
weblogic.jdbc.connectionPool.O9iPool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=5,\
maxCapacity=12,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=12,\
props=user=o9iusr;password=o9ipwd;server=O9iServer;weblogic.oci.min_bind_siz
e=660
Now Can I Make Tow Connection Pools To Oracle With Different Drivers
Like Let The O8i Go To The Old oci815_8 Drivers,
And Install New Oci Drivers For The Oracle9i ??????
"Sree Bodapati" <[email protected]> wrote:
Can you post the connection pool properties url and driver, they should
tell
us what driver you may be using.
sree
"John" <[email protected]> wrote in message
news:[email protected]...
Hi,
I dont know exactly what driver we use, but I know that the same driver
is
in
use for bothe 8i and 9i. And I know that the driver is old, (from 2000).
The behavior is that connection duo the 9i are rollin back sometimes,
about
30%
of all transactions are rolling back.
Thats why I ve been told to use newer drivers (9i drivers).
So, yes, I see exceptions, roll back exceptions of the transactionsthat
are
trying
to connect to the database pool.
But I wonder how to do that, and how can I see exactly what driver
we
use
now?
Please help me!!!!
"Sree Bodapati" <[email protected]> wrote:
John,
What driver are you using to connect to 8i and 9i? What is the behavior
you
are seeing with the pool connections, when you say pool is not stable?
do
you see any exceptions/hangs ?
Also ensure that you have testConnsOnReserve=true (on the 9i pool)
so
that
the connections get recreated if they go bad.
hth
sree
"John" <[email protected]> wrote in message
news:[email protected]...
Hi, I need help!!!
I ve a Oracle8i and an Oracle9i connection pools in WLS 5.1
The Oracle9i connection pool is not stable, and have been told to
upgrad
the
drivers for it. I wonder if there is any problem use connection pool
to an
Oracle8i and Oracle9i, without any conflicts.
Can WLS5.1 handle it? how should I do ?
Pleaaaase!
regards / John Cokoulo -
Connecting to personal oracle8 using connection wizard in jdeveloper3.0
i am trying to connect to oracle8 using jdbc
using connection wizard in jdeveloper3.0
but when i test the connection i gives
an error "no ocijdbc8 in shared library path"
please help me out.The problem isn't Personal Oracle, but rather trying to use the JDBC/OCI driver which uses native code.
Here's some text from the 3.1 release notes about how to solve your problem (I think this was in 3.0's release notes as well, however I'm not sure)
If you are using the Oracle JDBC/OCI or Oracle Lite JDBC Driver with JDeveloper (JDK 1.2/1.3) add the %ORACLE_HOME%/bin directory to java.library.path and sun.boot.library.path in bin/jdeveloper.ini. It should look like this:
[Java_2]
JDK=java version "JDK1.2.2_JDeveloper"
Java2VM=OJVM
JLP=-Djava.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;C:\ORANT\BIN
SLP=-Dsun.boot.library.path=.;%JAVA_ROOT%\bin;%JAVA_ROOT%\jre\bin;C:\ORANT\BIN
If you are executing applications which use the JNI to call native libraries (DLL files) under JDeveloper with JDK 1.2/1.3 it is necessary to edit your project properties. Add to the Java VM Parameters, under the Run/Debug tab the following setting: -Djava.library.path=(Path where DLL files are located)".
Take Care,
Rob
null -
Hi Experts,
I did my application in jdev 11.1.1.6 and deployed using Jdbc Url connections and it worked successfully (Actually I m working with 2 diff Database connectiosn in my application)
But the thing is my company need me to do something like I should be able to dynamically use Jdbc url connections at runtime so that they want to have QA db and PROD db inside the application
and dynamically change them itseems. (i.e I will have 4 Db in which 2 for QA and 2 for PROD)
Is there a way where I can achieve them. If so help me out.
Thanks,
933601Hi,
You could store the database URLs in a properties file in the app server filesystem, then look them up in the dynamic JDBC code before setting the session attributes. So your QA app server has a properties file containing the URLs for the 2 QA databases and the PROD app server has a properties file containing the URLs for the 2 PROD databases.
If you want a single app server to talk to multiple sets of databases you could pass a parameter to the login screen. Based on this you decide which database(s) to connect to.
Kevin
Maybe you are looking for
-
Mechanical or digital source switch for 2 Mac Pros on one 30" display?
I have a 30" display, and use it at the maximum resolution of 2560 x 1600 on my Mac Pro with the NVidia 8800GT card. I have a second Mac Pro with a similar configuration. I would like to find a switch to send the video to either of these machines. Th
-
External Debugger From NWDS not working
Hi, I am working on wd java. When i run my application, on particular event action, i am calling rfc. So to debug i kept my external debugger in my se37 (SAP GUI) and ran the application. But debugger is not called but i am getting the output from RF
-
Chagne GL of an Item in Purhcaes Order
Hello Gurus, I have to change a GL account code in a Purchase order. By default inventory post by Item Group as well as in Item master. I want to change a GL code for a item in a Purchase Order. I changed to set GL by item Level in Item Master but
-
Not printing name2 in address line
Hello All, I dont want to print the name2 in the shipper address. Is there any option in address window? If I change Number of Lines to be Used , then shall the name2 will not get printed? Or I need to take the text window and print there? rgds, Madh
-
Hi I´m really stuck with an problem that I have regarding the workflows in EP5 SP6. In DB where can I find the definitions of the workflows? I've only found the workflows for documents that were already realized or are in process(table wcm_aib_assign