This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- StackOverflow error while installing VMPack on Solaris
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 10, 2014
04:42 AM
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 ???
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 ???
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 21, 2015
05:22 AM
I am facing the same probelm
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)