Creating socket factories.

I have problem with URLConnection class which doesnt set any default time out. I want to fix this problem in my project. I searched the web and came to know about implementing custom socket factories.
I am notw trying to create Custom socket factory and set the factory using socket.setSocketImplFactory(mySocketFactory).
I have a problem creating this SocketImpl which is needed for creating my own Socket factory.
I have seen the source of PlainSocketImpl that came with JDK. I want to extend this class and set the Timeout. Unfortunately the PlainSocketImpl is not public. Can anyone give any suggestions. Any help is greatly appreciated.
Any URLs on how to create socket factory will also be very valuable for me.
Thanks
Suman.

maybe just try extending URLConnection and set your required timeout in the constructor using setConnectionTimeout(int milliseconds), ie:
public class myURLConnection extends URLConnection
   public myURLConnection(URL url, int timeout)
       super(url);
       setConnectionTimeout(timeout);
}

Similar Messages

  • Facing problem in creating socket in a method from an already deployed application exe while same method is working from another exe from same environment from same location.

    Dll Created In: - MFC VC
    6.0
    Application Exe Developed In:
    - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit
    / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component which
    has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
    code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming on
    client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest: -
    We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
    actually  it is not executing Create () method,
    I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
    Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
    DWORD errorCode = GetLastError();
    CString errorMessage ;
    errorMessage.Format("%lu",errorCode);
    ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
    return  IS_ERR_WINDOWS;
    Note: -
    CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
    ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
    if(!Create())
    ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
     n_Err = GetLastError();
     ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
    return NET_INIT;
    ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
    if(!AsyncSelect(0))
    n_Err = GetLastError();
    return NET_INIT;
    if(!Connect(strIP,n_Port))
    n_Err = GetLastError();
    ErrorLog(n_Err,0,"ConnectTS","");
    return SERVER_NOT_CONNECTED;
    Code description: -
    From
    int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
    ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System 
    0
    Note: - According to logs, problem is coming in Create method().
    Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
    from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

    Pointer variable was already initialized; I have mention in code; kindly assist us.
    Dll Created In: - MFC VC 6.0
    Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
    OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
    Problem: - Facing problem in creating socket
    in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
    Description: - We have product component
    which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
    Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
    Already Attempt: - Because error is coming
    on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
    Kindly Suggest:
    - We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
    working, actually it is not executing Create () method, I will give snippet of the code for understanding
    the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
    Code Snippet: -
    Int Initialize (LPTSTR SiteAddress, short PortId)
    try
    CClientTSSocket *m_pJtsSockto;
    m_pJtsSockto = new CClientTSSocket;
    LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
    ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
    catch(...)
                       DWORD errorCode = GetLastError();
                       CString errorMessage ;
                       errorMessage.Format("%lu",errorCode);
                       ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
                       return  IS_ERR_WINDOWS;
    Note: - CClientTSSocket extends CAsyncSocket
     IS_ERR_WINDOWS is a macro error code which value I found 7.
    LONG ConnectTS(CString strIP, UINT n_Port)
              ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
              if(!Create())
                       ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
              n_Err = GetLastError();
              ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
                      return NET_INIT;
              ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
              if(!AsyncSelect(0))
                       n_Err = GetLastError();
                       return NET_INIT;
              if(!Connect(strIP,n_Port))
                       n_Err = GetLastError();
                       ErrorLog(n_Err,0,"ConnectTS","");
                       return SERVER_NOT_CONNECTED;
    Code description: - From int GETImage_MT() method
    we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
    this method we Create() method and finally it returns the error code as mention in macro 7.
    Logs after running the program: -
    --------ConnectTS has been called ------------
    ConnectTS is calling Create [is going to call]
    Image System  0
    Note: - According to logs, problem is coming in Create method(). Here
    0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
    While same problem application was working properly earlier but now continuously it showing problem.
     Kindly assist us to resolve the issue.

  • Problem displaying text in console after creating socket

    Hi guys,
    I'm trying to combine 2 invididual parts of a project I'm working on, but I am having problems intregating it all together.
    I am using sockets to connect to 1 computer so it's using client server architecture. Whilst I am able to create and connect using the socket, my program is failing to print on the console. I would like to find out what I have done wrong, and get it working.
    Server code:
    import java.io.*;
    import java.net.*;
    import javax.swing.JOptionPane;
    class Server
         public static void main (String []args) throws IOException
              try
                   Server();     
              catch (IOException ex)
         public static void Server () throws IOException
              ServerSocket serverSocket=null;
              int portNo=4500;
              System.out.println("Starting");
              try
                   serverSocket=new ServerSocket(portNo);     
              catch (IOException ex)
                   System.err.println("Could not create socket on port" +portNo);
                   System.exit(1);
              System.out.println("Socket listening");
              Socket clientSocket=null;
              try
                   clientSocket=serverSocket.accept();
              catch (IOException ex)
                   System.out.println("Accept failed");
                   System.exit(1);
              PrintWriter out= new PrintWriter(clientSocket.getOutputStream(), true);
              BufferedReader in=new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
              Board board1=new Board();
              Protocol game=new Protocol();     
              boolean gameStart=true;
              while (gameStart)
                   String originMove=JOptionPane.showInputDialog(null,"Origin Move","Enter in origin of piece",JOptionPane.QUESTION_MESSAGE);
                   byte [] originMoveByte=new byte[originMove.length()];
                   originMoveByte=originMove.getBytes();
                   System.out.println(originMoveByte);
              out.close();
              in.close();     
              clientSocket.close();
              serverSocket.close();          
    class Board
         boolean gameStart=true;
         public static String [] [] Board()
              String coordinates[] [] = new String [8] [8];
              for (byte i=0;i<8;i++)
                   for (byte j=0;j<8;j++)
                        if ((i%2!=0)&&(j%2!=0))
                             coordinates[i] [j]="#";
                        else if ((i%2!=0)&&(j%2==0))
                             coordinates[i] [j]=" ";
                        else if ((i%2==0)&&(j%2!=0))
                             coordinates[i] [j]=" ";
                        else
                             coordinates[i] [j]="#";
              coordinates[0][0]="R";
              coordinates[0][1]="N";
              coordinates[0][2]="B";
              coordinates[0][3]="Q";
              coordinates[0][4]="K";
              coordinates[0][5]="B";
              coordinates[0][6]="N";
              coordinates[0][7]="R";
              for (int i=0;i<8;i++)
                   coordinates[1]="P";
              coordinates[7][0]="r";
              coordinates[7][1]="n";
              coordinates[7][2]="b";
              coordinates[7][3]="q";
              coordinates[7][4]="k";
              coordinates[7][5]="b";
              coordinates[7][6]="n";
              coordinates[7][7]="r";
              for (int i=0;i<8;i++)
                   coordinates[6][i]="p";
              printBoard(coordinates);
              return coordinates;
         public static void update (String coordinates [] [])
              printBoard(coordinates);
         public static void printBoard(String coordinates[] [])
              for (int i=0;i<8;i++)
                   for (int j=0;j<8;j++)
                        System.out.print(coordinates[i][j]);
                   System.out.println();
    }Cheers,
    Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Sorry guys, I got a follow up problem :(
    U:\Server\Server.java:126: incompatible types
    found   : java.lang.String[][]
    required: java.io.PrintWriter
                   out=game.Protocol(coordinates,originMove,destinationMove);
                                    ^
    1 error
    Process completed.What needs changing? Btw, coordinates is the 2D String array
    Cheers,
    Ben

  • Error: Unable to create socket(While using Mail Adapter in receiver side)

    Hi Experts,
    I have tried the File to Mail scenario. While component monitoring the Sender communication is working fine but the receiver communication is giving error like Unable to create socket. Please help me to solve this error.
    Regards,
    Nutan

    HI,
    before using the mail adapter have you specified all the attributes porperly as well as have setup the SMTP Exchange Server address
    For FAQs about the mail adapter, see SAP Note 856599.
    Please read the below thread, it might be helpful/
    SOAP Receiver   java.io.IOException: unable to create a socket
    Thanks
    Swarup

  • [SOLVED] MPD: Failed to create socket

    I've  been attempting to get MPD working today and I'm rather stumped here. I got it to start out of its default directory, however, that denied it access to my music folder. So, I switched all of that to a ~/.mpd folder as the wiki page instructed me (https://wiki.archlinux.org/index.php/Mu … _as_a_User), and for purposes of keeping organized.
    Now, however, I'm getting this error whenever I run "mpd ~/.mpd/mpd.conf"
    Failed to bind to '[::]:6600': Failed to create socket: Address family not supported by protocol
    I remember that happening before, and it had to do with user permissions and so on. I think I set "user" to "mpd" that time. "User" is now set to my user, where the .mpd folder is located. Is there a way to allow mpd to continue?
    EDIT: My mpd.conf is:
    playlist_directory "~/.mpd/playlists"
    db_file "~/.mpd/mpd.db"
    log_file "~/.mpd/mpd.log"
    pid_file "~/.mpd/mpd.pid"
    state_file "~/.mpd/mpdstate"
    user "spencer"
    mixer_type "software"
    audio_output {
    type "alsa"
    name "Sound Card"
    bind_to_address "any"
    Last edited by DrKillPatient (2011-08-05 02:38:35)

    DrKillPatient wrote:
    That worked, thanks. At first it gave "failed to open database" but in subsequent startups it's not doing that-- I suppose it created the file at the first time. audio_output's not defined, I suppose that's up to me to set it? It's autodetected at this point and seems to work fine. Should I leave it that way?
    And out of curiosity, what was changed to fix my error?
    First of all: thanks for testing. my setup creates 2 static hosts, instead of letting mpd autodetect it. sometimes ipv6 detection is prefered and this *can* lead to stuff not working properly.
    Also i use absolute paths, to make sure everything works.
    mpds audio output detection works decently, you can of course enable one in ~/.mpdconf to get rid of the warning.
    Also you had one obvious error: you followed mpds wiki entry to start mpd as user. but you defined a user in mpd.conf. this will not work, since mpd can only drop previlegs to that user, when run as root.
    Oh, please mark this thread as solved.
    Last edited by Rasi (2011-08-05 01:26:43)

  • Timeout when creating socket in EJB

    What is the best way to solve the problem when creating sockets and being dependant
    on the timeout of the JVM. On windows the timeout is approx. 20 seconds. But on
    Solaris the same operation has timeout of more than 200 seconds...
    Socket sock = new Socket(host, port);
    The solution seems to be using threads. But threads are not allowed in EJB's...
    Dows anyone have a solution for this?
    Mala

    Hello Tor,
    Try the following:
    Socket s = new Socket();
    s.connect(socketAddress, timeOut);
    These features are available in J2SE 1.4 and above.
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    "Tor Mala" <[email protected]> wrote:
    >
    What is the best way to solve the problem when creating sockets and being
    dependant
    on the timeout of the JVM. On windows the timeout is approx. 20 seconds.
    But on
    Solaris the same operation has timeout of more than 200 seconds...
    Socket sock = new Socket(host, port);
    The solution seems to be using threads. But threads are not allowed in
    EJB's...
    Dows anyone have a solution for this?
    Mala

  • Creating socket connection error

    My problem is when I have router in local host, my client works fine, but when I move router to an other computer, then creating topic connection gives me error like: error creating socket connection to 127.0.0.1:14001, message: Connection refused: no further information
    (I use port 14001, in local host it works). Why does it dry to connect to localhost? If I put up router in localhost too, it starts sending messages to this one!?
    Anyway maybe this problem might have something to do with changeing the router version (swiftmq1.0 to 2.1.2)?
    Could anyone help me with this one, I'm in big hurry, router and client should work on monday :-(
    Thank You!

    Thanx 4 answer :) neville
    I have the answer allready - just I had to add 1 row in routers properties file, like:
    swiftlet.sys$jms.listeners.plainsocket.bindaddress=192.168.0.1
    It was in the SwiftMQ documentation, but I was to lazy to read all of it. My fault.
    But thanks again for trying to help! And I WILL read that jndi doc.

  • Cannot create socket

    Hello everyone,
    I'm having trouble using the Connector.open method to construct a ServerSocketConnection instance. I use the following code:
    ServerSocketConnection serv = (ServerSocketConnection) Connector.open("socket://:80");
    I get the following exception: "Cannot create socket, //:80"
    I do not think this is a security issue; for one, because I don't get a SecurityException, and secondly because I explicitly ask for permission to use ..Connector.socket, ..Connector.http, and ..Connector.serversocket in the JAD file. I haven't tried signing the midlet suite yet, as this would take quite some time and I'm actually just testing some code. I've also tried using another port (and using "serversocket://:80" instead of "socket://:80", more out of desperation). I have been able to successfully use this method to construct SocketConnection instances, however. Can this be because my particular device (HTC Touch Cruise, with Java VM JBED build 20080428.2.1) simply does not support server socket connections?
    Thanks in advance,
    William

    Hi,<BR>- what is your Analyzer server version?<BR>- what browser do you use and version (IE, Firefox, etc)?<BR>- what JRE version do you use?<BR><BR>Did you set proxy settings?<BR><BR>In IE:<BR>Tools | Internet options | Connections tab | LAN settings | in Proxy server fraime Address inputbox and Port inputbox?<BR><BR>In Firefox:<BR>Tools | Options | General tab | Connection settings button | in Manual proxy configuration option set inpubox Http proxy and port.<BR><BR>Hope this helps,<BR>Grofaty<BR><BR>

  • SmbServer: could not create socket: Address already in use

    When I start SmbServerAgent,
    it fails again and again.
    In SmbServer.log there exists
    "SmbServer: could not create socket: Address already in use,"
    but SmbServer was already shutdown.
    How do resolve such issue? Thanks a lot.
    ergent

    Something else is already using that TCP port.
    BTW you can only re-use a TCP port number if you're binding to a different NIC IP address than the one bound by the previous binder to that TCP port. You're not, so you can't.

  • Is is possible to create Socket using Java Stored Procedures/Function(Ora)?

    Hello Friends,
    Is is possible to create Socket using Java Stored Procedures/Function in Oracle?
    OR
    How I can send a message from oracle to Java Desktop Application which is working like server program?
    Please Guide !!

    J3Ganesh wrote:
    Hello Friends,
    Is is possible to create Socket using Java Stored Procedures/Function in Oracle?No, Oracle was very careful to take that feature out of the JDK provided in Oracle 10/11, but you can buy that feature back for, if I remember correctly, about 5000 dollars. (I actually raised a service request on this and then told my rep what I thought about the answer I received--some thing along the line of money grubbing so and so....)
    How I can send a message from oracle to Java Desktop Application which is working like server program?You can make a table and poll it from time to time from the Java side and write and commit what ever you want to the table. I do not know any way to send a signal from Oracle DB an external Java application--Java or PL/SQL stored procedure.

  • "The key 'LocalizedPerfCounter' does not exist in the appSettings" when creating Socket

    Hi all,
    Some time ago, I've installed the nuGet package for self-hosted signalR applications on a project. Today, I went to start a completely unrelated project, one that does not have that package (or any package at all), and has absolutely nothing to do with owin,
    asp.net, signalR or anything else related to that package.
    Now in this project, when I try to create a Socket, I get an InvalidOperationException: "The key 'LocalizedPerfCounter' does not exist in the appSettings".
    The exception seems to be handled and the program proceeds, but it's annoying.
    Also, I'm seriously concerned. Here I'm not trying to create some arcane ASP.NET thing that calls down into a dozen layers and six different configuration frameworks before actually getting to the TCP stack. I'm doing a plain straight new Socket(AddressFamily.InterNetwork,
    SocketType.Stream, ProtocolType.Tcp).
    How is it possible for a nuGet package that installs unrelated DLLs to another solution entirely to affect something that resides in the basic System.dll? What business does it have interfering with very low-level network calls?

    Hello Zappo,
    For this InvalidOperationException, please check this hotfix to see if you are under those scenario:
    http://support.microsoft.com/kb/2784156
    >> How is it possible for a nuGet package that installs unrelated DLLs to another solution entirely to…
    For this, since it is related with the NuGet, I suggest that you could post it to the NuGet forum,
    https://nuget.codeplex.com/workitem/list/basic
    The current forum is specifical for .NET Framework Class Libraries.
    Discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Discuss and ask questions
    about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
    Thanks&Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • NullPointerException in Nokia when creating socket connection

    I need a socket connection, The following code works well in simulators.
    But in my nokia it throws a NullPointerException,
    st.setText("Trying To Connect");
    try{
    client = (StreamConnection)Connector.open("socket://example.com:6040",Connector.READ_WRITE,true);
    st.setText("Connection Estableshed");
    is = client.openInputStream();
    rt = new ReaderThread(this,is);
    rt.start();
    os = client.openOutputStream();
    wp = new WriterProgram(os);
    }catch(IOException ex){
    st.setText(st.getText()+ex.getMessage());
    I can see "Trying to connect".
    But I never see "Connection Established".
    NullPointerException thrown says nokia.

    Hi,
         If all the users belong to the same role (like all users are Publishers or Writers), then, you can send a single connection key for all the users. But, if users belong to different roles, then, you will have to create connection keys for each role and then send it to the users.
    Hope this helps.

  • How to create success factors csv directory path in sap ?

    Dear Gurus,
    I want to make a directory path for success factors csv exporting in sap. what should i do ? where can i start ? where can i make this directory path like "SFactors" , "E:\SFactors" ?
    Best Regards

    Hi Kemal,
    Is it working right now ? What should i do for RFC user ? Customer talks about rfc user and authorization to folder ? How can i associate with RFC dialog user ? Should i create rfc user ?
    Yes you can now view the contents of the folder SFactors using your ID.
    I can't comment much on the RFC users as I have no clue on your integration scenario. You may refer an example of integration using PI in the link below
    SAP HCM and SuccessFactors BizX Integration Using SAP PI
    If your scenario is as below
    Create a CSV file from SAP and Successfactors can do FTP to the SAP server and pull the file.
    Sol: You need to create a ftpuser on successfactors . Write a script in SAP server to connect to successfactor server using ftpuser. Copy the files from SAP server to Successfactor using ftp commands. No RFC user required here.
    Hope this helps.
    Regards,
    Deepak Kori

  • Creating socket problem

    hi,
    i am new to socket programing.
    i am creating a new socket using
    ' new Socket (InetAddress, portnumber);'
    works fine if the specified ip address is valid but just stops in this line if the specified address is not correct. i need to get exception when the specified ip address is not correct.
    thanks,

    My 2 cents.
    If you open a socket to a bad address, from Java or from elsewhere,
    the failure happens only after a system wide timeout is reached (around 30 sec typically, try to telnet to see what happens). It may well be, I don't know, that native applications can control the timeout, but
    Java cannot. After the delay, there will be an exception. The OP wants
    to shorten the delay, IMHO. The setSoTimeout() does not do the trick,
    it only applies to read(), not to Socket creation. How could we do
    s.setSoTimeout(), if s = new Socket() did not return yet?
    The only solution I can imagine, is to create the Socket on another thread. The first thread will wait( myPreferedTimeout ) for the timeout or a notification of successful/unsuccesful creation from the socket creation thread.

  • Creating connection factories

              Can I create one connection factory for use by queues AND topics?
              

    In BEA WL, you can configure one CF for both purposes and
              cast it to either javax.jms.QueueConnectionFactory or
              javax.jms.TopicConnectionFactory, or use one of the default
              connection factories in the same manner.
              P.S. For a FAQ, and various helpful links, start with
              the JMS technology page on dev2dev:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              P.P.S. The upcoming JMS 1.1 standard provides a javax.jms CF interface
              that works for both topics and queues. See the JMS Programmer's
              guide introduction for info.
              Eric Kaplan wrote:
              > Can I create one connection factory for use by queues AND topics?
              

Maybe you are looking for

  • Error while calling a Webservice from a custom findBy operation

    Hello I have created an External Service by importing a WebService(XI) which is a wrapper for BAPI BAPI_VENDOR_GETDETAIL. Tested the webservice and it works fine. I created an Entity Service Vendor and created 4 attributes vendorNo and companyCode, v

  • How can I sync apps from my iTunes on Macbook Air without syncing apps from the iPad 2 to my Macbook Air?

    How can I sync apps from my iTunes on Macbook Air without syncing apps from the iPad 2 to my Macbook Air? (As my Macbook Air is only 64GB and my iPad is 64GB and that my Macbook Air only has 40 GB left...) Or is there no other way but to sync apps fr

  • Script for moving files and directory to archive

    Hi, I've search the web for good working script to archive my files and folder with no luck. do you have a script that move and preserve the structure of older files and folders that have not been accessed for X days?

  • Cannot install/uninstall/debug my app

    Hi, when I was trying to install my app from Store yesterday, WP8.1 Silverlight app on Lumia 1520 with 8.1 Dev Preview, the installation got stucked and I had to restart my phone. After the restart I can no longer install this app from Store, it alwa

  • MD04 - no red traffic light appearing

    Hi Experts, We are not getting the Red traffic light even though there is no stocks available, It is showing in Yellow color instead of red color, The following has been displaying in MDO4 order tree, for Header material as well as down component, Ex