Oracle server - client connection question
This is my problem:
Server A : oracle server (behind the firewall)
Server B: the bridge server
Server C: my application is on who need to connect to the database on A
C can not connect to A directly. But it can connect to B. What are my options? If I install an oracle client on B, then can I connect to the client who will connect to the db server on A? Do I need to install a client on C as well? does it work?
Thanks,
Chau
user626162 wrote:
So I need to install the oracle client on C and the Oracle Connection Manager on server B? Would you point me to the document on how to do this?Correct. A good place to start is probably the [Configuring and Administering Oracle Connection Manager|http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/cman.htm#NETAG011] chapter in the Net Services Administrator's Guide.
Justin
Similar Messages
-
Oracle 10g client connect to oracle 11g server
Hi All,
In my system, i have installed oracle 11g server(11.1.0.6.0). while i try to connect to this server by 10g client in my friends system,which is in the same network,it is showing
ORA-12545: Connect failed because target host or object does not exist,
then i tried with other system (using oracle10g client), its showing
ORA-12154: TNS:could not resolve the connect identifier specified
then i tried with one another system (using oracle 9i client) -- its is connected.
what may be the problem. not connecting using oracle 10g client. and also different error.user12479258 wrote:
Hi,
The client version is 10.2.0.1
this version may not be connect to oracle 11g?
If so then which are the client version will connect to oracle11g server(11.1.0.6.0).A 10.2 client will connect to an 11.x database, but the sqlnet.ora and tnsnames.ora files must be configured correctly. The errors you reported are not uncommon and have been diagnosed repeatedly on this forum. Let's not confuse the issue by comparing / copying files from various machines, as that has already created a moving target of error messages.
On the client that is exhibiting the problem ...
Do you have a single ORACLE_HOME? A single TNSNAMES.ORA?
On that machine, at a command prompt, do a tnsping on the service in question. Also try to connect with sqlplus. Copy the entire session -- commands and results -- and paste it all back here.
On the server machine, log on as the owner of the oracle software, and at a command prompt enter the command "lsnrctl status". Again, Copy the entire session -- commands and results -- and paste it all back here. -
Oracle 9 client connecting to 10g server
Hello,
Is it possible to connect an Oracle 9i client to an Oracle 10g server? Is there any known issues/problems with that?
Because I'm facing the issue that with the same application connecting to different oaracle versions, when I connect to the 10g I get some connection errors, I'm wondering if going back to client 9i and connect to a 10g server would be a good test.
Thanks in advance,
Lucas.If Oracle knows little about connection pools it is true. If by changing the Oracle version some issues arise I wouldn't immediately discard the interoperability version issue.
In this case the OP faces probably a big issue. The application has to be upgraded and all the compatibility matrix revisited. The main problem when working with unsuported versions is that in case it has to do with a bug from 9i Oracle has limited support by means of the Extended Support option.
Does it have to actually do with interoperability, bugs or application configuration is something that cannot be accurately established after the partial information provided by the OP.
~ Madrid
http://hrivera99.blogspot.com -
Oracle server & client deinstallation problems
my system configuration is:
windows 2000 professionnal (SP2)
on this machine, i had the oracle client software installed (verion 8.17)
i needed the machine to install on it an oracle database, so i deinstalled the client software with the oracle 8.i CD and did not remove three datasources (user DSN driver microsoft ODBC for oracle) that used to work with the previous client version. Then, i installed the oracle server software and created the database.
the problem at this step is that i could not use the data sources that i had nither could i use the driver to create another one.
so, for the second time, i deinstalled the server software and installed the client software.
my second problem, here, (after deinstalling the server software)is that i had the services oracleora81TNSListner and oracleserviceSID that are not removed and i can not stop nor resume
i'm looking for your answer (what to do with these services and what is the solution for the data sources)
regardsuser626162 wrote:
So I need to install the oracle client on C and the Oracle Connection Manager on server B? Would you point me to the document on how to do this?Correct. A good place to start is probably the [Configuring and Administering Oracle Connection Manager|http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/cman.htm#NETAG011] chapter in the Net Services Administrator's Guide.
Justin -
Oracle 8i client connection problem
Hello
I have installed the Oracle 8i Client S\w on to my machine and have put in the required and correct Net Service names etc... Have also added the JDBC drivers in the Path field!
But still when I run a sample Java program checking jdbc connections... i get an error ORA:12560 TNS: Protocol Adapter error
Can anyone please help me resolve it?
thanks in advance
priyaHi
Thank you for replying.
The TNSNAMES.ora file looks very fine and I have also checked the listener, which works fine too! But still I can not connect to the main databse thru the dev. machine! It would be very nice if someone can help me coz this is getting serious and urgent!
thanks a lot
Priya
Make sure you have the proper tnsnames.ora
in your ORACLE_HOME\network\admin directory.
Jack
null -
Server/Client connection using an actionListener
Hey guys,
New to this board, so hopefully I can be of assistance :)
What I am currently working on is a networked Monopoly game. My part of the assignment is to create a simple game lobby (just GUI based, buttons, action listeners, etc) where players can create games and join games already created.
What I have is this. When a player clicks on the "Create Game" button, an anonomus inner action listener will detect the push and create a hosted game (Server side connection). When a player clicks on the newly created game, they will be a joined player (Client side connection).
The problem is this, keep in mind that I have created a very, very simple server/client chat to test this out. When a Socket is created for the clients to connect to upon the Create Game button push, my program essentially just hangs. Nothing happens at all.
Here are the 3 classes I used. I understand this is probably not the most efficient way to post, but this is the only way you can see what I exactly have. I took out all my GUI stuff to make it easier to follow (if you want me to post full classes I can):
Thanks for all the help!
- Ry
//package Mackopoly;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.BorderLayout;
import java.io.EOFException;
import java.io.IOException;
import java.net.ServerSocket;
import java.io.EOFException;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;
import javax.swing.JFrame;
public class gameList extends JFrame {
MackPlayer tc1;
MackPlayer tc2;
MackPlayer tc3;
HostPlayer ts1;
HostPlayer ts2;
HostPlayer ts3;
private String temp = ""; //used to display chat area
private int gameCounter = 0; //number of games created
private boolean game1Started = false;
private boolean game2Started = false;
private boolean game3Started = false;
public void start()
//Sets up the screen
enterField.addActionListener(
new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == enterField)
temp = enterField.getText();
chatBox.append(temp + "\n");
enterField.setText("");
createGame.addActionListener(
new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == createGame)
gameCounter++;
if(gameCounter == 1)
//create a new host game on the server
//instanciate an object accordingly
game1.setText("Game " + gameCounter + "started!");
game1Started = true;
ts1 = new HostPlayer();
ts1.execute();
else if(gameCounter == 2)
game2.setText("Game " + gameCounter + "started!");
game2Started = true;
ts2 = new HostPlayer();
ts2.execute();
else if(gameCounter == 3)
game3.setText("Game " + gameCounter + "started!");
game3Started = true;
ts3 = new HostPlayer();
ts3.execute();
else
System.out.println("games full");
joinGame1.addActionListener(
new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == joinGame1)
if(game1Started == false)
JOptionPane.showMessageDialog(null,"Start a game!");
if(game1Started == true)
JOptionPane.showMessageDialog(null,"Joined!");
tc1 = new MackPlayer("Game 1");
tc1.startClient();
joinGame2.addActionListener(
new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == joinGame2)
if(game2Started == false)
JOptionPane.showMessageDialog(null,"Start a game!");
if(game2Started == true)
JOptionPane.showMessageDialog(null,"Joined!");
tc2 = new MackPlayer("Game 2");
tc2.startClient();
joinGame3.addActionListener(
new ActionListener()
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == joinGame3)
if(game3Started == false)
JOptionPane.showMessageDialog(null,"Start a game!");
if(game3Started == true)
JOptionPane.showMessageDialog(null,"Joined!");
tc3 = new MackPlayer("Game 3");
tc3.startClient();
}//End start method
}//End of my class
import java.awt.*;
import java.awt.event.*;
import java.net.Socket;
import java.net.InetAddress;
import java.io.IOException;
import javax.swing.*;
import java.util.Formatter;
import java.util.Scanner;
import java.util.concurrent.Executors;
import java.util.concurrent.ExecutorService;
//Imports necessary packages
public class MackPlayer extends JFrame implements Runnable
//Client class
private JTextField idField;
private JTextArea displayArea;
private JTextField guessArea;
private JPanel panel2;
private Socket connection;
private Scanner input;
private Formatter output;
private String Host;
private String myMark;
private boolean myTurn;
private final String X_MARK = "1";
private final String O_MARK = "2";
public MackPlayer(String host)
Host = host;
displayArea = new JTextArea(10,30);
displayArea.setEditable(false);
add(new JScrollPane(displayArea), BorderLayout.SOUTH);
//Creates the message area
idField = new JTextField();
idField.setEditable(false);
add(idField, BorderLayout.NORTH);
//Creates the name field
guessArea = new JTextField(10);
guessArea.setEditable(false);
add(new JScrollPane(guessArea), BorderLayout.CENTER);
//Creates the guess area
panel2 = new JPanel();
panel2.add(guessArea, BorderLayout.CENTER);
add(panel2, BorderLayout.CENTER);
setSize(350, 275);
setVisible(true);
TextHandler tHandler = new TextHandler();
idField.addActionListener(tHandler);
guessArea.addActionListener(tHandler);
//Adds the area's to the handler
startClient();
public void startClient()
//Gets connection and starts thread
try
connection = new Socket(InetAddress.getByName(Host), 12345);
input = new Scanner(connection.getInputStream());
output = new Formatter(connection.getOutputStream());
catch(IOException e)
e.printStackTrace();
ExecutorService worker = Executors.newFixedThreadPool(1);
worker.execute(this);
public void run()
myMark = input.nextLine();
SwingUtilities.invokeLater(
new Runnable()
public void run()
idField.setText("Enter name here");
guessArea.setText("Enter guess");
//Default text
);//end call
myTurn = (myMark.equals(X_MARK));
while(true)
if(input.hasNextLine())
processMessage(input.nextLine());
private void processMessage(String message)
//Handles all possible messages from the server
if(message.equals("Guess too low."))
displayMessage("Guess too low\n");
else if(message.equals("Guess too high."))
displayMessage("Guess too high\n");
else if(message.equals("You Win!"))
displayMessage("You Win!\n");
else if(message.equals("Other player connected. Your turn."))
displayMessage("Other player connected. Your turn\n");
guessArea.setEditable(true);
else if(message.equals("Name1"))
displayMessage("Enter your name.\n");
idField.setEditable(true);
else if(message.equals("Name2"))
displayMessage("Enter your name.\n");
idField.setEditable(true);
else if(message.equals("Player 2 has entered name"))
displayMessage("Player 2 has entered name. Your turn\n");
guessArea.setEditable(true);
else if(message.equals("Invalid guess, try again"))
displayMessage(message + "\n");
myTurn = true;
guessArea.setEditable(true);
else if(message.equals("Opponent guessed"))
int sw = input.nextInt();
displayMessage("Opponent guessed " + sw);
sendGuess(sw);
displayMessage("\nOpponent moved. Your turn.\n");
guessArea.setEditable(true);
else if(message.equals("Opponent guessed and won"))
int sw = input.nextInt();
displayMessage("Opponent guessed and won with number " + sw);
sendGuess(sw);
guessArea.setEditable(false);
else
displayMessage(message + "\n");
private void displayMessage(final String messageToDisplay)
SwingUtilities.invokeLater(
new Runnable()
public void run()
displayArea.append(messageToDisplay);
public void sendGuess(int guess)
if(myTurn)
output.format("%d\n", guess);
output.flush();
private class TextHandler implements ActionListener
//Handles the fields
public void actionPerformed(ActionEvent event)
if(event.getSource() == idField)
idField.setEditable(false);
output.format("%s\n", idField.getText());
output.flush();
myTurn = false;
//Sends the name to the server
//Sets text to the name and sets it uneditable and sets turn to false
if(event.getSource() == guessArea)
guessArea.setEditable(false);
output.format("%s\n", guessArea.getText());
output.flush();
guessArea.setText("");
myTurn = false;
//Send the guess to the server
//Clears the past guess from the screen
import java.awt.BorderLayout;
import java.net.ServerSocket;
import java.net.Socket;
import java.io.IOException;
import java.util.*;
import javax.swing.*;
import java.util.concurrent.*;
import java.util.concurrent.locks.*;
//Imports necessary packages
public class HostPlayer extends JFrame
//Server class
private JTextArea outputArea;
private Player[] players;
private ServerSocket server;
private int currentPlayer;
private final static int PLAYER_1 = 0;
private final static int PLAYER_2 = 1;
private final static String[] MARKS = { "1", "2"};
private ExecutorService runGame;
private Lock gameLock;
private Condition otherPlayerConnected;
private Condition otherPlayerTurn;
private Random generator = new Random();
private int randomNumber;
private String p1Name, p2Name;
//Variables
public HostPlayer()
super("Guessing game");
//Title of server window
runGame = Executors.newFixedThreadPool(2);
//Hanldes up to two clients
gameLock = new ReentrantLock();
//The lock
otherPlayerConnected = gameLock.newCondition();
otherPlayerTurn = gameLock.newCondition();
//The condition variables
players = new Player[2];
currentPlayer = PLAYER_1;
//The players
try
server = new ServerSocket(12345, 2);
catch(IOException e)
e.printStackTrace();
System.exit(1);
//Establishes server
randomNumber = generator.nextInt(10);
//The number to be guessed 0-10
outputArea = new JTextArea();
add(outputArea, BorderLayout.CENTER);
outputArea.setText("Server awaiting connections \n");
//The output area
displayMessage("The number is " + randomNumber + " \n");
//Prints out what the number is
setSize(300, 300);
setVisible(true);
//Sets the size of the server window
public void execute()
for(int i = 0; i < players.length; i++)
try
players[i] = new Player(server.accept(), i);
runGame.execute(players);
//Runs the threads to handle clients
catch(IOException e)
e.printStackTrace();
System.exit(1);
gameLock.lock();
try
players[PLAYER_1].setSuspended(false);
otherPlayerConnected.signal();
finally
gameLock.unlock();
private void displayMessage(final String messageToDisplay)
//Function that displays messages
//Class + method that can update the GUI for threads
SwingUtilities.invokeLater(
new Runnable()
public void run()
outputArea.append(messageToDisplay);
public boolean validateAndMove(int guess, int player)
//Function that determines what the output should be based on the guess
while(player != currentPlayer)
//The player can only guess if it is his turn
gameLock.lock();
try
otherPlayerTurn.await();
catch(InterruptedException e)
e.printStackTrace();
finally
gameLock.unlock();
if(correctRange(guess))
//If the guess is a valid guess
currentPlayer = (currentPlayer + 1) % 2;
//Switches player turn
players[currentPlayer].otherPlayerGuessed(guess);
gameLock.lock();
try
otherPlayerTurn.signal();
//Signals other player
finally
gameLock.unlock();
return true;
else
return false;
public boolean correctRange(int guess)
//Tests for a valid guess between 0-10
if(guess >= 0 && guess <= 10)
return true;
else
return false;
private class Player implements Runnable
//Player class
private Socket connection;
private Scanner input;
private Formatter output;
private int playerNumber;
private String mark;
private boolean suspended = true;
private boolean game = true;
public Player(Socket socket, int number)
playerNumber = number;
mark = MARKS[playerNumber];
connection = socket;
try
//Tries to get the data streams
input = new Scanner(connection.getInputStream());
output = new Formatter(connection.getOutputStream());
catch(IOException e)
e.printStackTrace();
System.exit(1);
public void otherPlayerGuessed(int guess)
//Function that detemines whether the guess is too high/low or correct
if(guess == randomNumber)
output.format("Opponent guessed and won\n");
output.format("%d\n", guess);
output.flush();
else
output.format("Opponent guessed\n");
output.format("%d\n", guess);
output.flush();
public void run()
//The start of the threads, at the beginning messages go back and forth to set up the connection
//and player names
try
displayMessage("Player " + mark + "connected \n");
output.format("%s\n", mark);
output.flush();
//Sends the message that the player has connected
if(playerNumber == PLAYER_1)
output.format("%s\n%s", "Player 1 connected ", "Waiting for another player\n");
output.flush();
gameLock.lock();
try
while(suspended)
otherPlayerConnected.await();
//Waits for player 2
catch(InterruptedException e)
e.printStackTrace();
finally
gameLock.unlock();
output.format("Name1\n");
output.flush();
p1Name = input.nextLine();
displayMessage("Player 1 = " + p1Name + "\n");
//Sends a message to enter the name and puts the received name
//in the variable p1Name
output.format("Other player connected. Your turn.\n");
output.flush();
//Starts the game when the other player has connected
//A lot of the turn base is done with message handling
//on the client side
else
output.format("Name2\n");
output.flush();
p2Name = input.nextLine();
displayMessage("Player 2 = " + p2Name + "\n");
output.format("Player 2 connected. Please wait.\n");
output.flush();
//Sets up player 2's name and turn
while(game)
//while the game is not over
int guess = 0;
if(input.hasNext())
guess = input.nextInt();
}//Gets next input
if(validateAndMove(guess, playerNumber))
//Sends the correct output based on the guess
if(guess < randomNumber)
if(playerNumber == 0)
displayMessage(" \n"+p1Name+ " guess: " + guess);
else
displayMessage(" \n" p2Name " guess: " + guess);
output.format("Guess too low.\n");
output.flush();
else if(guess > randomNumber)
if(playerNumber == 0)
displayMessage(" \n"+p1Name+ " guess: " + guess);
else
displayMessage(" \n" p2Name " guess: " + guess);
output.format("Guess too high.\n");
output.flush();
else
if(playerNumber == 0)
displayMessage(" \n"+p1Name+ " guess: " + guess);
else
displayMessage(" \n" p2Name " guess: " + guess);
output.format("You Win!\n");
output.flush();
game = false;
//Ends game
else
output.format("Invalid guess, try again\n");
output.flush();
finally
try
connection.close();
catch(IOException e)
e.printStackTrace();
System.exit(1);
}//End run
public void setSuspended(boolean status)
suspended = status;
}//End player class
}//End Server class
Thanks for the response
I think I understand what you are saying, I just want to make sure I get it fully. I need to create a separate thread that runs just my connection process to make sure that the processes actually occur? If so, how would I go about doing this?
Thanks again -
Help with Oracle 10g Client Connectivity from Linux to IBM SAN storage
Hello Oracle Experts,
This is my first post. My client is having oracle 10g database up and running in IBM SAN storage.
We have some NMS tools running in Red Hat Linux version 5. So, these tools require connectivity to Oracle database which is residing in SAN storage connected with the Fibre cables.
How do I establish the connectivity from Linux to SAN storage. If would be glad if you can explain me the steps and also if there is any pre-installation/post-installation, patches and procedures involved.
If it is IP based network we normally give the IP address of the host running the database server. I have no idea about SAN storage connected with Fibre cable.
Please guide me to establish the connectivity from linux 5 to SAN.
Thanks.
Regards,
RaviShankar.user13153556 wrote:
Hi Rajesh,
Actually I will not be touching the Oracle instance SAN box directly. I will only access the database from another machine. I my case it is Linux box.
So, my question is how do you make the Oracle Client in Linux box to connect to Oracle instance running in another non ip based machine SAN storage.Install Oracle client on this Linux machine ..
Make sure you have network connectivity from linux machine to database server. You need to connect to server where db instance is running and you need not to bother about SAN storage.
make tns entry into client $ORACLE_HOME/network/admin/tnsnames.ora file.
Use sqlplus to connect to database using client.
Regards
Rajesh -
Server / Client connection
Hi guys i want to know that what is the process of client server connect
i install database 10g in server version (10.2.0.1.0) and i also download same client version my tns names.ora file is
+# tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\db_3\network\admin\tnsnames.ora+
+# Generated by Oracle configuration tools.+
LIVE =
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = COMPUTER1)(PORT = 1521))+
+)+
+(CONNECT_DATA =+
+(SERVICE_NAME = live.ss64.com)+
+)+
+)+
So how can i connect with client if i install same version of client in client system ?
What is tns_admin role in client system?
What is listneer role in client system?
Please send some detail
Regards
Shahzaib ismailI would recommend you read thru the excellent documentation for an understanding of these concepts - http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/dist_pro.htm#i4059
HTH
Srini -
AP server client connection on SoH with System Replication
Hi Experts
I'm using Business Suite on HANA with System Replication for HA purpose.
As client access from ABAP server to HANA DB, I use DNS redirection.
When I takeover to secondary system & after DNS redirection, the working process of user client (SAPGUI) remains for a while until rdisp/max_wprun_time's limit.
(means it not automatically restart process.)
After creating new session from SAPGUI, it works correctly.
Is this normal procedure?
If it automatically re-connect with new DB connection, it would be useful.
BR
YohThanks for the response
I think I understand what you are saying, I just want to make sure I get it fully. I need to create a separate thread that runs just my connection process to make sure that the processes actually occur? If so, how would I go about doing this?
Thanks again -
Remote access VPN clients connected to Internet from VPN
Greetings,
I need to let remote VPN clients to connect to Internet from the same ASA VPN server
" client connects to ASA through VPN tunnel from outside interface then access Internet from the same ASA from outside interface again
thanksyou'll need to configure 'same-security-traffic permit intra-interface' on the ASA .
Also, need to setup the corresponding nat statements for your clients pool range.
i.e.
global (outside) 1 interface
nat (outside) 1 access-list anyconnectacl
where anyconnectacl is the pool for your clients:
access-list anyconnectacl permit ip 172.16.1.0 255.255.255.0 any -
Oracle 10g client not connecting to Oracle 8i server
I have oracle 8i server already installed. I downloaded Oracle 10g client recently. I installed it on one machine and trying to connect to 8i server. I used TNSnames.ora which was already present on the machine. After entering the username, password and service name in SQL plus, I got a error saying server version not suported. Does 10g client not support 8i server or am I doing something wrong ?
There is an 8.1.7.4 patchset for Windows.
If you take a look at the Instant Client forum, there are some discussions on this where one of the Oracle product managers (Mr. Jue) has chimed in. At present, only connections to 8.1.7.4 and higher are supported. It is expected that the first 10g patchset will fix this bug and allow connections to 8.1.7.0 and above databases.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Loos connection trougth a firewall between oracle server an client after 10 minutes
hello,
i do loos the connection between oracle server an client, because the firewall is between. The firewall will close non active connections an ports after 10 minutes. Only port of one site is clost after 10 minutes then, other site let the port open.
Shares to the the server do in not loos. Only connection to oracle. What can i do !!!!
Oracleversion ist 8.0.6
OS: Windows NT 4.0 and SP5
Thanks FrankI had the same problem and I guess you are also hitting the firewall timeout problem... you can enable Oracle DCD (dead connection detection) by setting sqlnet.expire_time in $ORACLE_HOME/network/admin/sqlnet.ora appropriately. This solution I got from http://asktom.oracle.com.
I tried setting the expire_time to 50 minutes less than firewall time-out (which is 60 minutes) but it didn't worked, right now i am trying to figure out what else can cause the problem (I am using Oracle connection pool).... but I think above solution may solve your problem
hello,
i do loos the connection between oracle server an client, because the firewall is between. The firewall will close non active connections an ports after 10 minutes. Only port of one site is clost after 10 minutes then, other site let the port open.
Shares to the the server do in not loos. Only connection to oracle. What can i do !!!!
Oracleversion ist 8.0.6
OS: Windows NT 4.0 and SP5
Thanks Frank -
Oracle client picking up wrong port while connecting to oracle server
Hi,
I have an oracle client installed in one of the system. As we know oracle client connects to the server on port 1521, but from my client system every time i try to connect it is taking random ports which are blocked on our firewall, hence not connecting to the server.
Is there any method i can connect with port 1521 only. I have also put the entry in client tnsnames.ora
Thanks in advance
Regds
KiranM Kiran Kumar Reddy wrote:
True, Tnsping is working but i am not able to connect to server
my client system TNSNames.ora
LIB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.228)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
Client to server tns ping result
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.
1.228)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
OK (40 msec)
Edited by: M Kiran Kumar Reddy on Jul 23, 2009 7:42 PMThat's because tnsping goes no further than the listener. There doesn't even have to be a database to get a successful tnsping. And since tnsping only needs to ping the listener (not the database) it only needs port 1521. It's when the listener tries to set up the actual database connection that he will (by default) pick an random port for that connection. -
Connection between oracle 9i server and oracle 9i client
hi there,
i have installed both oracle 9i server and oracle 9i client in my system.how can i connect these two to have connection between these server and client?
Because i was using only 9i server for creating database and for other purposes.i have not used 9i client yet.
Please write me the answer.
Thanks in advance.Hi Balu,
If you have the Oracle 9i Client, you can just edit your TNSNAMES.ora file of your client to have a TNS Entry for your new Database & try connecting it. You just need to try TNSPING & ensure that you can reach the Listener.
Are you facing any specific problems ?
Regards,
Sandeep -
Connect to Oracle 9i server using oracle 11g client
Hi,
my oracle 9i server is on unix machine.
I got new Window 7 64 bit machine for .NET code development(framework 4.0).It is having Oracle 11G installed.I am getting oracle connection error while running .NET application.
what changes (connection string/tnsnames.ora/others) will I have to do to connect Oracle 9i server using oracle 11g client ?Hi,
Please post the complete error stack you are getting.
Regards
Yoonas
Maybe you are looking for
-
My iTunes Video Library no longer streams to Apple TV
Hello, I have searched all over and cannot seem to find a resolution to my problem so if this has been answered, I apologize. Problem is I can no longer stream any sort of video stored in my iTunes on my MacBook Pro to my Apple TV. It used to work be
-
Hello, We are trying to integrate APEX with Oracle Ebusiness Suite 11i. We are trying to integrate with the HR/Payroll application which uses FND_GLOBAL.APPS_INITIALIZE to set the security context to a user, responsibility and application id which de
-
Problems moving IMAP store to a new drive in 10.4 Server
Hi, I'm having some problems with IMAP mail in 10.4 Server. I'm trying to move my mail store over to a different volume and have been having problems. Here are the locations: Database location: /Volumes/vol-old/Mail/Database Mail store location: /Vol
-
Error in test server connection
when i do test to server connection i get all ok but i get fialed in timeten oracle. why?
-
Hello, I am looking around for domain name monitoring service, whereby i can get an alert for any new domain registration that contains a specific word. ex. the word spiceworks - myspiceworks.com, spiceworkssoftware.com I found https://research.doma