How to Compile jsp files at Application R12 at term?
2010-07-19 14:22
447 查看
1.Compile jsp files at windows using the manual method.
$su - applprod
$cd $FND_TOP/patch/115/bin/
$ojspCompile.pl --compile --fast --quiet
Usage of ojspCompile.pl
syntax: ojspCompile.pl COMMAND {ARGS}
COMMAND --compile update dependency, compile delta
--create rebuild entire dependency file
-delta.out <file> update dependency, list delta to file
-dep.out <xmlfile> update dependency, output heirarchy to file
ARGS -s <regex> matching condition for JSPs filenames
-p <procs> number of parallel compilations
-log <file> to override logfile from ojspCompile.conf
You are
recommended to set the log file location
outside of any network file system shared (NFS) area/drive.
-conf <file> to override ojspCompile.conf
--retry retry previously failed compilation attempts
--flush forces recompilation of all parent JSPs
--quiet do not provide an actively running progress meter
--fast instantly fail jsps that are *possibly* invalid
example1: ojspCompile.pl --compile -s 'jtf%' -p 20 --retry
example2: ojspCompile.pl --compile -s 'jtflogin.jsp,jtfavald.jsp' --flush
example3: ojspCompile.pl --compile --fast --quiet
2 In R12 jsp are not compiled on the fly anymore like 11i but will only be compiled when a patch is being Applied or using the method as explained above.
To compile the jsp as soon as you access the page or in case the jsp is being updated by a patch the following needs to be changed:
1 - change the context file, change “s_jsp_main_mode” in the <CONTEXT_NAME>.xml file used by autoconfig and change value from "justrun" to "recompile".
2 - Run Autoconfig to propagate the changes to the configuration files.
3 - Restart OPM
4 - Now when a jsp has been changed (or missing) it will be compile immediately when the page is being accessed
Reference doc:
Note 433386.1 - JSP Pages Hanging in R12 After Removing Cached Class Files in _pages
Note 783094.1 - Compile jsp files at Application R12 at Windows
-EOF-
$su - applprod
$cd $FND_TOP/patch/115/bin/
$ojspCompile.pl --compile --fast --quiet
Usage of ojspCompile.pl
syntax: ojspCompile.pl COMMAND {ARGS}
COMMAND --compile update dependency, compile delta
--create rebuild entire dependency file
-delta.out <file> update dependency, list delta to file
-dep.out <xmlfile> update dependency, output heirarchy to file
ARGS -s <regex> matching condition for JSPs filenames
-p <procs> number of parallel compilations
-log <file> to override logfile from ojspCompile.conf
You are
recommended to set the log file location
outside of any network file system shared (NFS) area/drive.
-conf <file> to override ojspCompile.conf
--retry retry previously failed compilation attempts
--flush forces recompilation of all parent JSPs
--quiet do not provide an actively running progress meter
--fast instantly fail jsps that are *possibly* invalid
example1: ojspCompile.pl --compile -s 'jtf%' -p 20 --retry
example2: ojspCompile.pl --compile -s 'jtflogin.jsp,jtfavald.jsp' --flush
example3: ojspCompile.pl --compile --fast --quiet
2 In R12 jsp are not compiled on the fly anymore like 11i but will only be compiled when a patch is being Applied or using the method as explained above.
To compile the jsp as soon as you access the page or in case the jsp is being updated by a patch the following needs to be changed:
1 - change the context file, change “s_jsp_main_mode” in the <CONTEXT_NAME>.xml file used by autoconfig and change value from "justrun" to "recompile".
2 - Run Autoconfig to propagate the changes to the configuration files.
3 - Restart OPM
4 - Now when a jsp has been changed (or missing) it will be compile immediately when the page is being accessed
Reference doc:
Note 433386.1 - JSP Pages Hanging in R12 After Removing Cached Class Files in _pages
Note 783094.1 - Compile jsp files at Application R12 at Windows
-EOF-
相关文章推荐
- How to Compile jsp files at Application R12 at Windows?(zt)
- Spring MVC – How to include JS or CSS files in a JSP page
- How to get spring application context object reference? - See more at: http://www.java2novice.com/sp
- how to deploy webservice onto web application at websphere 6.1
- How to plot line chart with Real-time data at Dialog-base application?
- FFmpeg Understanding(4. How to compile and run testing files utilizing FFMPEG in VC?)
- How to Change .NET Configuration Files at Runtime (including for WCF)
- How to create a custom directory for app files inside the ~/Library/Application Support directory.
- Spring MVC – How To Include JS Or CSS Files In A JSP Page
- Unable to compile class for JSP: An error occurred at line: 192 in the jsp file: /admin/user/userMan
- How to launch Windows applications (Notepad) / Call Batch files from a C#/.NET console application.
- [XAF] How to define a business class at runtime or allow end-users to configure its members via the application UI?
- How to load a dll resource dialog box at an application Dialog box (怎么在一个应用程序对话框动态加载DLL里的资源对话框)
- Java: How to compile and run Java application in command line(在命令行中编译运行java程序)
- [DEV]How to compile TWRP touch recovery
- How to pass data to a Flex application using SWFObject 2.0
- how to upload my project files to online svn host?
- How To Configure Server Side Transparent Application Failover [ID 460982.1]
- Java, ProGuard, and Ant - How to obfuscate Java class files with ProGuard
- HOW TO REMOTELY DEBUG APPLICATION RUNNING ON TOMCAT FROM WITHIN INTELLIJ IDEA