If problems occur during an installation, check below for some of the more common resolutions
Java CAPS Installer Fails to Parse the Property File
During installation if your environment contains a backward slash (\), a java.lang.IllegalArgumentException: Malformed \uxxxx encoding is thrown. This happens because the environment variables ps1 and PS1 contain the backslash character \; that is, \u@\h:\W\$. The Java CAPS Installer first loads the environment variable values into the env.properties.xxxx file and then reads the property file. If this file contains the \ character, it will fail to read. You must reset these environment variable values to blank or some other values without a backslash; such as, export ps1= and export PS1=. This corrects the error.
Java CAPS Installer Does Not Support Silent Mode Installation on Mac OS
Currently the Java CAPS installer does not accept the arguments to run in silent mode on Macintosh operating systems. It can only run in GUI mode.
As this would be costly to develop there is a good chance that the Java CAPS Installer will not support silent installations on Macintosh operating systems.
Executing the Windows Link File from the DOS Command Line
You cannot type the *.lnk file and press Enter from the command line to execute the link file. Instead, you have two options.
From Windows command line, type start FileName and then press Enter. For example start start_appserver_domain1.
From Windows Explorer double-click the *.lnk file. For example start_appserver_domain1.
Changing the Locale on Sun Solaris or Generic UNIX Systems
You can change the locale on Solaris and generic UNIX systems by setting the environment and using the correct commands.
To list the available installed locales, type the command > locale -a.
To change to the locale, type the command > export LANG=zh_TW # and then > export LC_ALL=zh_TW # to set up the environment, where zh_TW is the locale for traditional Chinese.
Java CAPS Installer Fails to Launch When Temp Directory Not Found
If you encounter the problem that you cannot access the /tmp folder, you can work around this by setting the environment variable IATEMPDIR=/var/tmp. After this environment variable is set, the Java CAPS Installer uses /var/tmp as its temp directory.
Overriding the JVM
You can override the JVM in the Java CAPS Installer. To do this, pass LAX_VM javaexecutable to the Java CAPS Installer. For example, JavaCAPS.exe LAX_VM javapath/java.exe.
The Java executable that is specified must match the Installer Valid VM List, located under Project\Config.
Finding the Java (JDK) Version
On UNIX systems, the response to the which java command indicates the Java version that the Java CAPS Installer uses. Make sure that jdk1.6.0_05/bin is set in the path. To double check the JDK version, always run which java or java —version on UNIX systems to ensure you are using the desired version.
You can also pass the JDK to the Java CAPS Installer: JavaCAPS.exe LAX_VM javapath/java.exe.
Debugging the Win32 Installer
To view or capture the debug output from a Java CAPS Installer, hold down the Ctrl key immediately after launching the Java CAPS Installer until a console window appears. Before you exit the Java CAPS Installer, copy the console output to a text file for later review.
If you have trouble capturing the console output, there is a more complicated method to copy the output; this is often the case when using Win9x.
Launch the Java CAPS Installer and allow it to extract the necessary files.
When the Java CAPS Installer reaches the Preparing to Install screen where it gives you the opportunity to choose a language, navigate to your Windows “temp" directory.
This directory should contain a folder named with several numeric digits.
Ensure you have the most recent directory by sorting the directories by "last modified," and then open the appropriate directory.
Delete the file named sea_loc.
Return to the Java CAPS Installer, click OK, and then at the first opportunity, select Exit.
Return to the directory from which you deleted the sea_loc file and open the directory named Windows.
In the Windows directory there is an *.exe file, most likely named install.exe, and a file with the same name but with an *.lax extension, for example install.lax.
Open the *.lax file with a plain text editor and change the lines lax.stderr.redirect= and lax.stdout.redirect= to lax.stderr.redirect=output.txt and lax.stdout.redirect=output.txt.
After you have made these changes, save the file and launch the *.exe file, for example install.exe.
After the installation is complete there is an output.txt file in the same directory as the *.lax file.
The output.txt file should contain the same information as that generated in the console.
Debugging the UNIX Installer
To capture the debug output from the UNIX command line you need to enter one of the following (based on which shell you are using) at the command line prior to executing the Java CAPS Installer:
export LAX_DEBUG=true
setenv LAX_DEBUG true
LAX_DEBUG=true
set LAX_DEBUG
Or whatever would be appropriate for your shell.
Run the Java CAPS Installer. The output that is produced should help you debug the Java CAPS Installer. If you want to redirect the output to a file, set LAX_DEBUG=file as per the above instruction, and then run the Java CAPS Installer. Once the installation completes, a file named jx.log is generated in the same directory as the Java CAPS Installer. This file contains the entire debug output generated by the installation. If you are capturing this information in order to send it to Zero G, include both debug output formats above in their entirety.
Example of UNIX Debugging Commands
boreas% sh $ LAX_DEBUG=true $ export LAX_DEBUG $ PATH=/home/ylee/boreas/jdk1.6.0_05/bin:$PATH $ export PATH $ which java /home/ylee/boreas/jdk1.6.0_05/bin/java $ sh ./JavaCAPS.bin -i console Preparing to install...
Debugging the Mac OS X Installer
By default both stderr and stdout is redirected to /Applications/Utilities/Console.app. This application is built into Mac OS X. Review the output, and save it to a file if necessary.
Debugging the Mac OS Installer
To view or capture the debug output from the Java CAPS Installer, hold down the Ctrl key immediately after launching the Installer until a console window appears. Before exiting the Installer, copy the console output to a text file for later review.
To debug the Java CAPS Installer specifically on Mac OS 9.1:
Run the Java CAPS Installer as normal.
When you get to the point of picking a language, open the trash can. There should be a folder named something like IA Javainstaller (delete) xxxxxx. Sort by date to make sure that you get the latest version.
Move this folder to the desktop, open it, and then open the Mac OS directory.
Delete the file named sea_loc inside this folder.
Exit the Java CAPS Installer.
Edit the .lax file with a text editor, and add the word “console” to the property values as shown below.
Change lax.stderr.redirect= to lax.stderr.redirect=console
Change lax.stdout.redirect= to lax.stdout.redirect=console
Save the file and close.
Run the Java CAPS Installer.
The application should run normally, and bring up the debug output.
Review the debug output to determine any issues.