File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic on linux installation problem

 
Angel Carrillo
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a mandrake 8.0 box, with jdk 1.3, apache and tomcat running. I'm trying to install Weblogic 6.0, and when I use the ./weblogic60_linux.bin command, I receive a message like "Preparing to install...
The included VM could not be uncompressed. Please try to download
the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy." I have already set the CLASSPATH, JAVA_HOME and IATEMPDIR variables, and I downloaded the file from BEA's web site, using a download manager (FlashGet). i'm using the WebLogic RedHat 6.2 install file, since there weren't any other available. Any idea? Is really the file type the problem for installation or anything else?
 
George Brown
Ranch Hand
Posts: 919
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried downloading the package again using a different http/ftp client (in binary mode)?
Also, when BEA will only certify WLS with Red Hat, it's impossible to be sure that the Mandrake 8.0 distribution isn't incompatible in some way.
 
wbyeh
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because Linux has no 'uncompress' utility.
The writer has a pattern of the uncompressing algorithm.
So we do a trap for the 'uncompress' command of weblogic_linux600.bin
If you use 'vi' to see the 'weblogic_linux600.bin' binary code from
'InstallAnywhere'.
For my 2 day of hard test,
we need to make a fake script to instead of 'uncompress' and put it
in the /usr/bin; chmod 755.
Because RedHat Linux has no default '/bin/sh',
it has '/bin/bash' instead.
1. Edit the following script and save it as 'uncompress'.
#!/bin/bash
/bin/gzip -df $@
2. change its mode to executable.
$ chmod +x ./uncompress
3. then copy the 'uncompress' to '/bin/uncompress' using root privilege.
$ su
#ln -s /bin/bash /bin/sh
# cp ./uncompress /bin/uncompress
And then test the
'sh ./weblogic600sp2_linux.bin -i console'
Good Luck!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic