Operating System - HP-UX
1833189 Members
2853 Online
110051 Solutions
New Discussion

Proxy server, with java not run?

 
Francesco_13
Regular Advisor

Proxy server, with java not run?

Hi,
i have a hp-ux 11 and i can outgoing with netscape to internet. I have configured a proxy server in the browser.
When i try to configure a java program with oracle Jdeveloper and i pass this parameter to host(the same that i have in the browser):
properties.put(m_httpConnection.PROXY_HOST, "192.168.xx.xx");
properties.put(m_httpConnection.PROXY_PORT, "8080");

I cannot connet to destination, beacuse not connect before to proxy.
Any idea?
Thanks.
Best regards.
Francesco

5 REPLIES 5
Steve Steel
Honored Contributor

Re: Proxy server, with java not run?

Hi


see

http://devtrends.oracle.com/code/activedb/


There is a lot there


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Steven E. Protter
Exalted Contributor

Re: Proxy server, with java not run?

Many of todays firewalls are stateless and do not require a connection to the proxy server. Can you access the net without using the proxy server?

If not, can you ping the proxy server?

If not, perhaps its a network configuration issue such as default gateway.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Francesco_13
Regular Advisor

Re: Proxy server, with java not run?

Hi,
yes i can do it a ping without problem:

# ping 192.168.10.13
PING 192.168.10.13: 64 byte packets
64 bytes from 192.168.10.13: icmp_seq=0. time=1. ms
64 bytes from 192.168.10.13: icmp_seq=1. time=1. ms
64 bytes from 192.168.10.13: icmp_seq=2. time=0. ms

and telnet too!!:

# telnet 192.168.10.13 8080
Trying...
Connected to 192.168.10.13.
Escape character is '^]'.

But when passinng this in java code..not run!.

Thanks.
Best regards.
Francesco
Francesco_13
Regular Advisor

Re: Proxy server, with java not run?

Hi,
this it's my default gateway:

outing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
efault 132.160.146.90 UG 0 0 lan0 1500

Regards.
Francesco
Francesco_13
Regular Advisor

Re: Proxy server, with java not run?

Thanks!