Connecting oracle database with weblogic7.0
Hi,
Can some one tell me Is it necessary to have Oracle Client installed
on machine where weblogic is installed ? to make connection with
remote Oracle DB.
Right now i have weblogic on my machine and oracle on remote
machine.When i am trying to connect and getting following error :-
QUOTE
D:\bea\weblogic700\samples\server\stage\examples\clientclasses>java
examples.jdb
c.oracle.batchUpdate -user anjali -password anjali -server 172.16.1.40
Starting Loading jDriver/Oracle .....
Exception was thrown: System.loadLibrary(weblogicoci38) threw
java.lang.Unsatisf
iedLinkError: no weblogicoci38 in java.library.path
UNQUOTE
Any help on above will be higly appreciated.
Looking forward for a reply from someone ?........
It is not necessary to have client installed on same machine where
weblogic is installed. However, you have to point to right libraries in
path and classpath if you are using windos ops. You should also point to
oci817_8( whatever version of database you are using) in your path.
weblogicoci38.dll might reside there in that directory. Before even
starting a server you should do following before starting the server.
java utils.dbping oracle uid passwd dbname
If you receive succssful than you are ready to go.
Thanks,
Mitesh
deepak wrote:
Hi,
Can some one tell me Is it necessary to have Oracle Client installed
on machine where weblogic is installed ? to make connection with
remote Oracle DB.
Right now i have weblogic on my machine and oracle on remote
machine.When i am trying to connect and getting following error :-
QUOTE
D:\bea\weblogic700\samples\server\stage\examples\clientclasses>java
examples.jdb
c.oracle.batchUpdate -user anjali -password anjali -server 172.16.1.40
Starting Loading jDriver/Oracle .....
Exception was thrown: System.loadLibrary(weblogicoci38) threw
java.lang.Unsatisf
iedLinkError: no weblogicoci38 in java.library.path
UNQUOTE
Any help on above will be higly appreciated.
Looking forward for a reply from someone ?........
Similar Messages
-
To connect oracle database with ms access database
i want to connect oracle database with ms access database
i have follow the following steps
1. create ms access database.
2. create system dsn.
3. make change in listener.ora.
4. make change in hs folder.
5.change the tnsname.ora.
6. lsnrctl stop and lsnrct start.
7. create database link in oracle sql*plus.
8.select the table of ms access
but i have return the foloowing error.
ORA-12154: TNS:could not resolve the connect identifier specified
using window 2000, oracle 10gHave a look on ths thread, may it helps ...
Re: copy access data into oracle with form builder 9i -
How to connect oracle database with JAVA
how to connect oracle database with JAVA....
using j2sdk and Jcreator . which connector to use .. what are the code for that ..PLEASE .... Ask in an Oracle Java forum.
And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems. -
Connect ORACLE database with sysdba privileges
Hi Guru,
I am connecting to my ORACLE database with my VB application.
I have problem with connecting to the database with SYSDBA privileges. i.e it is not connecting to the database with SYSDBA privileges.
If I connect my db from SQLPLUS. Its worked like this..
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> select Name from v$datafile;
select Name from v$datafile
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> connect as sysdba;
Enter user-name: user_1
Enter password: ****
Connected.
SQL> select Name from v$datafile;
NAME
C:\NEW\ORADATA\ITPL\SYSTEM01.DBF
C:\NEW\ORADATA\ITPL\UNDOTBS01.DBF
C:\NEW\ORADATA\ITPL\CWMLITE01.DBF
C:\NEW\ORADATA\ITPL\DRSYS01.DBF
C:\NEW\ORADATA\ITPL\EXAMPLE01.DBF
C:\NEW\ORADATA\ITPL\INDX01.DBF
C:\NEW\ORADATA\ITPL\ODM01.DBF
C:\NEW\ORADATA\ITPL\TOOLS01.DBF
C:\NEW\ORADATA\ITPL\USERS01.DBF
C:\NEW\ORADATA\ITPL\XDB01.DBF
10 rows selected.
SQL>
Now in my VB application if I am using following string to connect the database.
m_adoCnn.ConnectionString = Provider=MSDAORA;Password=pass;User ID=user_1;DBA Privilege=SYSDBA;Data Source=ITPL
It will connect properly to the database but gives error while executing the query select Name from v$datafile;
as,
ORA-00942: table or view does not exist
Can any body help me in this or provide me proper connection string.Hello,
I am getting below error when i kust Clic k on Test Connection in SSMS:
TITLE: Microsoft SQL Server Management Studio
The test connection to the linked server failed.
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
BUTTONS:
OK
Can you please guide is there any other setting i need to do after install Oracle Client ?
Best Regards,
Tushar Malvi -
Connect Oracle Database with help of sql server storedprocedure
Hii,
Is there Any way to connect Oracle Database Using sql server storedprocedure.I want access oracle database and take some data and insert into my sql server database.so is there any way to connect in one
stored procedure to connect oracle database and take some data and insert in to my sql server database.
Nikunj NandaniyaHello,
I am getting below error when i kust Clic k on Test Connection in SSMS:
TITLE: Microsoft SQL Server Management Studio
The test connection to the linked server failed.
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
BUTTONS:
OK
Can you please guide is there any other setting i need to do after install Oracle Client ?
Best Regards,
Tushar Malvi -
Connecting oracle database with sql*net via VIP on Ace
Is there any way to get oracle Database traffic working only via the ACE Blade instead of using a firewall to do packet inspection.
The case is we have application servers in a DMZ wich should connect via a VIP to a Oracle database on port 1521.
Normally oracle negotiates the tcp ports wich it will use and a normal firewall will do an inspect and opens up the dynamic channel.
However on the Ace there is still no Inspect for Sql*net.
Everthing on routing and connection level works fine tnspings telnet to 1521 works fine. Only when using the application stack the dynamic ports needs to be used.
In our design a firewall in between this node's is at this moment impossible.
Any Ideas or examples how to solve this...ORA-27140: attach to post/wait facility failedThis is to do with filesystem permissions on $ORALCE_HOME/bin
Login as the 'oracle' account (or the account with which oracle binaries are installed.
goto $ORACLE_HOME/bin
chmod 6751 account_used_to_install -
hi can anyone please help me??
Are you using the Oracle ODBC driver? If so, which version?
Are you writing your own VB application? What API are you using-- ADO? Can you post the code that's making a connection and the exact text of the error message?
Justin -
How to connect Oracle database into Visual basic 6.0
Hi. I am using Oracle I Enterprise version 9.2.0.1, I have a problem for connecting oracle database into VB. I use a ODBC to connect oracle database with VB. By testing connection. Message tells me that "connection successfully", but I can not have a record display in VB. It tells me that can not publish a connection with ODBC. Please tell me why
Are you using the Oracle ODBC driver? If so, which version?
Are you writing your own VB application? What API are you using-- ADO? Can you post the code that's making a connection and the exact text of the error message?
Justin -
Connect to oracle database with php script
Hello!
How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
"Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
Where can I get these libraries from?
Who knows more about the issue?
Thanks a lot for your help!
Martin
nullHello
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mheibel([email protected]):
Hello!
How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
"Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
Where can I get these libraries from?
Who knows more about the issue?
Thanks a lot for your help!
Martin<HR></BLOCKQUOTE>
Install and put working a sqlnet working client (install the Oracle Client option of the Oracle Database CD ROM). Than compile php with the --oci option. Than try the samples in php.net (oci function in the help).
These are the steps... Put everything working is a little more complicated...
FS
null -
Unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver
I am unable to connect to my Oracle Database with Microsoft's ODBC for Oracle driver vers.2.573.4202.00 on a Win98 computer.
First, I create a "Net Service Name" in order for the ODBC Driver to find the Oracle server. I then created a System DSN in the ODBC Data Source Administrator and assigned the "Net Server Name" as the server in the "Microsoft ODBC for Oracle Setup". But when I test this DSN with Oracle's provided "Oracle ODBC 32Bit Test vers.2.5.3.1.0" I get an error:
SQLSTATE: NA000
Native Error Code:0
Driver Message:[Microsoft][ODBC driver for Oracle][Oracle]
This error occurred on all three Win98 computers I have tried. It does however, seem to work fine on WinNT 4.0, and believe it or not, on the two Win95 computers I have tried.
Does anyone have any fixes, recomendations, or advice?
Thank you,
Eric Edwards
nullWhy are yu not using the Oracle ODBC driver - these can be downloaded from OTN.
Have you set up a tnsnames.ora entry for the Oracle database you want to connect to? Does this name have a domain name added to it? Check %ORACLE_HOME%\network\admin\tnsnames.ora for the service name. If it is a name of the form :
name.domain.subdomain
then you should try using this full name when configuring the ODBC data source.
null -
How Connect to oracle database with java
i have trouble with my program
i use oracle 8i to my database and java for interface
this mycode :
import java.sql.*;
class TestThinApp {
public static void main (String args[])
throws ClassNotFoundException, SQLException {
Class.forName("oracle.jdbc.driver.OracleDriver");
// or you can use:
// DriverManager.registerDriver(
// new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin:@dssw2k01:1521:orcl","scott","tiger");
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery(
"select 'Hello Thin driver tester '||USER||'!' result from dual");
while(rset.next())
System.out.println(rset.getString(1));
rset.close();
stmt.close();
conn.close();
i have trouble , becouse i can connect my database with java (JDK)
if any one can help me pls?
arifPLEASE .... Ask in an Oracle Java forum.
And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems. -
How to connect Oracle database in BIP 11g
Hi experts I am trying to connect to oracle Database with BIP.
I am using
jdbc:oracle:thin:@host:port:SID
but getting the error could not connect.
where i can see the log...?Hi,
Try this
Give me Connection string like this ****** jdbc:oracle:thin:@//10.102.5.116:1522/orcl --- instead of ( jdbc:oracle:thin:@host:port:SID)
Hope this help's
Thanks
Satya
Edited by: Satya Ranki Reddy on Jun 18, 2012 1:49 PM -
Hi guys Pls tell me a way to connect db4 database with jsp and which driver
hi guys
Pls tell me a way to connect db4 database with jsp and
also tell me which driver i have to use
also tell me how to connect with excel sheetstake a look at the follwing links. There, you'll find all what you need :
DB4:
http://www.oracle.com/database/berkeley-db/je/index.html
http://www.oracle.com/technology/products/berkeley-db/je/index.html
http://www.oracle.com/database/berkeley-db/db/index.html
http://www.oracle.com/database/docs/berkeley-db-je-datasheet.pdf
Excel:
http://64.18.163.122/rgagnon/javadetails/java-0516.html
Hope That Helps -
How to Connect Oracle Database without using TNS entry
Hi,
i need to connect Oracle Database server from my pc without using the TNS entry. How to do that?
Regards,
007You have marked the question as answered, so it means you can answer my questions:
1.How do i check that i can make easy connect to the server or not, I mean is it configured on Server ?
2.Can I make connection with easy connect without having Net Services software installed on the client ?
3.What if I am not able to access sqlnet.ora ?
4.Is there any difference in connect string, which is based upon OS for easy connect ?
5.How do i use global database name, if it is configured ?
6.What are pros and cons of using easy connect ?
7....
20....
I think this are those 20 questions which John is talking about.
Regards
Girish Sharma -
How to connect oracle database using jsf
how to connect oracle database using javaserver faces with connection pooling
Here is one way...
http://jakarta.apache.org/commons/dbcp/
Maybe you are looking for
-
Issue with row/column text lengths in report painter
Hi Gurus, I have created a report painter report with formatting of the row/column length text as medium, but for one FS item/GL Account the report when executed still picks up only the short text length. I am not sure how this can be resolved. Any i
-
Motion, Animation, Keyframes and a Video Clip.
Hello out there! I'm putting together a music video for my students to promote a choir club at a school. In doing so, I would like part of the video to scroll from left to right. To give you a visual, I'm trying to produce this effect: https://www.yo
-
WIndows 7 SP1 "incompatible" with Boot Camp?
Today I booted Windows in Parallels and was told that SP1 was available for installation. After I installed it and rebooted, Parallels told me: "The Windows version is not supported by Boot Camp. The virtual machine is booting from a Boot Camp partit
-
Will my mac pro support 10 Optical drives?
I have a mid 2010 Mac Pro that currently has two Optical drives installed. I believe its the Two 2.4GHz Quad-Core Intel Xeon E5620 "Westmere" processors. I installed a Samaung 840 Evo for the operating system and I have a 6 TB raid installed with 16g
-
Hello, I'm currently writing a kernel module for computers running on a old version of the kernel : 2.6.9. I use myself a 2.6.22-ARCH kernel but I'm developping on my own computer, so for compatibility (and testing purpose) I need to install the olde