-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1_01a
-
beta
-
generic
-
solaris_9
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2064129 | 5.0 | Bruce Murphy | P3 | Closed | Fixed | tiger |
###@###.### 2003-01-28
This is found by an external customer during s9u3 Beta program and I was able to duplicate this on a sun4u system and this is the install configuration:
Arch: sun4u
OS: s9u3_03
Install method: Install from the S9 u3 1 of 2 CD
Install Cluster: SUNWCuser
The customer do a custom install in Command Line Mode and removed X11, Opneinwdows and CDE. The system installs and then reboot to continue the install, but it fails and this is the complain:
Starting Web Start Launcher in Command Line Mode.
java.lang.UnsatisfiedLinkError: /usr/j2se/jre/lib/sparc/motif21/libmawt.so:
ld.so.1: /usr/java/bin/java: fatal: libXt.so.4: open failed: No such file or
directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1368)
at java.lang.Runtime.load0(Runtime.java:737)
at java.lang.System.load(System.java:809)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1389)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:507)
at
com.sun.wizards.core.WizardTreeManager.createWizardPanel(WizardTreeManager.java:
811)
at
com.sun.wizards.core.WizardTreeManager.<init>(WizardTreeManager.java:275)
at
com.sun.wizards.core.CommandLineConsole.run(CommandLineConsole.java:78)
at java.lang.Thread.run(Thread.java:536)
The Webstart launcher has terminated unexpectedly.
The Webstart launcher will restart following a system reboot.
Press the Return key and a system reboot will
take place on your machine.
I was able to reproduce the problem from the s9u3 1 of 2 image with the following jumpstart profile
# more custom4u
install_type initial_install
system_type standalone
filesys rootdisk.s0 free /
filesys rootdisk.s1 512 swap
cluster SUNWCuser
cluster SUNWCdtusr delete
cluster SUNWCdtrun delete
cluster SUNWCdtrunx delete
cluster SUNWCown delete
cluster SUNWCxwrte delete
cluster SUNWCxwrtx delete
cluster SUNWCpmow delete
cluster SUNWCutf8 delete
cluster SUNWCutfx delete
cluster SUNWCns delete
package SUNWxwcft delete
package SUNWsregu delete
package SUNWdtnsc delete
# add the SUNWman package since this is on the 2 of 2 CD
package SUNWman add
# pfinstall -D /tmp/custom4u > /tmp/profile.out
#
Note that there is no complain about missing dependency files. However, the install does fail.
After some additional testing, I found out that I needed an additional 3 X Server packages in order for Java to run in Command line mode:
SUNWxwrtl
SUNWxwice
SUNWxwplt
If you look at the depend file of SUNWj3rt, it does not list any of these packages as a dependency and they should be added:
P SUNWcar Core Architecture, (Root)
P SUNWkvm Core Architecture, (Kvm)
P SUNWcsr Core Solaris, (Root)
P SUNWcsu Core Solaris, (Usr)
P SUNWcsd Core Solaris Devices
I SUNWjvthr JDK 1.3 thread library
P SUNWmfrun Motif RunTime Kit
P SUNWlibC Sun Workshop Compilers Bundled libC
After I updated the jumpstart profile to the following, it works fine:
# more custom4utest
install_type initial_install
system_type standalone
filesys rootdisk.s0 free /
filesys rootdisk.s1 512 swap
cluster SUNWCuser
cluster SUNWCdtusr delete
cluster SUNWCdtrun delete
cluster SUNWCdtrunx delete
cluster SUNWCown delete
cluster SUNWCxwrte delete
cluster SUNWCxwrtx delete
cluster SUNWCpmow delete
cluster SUNWCutf8 delete
cluster SUNWCutfx delete
cluster SUNWCns delete
package SUNWxwcft delete
package SUNWsregu delete
package SUNWdtnsc delete
package SUNWman add
#
# This is needed by SUNWj3rt in order to run
#
package SUNWxwrtl add
package SUNWxwice add
package SUNWxwplt add
# pfinstall -D /tmp/custom4utest > /tmp/profile.out1
#
If I go ahead and do the install from the S9u3 1 of 2 CD, it works:
syslog service starting.
/etc/mail/aliases: 12 aliases, longest 10 bytes, 138 bytes total
Starting Web Start Launcher in Command Line Mode.
Please specify the media from which you will install Solaris 9 Software 2 of 2
(4/03 SPARC Platform Edition).
Alternatively, choose the selection for "Skip" to skip this disc and go on to
the next one.
Media:
1. CD/DVD
2. Network File System
3. Skip
Media [1]: 2
Please specify the path to the network file system from which you will install
Solaris 9 Software 2 of 2 (4/03 SPARC Platform Edition).
Example: server:/path_to_install_area
If you do not wish to install at this time, enter S to skip.
To select a different media, enter B to go Back.
[] ins3525-svr:/export/s9u3/solaris2of2.s9s_u3wos/latest
Launching installer for Solaris 9 Software 2 of 2 (4/03 SPARC Platform
Edition). Please Wait...
Installing Solaris 9 packages (part 2)
|-1%--------------25%-------------50%-----------------75%--------------100%|
Installation details:
Product Result More Info
1. Solaris 9 packages (part 2) Installed Available
2. Done
Enter the number corresponding to the desired selection for more
information, or enter 2 to continue [2]:
<Press Return to reboot the system> {"!" exits}
[]
- backported by
-
JDK-2064129 SUNWj3rt problem with install in S9u3 due to missing Xsever packages.
-
- Closed
-