Solution
Recommended Solution
Part one:
Extract the maintenance and verify placement
1. Obtain the
archive file which contains the maintenance update. This may be a
Refresh Pack or a Fix Pack, and this archive file is typically
downloaded from the IBM WebSphere support site. Note:
For the discussion in this article, an
"archive file" is typically a .zip, .tar, or .tar.gz file. If the
maintenance update is an interim fix, it is most likely distributed
in the form of a .pak file, which is different than a "maintenance
archive". A .pak file is the actual maintenance file processed by
the updateInstaller to deliver a product update.
2. Obtain the latest available WebSphere V6 updateInstaller
utility. This can be downloaded from the
WebSphere V6 updateInstaller support page
.
3. If the maintenance obtained in step 1 was downloaded in the form
of a .pak file, then review the information presented here, and
proceed to step 4. If the maintenance was downloaded in the form of
an archive (.zip, .tar, or .tar.gz file), then proceed with this
step.
Extract the content from the maintenance archive into the targeted
product's installation directory. It is very important
to
extract the updateInstaller properly. Improper extraction is the
most common cause for problems. Be sure to extract the content of
the archive directly into the targeted product's installation
directory. For details, please see Extracting the
updateInstaller or maintenance archive
, below.
4. Extract the updateInstaller which was downloaded in step 2 into
the targeted product's installation directory. The updateInstaller
should be extracted into the same location as was chosen in step 3.
Allow the extraction process to overwrite any existing files in the
"updateinstaller" directory.
Be sure to review Extracting the
updateInstaller or maintenance archive
, below, for details
which describe how and where to extract the updateInstaller
archive.
5. If the maintenance obtained in step 1 was in the form of a .pak
file, then move that file into the "maintenance" directory. The
"maintenance" directory is a subdirectory of the updateInstaller.
If the "updateinstaller/maintenance" directory does not exist, then
create it.
6. If this installation will take place silently using the silent
command-line options or a response file, then invoke the command
which prepares the environment by cloning the Java SDK. For more
details concerning this process, see the
InfoCenter article for the update command
. Specifically, refer
to the "Automating maintenance operations" section. Here are
examples of how to accomplish this: Windows-based systems
cd install_root
\bin
setupCmdLine.bat
cd ..\updateinstaller update.exe -silent -W
relaunchwizardexecInstallWizardBean.active=false
UNIX-based systems
cd install_root
/bin
. ./setupCmdLine.sh
cd ../updateinstaller ./update -silent -W
relaunchwizardexecInstallWizardBean.active=false
Note:
The "dot-space" preceding the
"dot-slash setupCmdLine.sh" is very important. The "dot-space"
performs the "source" operation. Please be sure to type the command
exactly as shown.
7. Verify that the updateInstaller, maintenance, and Java files
appear in the correct locations. This can be accomplished by
checking the locations of a subset of files. (These example lists
are NOT complete lists of the required locations of updateInstaller
files.) If the files do not show up in the proper locations as
suggested in the examples below, then try this process again,
starting with step 1. For Windows-based systems:
updateinstaller\update.exe
updateinstaller\lib\updiplugins.jar
updateinstaller\maintenance\*.pak (at least one .pak file)
updateinstaller\java\bin\java.exe Note:
java.exe may not appear until after
the first time the updateInstaller is run.
Also, the directories and files named above should show up within
the product's installation root directory. For
example:
C:\Program
Files\IBM\WebSphere\AppServer\updateinstaller\update.exe UNIX- or Linux-based systems
updateinstaller/update
updateinstaller/lib/updiplugins.jar
updateinstaller/maintenance/*.pak (at least one .pak file)
updateinstaller/java/bin/java Note:
java/bin/java may not appear until
after the first time the updateInstaller is run.
Also, the directories and files named above should show up within
the product's installation root directory. For
example:
/opt/IBM/WebSphere/AppServer/updateinstaller/update
8. Start the updateInstaller using the following sequence of
commands: Windows-based systems
cd install_root
\bin
setupCmdLine.bat
cd ..\updateinstaller update.exe
UNIX- or Linux-based systems
cd install_root
/bin
. ./setupCmdLine.sh
cd ../updateinstaller ./update
Note:
The "dot-space" preceding the
"dot-slash setupCmdLine.sh" is very important. The "dot-space"
performs the "source" operation. Please be sure to type the command
exactly as shown.
9. If the updateInstaller does not start, further action may be
necessary. Refer to Part Two
below
for more details. Part two: Manually clone the Java SDK
(optional)
If the steps above did not resolve problems starting the
updateInstaller, then it may be necessary to manually clone the
Java SDK for use with the updateInstaller. Note that this should
not be necessary under normal circumstances. Please verify that the
steps in Part One
were
followed before resorting to this procedure.
If it is necessary to manually clone the Java SDK, please refer to
technote
1214652
. Extracting the updateInstaller or maintenance archive
The updateInstaller archive file and maintenance archives which
contain the updateInstaller have been packed such that the
updateInstaller files are archived in a subdirectory named
"updateinstaller". This means that when the updateInstaller is
extracted from an archive, the extraction process will
automatically create the necessary "updateinstaller" directory. For
example, when extracting the updateInstaller on a Windows-based
system, the target extraction directory could
be: C:\Program
Files\IBM\WebSphere\AppServer
Note that the targeted directory does NOT contain "updateinstaller"
in the path. You must literally extract the archive into the
product's main directory, and allow the extractor to automatically
create the "updateinstaller" subdirectory.
The target installation directory varies depending on the product
edition being updated:
- If the product receiving the update is IBM HTTP Server V6 (IHS
V6), then be sure to extract the content of the IBM HTTP Server
maintenance into the installation directory for IBM HTTP Server V6.
Do not extract the IBM HTTP Server maintenance into an application
server installation directory! If you have accidentally extracted
the IBM HTTP Server maintenance into an application server
installation directory, please refer to technote 1214545 to correct
this situation.
- If the product receiving the update is the WebSphere Plugin
Edition, then be sure to extract the content of the Plugin
maintenance into the installation directory for the Plugin.
- If the product receiving the update is WebSphere Application
Server (Express, base, or Network Deployment), then extract the
content of the application server maintenance into that product's
installation directory.
Refer to the sections below for tips on extracting the
updateInstaller on various platforms:
Tips for extracting on Windows-based systems
Extracting the updateInstaller or maintenance archive on
Windows-based systems can be accomplished using third-party
utilities such as WinZip. Here are some tips to keep in mind when
extracting the zip contents:
- When extracting the contents of the zip file, be sure to use
the utility's "extract" function, specifying the installation
directory of the targeted product.
- Do NOT simply "drag and drop" the files from inside the zip
into the destination directory, as this will not properly
distribute the files from the zip into their proper destination
subdirectories.
- Do NOT create a subdirectory named "updateinstaller" then
extract the files into that directory, as this may create an
additional updateinstaller directory level. When the extraction
process is handled properly, the extractor will automatically
create the "updateinstaller" folder, so it is not necessary to
create it beforehand.
Tips for extracting on UNIX- or Linux-based systems
The process of extracting on UNIX- or Linux-based systems varies
depending on the operating system. This example procedure outlines
the process for extracting the content of an updateInstaller .tar
archive file:
- Download the updateInstaller .tar archive to a temporary
directory. In this example, that temporary directory is called
"/downloads", and the downloaded file is named
"updateInstaller.tar"
- Change directory to the target directory for the WebSphere V6
product. In this example, that directory is called
"/opt/IBM/WebSphere/AppServer"
cd /opt/IBM/WebSphere/AppServer
- Execute the "tar" command to extract the content of the
maintenance archive.
tar xvf /downloads/updateInstaller.tar
- The updateInstaller is now extracted. Note that the
updateInstaller content should show up in a subdirectory named
"updateinstaller". The updateInstaller can be executed using a
sequence of commands as shown below.
cd /opt/IBM/WebSphere/AppServer/bin
. ./setupCmdLine.sh
cd /opt/IBM/WebSphere/AppServer/updateinstaller
./update
Note:
The "dot-space"
preceding the "dot-slash setupCmdLine.sh" is very important. The
"dot-space" performs the "source" operation. Please be sure to type
the command exactly as shown.
|
相关推荐
根据题目提供的部分`eclipse.ini`文件内容,我们可以看到一些关键的JVM参数设置,这些设置对于解决“could not create the java virtual machine”问题至关重要。下面是具体的解决方案: 1. **调整内存参数**: - ...
No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.8 and at most 1.8. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM. 这里说的很...
总的来说,解决“开机jvm无法启动”的错误需要对问题进行定位,然后针对性地调整配置或更新相关组件。通过上述步骤,大多数情况下都能够成功修复这个问题,恢复正常的工作流程。记得在操作前备份重要数据,以免出现...
标题 "Could not find agent" 提供的信息看似简短,但实际上是关于...通过以上步骤,你应该能够诊断并解决 "Could not find agent" 的问题。同时,温习相关的源码和工具使用知识,将有助于你更好地理解和应对这种问题。
"could not reserve enough space for object heap" 是一个常见的Java虚拟机(JVM)启动时遇到的问题,这通常意味着JVM在尝试分配堆内存时遇到了不足的空间。这个问题涉及到Java内存管理和虚拟机配置,对于理解Java...
### "Could Not Find the Main Class, Program Will Exit" 错误解析及解决方法 在Java编程过程中,我们经常会在开发环境中遇到各种各样的错误提示,其中“Could not find the main class, program will exit”是一...
标题 "Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser" 提示了一个Java运行时错误,这通常意味着在尝试加载或初始化`JRStyledTextParser`类时遇到了问题。`JRStyledTextParser`是...
标题 "environments was not found on the java.library.path" 是一个典型的Java错误信息,它涉及到Java运行时环境中的库路径设置问题。这个错误通常出现在尝试加载本地系统库(.dll文件)时,而这些库没有在`java....
在IT领域,特别是Java应用程序服务器管理中,WebSphere Application Server(WAS)是IBM提供的一款广泛应用的中间件。性能调优对于确保应用高效运行至关重要,尤其是对于处理高并发和大数据量的应用来说。本文将深入...
JVM 内存溢出问题解析 JVM 内存溢出是指程序运行所需的内存大于虚拟机能提供的最大内存的情况。这种情况可能是由于数据量过大、死循环、静态变量和静态方法过多、递归、无法确定是否被引用的对象等原因引起的。同时...
解决 JVM 中的 PermGen space 问题 PermGen space(Permanent Generation space)是 JVM 中的一块永久保存区域,用于存放 Class 和 Meta 信息。当应用程序加载 Class 时,Class 就会被放入 PermGen space 区域中,...
`exe4j`提供了选项来捆绑一个特定版本的JRE(例如,32位或64位),或者在没有合适JRE的情况下自动下载并安装。 3. **多平台支持** `exe4j`支持“胖”和“瘦”可执行文件模式。"胖"模式意味着`exe4j`会将整个JRE...
安装完 Android Studio 后启动,却报错如下: 代码如下:failed to create jvm error code -4 这一般应是内存不够用所致,解决方法参考如下。 打开 Android Studio 安装目录下的bin目录,查找并打开文件 studio.exe....
在使用Eclipse集成开发环境(IDE)启动Apache Tomcat服务器时,可能会遇到“not found on the java.library.path”这样的错误。这个错误通常涉及到Java的动态链接库(JNI)加载问题,与系统路径设置有关。本文将深入...
mac破解版本,楼主自测可用上传。dbvisualizer9.5 mac破解版,任何问题可以楼下留言。
标题中的“关于tomcat乱码以及tomcat jvm 内存溢出问题的解决方案和理论”涉及了两个关键的IT概念:Tomcat服务器的字符编码问题和Java虚拟机(JVM)内存管理的问题。让我们逐一深入探讨这两个主题。 首先,我们来...
was使用及参数设置 was使用及参数设置 was使用及参数设置
定期运行这些检查可以帮助提前发现并解决问题。 2. **遵循良好的编码习惯**:始终确保源文件名与公共类名一致,保持类路径清晰有序,避免不必要的混乱。 3. **持续更新开发环境**:随着技术的发展,新的JDK版本...
首先,当Eclipse启动时显示“Version 1.3.1_01 of the JVM is not suitable for this product”或“Version 1.4.1_02 of the JVM is not suitable for this product”的错误信息,意味着Eclipse需要更高版本的Java...