How to Compile jsp files at Application R12 at Windows?(zt)
2009-08-21 13:36
537 查看
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 term?
- Java: How to compile and run Java application in command line(在命令行中编译运行java程序)
- [ZT]Windows 7 – How to Delete Files Protected by TrustedInstaller
- [XAF] How to define a business class at runtime or allow end-users to configure its members via the application UI?
- 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 plot line chart with Real-time data at Dialog-base application?
- How to launch Windows applications (Notepad) / Call Batch files from a C#/.NET console application.
- How to create a custom directory for app files inside the ~/Library/Application Support directory.
- how to deploy webservice onto web application at websphere 6.1
- How to Change .NET Configuration Files at Runtime (including for WCF)
- How to load a dll resource dialog box at an application Dialog box (怎么在一个应用程序对话框动态加载DLL里的资源对话框)
- Spring MVC – How to include JS or CSS files in a JSP page
- FFmpeg Understanding(4. How to compile and run testing files utilizing FFMPEG in VC?)
- How to get spring application context object reference? - See more at: http://www.java2novice.com/sp
- HTTP Status 500 - Unable to compile class for JSP:
- <U+FEFF> character showing up in files. How to remove them?
- tomcat启动后,页面浏览时报错 Unable to compile class for JSP的解决方案
- Unable to compile class for JSP 错误的解决过程
- How to Compile SQLite for Android using NDK