Do we need two ports for establishing one connection to EJB from swing clie

Hi all,
I have an application which uses Java Swing client and accesses an EJB to connect to the server.
I am connecting to the EJB using iiop://server-ipaddress:port.
It is required for me to open the firewall to access the above specified ip address and port number. Even though, I am able to access the specific ip address and port number, I am not able to establish the connection.
I tried out to check the porblem and I came to know that, this aplication is trying to open another port also on the same IP address.
I am just wondering whether we need two ports for one connection.
Does anybody face this type of problem?

If you need to access on two ports, you would have to open both :)

Similar Messages

  • Do we need to create two zones for Two HBA for a host connected with SAN ?

    Hi,While creating Zone , Do we need to create two zones for Two HBA for a host connected with SAN ? Or a zone is enough for
    a host which having Two HBAs...We have two 9124s for our SAN fabric...
    As I found like one zone  below, I little bit confused that , if a host having two HBA connected with SAN, should I expect two zones for every Host?
    from the zone set, I gave the command show zoneset
    zone name SQLSVR-X-NNN_CX4 vsan 1
        pwwn 50:06:NN:NN:NN:NN:NN:NN
        pwwn 50:06:NN:NN:NN:NN:NN:NN
              pwwn 10:00:NN:NN:NN:NN:NN:NN
    But I found only one zone for the server's HBA2:by the same time in the fabric I found switches A & B showing the WWNs of those HBAs on its
    connected N port...Its not only for this server alone, but for all hosts..Can you help me to clarify on this please..that should we need to create one zone for
    one HBA?

    if u have two independent fabrics between hosts and storage, i think the below confs are recommended.
    Scenario 1:  2 HBAs single port each ( redundancy across HBA / Storage port )
    HBA1 - port 0 ---------> Fabric A ----------> Storage port ( FAx/CLx )
    HBA2 - port 0 ---------> Fabirc B ----------> Storage port ( FAy/CLy )
    Scenario 2: 2 HBAs of dual port each
    HBA1 - port 0 -------> Fabric A ---------> Storage port ( FAx/CLx )
    HBA2 - port0 ---------> Fabric A ---------> Storage port ( FAs/CLs )
    HBA1 - port 1 --------> Fabric A --------> Storage port ( FAy/CLy )
    HBA2 - port 1 ---------> Fabric B --------> Storage port ( FAt/CLt )
    the zone which is in your output is VSAN 1. if its a production VSAN, Cisco doesn't recomends to use VSAN 1 ( default vsan ) for production.

  • SQL*Plus two fetches for getting one row.

    Hi all.
    I have tested following script.
    alter session set events '10046 trace name context forever, level 12';
    select * from dual;And achieved such results (extract from .trc file).
    SQL*Plus: Release 11.2.0.1.0; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          0          0           1
    total        4      0.00       0.00          0          0          0           1SQL*Plus: Release 8.1.7.0.0; (Oracle Version 8.1.7.0.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          1          4           1
    total        5      0.00       0.00          0          1          4           1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          0          0           1
    total        3      0.00       0.00          0          0          0           1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 8.1.7.0.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          1          4           1
    total        3      0.00       0.00          0          1          4           11) I can't figure out why sqlplus does TWO fetches for getting ONE row (instead of pl/sql developer).
    8i raw trace
    PARSING IN CURSOR #1 len=31 dep=0 uid=0 oct=3 lid=0 tim=0 hv=3549852361 ad='4a0155c'
    select 'hello world' from dual
    END OF STMT
    PARSE #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
    BINDS #1:
    EXEC #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
    WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
    FETCH #1:c=0,e=0,p=0,cr=1,cu=4,mis=0,r=1,dep=0,og=4,tim=0
    WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
    FETCH #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=0
    WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
    WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
    STAT #1 id=1 cnt=1 pid=0 pos=0 obj=195 op='TABLE ACCESS FULL DUAL '11g raw trace
    PARSING IN CURSOR #3 len=30 dep=0 uid=96 oct=3 lid=96 tim=1581355246985 hv=1158622143 ad='b8a1bcdc' sqlid='5h2yvx92hyaxz'
    select 'hello world' from dual
    END OF STMT
    PARSE #3:c=0,e=130,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355246984
    EXEC #3:c=0,e=40,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355247154
    WAIT #3: nam='SQL*Net message to client' ela= 7 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247252
    FETCH #3:c=0,e=18,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=1388734953,tim=1581355247324
    STAT #3 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)'
    WAIT #3: nam='SQL*Net message from client' ela= 193 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247735
    FETCH #3:c=0,e=2,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=1388734953,tim=1581355247800
    WAIT #3: nam='SQL*Net message to client' ela= 5 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=15813552478552) Is there any possibility to view data provided by each fetch?
    Thanks in advance!
    P.S.
    SQL> sho arraysize
    arraysize 15

    Thanks.
    I have tested two statements.
    select 'hello world' from dual where 1=1;
    select 'hello world' from dual where 1=0;When query returns no data, there is only one SQL*Net roundtrip (and one fetch)
    SQL> set autot on statistics
    SQL> select 'hello world' from dual where 1=1;
    'HELLOWORLD
    hello world
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            528  bytes sent via SQL*Net to client
            492  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    SQL> select 'hello world' from dual where 1=0;
    no rows selected
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            329  bytes sent via SQL*Net to client
            481  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processedBut in both cases i found in client trace this sequence of bytes:
    ] nsprecv: 00 00 36 01 00 00 00 00  |..6.....|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 90 19 43 13 00 00  |....C...|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 19 4F 52 41 2D 30  |...ORA-0|
    ] nsprecv: 31 34 30 33 3A 20 6E 6F  |1403:.no|
    ] nsprecv: 20 64 61 74 61 20 66 6F  |.data.fo|
    ] nsprecv: 75 6E 64 0A              |und.    |In first case - it was in 2nd packet and in second case (query returns no data) - part of 1st packet.

  • Two Datasources pointing to one connection pool...

    Hi All,
    I have heard you should not have two datasources pointing to one connection pool that each datasource should have it's own pool. What type problems would occur if you did that in WLS 8.1? I heard in 9.2 and above you are not allowed to do that and I suspect it is because of some issue doing many (datasources) to one (connection pool).
    Any comments about this?
    Thanks,
    -Tony

    Hi Hector
    Could you refer the SCN & SAP links
    SAP WEB Dispatcher and DMZ
    Access SAP Webgui and Portal Through Internet Using Web dispatcher
    https://help.sap.com/saphelp_nwce10/helpdata/en/48/8fe37933114e6fe10000000a421937/frameset.htm
    SAP Web Dispatcher - SAP Library
    BR
    SS

  • I have two kinds of songs. one kind is buying from itune store, and the other kind is burning from CD. i got a new 5s, but it only shows the songs that i buy in itune but not the one that from the cds

    i have two kinds of songs. one kind is buying from itune store, and the other kind is burning from CD. i got a new 5s, but it only shows the songs that i buy in itune but not the one that from the cds

    Are the ones from the CD's on iTunes? You may just have to sync them over to the phone.

  • Need design Docs for Business One.

    HI All,
    Background: I  am from a SCM background and wanted to familiarize myself with SCM software of SAP specifically for the SMB market.
    What I want to learn: As mentioned above, the SCM solution of SAP for SMB market...all modules related to WM (Warehouse Management).
    My interest in Architecture/Application: Both - technical as well as functional aspects of the SCM with a focus on WM.
    From my perspective for SCM all modules of WM - Receiving, Putaway, Wave, Cross-Docking etc.
    Will it be possible for you to assist me find some relevant documents/ppts regarding the same?
    Thanks in advance,
    Harsh.

    Hello Harsh,
    Good to learn about your interest in knowing the WM side of SAP B1.
    SAP Business One (out of the box) does not really have a WM / WMS module to handle the different aspects of the warehouse function.
    This is being supplimented by a few Add-ons which provide this functionality to SAP B1.
    RadioBeacon is one such addon from a company called Accellos based out of Toronto, Canada.
    CitiXsys also has a WMS solution for Business One and that apart there are a few.
    Pretty much all software would handle the basic WMS functions of Receiving, Putaway, Picking, Cross dock, Replenishment etc.
    Unless you work with the specific Addon you would not have anything to learn on the SCM / Logistics / WMS side right out of Business One.
    Let me know if you need more details
    Suda

  • WLS 7 - need separate port for console

    Hi,
    I can't find way to configure this for the life of me. Hopefully
    someone can point me to some docs and page numbers...
    I want to configure the WLS 7 server to host my web applications on
    port 80, but I want the administration console hosted on a
    different port (say 7001).
    How do I do this??

    Wayne W. Scott wrote:
    David Orriss, Jr. wrote:
    Hi,
    I can't find way to configure this for the life of me. Hopefully someone can point
    me to some docs and page numbers...
    I want to configure the WLS 7 server to host my web applications on port 80, but I
    want the administration console hosted on a different port (say 7001).
    How do I do this??
    Use the console. The default port for the admin console is 7001.
    Try going to support.bea.com and in the box next to the "Ask" button,
    enter "weblogic server 7.0 console port configuration". Several hits
    will lead to
    relevant parts of the documentation.
    http://e-docs.bea.com/wls/docs70/ConsoleHelp/servers.html#1116254
    I'll check other sources.
    Wayne Scott
    Port 80 is quite special. I was about to caution you about using it,
    but wanted to get some details first.
    /wws
    ====
    http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=3db72aac%40newsgroups.bea.com
    It complains because on Unix-es only priv user (root) can listen on ports <1000.
    You can start it as 'root' and configure WLS to change uid/gid to a non-priv
    user after binding to port 80 (using console it is in Unix Machine configuration).
    "mucucu" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Our Weblogic 6.1 SP3 on HP-UX 11 works fine on port 7001.
    >
    > In the console, we changed the port to port 80 and shut it down. When we tried
    > to restart WLS, it refused to start complaining that port 80 was already used
    > by another process. This is what the log said :
    >
    > ===================================
    > ..
    > <Oct 23, 2002 1:51:31 PM EDT> <Emergency> <WebLogicServer> <Unable to create a
    > server socket for port: 80. java.net.BindException: Permission denied Perhaps
    > another process is using port 80.>
    > <Oct 23, 2002 1:51:31 PM EDT> <Emergency> <WebLogicServer> <The WebLogic Server
    > is no longer listening for connections. You should probably restart it.>
    > <Oct 23, 2002 1:51:31 PM EDT> <Alert> <WebLogicServer> <Server shutdown has been
    > requested by system>
    > <Oct 23, 2002 1:51:31 PM EDT> <Alert> <WebLogicServer> <The shutdown sequence
    > has been initiated.>
    > ..
    > ====================================
    >
    > Port 80 is not used by any process on the box where WLS is (no web server).
    >
    > First question is : How to start WLS on port 80 ?
    >
    > Second question : If it is not possible to start WLS on port 80 for whatever
    > reason, how do we go back to the default 7001 ? (We can not do it from the console
    > because WLS refuses to start in the first place. So, is there a way to manually
    > change the port in one of the properties or config file, and what file is it ?)
    >
    Dimitri

  • Wired port cannot establish TCP connections

    I have come across an error that I have so far been unable to solve via google/searching forums.
    From time to time, the wired port loses the capability to establish TCP connections. I can ping fine, I can resolve names fine indicating that at least UDP 53 is working. It's impossible to complete a three way handshake for any TCP connection, be it SSH, HTTP, FTP or anything else. This happens randomly after a network connection has been working fine for days. The Internet Connection Wizard claims everything is peachy as it probably just performs a ping to some site.
    A reboot does not fix the problem - what does fix it is unplugging the cable, changing to wireless and associating with a network, opening a connection, then shutting down AirPort again and plugging the cable back in. Just replugging without establishing a TCP connection via AirPort does not work.
    Is there anything I am missing here? Should I be contacting an Apple Store to talk about repairs/replacements?
    Thanks for your time and consideration, if there's any other information needed to make light of the problem, I will post it as soon as I see the request. Unfortunately, I cannot produce the problem at will and have so far neglected running a traffic sniffer to look at exactly what is happening on a packet level - tho "telnet server 80" times out when "ping server" works fine.

    Well, I have gotten the FMS on Windows to work via my basic client app (via localhost in the NetConnection call). Taking the same SWF and specifying the external IP of the Windows machine doesnt work.
    So I am kind of back to square one.
    I made sure that the default Adaptor is bound to any IP (using ":1935,80" in the default Adaptor.xml HostPort tag). So FMS should be bound to all network interfaces.
    Just to clarify: FMS is running in "development" mode. Does that mode prevent external connections?

  • SSIS - Insert into two different databases, with one Connection Manager

    I need to use one Connection Manager for a flat file, and one Connection Manager to SQL, to do the following.
    Read from flat file to database X
    Select from database X and Insert to database Y
    Both databases are on the same instance/server.
    I see that the OLE DB Destination Editor has a SQL Command option, although I can't find instructions on how to use it for an insert.
    Or is there anyway to accomplish what I need??
    Thanks!
    -Al H

    If X and Y are on different servers, you can possibly use a single OLEDB connection if the servers are already linked, as in Linked Servers. Then you can use an Execute SQL Task for an INSERT...SELECT using four-part naming convention i.e. [Server].[Database].[Schema].[Object]
    If both X and Y are on the same server then you can use a single connection and use three-part naming convention i.e. [Database].[Schema].[Object] in your INSERT statement.
    Otherwise you can plan to have three connections -
    Flat File connection for the text file
    OLEDB connection for database X
    OLEDB connection for database Y
    1 and two to load the text file to X. Then 2 and 3 to move data from X to Y.
    - Aalamjeet Rangi | (Blog)

  • I need to forward two ports for a DVR HOW DO I DO THAT?

    I need to forward port 80 and port 6036 to a security camera DVR and I just cant find the way to do it

    Please check out the following AirPort User Tip for details on configuring port mapping on AirPort routers.

  • I need to carry two iphones for work - one with a UK sim card and one with a Spainsih sim card. Can I REPLICATE contetn across two devices from one itunes account

    Hi there, is it possible to replicate the content of one iphone on a UK sim card to anotehr iphone with a Spanish sim card and carry both devices, actice, for my work purposes?

    certainly.  Synch one of your phones to iTunes.  Then restore the other phone from the first phone's backup.

  • I need two separate accounts. One for my grandson and one for my iPad so we can FaceTime each other

    I want to be able to FaceTime my grandson from my iPad to his iPod.  We are both set up under the same itune account.  How do I create a separate account for him?

    I recommend that you
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Use the new ID on her iPod but only for:
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    and Settings>iCloud if you want her to have separate Contacts Calendar and some other things.    
    Continue to use the same/common Apple ID for Settings>iTunes and App stores so you can share purchases.

  • I need two itunes libraries on one computer

    Hi,
    I have two iphones, an ipad, and a imac.  I have downloaded my music to my iphone, and imac.  My girlfriend has an ipad and iphone with songs put on it from another pc. How do we have two itunes libraries on our imac that we can both use.
    Thanks
    Brad

    How to use multiple iPods, iPads, or iPhones with one computer

  • I need an expert for this one...please help!

    See if you can follow me...
    My mom has an OLD imac-that she has boosted with memory-and upgraded to OS 10.3
    I have a new intel IMAC...with isight.
    I have tried to use the isight camera in imovie-to record the kids and send her little quicktime clips.
    She has quick time 7-no matter what she does-she gets only audio, not video and it says that she is missing something that quicktime needs?
    I can't find it, and after reinstalling it several times i have given up. Is it possible for her to ever watch these movies?
    Sounds like a video card issue-am I on the right track? Would an older version of quick time work.
    Please help a grandma see her grandkids!!

    H.264 requires QuickTime 7. The error message (missing components) proves to me that she is using an older version of QuickTime.
    Not necessarily. If Mom has a G3 iMac, it's not going to be able to play H.264 movies (they require a G4 processor or better) and so may be reporting a missing component because the H.264 component won't run on her G3, not because it's a true "missing" component.
    Regards.

  • I need two JRE for two web sites different

    Hi, I need access to http://example1.com site with jre 1.5_10 and I need access to http://example2.com other site with jre 1.5_11 it because tha apps doesn't work with other jre
    how I can solve this problem, please help me it's very important for me and my company.

    [http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html#embed|http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html#embed]

Maybe you are looking for

  • WRT54G (v7) reboots when notebook connects

    Hey folks! I really have a weired issue here... My WRT54G (Version 7) was running just perfect for a couple of years already... I've bough a new Netbook recently and when this netbook connects to the router it takes about 10 seconds and the WRT54G re

  • Error 1321 while installing Adobe Reader X (10.0.1)

    I couldn't find the answer in previous discussions:  I have Vista and have just tried to install the new Reader.  I've turned off the McAfee firewall and antispam, used both Firefox and IE browsers, and grant permission to "Continue" when asked by Vi

  • Digital Signatures - Enterprise

    Hello, My company owns 55 licenses of Adobe Acrobat Standard for Windows version 9.4.5. I want to be able to have all of my employees digitally sign documents. I figured out the process thanks to online documentation. The cert is self-signed so it co

  • Microsoft word documents and removing policy.

    Can DocumentManger class can be used to remove security policy from secured Microsfot word docuemnts. Or protable protection library is the only way to deal with Microsoft word documents? I want my application to remove the strip off all security inf

  • User-Specific Report Variants

    Hi, is there an easy way to assign a user-specific report variant without modifying the report or create own transactions. For example by assigning the report variant somehow to the user-parameter? Thanks for your help, Andreas