APAR status
Closed as program error.
Error description
In a tunneling scenario, the client app is not always be able
to resolve the hostname of app servers that lie within the
firewall. If the PROVIDER_URL of a client is not resolveable to
the client, the following error is thrown (even though the same
code works with security disabled):
java.net.UnknownHostException: xxxxxxxxxx
at java.net.InetAddress.getAllByName0(InetAddress.java:591)
at java.net.InetAddress.getAllByName0(InetAddress.java:560)
at java.net.InetAddress.getByName(InetAddress.java:469)
at
com.ibm.CORBA.transport.TransportBase.getHostIPAddress(Transport
Base.jav
a:104)
at
com.ibm.rmi.iiop.TransportManager.getHostIPAddress(TransportMana
ger.java
:175)
at com.ibm.rmi.Profile.getHostIPAddress(Profile.java:405)
at
com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterc
eptor$2.
run(SecurityConnectionInterceptor.java:1316)
at java.security.AccessController.doPrivileged(Native Method)
at
com.ibm.ISecurityLocalObjectBaseL13Impl.SecurityConnectionInterc
eptor.ge
tConnectionKey(SecurityConnectionInterceptor.java:1312)
at
com.ibm.ws.orbimpl.transport.WSTransport.getConnection(Unknown
Source)
at
com.ibm.CORBA.transport.TransportBase.getConnection(TransportBas
e.java:1
58)
at
com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:83)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:174)
at com.ibm.rmi.corba.Corbaloc.locateUsingINS(Corbaloc.java:305)
at com.ibm.rmi.corba.Corbaloc.resolve(Corbaloc.java:367)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:2929)
at
com.ibm.ws.naming.util.WsnInitCtxFactory.stringToObject(WsnInitC
txFactor
y.java:1256)
at
com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(Ws
nInitCtx
Factory.java:1107)
at
com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServe
r(WsnIni
tCtxFactory.java:679)
at
com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnI
nitCtxFa
ctory.java:607)
at
com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextIntern
al(WsnIn
itCtxFactory.java:482)
at
com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102
)
at
com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.ja
va:408)
at
com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at
lda.client.AtFaultService.instantiateEjb(AtFaultService.java:352
)
at
lda.client.AtFaultService.initService(AtFaultService.java:307)
at java.lang.reflect.Method.invoke(Native Method)
at lda.client.AtFaultService.dispatch(AtFaultService.java:130)
at lda.client.AtFaultService.main(AtFaultService.java:390)
Local fix
Add the hostname of the unresolvable host to the hosts file of
the client
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users who are *
* enabling HTTP tunneling with a firewall. *
****************************************************************
* PROBLEM DESCRIPTION: In a tunneling scenario, the client *
* app is not always be able to resolve *
* the hostname of application servers *
* that are behind the firewall. If the *
* PROVIDER_URL of a client is not *
* resolveable to the client, *
* java.net.UnknownHostException *
* exception is thrown. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
In a tunneling scenario, the client app is not always be able
to resolve the hostname of app servers that lie within the
firewall. If the PROVIDER_URL of a client is not resolveable to
the client, the following error is thrown (even though the same
code works with security disabled):
java.net.UnknownHostException: xxxxxxxxxx
at java.net.InetAddress.getAllByName0(InetAddress.java:591)
at java.net.InetAddress.getAllByName0(InetAddress.java:560)
at java.net.InetAddress.getByName(InetAddress.java:469)
The reason is an attempt is made to resolve the hostname to an
IP address.
Problem conclusion
If the IP address cannot be resolve, the hostname is now used
instead.
Temporary fix
Sent a test fix to customer
Comments
APAR information |
APAR number |
PQ90107 |
Reported component name |
WAS NETWRK DEPL |
Reported component ID |
5630A3601 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-06-14 |
Closed date |
2004-06-29 |
Last modified date |
2004-06-29 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|