Connect to Oracle 11i Applications Database
<p>Dear Friends,</p><p>Please can you let me know how to connect Crystal Reports XI to Oracle 11i database.</p><p>Thanks</p><p>Rahul </p>
yes
Similar Messages
-
Oracle 11.2 client connecting to Oracle 10.2 databases
I have an application which currently uses 10.2.0.4 Oracle Client to connect to Oracle 10.2 databases using java (jdbc).
Now I have to do setup on another linux server and looking into whether I can use 11.2 Oracle clinet avaiable on tcehnet.oracle.com to connect to
10.2 databases. I will be using jdbc for connectivity.Maybe showing my ignorance here, but doesn't the application itself have to be written to use the jdbc thin driver?
That would not be typical. A Java application will normally be modular as regards DB connections.
1. The app itself will be written to take an instance of the 'Connection' interface
http://docs.oracle.com/javase/6/docs/api/java/sql/Connection.html
2. The actual 'Connection' instance will be created by a factory method or other application independent code at startup and then passed to the application code.
Just like TNSNAMES.ORA contains the parameters for OCI connections an application will normally use a config file and/or command-line parameters for the JDBC connection parameters.
Naturally, just like everything else, developers can always screw things up by hard coding values. Nothing you can do about that.
See the 'Database URLs and Database Specifiers' section of the JDBC dev guide
http://docs.oracle.com/cd/E11882_01/java.112/e16548/urls.htm#BEIJFHHB
Database URLs are strings. The complete URL syntax is:
jdbc:oracle:driver_type:[username/password]@database_specifier
Note:
The brackets indicate that the username/password pair is optional.
kprb, the internal server-side driver, uses an implicit connection. Database URLs for the server-side driver end after the driver_type.
The first part of the URL specifies which JDBC driver is to be used. The supported driver_type values are thin, oci, and kprb.
The remainder of the URL contains an optional user name and password separated by a slash, an @, and the
database specifier, which uniquely identifies the database to which the application is connected. Some database specifiers are valid only for the JDBC Thin driver, some only for the JDBC OCI driver, and some for both.
Then there are examples of each driver type in 'Table 8-3 Supported Database Specifiers'
Thin: "jdbc:oracle:thin:scott/tiger@//myhost:1521/myservicename"
See that table 8-3 for the different OCI options. -
Connecting to oracle 12c multitenant database
My question, using coldfusion 11 enterprise datasource gui,
how do you connect to oracle 12c multitenant database,
when you need to log into a pluggable database, beneath
the container database?
What's the connection string, or is it even possible to connect(?) because earlier versions of oracle
didn't use multitenant architecture, you just make a user/password,
grant connect privileges, and connect.
Using Oracle Linux 6.5 64bit.
This is assuming I can connect to the oracle CDB (container database) and PDB (pluggable database) from the shell using sqlplus.
<!------------------------ I can tsnping the pluggable database name pdb1 ---------------------------------------------->
[oracle@localhost ~]$ tnsping pdb1
TNS Ping Utility for Linux: Version 12.1.0.1.0 - Production on 27-JUN-2014 12:13:12
Copyright (c) 1997, 2013, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/12.1.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = pdb1.localhost.localdomain)))
OK (0 msec)
<!------------------------------ I can connect to pdb1 using sqlplus shell ---------------------------------------------------->
[oracle@localhost ~]$ sqlplus user1/password20@pdb1
SQL*Plus: Release 12.1.0.1.0 Production on Fri Jun 27 12:21:06 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Last Successful login time: Fri Jun 27 2014 09:45:05 -07:00
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL>Having the same issue, can't get the connection string right with the PDB?
Anyone out there? Kurrttt, did you ever get this figured out? -
Unable to connect to Oracle Discover Application: ORB Initialization failure
We are running Discoverer 4.1.37 in a DMZ. Some of our internal users receive a "Unable to connect to Oracle Discoverer Application: ORB Initialization failure ..." error when trying to use Discoverer Plus. Our external users are able to connect using Discoverer Plus. We have SSL and Gatekeeper was configured with the machine's IP address (Exterior address), port 443 (exterior port), and exterior proxy address. Networking changes were made to enable users to use one web address instead of two (one for external and one for internal). Also, if I trying to use the machine's IP address in the web address, Discoverer just says "Loading" in the Discoverer Plus status box. If I use the one web address (originally, the external web address), I can log into Discoverer.
How are you trying to connect the database using JPA?
Has your datasource got bind successfully. You should check all these things first. If your datasource has not got binded then debug for that. -
Reports in oracle 11i Applications
Hi, everyone,
can you explain me how to make some custom reports in a oracle 11i application,Hello Sasi,
I have never touched an Oracle Application before, but in Report builder, i don't think there is a way to change the background color of the Data Model query to anything other than the standard blue.
-Marilyn -
Connecting to Oracle 8i.7 Database on Application Server 10g (10.1.2)
Hi
Dear All
i have gust installed Oracle Application Infrastructure & middle tire 10g(10.1.2)
and i am asking
for the capability to connect (After Configuring Tnsname) to Oracle Database 8i(8.1.7.0.0)
the message after trying to connect is :
Connecting to This Version of database is no longer supported ..!
and please i want clarification note if we can't connect to give my officer so we can discuss the upgrade for database to 10g.
Best Regards .
Ibrahim.Bug 3437884 - 10g client cannot connect to 8.1.7.0 - 8.1.7.3 server : if your Customer needs to stay on 8i, then the last available patch should be applied.
10.1.4 Client (the one used by AS 10.1.2) shouldn't have problems with 8.1.7.4 DB. -
Slow connection to oracle 11g R2 database if no Internet connection
Hi all,
I've read some similar topics, but could not find a solution for my problem. I'm running Windows 7 Enterprise with a VMWare (Player) with a virtual Linux image on my machine (centos 5.4) in NAT connection mode. On the virtual machine I have installed an Oracle 11g R2 database. As long as I'm connected to Wi-FI or I'm plugged into my LAN network, I can access the database and run applications without a problem. But if I don't have an Internet connection, it's almost impossible to connect to the database or use certain applications.
Thanks in advance for your help !
Gianni
Below the settings on my virtual machine:
TNSNAMES.ora
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dmserver)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
LISTENER.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = dmserver)(PORT = 1521))
ADR_BASE_LISTENER = /usr/local/software/oracle
I also have a local loopback adaptor installed (below some info from my ifconfig):
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:9396 errors:0 dropped:0 overruns:0 frame:0
TX packets:9396 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3047584 (2.9 MiB) TX bytes:3047584 (2.9 MiB)
Edited by: 939190 on Jun 7, 2012 2:04 AMSolved it by commenting out my nameserver in resolv.conf and adding my hostname explicitely to the etc/hosts file in Linux. A good thread on this is: Oracle connection extremely slow(Oracle 11G on Linux RHEL4)
-
How to find the sessions connected to oracle through application server?
Hi all,
i want to restrict my application server users from the deletion of the data in my database.
for this i was try to find out the application name from v$session but it is showing some application names and some blanks. i need to find out the application server name, so that i can restrict the users in product user profile.
is there any view to find the sessions and applications which are connected to oracle database?
Thanks,
Sandeephi pavan,
Even whne the privileges are revoked, the java application(users) can able to delete data in the database schema through the java application.
please suggest me on this?
--sandeep -
Need help connecting to Oracle to create database
Am student taking DBA course; have altered pfile so that path shows where createdb is located. Cannot connect to Oracle; keep getting message "insufficient privileges." Createdb file amended per book to "REMOTE_LOGIN_PASWORDFILE=exclusive" and still can't connect. Can I grant connect privileges to internal/oracle? Tried several times to create database and am now using new database name to try again, but when I get to svrmgrl and type in "connect internal" and give password "oracle" as book says to do I get the "insufficient privileges" message again. Need help.
Linda,
when you use exclusive in remote_login_passwordfile is necessary make one file. Use the following instructions:
orapw file=orapw<SID> password=<password> entries=<users>
where
file=name of password file (mandatory)
password=password for SYS and INTERNAL (mandatory)
entries=maximum number of distinct DBA and OPERs (opt)
There are no spaces around the equal to (=) character.
Find orapwd.exe by Windows Explorer
Bye,
DQC -
Hi,
I am not able to resolve the error of
“ORA-12514: TNS:listener does not currently know of service requested in connect descriptor”
Below Link is the indication, related to that error.Hi Surbhi.Gupta,
Thank you for posting in MSND forum.
According to your descriptiom, I suggest you could try the following blog to connect to Oracle from Visual Studio check your issue again.
Reference:
http://blogs.msdn.com/b/kaevans/archive/2009/07/18/connecting-to-oracle-from-visual-studio.aspx
In addition, as you said the error message, I did some research about this error message. So I suggest you could refer then following thread to check your error, maybe you will get some useful message.
http://dba.stackexchange.com/questions/36370/oracle-11g-listener-fails-with-ora-12514-and-ora-12505-errors
However, since this issue is related to the third-party database oracle, so if possible, I suggest you could try to post your issue directly to this Oracle official website:http://www.oracle.com/us/corporate/contact/about-your-account-070507.html
, you will get better support.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Oracle RDC Application - Database was locked but updates still allowed
I am working in the Oracle RDC application for a clinical study. The study ended and the Oracle database administrator locked the database, however, the users were able to go into the study and approve additional pages after the database had been locked. According to documentation, once the database is locked, the users should only be able to view the information and not make changes unless they have been provided "privilige updates" which was not granted to the users.
In that case, you probably want to ask this question in one of the Oracle Applications forums. You're far more likely to find someone familiar with the particular application you're using over there.
Justin -
How to connect to Oracle "real application cluster" RAC?
Hello,
I don't know how the dbUrl-Parameter should look like to connect to an Oracle RAC.
normally I use:
jdbc:oracle:thin:@(Server):(port):(servicename)
e.g.:
jdbc:oracle:thin:@frxxx7....world.com:1521:kfics
but what should I use if I want to connect to an RAC? In this case I don't have a single server?
Thanks for your help.
Regards.
MatthiasHello again,
I found out half of the solution.
Normally you use a serverUrl like:
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=service)))
normally you can also add other information like failover_mode etc.
BUT: MII (12.0.6) only alows a string of 200 characters. Here is a part of the error-log:
Exception of type com.sap.sql.log.OpenSQLException caught: Cannot assign a java.lang.String object of length 309 to host variable 3 which has JDBC type VARCHAR(200)..
so if I have more than two servers or additionally information for failover_mode etc. I'm not able to use the oracle RAC, because the serverUrl is too long.
Any suggestions?
Regards
Matthias -
Booking a sales order in Oracle 11i (Vision Database)
Hi All,
When i try to book an order i get the message:
Agreement is required on a booked order.
I am able to enter orders.
What could be wrong? Please Guide....
PrakashPrakash,
Did you clear the "Agreement is Required" checkbox? This is already explained in the OM implementation/user guides (search for "agreement is required").
You may also review:
Note: 144003.1 - Creating Sales Orders in Multi Operating Units
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=144003.1 -
Connectivity between Oracle database and client...
Hi guys,
I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
Additional Information - Client access the database through an application created by VB.
Please do help me on this project.
Thanks in advance for your help.
Asif.user11000521 wrote:
Hi guys,
I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
Additional Information - Client access the database through an application created by VB.
Please do help me on this project.
Thanks in advance for your help.
Asif.You probably should do a cost/risk analysis. Where you are headed might be able to be done (but it will require that the "clients" also have their own copy of the database) but it won't be easy and it certainly won't be cheap, either in initial implementation or in on-going maintenance. The alternative is to take a hard look at your network connections and see if it wouldn't be cheaper/easier to be able to ensure that it is reliable. Remember "the internet" won't break, it is highly redundant. If you have connectivity issues, they will almost certainly be in your own equipment and configurations, so your (your organization) will have the ability to address and fix any issues there. -
Can Oracle 8.0.6 reports connects to Oracle 11g Database
Hi,
I know Oracle 8.0.6 report is already out of support. I want to build some environement. In this context, I want to know, where Oracle Reports 8.0.6 can connect to Oracle 11g R2 database ?
Pl suggest me urgently.
thanks & regards
paragFirst of all: using the word 'urgently' is inappropriate and rude in a forum of volunteers.
Edit your post and apologize publicly for using it.
Secondly your question is a rhetorical one, as it's answer is:
OF COURSE NOT
8.0.6
was succeeded by
8.1.5
8.1.6
8.1.7
9.0.1
9.2.0
10.1.0
10.2.0
11.0.1
11.0.2
NINE releases in between!!!
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
How can I capture in forms the text from a database error
In forms6i, how can I capture the text of an error during the execution of a dabatase procedure or package. Thanks for your help.
-
Trying to highlight a section of text on a web page. Then copy and paste to Word. Just upgraded to Win7. Can't highlight text. Won't work in IE either. Think it is a Win7 issue.
-
Ship-to-party to corresponding sold-to-party
hi all, i need to know how to find out the ship-to-party for the corresponding sold-to-party, what is table used to determine this relation . thanks, ravi.s
-
The iTunes Store is currently unavailable
Just started having this issues on my 2nd Gen Apple TV since I bought South Park Season 10. Since then everytime I try to watch an episode of series (I own several seasons) I get the message "The iTunes Store is currently unavailable". I'm able to wa
-
2nd Optical-Drive for Early 2008 Mac Pro: Suggestions Required
I am hoping to add a second optical-drive to my Early 2008 Mac Pro. I notice that there are various SATA ones available for Early 2009 Mac Pro's onwards (e.g. the LG GH24NS90) but according to OWC (Other World Computing) these ones are apparently un