cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ashu0017
Level 2

StackOverflow error while installing VMPack on Solaris

Hello,

When VM pack was installed, then we got the below exception.


Exception in thread "installer" java.lang.StackOverflowError
at java.util.LinkedHashMap.access$000(LinkedHashMap.java:147)
at java.util.LinkedHashMap$Entry.recordAccess(LinkedHashMap.java:354)
at java.util.LinkedHashMap.get(LinkedHashMap.java:304)
at java.io.ExpiringCache.entryFor(ExpiringCache.java:102)
at java.io.ExpiringCache.get(ExpiringCache.java:77)
at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:152)
at java.io.File.getCanonicalPath(File.java:618)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)
at com.zerog.common.java.io.FileUtil.deleteRecursively(DashoA10*..)


This exception occurs when InstallAnyWhere is deleting the *.tmp files. In this directory there was below soft link in some directory -

ThirdParty/java/ia_jre_extraction_dir_3069.tmp/jre/bin/sparcv9# ls -lrt
total 0
lrwxrwxrwx 1 sxk1 rnd 1 Nov 9 22:37 bin -> .


On deleting this soft link it falls in the infinite loop. So is there any patch available to this fix.

Second Point -

When the VM pack is installed then there are some mv command are used in solaris,

echo "InstallUnixJRE Script begun..."
cd '$SOURCE_PATH/ia_jre_extraction_dir_2327.tmp'
tar xf '/tmp/install.dir.16661/Solaris/resource/vm.tar'
mv -f '$SOURCE_PATH/ia_jre_extraction_dir_2327.tmp/jre/'* '$DEST_PATH/jre1.7.0'
chmod -R '775' '$DEST_PATH/jre1.7.0'
echo "...InstallUnixJRE Script complete."

if we are going to install jre on the same path again and previous exist then we got the move command error mv cannot rename:Is a directory, because we are passing multiple directories in one go to a destination directory and there exist directory with same name.

Both problems are related to each other.

If move command can be made successful then directory removal will also be successful, because in that case soft link will not be there.

Anyone can help on this ???
Labels (1)
0 Kudos
(1) Reply
NewCorp505
Level 2

I am facing the same probelm
0 Kudos