|
|

楼主 |
发表于 2006/12/23 15:53:46
|
显示全部楼层
附上,我整理的日志:
$ adjbuild.sh $COMMON_TOP/util/jinitiator
adjbuild: Current Version of JInitiator is 131
This script needs to be run only for 1.1.8 version of JINITIATOR
Usage: adjbuild <setup directory> \ [ <name of JInitiator file> [ <version of JInitiator> ] ]
<setup directory> is the directory containing the files oajsetup.exe and orazipsfx.
<name of JInitiator file> is the full path to the JInitiator archive
to be repackaged, such as './jinit11727.exe'. If this argument is not specified,
the program will use whatever is found in the
setup directory. If no JInitiator archives are found there, or
multiple archives are detected, the program will abort.
<version of JInitiator> is the version of the JInitiator archive
being repackaged. This informs the setup program which registry
key to examine after installation. If this argument is not given,
the setup program will use the default key, representing the
the last location where any version of JInitiator was installed.
In general, you should not provide this argument.
$ adjbuild.sh /oracle/democomn/util/jinitiator
CLASSPATH is now set to the following: /oracle/demoappl/ad/11.5.0/java/adjri.zip:/oracle/democomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/oracle/democomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/oracle/democomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/oracle/democomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/oracle/democomn/java/appsborg2.zip:/oracle/demoora/8.0.6/forms60/java:/oracle/democomn/java
rm -rf /oracle/democomn/temp/adjbuild/*
cp /oracle/democomn/util/jinitiator/oajsetup.exe /oracle/democomn/temp/adjbuild/adjbuild/
cp /oracle/democomn/util/jinitiator/jinit11816.exe /oracle/democomn/temp/adjbuild/adjbuild/
cp /oracle/demoappl/admin/*.cer /oracle/democomn/temp/adjbuild/adjbuild/
cp /oracle/democomn/util/jinitiator/autosetup.txt /oracle/democomn/temp/adjbuild/
cp /oracle/democomn/util/jinitiator/setup.bat /oracle/democomn/temp/adjbuild/
echo -e [email=]'@echo[/email] off\r' > /oracle/democomn/temp/adjbuild/oajsetup.bat
echo -e 'set JINITFILE="jinit11816.exe"\r' >> /oracle/democomn/temp/adjbuild/oajsetup.bat
echo -e 'set JINITVER=118\r' >> /oracle/democomn/temp/adjbuild/oajsetup.bat
cat /oracle/democomn/util/jinitiator/oajsetup.bat >> /oracle/democomn/temp/adjbuild/oajsetup.bat
/oracle/democomn/util/java/1.4/j2sdk1.4.2_04/bin/java -ms128m -mx256m oracle.apps.ad.jri.adjmx -areas /oracle/democomn/temp/adjbuild/ -outputFile oajtmp.zip -noMetadata
The JDK version is 1.4.2_04
Validating the files/directories specified for -areas option
About to Analyze the input areas : Fri Dec 22 2006 19:05:44
Done Analyzing the input areas : Fri Dec 22 2006 19:05:44
About to Generate outputFile : Fri Dec 22 2006 19:05:44
about to Generate oajtmp.zip : Fri Dec 22 2006 19:05:44
Done Generating oajtmp.zip : Fri Dec 22 2006 19:05:44
Done Generating outputFile : Fri Dec 22 2006 19:05:44
cat /oracle/democomn/util/jinitiator/orazipsfx oajtmp.zip > oajinit.exe
cp /oracle/democomn/temp/adjbuild/oajinit.exe .
rm -rf /oracle/democomn/temp/adjbuild/
Copying oajinit.exe to $OA_HTML..
mv oajinit.exe oajinit_bak.exe
cp oajinit_bak.exe /oracle/democomn/html/oajinit.exe
mv oajinit_bak.exe oajinit.exe
copy successful.
Repackaging complete.
The file oajinit.exe has been copied to the $OA_HTML directory on
this machine. If you have other web servers used by this installation
of Oracle Applications, be sure to copy this file to the same location
on ALL of those servers. |
|