UnknownhostException in 32 bit Java 6 on 64 bit Ubuntu 8.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The problem occurs only when using 32-bit java on 64-bit Ubuntu8.04. The same version of 32-bit Java run on a 32-bit Ubuntu 8.04 runs fine, and so does the same version of 64-bit Java run on a 64-bit Ubuntu 8.04.
Case 1: 32 bit Ubuntu 8.04 (succeeds)
Ubuntu 8.04:
mark@devserver:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
32 bit Ubuntu:
mark@devserver:
Linux mv-dev-markp 2.6.24-22-386 #1 Mon Nov 24 17:51:53 UTC 2008 i686 GNU/Linux
Java version:
mark@devserver:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
This command runs normally:
mark@devserver:
[...]
13:56:24,488 INFO RequestHandler:268 - Request queue is empty for pubid='TestPubId'
=======
Case 2: 64 bit java on 64 Ubuntu 8.04 (succeeds)
Ubuntu 8.04:
root@server1:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
64 bit Ubuntu:
root@server1:
Linux sj-stage-cp1 2.6.22-14-server #1 SMP Tue Feb 12 03:10:53 UTC 2008 x86_64 GNU/Linux
Java version:
root@server1:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
This command runs normally:
root@server1:
[...]
14:05:31,934 INFO RequestHandler:268 - Request queue is empty for pubid='TestPubId'
=======
Case 3: 32 bit java on 64 Ubuntu 8.04 (FAILS)
Ubuntu 8.04:
root@server1:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
64 bit Ubuntu:
root@server1:
Linux sj-stage-cp1 2.6.22-14-server #1 SMP Tue Feb 12 03:10:53 UTC 2008 x86_64 GNU/Linux
Java version:
root@server1:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
root@server1:
/usr/bin/java32
root@server1:
lrwxrwxrwx 1 root root 37 2008-07-10 20:32 /usr/bin/java32 -> /usr/lib/
This command FAILS:
root@server1:
[...]
14:09:49,794 ERROR RequestHandler:1642 - EXCEPTION: queue.amazonaws
Exception in thread "main" java.lang.
at clipmgr.
at clipmgr.
at clipmgr.
Caused by: com.xerox.
at com.xerox.
at com.xerox.
at com.xerox.
at com.xerox.
at clipmgr.
... 2 more
Caused by: java.net.
at java.net.
at java.net.
at java.net.
at com.sun.
at com.sun.
at com.sun.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at com.xerox.
at com.xerox.
... 6 more
FWIW, I was able to work around it by installing lib32nss-mdns. See bug 220530