PQ71078: GLOBALLY SETTING SOCKS PROXY FAILS IN WEBSPHERE 5.0 | |||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Globally setting socks proxy fails in WebSphere 5.0 If globally set the parameters socksProxyHost and socksProxyPort through jvm command line parameters or jvm system parameters then Application Server starts but get the following exceptions in Systemerr.log. java.net.SocketException: SOCKS server cannot connect to identd at java.net.PlainSocketImpl.doSOCKSConnect (PlainSocketImpl.java:262) at java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:155) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:144) at java.net.Socket.<init>(Socket.java:294) at java.net.Socket.<init>(Socket.java:121) at com.ibm.ws.runtime.component.ServerCollaborator.sendStatus (ServerCollaborator.java:271) at com.ibm.ws.runtime.component.ServerCollaborator.sendStatus (ServerCollaborator.java:98) at com.ibm.ws.runtime.component.ServerCollaborator. propertyChange(ServerCollaborator.java:231) at java.beans.PropertyChangeSupport.firePropertyChange (PropertyChangeSupport.java:244) at java.beans.PropertyChangeSupport.firePropertyChange (PropertyChangeSupport.java:171) at java.beans.beancontext.BeanContextChildSupport. firePropertyChange(BeanContextChildSupport.java:226) at com.ibm.ws.runtime.component.ComponentImpl.setState (ComponentImpl.java:105) at com.ibm.ws.runtime.component.ComponentImpl.setStartState (ComponentImpl.java:125) at com.ibm.ws.runtime.component.ServerImpl.start (ServerImpl.java:187) at com.ibm.ws.runtime.WsServer.start(WsServer.java:135) at com.ibm.ws.runtime.WsServer.main(WsServer.java:232) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) Customer also reports the receiving the following exceptions: java.net.ConnectException: Operation timed out: connect java.net.PlainSocketImpl.socketConnect(Native Method) java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:345) java.net.PlainSocketImpl.connectToSocksServer (PlainSocketImpl.java:330) java.net.PlainSocketImpl.doSOCKSConnect (PlainSocketImpl.java:249) java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:155) java.net.PlainSocketImpl.connect(PlainSocketImpl.java:144) java.net.Socket.<init>(Socket.java:294) java.net.Socket.<init>(Socket.java:121) com.ibm.ws.runtime.component.ServerCollaborator.sendStatus( ServerCollaborator.java:271) com.ibm.ws.runtime.component.ServerCollaborator.sendStatus (ServerCollaborator.java:98) com.ibm.ws.runtime.component.ServerCollaborator.propertyChange (ServerCollaborator.java:231) java.beans.PropertyChangeSupport.firePropertyChange (PropertyChangeSupport.java:244) java.beans.PropertyChangeSupport.firePropertyChange (PropertyChangeSupport.java:171) java.beans.beancontext.BeanContextChildSupport. firePropertyChange(BeanCocom.ibm.ws.runtime.component. ComponentImpl.setState(ComponentImpl.java:105) com.ibm.ws.runtime.component.ComponentImpl.setStartState (ComponentImpl.java:125) com.ibm.ws.runtime.component.ServerImpl.start (ServerImpl.java:187) com.ibm.ws.runtime.WsServer.start(WsServer.java:135) com.ibm.ws.runtime.WsServer.main(WsServer.java:232) java.lang.reflect.Method.invoke(Native Method) com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)Local fix Problem summary **************************************************************** * USERS AFFECTED: All runtime users of WebSphere Application * * Server 5.0 * **************************************************************** * PROBLEM DESCRIPTION: Globally setting socks proxy fails in * * WebSphere 5.0 * **************************************************************** * RECOMMENDATION: * **************************************************************** Setting socksProxyHost, socksProxyPort globally throws following exception: java.net.SocketException: SOCKS server cannot connect to identd at java.net.PlainSocketImpl.doSOCKSConnect (PlainSocketImpl.java:262) at java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:155) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:144) at java.net.Socket.<init>(Socket.java:294) at java.net.Socket.<init>(Socket.java:121) at com.ibm.ws.runtime.component.ServerCollaborator.sendStatus (ServerCollaborator.java:271) at com.ibm.ws.runtime.component.ServerCollaborator.sendStatus (ServerCollaborator.java:98) : :Problem conclusion New Socket("localhost", port.intValue()) doesn't work when socksProxyHost is set globally. This needs to be changed as new Socket(InetAddress.getLocalHost(), port.intValue()) .Temporary fix PQ71078_eFix.jarComments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ71078
IBM Group: Software Group
Modified date: Feb 19, 2003
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.