[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OmniNetworking on Solaris..beware of the NSTask problem
Hi,
thanx to everybody who helped us to get OmniNetworking for Solaris
as quickly as possible. Its a great community.
But we ran into a serious problem that you should be aware of.
Description:
Under WebObjects 3.51 on Solaris/HPUX the NSTask class does not
perform as expected (=is seriously broken). Since OmniNetworking uses
a seperate process to perform the hostname lookups this will cause
bizzare effects.
- If you run the application normally it will _hang_ while waiting
for the reply of the lookup process.
- If you sleep( someseconds ) after a ONHost lookup it will most
likely work.
- If you run the app under gdb and step over the lookup it will work
- If you run the application under "truss"s control it will work.
Workaround:
Gladly OmniNetworking does not use this external task if the
hostname string is an IP address. So use the "dot"-notation IP syntax
for your hostnames when you need ONHost on Solaris.
Aloha
Tomi