Multiple Connection Methods?

Hello
I am looking to set up an HP4015x LaserJet printer with an additional wireless JetDirect 690n card to provide users with  either wired/wireless network access the ability to print to the same printer. Could someone confirm whether this is possible or can a printer only function using one particular networking method?
Thanks in advance
This question was solved.
View Solution.

Hello MarkWk,
Welcome to the HP Forums!
To get your issue more exposure I would suggest posting it in the commercial forums since the HP LaserJet P4015x  is a commercial product. You can do this at HP enterprise Business Community.
The support page for your product may be helpful in the meantime:
HP Support Center.
I hope this helps!
RnRMusicMan
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to say “Thanks” for helping!

Similar Messages

  • Java Socket bind() and connect() method

    Hi,
    I'm running a windows xp machine and have set it up (using the raspppoe protocol) to make simultaneous dial-up connections to the internet. Each of these dial-up connections then has its own IP address.
    When I create a new Socket, bind it to one of these IP addresses and invoke the connect() method (to a remote host), the socket times out. Only when i bind it to the most recent dial-up connection that has been established, the socket connects.
    I'm welcome for any ideas :)
    thanks

    If you'll excuse the lengthy post it has alot of code and outputs :)
    Ok Wingate really doesnt have much to do with the program, let me get back to the point and then post the code I have.
    Goal of the application:
    To use multiple simultaneous dial-up interfaces connected to the internet by binding each of them (using Socket class .bind() method) to its associated Socket object.
    Method:
    I use the RASPPPOE protocol for Windows XP to allow these multiple simultaneous ADSL dial-up connections. Each of these dial-up instances gets assigned an IP address. I use the NetworkInterface class to retrieve these interfaces/IP addresses and then run a loop to bind each Socket to its associated interface.
    The code I am pasting here is over-simplified and is just to illustrate what it is i'm trying to do.
    Firstly, this is a cut & paste of the tutorial from the Java website on how to list the Network interfaces on an operating system and the associated output:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import static java.lang.System.out;
    public class ListNIFs
        public static void main(String args[]) throws SocketException
            Enumeration<NetworkInterface> nets = NetworkInterface.getNetworkInterfaces();       
            for (NetworkInterface netint : Collections.list(nets))
                displayInterfaceInformation(netint);       
        static void displayInterfaceInformation(NetworkInterface netint) throws SocketException {
            out.printf("Display name: %s\n", netint.getDisplayName());
            out.printf("Name: %s\n", netint.getName());
            Enumeration<InetAddress> inetAddresses = netint.getInetAddresses();       
            for (InetAddress inetAddress : Collections.list(inetAddresses))
                out.printf("InetAddress: %s\n", inetAddress); 
            out.printf("Up? %s\n", netint.isUp());
            out.printf("Loopback? %s\n", netint.isLoopback());
            out.printf("PointToPoint? %s\n", netint.isPointToPoint());
            out.printf("Supports multicast? %s\n", netint.supportsMulticast());
            out.printf("Virtual? %s\n", netint.isVirtual());
            out.printf("Hardware address: %s\n", Arrays.toString(netint.getHardwareAddress()));
            out.printf("MTU: %s\n", netint.getMTU());       
            out.printf("\n");
    }For which the output is:
    Display name: MS TCP Loopback interface
    Name: lo
    InetAddress: /127.0.0.1
    Up? true
    Loopback? true
    PointToPoint? false
    Supports multicast? true
    Virtual? false
    Hardware address: null
    MTU: 1520
    Display name: Intel(R) PRO/Wireless 3945ABG Network Connection - Packet Scheduler Miniport
    Name: eth0
    InetAddress: /192.168.1.10
    Up? true
    Loopback? false
    PointToPoint? false
    Supports multicast? true
    Virtual? false
    Hardware address: [0, 25, -46, 93, -13, 86]
    MTU: 1500
    Display name: WAN (PPP/SLIP) Interface
    Name: ppp0
    InetAddress: /196.209.42.125
    Up? true
    Loopback? false
    PointToPoint? true
    Supports multicast? true
    Virtual? false
    Hardware address: null
    MTU: 1492
    Display name: WAN (PPP/SLIP) Interface
    Name: ppp1
    InetAddress: /196.209.248.25
    Up? true
    Loopback? false
    PointToPoint? true
    Supports multicast? true
    Virtual? false
    Hardware address: null
    MTU: 1492
    Display name: WAN (PPP/SLIP) Interface
    Name: ppp2
    InetAddress: /196.209.249.4
    Up? true
    Loopback? false
    PointToPoint? true
    Supports multicast? true
    Virtual? false
    Hardware address: null
    MTU: 1492The part to take notice of is the three WAN (PPP/SLIP) Interfaces named ppp0, ppp1 and ppp2. They are simultaneous dial-up connections to the internet, each with a unique IP. I will now attempt to use one of these interfaces to establish a connection to www.google.com on port 80 (purely for illustration).
    In the code printed below, I simply hard coded the above listed IP address of the interface for simplification:
    import java.net.*;
    import java.io.*;
    public class SockBind {
         private Socket connection;     
         private void start() throws IOException
              while (true)
                   try {
                        connection = new Socket();
                        connection.bind(new InetSocketAddress("196.209.42.125", 12345));
                        connection.connect(new InetSocketAddress("www.google.com", 80));
                        connection.close();
                   } catch (SocketException e) {
                        System.err.println(e.getMessage());
         public static void main(String args[])
              try {
                   SockBind s = new SockBind();
                   s.start();
                   System.out.println("Program terminated.");
              } catch (IOException e) {
                   e.printStackTrace();
                   System.exit(1);
    }Once the program reaches the connection.connect() method, it pauses a while until it throws a SocketException with a "timed out" message. I have already tested the dial-up connection (using a wingate, which is irrelevant) just to confirm that the connection is in working order.
    EJP if you have any suggestions I will welcome it, many thanks :)

  • URGENT:Handle multiple connection in a multithreaded server.

    I hava a multithreaded server where it can handle multiple connection.
    The program works in this way. First, it will wait for connection. Once it accepts a connection, it will pass the socket to a thread class which will in turn process the connection. Then, the server will go back to the infinite loop to wait for new connection.
    Since I am not very familiar on using thread, I would like to post the following questions:
    1) Let say that my server can handle multiple connections. This is to cater for the different requests from the client. For instance, the client may make one connection for chatting and another connection for sending file(something like we have in Yahoo Messanger). So, at the server side, how can I differentiate between the connection for CHAT and the connection for SEND FILE so that I can handle the requests separately. It means I can save the file sent from client and display the chat message in the JTextArea?
    2) How can I stop the server, clean up the thread and start the server again for waiting new connection? Currently, I can just start my server once.
    For reference,following are parts of my program:
    public void listenSocket(){
    try{
    server = new ServerSocket(5000);
    } catch(IOException e) {
    System.out.println("Failed to listen on port 5000");
    System.exit(0);
    try{
    while(true){
    server1frame sframe=null;
    ChatHandler handler;
    handler = new ChatHandler(sframe,server.accept(),jTextArea1,jTextField1,jFileChooser1);
    handler.start();
    } catch(IOException e) {
    System.out.println("Accept failed:5000");
    System.exit(0);
    //to close the connection as the final steps before program exit.
    } finally {
    try{
    server.close();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    public void run() {
    out.println("Connection Established");
    out.flush();
    try {
    String line;
         while(!(line =in.readLine()).equalsIgnoreCase("QUIT")) {
    if(line.startsWith("CLIENT"))
    jTextArea1.append("\n"+line);
    else if(line.startsWith("Connecting")) {
    jTextArea1.append("\n"+line);
    else if (line.startsWith("Finish")) {
    JOptionPane.showMessageDialog(sframe,"File has finished downloading",
    "File Download Complete",JOptionPane.INFORMATION_MESSAGE);
    else {
    BufferedWriter fout = new BufferedWriter(
    new FileWriter("e:/num1.txt",true));
    fout.write(line);
    fout.newLine();
    fout.flush(); }
         } catch(IOException ioe) {
         ioe.printStackTrace();
         } finally {
         try {
              in.close();
              socket.close();
         } catch(IOException ioe){
    System.out.println("Fail to close connection.");

    1) Let say that my server can handle multiple
    connections. This is to cater for the different
    requests from the client. For instance, the client may
    make one connection for chatting and another
    connection for sending file(something like we have in
    Yahoo Messanger). So, at the server side, how can I
    differentiate between the connection for CHAT and the
    connection for SEND FILE so that I can handle the
    requests separately. It means I can save the file sent
    from client and display the chat message in the
    JTextArea?Either your server listens on two different ports for two different protocolls, (then you would a server thread for each port) or you accept connections for both protocolls on both ports, and have the client state what protocoll it is using :
    eg:
    accept Connection - start new Thread - read first line - depending on protocoll pass protocoll object (CHAT, FTP) to run method
    There is an example for a simple protocoll at : http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html
    2) How can I stop the server, clean up the thread and
    start the server again for waiting new connection?
    Currently, I can just start my server once.You normally start servers only once. It should then be up and listening for it's entire lifetime. Restarting a server should only be needed if it hangs or crashes.

  • ODI error-THIS CLAUSE USES MULTIPLE CONNECTIONS AND THEREFORE CANNOT BE EXE

    Hi John,
    I have tried loading the smartlist values and the following error is encountered.
    THIS CLAUSE USES MULTIPLE CONNECTIONS AND THEREFORE CANNOT BE EXECUTED ON THE SOURCE

    Hi John,
    I am still facing the some problem.
    I have updated the join with the expression like yours
    then ran the interface
    The exception is as follows
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 26, in ?
    java.sql.SQLException: Table not found: EXCEPTION in statement [select   C1_PERIOD    "Period",C2_ACCOUNT    "Account",C3_ENTITY    "Entity",C4_EMPLOYEE    "Employee",C5_YEAR    "Year",C6_SCENARIO    "Scenario",C7_VERSION    "Version",'Local'    "Currency",'HSP_InputValue'    "HSP_Rates",CASE WHEN C10_ENTRY_ID IS NULL
    THEN C8_DATA
    ELSE C10_ENTRY_ID
    END    "Data" from "C$_1Totplan_WrkforceData"   left outer join "C$_0Totplan_WrkforceData"   ON C8_DATA=C11_NAME
    AND C9_ENUMERATION_ID=
    (SELECT ENUMERATION_ID FROM Exception]
         at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
         at org.hsqldb.jdbc.jdbcStatement.fetchResult(jdbcStatement.java:1598)
         at org.hsqldb.jdbc.jdbcStatement.executeQuery(jdbcStatement.java:194)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx5.f$0(<string>:26)
         at org.python.pycode._pyx5.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    java.sql.SQLException: java.sql.SQLException: Table not found: EXCEPTION in statement [select   C1_PERIOD    "Period",C2_ACCOUNT    "Account",C3_ENTITY    "Entity",C4_EMPLOYEE    "Employee",C5_YEAR    "Year",C6_SCENARIO    "Scenario",C7_VERSION    "Version",'Local'    "Currency",'HSP_InputValue'    "HSP_Rates",CASE WHEN C10_ENTRY_ID IS NULL
    THEN C8_DATA
    ELSE C10_ENTRY_ID
    END    "Data" from "C$_1Totplan_WrkforceData"   left outer join "C$_0Totplan_WrkforceData"   ON C8_DATA=C11_NAME
    AND C9_ENUMERATION_ID=
    (SELECT ENUMERATION_ID FROM Exception]
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Edited by: Sravan Ganti on May 4, 2009 6:07 AM

  • Problems with multiple connections in the same transaction

    Hi all !
              I'm have two questions regarding the way weblogic handles multiple
              connections.
              1) first, I don't understand why weblogic always create a new Managed
              Connection when I'm asking for 2 connection handles on the same connection
              factory and with the same connectionRequestInfo. Isn't it supposed to share
              connections ?
              For instance, the following snippet of code results in the creation of 2
              managed connections:
              ConnHandle conn1 = myCF.getConnection(myRequInfo);
              ConnHandle conn2 = myCF.getConnection(myRequInfo);
              The class corresponding to myRequInfo does implement the equals and hash
              method, so that weblogic's connection manager could use them to check that
              the queried connections are the same, and thus could share a single
              ManagedConnection between multiple connection handles. Apparantly it does
              not do that...
              2) OK, I just let weblogic create the 2 managed connections, but... My use
              of the connections is as part of a transaction. Here is what happens:
              ConnHandle conn1 = myCF.getConnection(myRequInfo);
              // a new managedConn1 is instanciated. the following happens (just a
              description)
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS)
              // I use the conn1 handle
              conn1.close();
              //xar1.end(SUSPEND)
              ConnHandle conn2 = myCF.getConnection(myRequiInfo);
              // a new managed connection managedConn2 is instanciated.
              // xar2 = managedConn2.getXAResource();
              // xar2.start(RESUME)
              // I use conn2 handle
              conn2.close();
              // xar2.end(SUSPEND);
              // my bean returns from the remote invocation
              // the client of the bean asks to commit (using UerTransaction.commit on the
              client side)
              // xar2.end(SUCCESS)
              // xar2.commit(onePhase=true);
              // managedConn2.cleanup();
              And that's all. So, as one can see, managedConn1.cleanup was never called.
              When looking in the weblogic console, I can see that I have one connection
              with 0 handle and one with 1 handle, deemed as still being in a transaction.
              So, the conenction manager apparantly loses a managed connection during the
              transaction. And it's very very bad because after a couple of transactions,
              I'm running out of managed connections (I had set a limit of 10).
              Any one has seen such a weird behavior ? Is this a problem on my side, or
              weblogic's ? Thanks for your help.
              Sylvain
              

              I ran another test. This time I have a bean that makes use of a connector
              once per method invocation. The bean method invoked is "sayHello" and it
              gets a connection to the EIS, perform an operation on it and release it. The
              connector I developed uses XA transactions.
              My test client just calls 3 times myBean.sayHello().
              I can distinguish two cases:
              1) first, the client doesn't do transaction demarcation. In this case, since
              the sayHello method is marked as requiring transaction, the folowing happens
              in the bean:
              // **** first invocation of the bean
              connHandle = myCF.getConnection();
              // managedConn1 is instanciated
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS);
              // managedConn1.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close()
              // xar1.end(SUCCESS);
              // the bean returns from its invocation
              // xar1.commit(onePhase=true)
              // managedConn1.cleanup()
              // **** second invocation of the bean
              connHandle = myCF.getConnection();
              // managedConnectionFactory.matchManagedConnection is called. It returns the
              managed connection (managedConn1) that is in the passed set
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS);
              // managedConn1.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close
              // xar1.end(SUCCESS);
              // the bean returns from its invocation
              // xar1.commit(onePhase=true)
              // managedConn1.cleanup()
              // **** third invocation of the bean
              connHandle = myCF.getConnection();
              // managedConnectionFactory.matchManagedConnection is called. It returns the
              managed connection (managedConn1) that is in the passed set
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS);
              // managedConn1.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close
              // xar1.end(SUCCESS);
              // the bean returns from its invocation
              // xar1.commit(onePhase=true)
              // managedConn1.cleanup()
              2) second case : the client performs transaction demarcation. In that case,
              the connection manager instanciates 3 managed connections, calls start/end
              on each XAResource corresponding to each managed connection, calls commit
              once, but also calls cleanup only once, leaving 2 lost managed connections
              The client looks like this:
              UserTransaction utx = context.lookup("javax/transaction/UserTransaction");
              utx.begin();
              MyBean myBean = ctx.lookup(".......");
              myBean.sayHello();
              myBean.sayHello();
              myBean.sayHello();
              utx.commit();
              on the server the following happens:
              // **** first invocation of the bean
              connHandle = myCF.getConnection();
              // managedConn1 is instanciated
              // xar1 = managedConn1.getXAResource()
              // xar1.start(NOFLAGS);
              // managedConn1.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close()
              // xar1.end(SUSPEND);
              // the bean returns from its invocation
              // **** second invocation of the bean
              connHandle = myCF.getConnection();
              // managedConn2 is instanciated
              // xar2 = managedConn2.getXAResource()
              // xar1.isSameRM(xar2) is called. returns true
              // xar2.start(RESUME);
              // managedConn2.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close()
              // xar2.end(SUSPEND);
              // the bean returns from its invocation
              // **** third invocation of the bean
              connHandle = myCF.getConnection();
              // managedConn3 is instanciated
              // xar3 = managedConn3.getXAResource()
              // xar2.isSameRM(xar3) is called. returns true
              // xar3.start(RESUME);
              // managedConn3.getConnection gives a connection handle
              connHandle.doSomeWork();
              connHandle.close()
              // xar3.end(SUSPEND);
              // the bean returns from its invocation
              // the client invokes commit on the UserTransaction
              // xar3.end(SUCCESS);
              // xar3.commit(onephase = true);
              // managedConn3.cleanup();
              And so, managedConn1 and managedConn2 got lost in the way...
              What's more puzzling, it's that when monitoring my connector with the
              console, I can see that there are 3 connections. 2 declared as still having
              one handle used and being in transaction, and one not in transaction and
              with 0 active handle. BUT when monitoring the JTA part of the server, I can
              see that there has been 1 transaction that committed, and no connection is
              "in flight" as the console says. So, on one side the console says 2 managed
              connections are still part of a transaction while on the other it says that
              no transactions are currently in flight.
              Thanks for any kind of help on this very bizarre behavior.
              Sylvain
              

  • PRO*C에서 MULTIPLE CONNECTION 방법

    제품 : PRECOMPILERS
    작성날짜 : 1997-02-04
    =================================
    Pro*C에서 Multiple Connection 방법
    =================================
    1. Explicit Connection
    EXEC SQL DECLARE database_name DATABASE;
    EXEC SQL CONNECT :username IDENTIFIED BY :password
    AT database_name USING :database_string;
    . database_name : Precompiler에서의 identifier
    . database_string : remote node에 접속하는 SQL*Net syntax
    1) SQL Operation
    EXEC SQL AT database_name SELECT ...
    EXEC SQL AT database_name INSERT ...
    EXEC SQL AT database_name UPDATE ...
    EXEC SQL AT database_name COMMIT ...
    2) PL/SQL Block
    EXEC SQL AT database_name EXECUTE
    begin
    /* PL/SQL block here */
    end;
    END-EXEC;
    3) Cursor Control
    EXEC SQL AT database_name DECLARE cursor_name CURSOR FOR ...
    EXEC SQL OPEN cursor_name ...
    DECALRE문장에만 AT database_name이 들어가며 OPEN, FETCH,
    CLOSE문에서는 AT 문을 사용하지 않는다.
    4) Dynamic SQL
    Dynamic Method 1에서는 execute시점에 At문을 사용한다.
    EXEC SQL AT database_name EXECUTE IMMEDIATE :sql_stmt;
    Dynamic Method 2,3,4에서는 DECLARE STATEMENT에서만 AT문을
    사용한다.
    EXEC SQL AT database_name DECLARE sql_stmt STATEMENT;
    EXEC SQL PREPARE sql_stmt FROM :sql_string;
    * host variable로 선언하여 사용할 수도 있다.
    char username[10] = "scott";
    char password[10] = "tiger";
    char db_name[10] = "oracle1";
    char db_string[20] = "NYNON";
    EXEC SQL CONNECT :username IDENTIFIED BY :password
    AT :db_name USING :db_string;
    EXEC SQL AT :db_name DELETE ...
    - DECLARE DATABASE 문이 필요하지 않으나 SQL Operation시에
    사용되는 table들에 대해서 DECLARE TABLE 문을 사용해야
    precompile시에 warning을 발생시키지 않는다.
    2. Implicit Connection
    database link를 사용하여 non-default database를 access한다.
    EXEC SQL SELECT ENAME,JOB INTO :emp_name, :job_title
    FROM emp@db_link
    (database link는 미리 create 되어 있어야 한다.
    CREATE DATABASE LINK db_link
    CONNECT TO scott IDENTIFIED BY tiger
    USING 'T:krhost:SID'; )
    이것은 v1 방법이고 , v2 에서는 tnsnames.ora file 의 alias 를 ' ' 안에 써준다.

    Hi @seperiz
    Have you tried rebooting your router? try unplugging it for 10 seconds, akkow it 2-3 minutes to start till you able to access the web and then turn the printer off and on again.
    May you see any difference then?
    If the same persists, how far the printer is located from your router? I suggest ensuring it is not too far, but not too close either... 203 meters away would be an optimal distance.
    Hope that may help.
    Shlomi 
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • 1 port multiple connections?

    Is it possible to have multiple connections on the same port using labview. I was looking at the TCP Listen VI help and it states the following...
    TCP Listen Details
    When a listen on a given port begins, you cannot use another TCP Listen VI to listen on the same port. For example, if a VI has two TCP Listen VIs on its block diagram and you start a listen on port 2222 with the first TCP Listen VI, you cannot listen on port 2222 with the second TCP Listen VI.
    if (typeof(writeVarRefs)=="function"){writeVarRefs("647");} if(typeof(lvrthelp647) != "undefined"){document.writeln(lvrthelp647)} if(typeof(lvfpga647) != "undefined"){document.writeln(lvfpga647)} if(typeof(lvemb647) != "undefined"){document.writeln(lvemb647)} if(typeof(lvpdahelp647) != "undefined"){document.writeln(lvpdahelp647)} if(typeof(lvtpchelp647) != "undefined"){document.writeln(lvtpchelp647)} if(typeof(lvblackfin647) != "undefined"){document.writeln(lvblackfin647)} if(typeof(lvdsp647) != "undefined"){document.writeln(lvdsp647)} 
    1. So if the TCP Listen VI cannot do this, is there a different VI that can?
    2. If there is no VI for this purpose, is there some way to handle this using Labview?

    You need to spawn the tasks that service the connection when a client connects to the server. The client can be anywhere on the network and the server doesn't spawn it. However, when the client establishes a connection with the server the server will spawn a task to service that connection.
    This method would use dynamic calls to start the tasks for the client processing. This would allow the server to service any number of connections. Though in your case knowing where to pass messages could get a bit tricky.
    Think of a web server. It sits on port 80. At any time their can be multiple clients connected to it. Each time a connection is made at the server it spawns a task to service the connection and goes back to listening for new connections.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How can I automatically connect to multiple connecting streams? to have 2 way communications foreach

    I need to setup a send stream that will only allow each farID to connect 1 time, and automatically connect to the connector so I ca have 2 way communication.
    I learned if in my onpeerconnect function i do this...:
    var c:Object = new Object;
    c.onPeerConnect = function(subscriber:NetStream):Boolean
       if(ready==ready)
       if(receiveStream==null)
        setupReceiveStream(subscriber.farID);
        return true;
        else
        return false;
    it seems to work fine, and they will start a 2 way connection BUT i want to potentially allow multiple connections, and setup multiple receive streams so im trying to com up with a solution to check if its already streaming to the peer. I wish I could just do this:
    var c:Object = new Object;
    c.onPeerConnect = function(subscriber:NetStream):Boolean
        setupReceiveStream(subscriber.farID);
        return true;
    But, for some reason it just keeps returning true over and over and over it doesnt just do it once on the connect, i get something like this:
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    NetStream.Play.Reset
    NetStream.Play.Start
    So, heres what im trying to do:
    protected function setupSendStream():void
    sendStream = new NetStream(netConnection, NetStream.DIRECT_CONNECTIONS);
    sendStream.addEventListener(NetStatusEvent.NET_STATUS, sendStreamHandler);
    var c:Object = new Object;
    c.onPeerConnect = function(subscriber:NetStream):Boolean
    var test:Boolean=true;
    var THEStream:NetStream = null;
    for each (var stream:NetStream in sendStream.peerStreams)
    if (stream["farID"] == subscriber.farID)
    well=false;
    trace("found it!");
    if(test)
    setupReceiveStream(subscriber.farID);
    trace("returned true");
    return true;
    else
    trace("returned false");
    return false;
    sendStream.client=c;
    sendStream.publish("MyChannel");
    trace("SETUP SEND STREAM");
    cirrusStatus=connectedReady;
    But it seems like after it returns true and runs the setup, so i can have 2 way communication, it runs the onpeerconnect function 1 more time after it returns true, and its a return false and then it makes the play fail and it ruins the connection.
    Any ideas on how I can listen for connects to my sendStream, then have it get the farID and then connect to that farID?
    keep in mind im trying to potentially support multiple connections to my sendstream which i think will be easy, but whats more confusing is having multiple receivestream connections

    "Method Three
    Create a separate iTunes library for each device. Note:It is important that you make a new iTunes Library file. Do not justmake a copy of your existing iTunes Library file. If iTunes is open,quit it.
    This one may work. I searched and searched on the website for something like this, I guess I just didn't search correctly, lol. I will give this a try later. My daughter is not be back for a few weekends, therefore I will have to try the Method 3 when she comes back for the weekend again. "
    I forgot to mention that she has a PC at her house that she also syncs to. Would this cause a problem. I am already getting that pop up saying that the iPod is synced to another library (even though she is signed in with her Apple ID to iTunes) and gives the pop up to Cancel, Erase & Sync, or Transfer Purchases. My question arose because she clicked on "Erase & Sync" by mistake when she plugged the iPod to her PC the first time. When the iPod was purchased and setup, it was synced to my PC first. When she went home, she hooked it up to her PC and then she erased it by accident. I was able to restore all the missing stuff yesterday using my PC. However, even after doing that it still told me the next time I hooked it up last night that the iPod was currently synced with a different library. Hopefully, you can help me understand all this. She wants to sync her iPod and also backup her iPod at both places. Both PCs have been authorised. Thanks

  • Shall I use one datasource for multiple connection pool?

    Hi,
    I need to clarrify that, Shall I use one Datasource for multiple connection pool in distributed transaction?
    Thanks with regards
    Suresh

    No. If its transactions across multiple databases you should use different datasources.

  • Multiple connections for the same user.

    I have EJB A and EJB B. A and B use a JCA connector that
              I have written. I have matchManagedConnections set so that if user U has not used EJB A or EJB B, then a new ManagedConnection is created. If user U has used A or B then that user is given a new virtual connection created from an existing ManagedConnection. Now the problem is that if user U access' A for the first time and then access' B BEFORE A has closed the connection, then a new ManagedConnection is created for user U. Therefore in this case user U gets 2 ManagedConnections to the EIS that we are using. Eventually one of the ManagedConnections is distroyed but I would like to eliminate this in the first place. How do a get Weblogic to see that a user has a ManagedConnection before that user is done with the connection.

    You can't have multiple roles on multiple connection, as you are connecting to the same website (different sub directories) ultimately.
    Here is the workaround:-
    You can create a new user account on your machine and can manage different roles.
    Hope it helps.

  • What is the direct connect method for transfering photos from my macbook pro to my iphone without using iTunes syncronization? (iow: a simple photo copy from mac to iphone?)

    I feel like I should know the answer to this. I can't believe it is a hard question.
    What is the direct connect method for transfering photos from my macbook pro to my iphone without using iTunes syncronization? (iow: a simple photo copy from mac to iphone?)
    Easy? Right?
    Just plug my iphone in to a mac and copy a photo from the mac to my iphone.
    I don't have internet access - I can't email it, or mobileme it, or dropbox it.

    iTunes. Other than that there is no direct method. However, do try the iPhone forums.

  • How to handle multiple connection or user with l2cap

    hi friends,
    I need your help please a.s.a.p
    how to handle multiple connection with l2cap protocol in j2me
    sorry,
    I'm a new programmer in j2me
    thanks all...

    Please stick with the original thread http://forum.java.sun.com/thread.jspa?threadID=5200413&tstart=0
    Cross-posting is very rude, and JSch has nothing to do with JSSE, directly. It is an SSH2 API. It does (AFAIK) use some parts of JSSE, but those parts are definately not your problem.
    You already have answers in the other thread.

  • Unable to use "easy connect" method to XE database

    All,
    I have an XE database running on Oracle Enterprise Linux. If I create a tnsnames.ora entry I can connect to the server fine. However, if I try to connect via the easy connect method
    sqlplus user@host:port:sid it fails with
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    the hostname I am using is definitely correct and I've also tried with ip address and get same error message. If I change from SID to SERVICE_NAME
    sqlplus user@host:port/service
    I get the following error message
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I've used both XE and xe as service name. The service name in my tnsnames.ora entry that works uses lower case xe for service name.
    Any help out there would be appreciated.

    Maybe this is more significant for you ?
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\User1>sqlplus test/test@xe
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Feb 3 14:05:49 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name: test/[email protected]/xe
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>

  • Multiple connections in one project

    Hi,
    Is there perhaps some kind of a document describing a 'best practice' for using multiple connections in a ADF BC application. One connects to an oracle DB another to a SQLServer.
    I suppose I need to create two different services? Anybody having experience with this?
    Regards,
    Koen Verhulst

    Among other things, the BC4J Configuration defines the name of the JDBC connection to use. To solve your problem, you can create two Configurations one for each database. The JDBC connection value will be the only different element between these two Configurations. To create a BC4J Configuration in JDeveloper, right click on the AppModule node and then click Configurations...,
    Use oracle.jbo.client.Configuration class to create AppModules connected to the database you want.,
    import oracle.jbo.*;
    import oracle.jbo.client.Configuration;
    String am = "demo.DemoModule"; // Fully-qualified application module name
    // Configuration name with JDBC connection to source database
    String cf1 = "DemoModuleSourceDb";
    ApplicationModule amSrc = Configuration.createRootApplicationModule(am,cf1);
    // Configuration name with JDBC connection to dest database
    String cf2 = "DemoModuleDestDb";
    ApplicationModule amDest = Configuration.createRootApplicationModule(am,cf2);
    Note that the AM name can also be different if you want.
    Hope this helps,
    Sathish.
    I want to access several Databases from one BC4J-Project.
    For example I want to write an application, which collects data from one database, does some computation and stores the results in a second database.
    I would prefer to use BC4J-Components for both, the source and the target database, but unfortunately I can select only one connection per BC4J-Project.
    Has anyone got an idea, how I can access more than one database-connection from one BC4J-Project without having to write all the JDBC-Stuff on my own? JDev-Team, can you please give a hint?

  • The selected printer connection method is incorrect. Select the....... ERRO

    Just upgraded to 10.5. I'm setting up a few printers and a plate maker. Got everything setup as far as I could tell but one machine wont work. It's an ImageRunner 8500 from Canon. When I try to print to that printer I get this:
    The selected printer connection method is incorrect. Select the correct printer connection method in printer list, and then try to add the printer again.
    Not what thats about. In the printer list, It shows up there with everything else that is connected via Appletalk. I got the PPD for the Konika Minolta CPP500 installed and it prints fine... any ideas? Thanks,
    Chris

    Hi John
    I tried Appletalk but that printer does not appear. However LPD does work. I think the problem was on checking my other Macs in the office, there is no way of telling whether they are connect via IPP or LPD as the set up appears the same, i.e. IP address. When I tried to add my the printer again, I had forgotten how we set it up originally.
    Many thanks for pointing me in the right direction.

Maybe you are looking for

  • Battery, Power, Deep Sleep and Spotlight problems after 10.9.4 update

    Hi, I have a Macbook Pro 8,1 13in (Late 2011). I updated to the latest version of Mavericks (10.9.4) and iTunes on Sunday, right after that my macbook started to goes into Deep Sleep after closing the lid, even when the battery was 80% of charge. My

  • Forms Developer 9i crash at runtime

    Hello to all, I am a student learning oracle for a conversion course in IS. I get the following message when running any form after it has successfully compiled: Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the

  • 10.6.7 mbp + adobe acrobat 8

    I just purchased this computer yesterday, and was working in Adobe Acrobat 8 fine, but now when I launch an adobe document, I recieve an error message saying "AA8 Professional cannot be launched at this time.  You must launch at least one other suite

  • In ICWEB where we add the fields and field properties

    Hi icweb guys,   plz tell me   in ICWEB where we add the fields and field properties  is it same through crmc_blueprint_c  or thorough wat.   we add code in the methods of crm_ic   am i correct   plz tell me. regards, ram

  • Not receiving incoming mail

    I have a google apps account, where google is the mail server for my domain. I get email at my domain name through gmail. I set up my iphone to sync with this account, and my incoming and outgoing mail settings are the same setting as on my home comp