Swing-EJB-Cisco-JBoss

Rajarshi Ghosh <[email protected]>
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
Hello,

My problem is something like this:

Client: Swing (connects to EJB Session Bean)
Server:JBoss-2.4.3_tomcat-3.2.3

There is a login page for swing client. When the client enters the
username and password and press submit then the application connects to
the JBoss server and check the validitity of username and password from
the database.

Now this works fine with normal scenario.

But I am having a scenarion like this:

The Client is in remote location. In client machine the server to
connect is given as 192.168.0.167(where JBoss is running). When client
press submit button the request first comes to 203.135.136.2 (which is
having firewall and router). This 203.135.136.2 machine intercept the
client call and redirects the call to 192.168.0.167 through a CISCO PIX
router. Here I am getting

"javax.naming.Communication Exception:conncet exception:Connection
refused to host:192.168.0.167......"though the JBoss server is running
in 192.168.0.167 machine and the CISCO router is redirecting the call
efficiently. I have opened port 1099,4444,2744 but the problem remains.
Please let me know if anyone having solution to this. Its very urgent
for me.

203.135.136.2 - is exposed in internet

192.168.0.167 - is not exposed to internet,its in LAN

uses DHCP.

Thanks,

Rajarshi Ghosh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.