-
Bug
-
Resolution: Fixed
-
P3
-
5.0u4
-
b03
-
x86
-
linux_2.6
java version "1.5.0_04-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-ea-b02)
Java HotSpot(TM) Client VM (build 1.5.0_04-ea-b02, mixed mode, sharing)
=========================================================================
[root@urti022 scratch]# cd /export/updates/1.5.0_04-b02/Reg_Manual/JTwork/scratch
[root@urti022 scratch]# ls
runTest.ksh
[root@urti022 scratch]# ksh runTest.ksh
Staring the test
cp: missing destination file
Try `cp --help' for more information.
cp: missing destination file
Try `cp --help' for more information.
Error .... invalid output
/usr/sbin/chroot: cannot run command `/jdk/bin/java': No such file or directory
========================
Reproducible: Always
=============Detail debug execution ===========================
[root@urti022 scratch]# ksh -x runTest.ksh
+ echo Staring the test
Staring the test
+ JDK_HOME=/export/updates/jdks/jdk1.5.0_04
+ rm -fr /tmp/chroot
+ mkdir -p /tmp/chroot
+ cd /tmp/chroot
+ mkdir jdk lib
+ cp -r /export/updates/jdks/jdk1.5.0_04/COPYRIGHT /export/updates/jdks/jdk1.5.0_04/LICENSE /export/updates/jdks/jdk1
0_04/README.html /export/updates/jdks/jdk1.5.0_04/bin /export/updates/jdks/jdk1.5.0_04/demo /export/updates/jdks/jdk1
0_04/include /export/updates/jdks/jdk1.5.0_04/jre /export/updates/jdks/jdk1.5.0_04/lib /export/updates/jdks/jdk1.5.0_
man /export/updates/jdks/jdk1.5.0_04/sample /export/updates/jdks/jdk1.5.0_04/src.zip jdk
+ > /dev/null
+ 2>&1
+ ldd /export/updates/jdks/jdk1.5.0_04/bin/java
+ awk {print $3}
+ read line
+ cp -f /lib/tls/libpthread.so.0 lib
+ read line
+ cp -f /lib/libdl.so.2 lib
+ read line
+ cp -f /lib/tls/libc.so.6 lib
+ read line
+ cp -f lib
cp: missing destination file
Try `cp --help' for more information.
+ read line
+ ldd /export/updates/jdks/jdk1.5.0_04/jre/lib/i386/client/libjvm.so
+ awk {print $3}
+ read line
+ cp -f /lib/tls/libm.so.6 lib
+ read line
+ cp -f /lib/libdl.so.2 lib
+ read line
+ cp -f /lib/tls/libpthread.so.0 lib
+ read line
+ cp -f /lib/tls/libc.so.6 lib
+ read line
+ cp -f lib
cp: missing destination file
Try `cp --help' for more information.
+ read line
+ /usr/sbin/chroot /tmp/chroot /jdk/bin/java -version
+ > test.out
+ 2>&1
+ grep HotSpot Virtual Machine Error, Internal Error test.out
+ > /dev/null
+ 2>&1
+ [ 1 = 0 ]
+ egrep java version|Runtime Environment, Standard Edition test.out
+ > /dev/null
+ 2>&1
+ [ 1 = 0 ]
+ echo Error .... invalid output
Error .... invalid output
+ cat test.out
/usr/sbin/chroot: cannot run command `/jdk/bin/java': No such file or directory
+ rm -fr /tmp/chroot
###@###.### 2005-04-08 08:04:25 GMT
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-ea-b02)
Java HotSpot(TM) Client VM (build 1.5.0_04-ea-b02, mixed mode, sharing)
=========================================================================
[root@urti022 scratch]# cd /export/updates/1.5.0_04-b02/Reg_Manual/JTwork/scratch
[root@urti022 scratch]# ls
runTest.ksh
[root@urti022 scratch]# ksh runTest.ksh
Staring the test
cp: missing destination file
Try `cp --help' for more information.
cp: missing destination file
Try `cp --help' for more information.
Error .... invalid output
/usr/sbin/chroot: cannot run command `/jdk/bin/java': No such file or directory
========================
Reproducible: Always
=============Detail debug execution ===========================
[root@urti022 scratch]# ksh -x runTest.ksh
+ echo Staring the test
Staring the test
+ JDK_HOME=/export/updates/jdks/jdk1.5.0_04
+ rm -fr /tmp/chroot
+ mkdir -p /tmp/chroot
+ cd /tmp/chroot
+ mkdir jdk lib
+ cp -r /export/updates/jdks/jdk1.5.0_04/COPYRIGHT /export/updates/jdks/jdk1.5.0_04/LICENSE /export/updates/jdks/jdk1
0_04/README.html /export/updates/jdks/jdk1.5.0_04/bin /export/updates/jdks/jdk1.5.0_04/demo /export/updates/jdks/jdk1
0_04/include /export/updates/jdks/jdk1.5.0_04/jre /export/updates/jdks/jdk1.5.0_04/lib /export/updates/jdks/jdk1.5.0_
man /export/updates/jdks/jdk1.5.0_04/sample /export/updates/jdks/jdk1.5.0_04/src.zip jdk
+ > /dev/null
+ 2>&1
+ ldd /export/updates/jdks/jdk1.5.0_04/bin/java
+ awk {print $3}
+ read line
+ cp -f /lib/tls/libpthread.so.0 lib
+ read line
+ cp -f /lib/libdl.so.2 lib
+ read line
+ cp -f /lib/tls/libc.so.6 lib
+ read line
+ cp -f lib
cp: missing destination file
Try `cp --help' for more information.
+ read line
+ ldd /export/updates/jdks/jdk1.5.0_04/jre/lib/i386/client/libjvm.so
+ awk {print $3}
+ read line
+ cp -f /lib/tls/libm.so.6 lib
+ read line
+ cp -f /lib/libdl.so.2 lib
+ read line
+ cp -f /lib/tls/libpthread.so.0 lib
+ read line
+ cp -f /lib/tls/libc.so.6 lib
+ read line
+ cp -f lib
cp: missing destination file
Try `cp --help' for more information.
+ read line
+ /usr/sbin/chroot /tmp/chroot /jdk/bin/java -version
+ > test.out
+ 2>&1
+ grep HotSpot Virtual Machine Error, Internal Error test.out
+ > /dev/null
+ 2>&1
+ [ 1 = 0 ]
+ egrep java version|Runtime Environment, Standard Edition test.out
+ > /dev/null
+ 2>&1
+ [ 1 = 0 ]
+ echo Error .... invalid output
Error .... invalid output
+ cat test.out
/usr/sbin/chroot: cannot run command `/jdk/bin/java': No such file or directory
+ rm -fr /tmp/chroot
###@###.### 2005-04-08 08:04:25 GMT