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 ismail
I 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
Similar Messages
-
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 -
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 -
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,
Chauuser626162 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 -
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 -
regarding mountain lion server: clients experience intermittent service connections. the server system log has the following error- Client handshake failed (6):113: Server not accepting client connections. any suggestions would be greatly appreciated - thank you
Hi Jason
I was getting the same behavior after Apple support had me delete some plist files to get Airplay going. I was also getting the following error:
the error occurred while processing a command of type 'writesettings' in the plug-in 'server vpn'
I went into ~/Library/Preferences/ and /Library/Preferences/ and deleted every plist contating the word server. I had to re-set up my server (meaning walk through some intial steps) but all of my settings were still there after that and everything started working again.
Just a thought, obviously try at your own risk but it worked for me.
Kellen -
How to make the client connect to the server at the command prompt?
I found this code on IBM's website, it was a training session on servers and clients using java.
The code compiles fine and the server seems to start up properly when I use java Server 5000. I think whats happening is the server is running and listening for a connection on port 5000.
When I try to run the client I get the following error.
Exception in thread "main" java.lang.NoSuchMethodError: main
I see a start() method but no main. As far as I know, applications should all have main, it seems as if the person who wrote this kinda confused applets with application. Not that I would really know what happened.
If you have time, could you tell me if there's an easy fix for this? I would love to have this client/server working if it isn't too much trouble. As I have looked all over the net for a free client/server applet that will actually let me see the java code and none of the free ones do allow getting to their source.
Most of them allow you to customize them somewhat but also have built in advertising that can't be removed.
This is the closest I have come to finding one that lets me look under the hood. But alas it doesn't work out of the box and I don't know what to do to fix it.
Heres the code: Server:
import java.io.*;
import java.net.*;
import java.util.*;
public class Server
// The ServerSocket we'll use for accepting new connections
private ServerSocket ss;
// A mapping from sockets to DataOutputStreams. This will
// help us avoid having to create a DataOutputStream each time
// we want to write to a stream.
private Hashtable outputStreams = new Hashtable();
// Constructor and while-accept loop all in one.
public Server( int port ) throws IOException {
// All we have to do is listen
listen( port );
private void listen( int port ) throws IOException {
// Create the ServerSocket
ss = new ServerSocket( port );
// Tell the world we're ready to go
System.out.println( "Listening on "+ss );
// Keep accepting connections forever
while (true) {
// Grab the next incoming connection
Socket s = ss.accept();
// Tell the world we've got it
System.out.println( "Connection from "+s );
// Create a DataOutputStream for writing data to the
// other side
DataOutputStream dout = new DataOutputStream( s.getOutputStream() );
// Save this stream so we don't need to make it again
outputStreams.put( s, dout );
// Create a new thread for this connection, and then forget
// about it
new ServerThread( this, s );
// Get an enumeration of all the OutputStreams, one for each client
// connected to us
Enumeration getOutputStreams() {
return outputStreams.elements();
// Send a message to all clients (utility routine)
void sendToAll( String message ) {
// We synchronize on this because another thread might be
// calling removeConnection() and this would screw us up
// as we tried to walk through the list
synchronized( outputStreams ) {
// For each client ...
for (Enumeration e = getOutputStreams(); e.hasMoreElements(); ) {
// ... get the output stream ...
DataOutputStream dout = (DataOutputStream)e.nextElement();
// ... and send the message
try {
dout.writeUTF( message );
} catch( IOException ie ) { System.out.println( ie ); }
// Remove a socket, and it's corresponding output stream, from our
// list. This is usually called by a connection thread that has
// discovered that the connectin to the client is dead.
void removeConnection( Socket s ) {
// Synchronize so we don't mess up sendToAll() while it walks
// down the list of all output streamsa
synchronized( outputStreams ) {
// Tell the world
System.out.println( "Removing connection to "+s );
// Remove it from our hashtable/list
outputStreams.remove( s );
// Make sure it's closed
try {
s.close();
} catch( IOException ie ) {
System.out.println( "Error closing "+s );
ie.printStackTrace();
// Main routine
// Usage: java Server <port>
static public void main( String args[] ) throws Exception {
// Get the port # from the command line
int port = Integer.parseInt( args[0] );
// Create a Server object, which will automatically begin
// accepting connections.
new Server( port );
}CLIENT:
import java.io.*;
import java.net.*;
public class ServerThread extends Thread
// The Server that spawned us
private Server server;
// The Socket connected to our client
private Socket socket;
// Constructor.
public ServerThread( Server server, Socket socket ) {
// Save the parameters
this.server = server;
this.socket = socket;
// Start up the thread
start();
// This runs in a separate thread when start() is called in the
// constructor.
public void run() {
try {
// Create a DataInputStream for communication; the client
// is using a DataOutputStream to write to us
DataInputStream din = new DataInputStream( socket.getInputStream() );
// Over and over, forever ...
while (true) {
// ... read the next message ...
String message = din.readUTF();
// ... tell the world ...
System.out.println( "Sending "+message );
// ... and have the server send it to all clients
server.sendToAll( message );
} catch( EOFException ie ) {
// This doesn't need an error message
} catch( IOException ie ) {
// This does; tell the world!
ie.printStackTrace();
} finally {
// The connection is closed for one reason or another,
// so have the server dealing with it
server.removeConnection( socket );
}Thanks for your time.CLIENT:
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
public class Client extends Panel implements Runnable
// Components for the visual display of the chat windows
private TextField tf = new TextField();
private TextArea ta = new TextArea();
// The socket connecting us to the server
private Socket socket;
// The streams we communicate to the server; these come
// from the socket
private DataOutputStream dout;
private DataInputStream din;
// Constructor
public Client( String host, int port ) {
// Set up the screen
setLayout( new BorderLayout() );
add( "North", tf );
add( "Center", ta );
// We want to receive messages when someone types a line
// and hits return, using an anonymous class as
// a callback
tf.addActionListener( new ActionListener() {
public void actionPerformed( ActionEvent e ) {
processMessage( e.getActionCommand() );
// Connect to the server
try {
// Initiate the connection
socket = new Socket( host, port );
// We got a connection! Tell the world
System.out.println( "connected to "+socket );
// Let's grab the streams and create DataInput/Output streams
// from them
din = new DataInputStream( socket.getInputStream() );
dout = new DataOutputStream( socket.getOutputStream() );
// Start a background thread for receiving messages
new Thread( this ).start();
} catch( IOException ie ) { System.out.println( ie ); }
// Gets called when the user types something
private void processMessage( String message ) {
try {
// Send it to the server
dout.writeUTF( message );
// Clear out text input field
tf.setText( "" );
} catch( IOException ie ) { System.out.println( ie ); }
// Background thread runs this: show messages from other window
public void run() {
try {
// Receive messages one-by-one, forever
while (true) {
// Get the next message
String message = din.readUTF();
// Print it to our text window
ta.append( message+"\n" );
} catch( IOException ie ) { System.out.println( ie ); }
import java.applet.*;
import java.awt.*;
import java.io.*;
import java.net.*;
public class ClientApplet extends Applet
public void init() {
String host = getParameter( "192.168.1.47" );
int port = Integer.parseInt( getParameter( "5000" ) );
setLayout( new BorderLayout() );
add( "Center", new Client( host, port ) );
}Sorry about that. Now when I run an html file with this applet I just get the x in the corner.
Thanks for looking. -
Problem with client connect to server
Hello
I'm having problems trying to connect a Windows NT client to an Oracle 8.1.5.0.2 server running on
Redhat linux 6.1
I've setup the listener, which seems to allow a sqlplus client running on the server to connect to the
database through the listener.
<snip>
$ sqlplus scott/tiger@8idb
SQL*Plus: Release 8.1.5.0.0 - Production on Mon Apr 10 16:44:57 2000
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Release 8.1.5.0.2 - Production
With the Java option
PL/SQL Release 8.1.5.0.0 - Production
SQL>
</snip>
Listener.log
<snip>
10-APR-00 16:44:57 *
(CONNECT_DATA=(SERVICE_NAME=8idb)(CID=(PROGRAM=)(HOST=dbserver)(USER=oracle))) *
(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.10)(PORT=2816)) * establish * 8idb * 0
<snip>
But when I try to test the connection from the NT client using "Net8 Easy Config"
<snip>
Initializing first test to use userid: scott, password: tiger
Attempting to connect using userid: scott
The test did not succeed.
ORA-12571: TNS:packet writer failure
There may be an error in the fields entered,
or the server may not be ready for a connection.
</snip>
Even though I have the following entry in the listener.log.
<snip>
10-APR-00 16:58:37* (CONNECT_DATA=(SERVICE_NAME=8idb)(CID=(PROGRAM=C:\Program
Files\Oracle\jre\1.1.7\bin\jrew.exe)(HOST=NTclient)(USER=NTuser))) *
(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.20)(PORT=2465)) * establish * 8idb * 0
</snip>
Though sqlnet.log is logging the follow
<snip>
Fatal NI connect error 12537, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for Linux: Version 8.1.5.0.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 8.1.5.0.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 8.1.5.0.0 - Production
Time: 10-APR-00 16:58:37
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12537
TNS-12537: TNS:connection closed
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
</snip>
The listener.ora is as follows
<snip>
listener=
(description=
(address_list=
(address=(protocol=tcp)(host=10.0.0.10)(port=1521))
sid_list_listener=(sid_list=
(sid_desc=
(global_dbname=8idb)
(sid_name=8idb)
(oracle_home=/home/oracle/product/8.1.5)
</snip>
Clients Tnsnames.ora file
<snip>
# Generated by Oracle Net8 Assistant
8IDB=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST = 10.0.0.10))
(CONNECT_DATA =
(SERVICE_NAME = 8idb)
</snip>
Any Help would be greatly appreciated
Thanks
Regards
Tom
nullHi Hasan,
Firstly, please make sure that the software is compatible with the Windows Server 2012. Have you updated this software to the latest version?
Secondly, please check if the software is listening on the proper port. To verify this, please use the command below:
netstat -an
Also, please disable the firewall and try again.
Best regards.
Steven Lee
TechNet Community Support -
How to get clients connected in WMS on windows server 2008 with c# coding
Sorry to bother anyone about this question.
Can anyone knows how to retrieve amount of client connection to Windows Media Server in real time same as WMS does on server console by c# programming ?
I got logfiles of WMS in system32 directory for details but it must be off-line of all connections which will able to get those informations for doing anything,but in this case I want real time client connection
at online when a client connects to WMS that I will get amout of that client also.
I have tried to search Windows Media Service SDK to develop this on my Windows 7 OS,but I did not find that really.
Can anyone knows this,please ?
Regards,
BigBermHi SYaGCi,
Denis is right this is actually documented in the Supported Platforms Documentation:
"Windows 7 and Windows Server 2008 R2 are new platform support additions in Service Pack 3 which are only available for support on the SP3 full release install of SAP BusinessObjects Enterprise. The SP3 patch only release of SAP BusinessObjects Enterprise does not provide support for these two new platforms."
Kind regards,
John -
Exchange Server 2010 SP3 - Rollup 8 - Issue - Problems with client connections - MS Outlook 2013
Exchange Server 2010 SP3 - Rollup 8 - Issue - Problems with client connections - MS Outlook 2013
Detected Problems:
- Access denied for attached mailbox (department mailbox)
- Access denied for delete or move messages on own mailbox
- Can't send new messages with error (Error: [0x80004005-00000000-00000000])
Solution:
- Rollback to Exchange 2010 SP3 - Rollup 7
- You can rollback to Exchange 2010 SP3 - RollUp 7 in 30 min
Algunos de los destinatarios no recibieron su mensaje.
Asunto: Hola
Enviado el: 11/12/2014 8:35
No se puede localizar a los destinatarios siguientes:
'[email protected]' en 11/12/2014 8:35
Este mensaje no se pudo enviar. Inténtelo de nuevo más tarde, o póngase en contacto con el administrador de red.
Error: [0x80004005-00000000-00000000].See the following forum thread:
https://social.technet.microsoft.com/Forums/en-US/1be9b816-b0ab-40ea-a43a-446239f8eae3/outlook-client-issues-following-exchange-2010-rollup-8 -
Non-Domain joined clients connect to server initially but cannot connect via Launchpad
Running SBS 2011 Essentials in a small office. Running XP/Vista/7 clients. All working fine until we swapped routers. Old router died, new router was installed.
Now all domain-joined PC's connect as normal, but all NON-Domain-Joined PC's cannot access the server via the launchpad. I get the "The server appears to be offline. Do you want to sign in to offline mode?" box.
Tried removing PC from the SBS Dashboard, uninstalling the connector from the client, restarting client, and reinstalling the connector. I can install the connector (using
http://<server ip>/connect , but not http://<servername>/connect
). Connector installs but it still tells me the server is offline when trying to use dashboard or launchpad on the client.
Note: I can add a network location or Map a network drive to ther server after inputting my network password from Windows.
Any Services to check? Firewalls exceptions to ensure? Advice?
EDIT: Dashboard on Server shows Client, sometimes as online, sometimes as offline.Sounds like name resolution issue to me.
Are all your clients set to use the IP of the Essentials Server for their primary DNS?
Robert Pearman SBS MVP
itauthority.co.uk |
Title(Required)
Facebook |
Twitter |
Linked in |
Google+ -
What privileges for the DB account used by client connect to server?
Hello, After I installed the SBO server packages, I found that it must set DB account in the client side.
I had tried 'sa' account, it works. but I thought we should not leave the super account in each client side.
So I want to know what privileges should be assiged to the account in SQL Server?
Or somewhere already have documents to say how to build up the client account.
thanks.Hi,
You may check: What privileges for the DB account used by client connect to server?
Thanks,
Gordon -
How to set proxy for client-server socket connection?
Hi,
I'm using the code found on the following page to create a client (mobile) to server (pc) connection and send a text message.
http://javafaq.nu/java-example-code-503.html
This works with mobile operators without proxy, but does nothing when the operator uses a proxy. The question is, exactly how to set the proxy and port values for using that code.
Any help is greatly appreciated, thanks,It's part of the cellular settings, and is usually set up by your 3G provider. You can't choose your own proxy server
-
Hello there
I have a problem with my windows media player while using server and client connection by using TCP/IP connection. So when I play a video using Windows Media Player in LabVIew there isn't any sound come out but when I'm playing a video by a Windows Media Player only the sound will come out. Can you help me solve this problem?
I also upload the vi as the reference.
The username for the client is ihsanhaikalz and the password is ganteng
Thanks
Attachments:
Client Remote.vi 746 KB
Server Remote.vi 1433 KBHi ican,
I was looking at your VI's but I cannot seem to pinpoint exactly where you are using Windows Media Player. In order to more quickly assist you, could you please recreate this issue more concisely in a smaller set of VIs. Also, were you able to get sound when you did not use the TCP/IP connection and simply played the files in LabVIEW?
I noticed in a few places that you were using the Play Sound File.VI from the Graphics and Sounds palette. Is that what you are refering to? I noticed there that the file path that you have designated for the song is simply the song title. Instead, this should be a path to where the song is located on your computer.
Also, if you are planning on using Windows Media Player, have you considered using the ActiveX commands for Windows Media Player? Here are a few examples if you are unfamiliar with this functionality.
Example 1 and Example 2.
I hope this helps!
Kim W.
Applications Engineer
National Instruments -
The client connection is not allowed on the internal edge of the Access Edge Server
We are trying to setup Lync 2013 Edge Server, we have a setup as described below
Real IPs for Lync Edge/WebConf/AV
NAT of real IPs through Firewall Juniper to FE IP
Topology with NAT (Firewall IP) IP enabled
Certificates for with SAN for sip.acme.com etc (Both certs are Client Server Auth Templates from Internal MS CA)(Trusted) on Edge
Route 192.215.0.0 255.255.255.0 gateway (=firewall internal ip address)
But when external user connects and we are tracing the connection we are getting below error and lync client is
not able to connect.
TL_INFO(TF_CONNECTION) [1]0AD8.0C30::09/07/2014-08:11:13.091.0000000f
(SIPStack,SIPAdminLog::WriteConnectionEvent:SIPAdminLog.cpp(454))[4150361027] $$begin_recordSeverity: information
Text: TLS negotiation started
Local-IP: 192.215.0.xxx:5061 (Edge IP)
Peer-IP: 192.215.0.xxx:1835 (Firewall IP)
Connection-ID: 0x1100
Transport: TLS
$$end_record
TL_ERROR(TF_CONNECTION) [0]0AD8.0638::09/07/2014-08:12:45.279.0000005d (SIPStack,SIPAdminLog::WriteConnectionEvent:SIPAdminLog.cpp(389))[4150360514] $$begin_record
Severity: error
Text: The client connection is not allowed on the internal edge of the Access Edge Server
Peer-IP: 192.xxx.0.xxx:1322 (firewall ip)
Transport: TLS
Result-Code: 0xc3e93d6b SIPPROXY_E_CONNECTION_INTERNAL_FROM_CLIENT
$$end_recordHi pshetty,
Check the following blog to deploy your Edge Server:
http://jsilverdrake.blogspot.se/2012/04/publishing-lync-with-forefront-tmg-part_25.html
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
You need to create persistent static routes on the internal interface to all internal networks.
Regards,
Lisa Zheng
Lisa Zheng
TechNet Community Support
Maybe you are looking for
-
Word wrap in JEditorPane...
hi by default, the JEditorPane set the word wrap to true. how can i change it?
-
Q,can i use new software on ipad 1
Brought a new computer ,upgraded itunes to 10.6 ,plugged ipad into dock, computer asked if I wanted to upgrade software on ipad ? after I pushed the yes button ipad no longer works I have a 2033 error message can you help ????
-
IMPORT into Development server using 10g data dump
Hello, I need to import(refresh) a number of schemas from Production into Development. Do I have to drop the schemas in Developement frist prior to doing an impdp into Development from Production? What would be the steps to refresh(impdp) from a Prod
-
Looking for Classic 9 os software!
Any chance there is still classic 9 os that I could snatch up some where? I have my 2 old imac's that i dumped and relaod 10.3, but then found that all these old games we had for them were for os 9. Now I cant find that cd. We were going to us them j
-
Hello, I am currently working on a localizing project. The project is designed to read XML (in UTF-8) and use the text data to fill the dynamic TextFields placed across the stage. The SWF shows English, French, and even Chinese with no problem, but w