锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久福利综合,91精品福利,国产亚洲精品精华液http://www.aygfsteel.com/sidanzhou/category/23541.htmlWhyzh-cnTue, 26 Jun 2007 20:16:51 GMTTue, 26 Jun 2007 20:16:51 GMT60Oracle 鐨勫叆闂ㄤ功綾嶅拰璧勬枡銆恴z銆?/title><link>http://www.aygfsteel.com/sidanzhou/articles/126182.html</link><dc:creator>婀樻睙澶滄父紲?/dc:creator><author>婀樻睙澶滄父紲?/author><pubDate>Tue, 26 Jun 2007 06:14:00 GMT</pubDate><guid>http://www.aygfsteel.com/sidanzhou/articles/126182.html</guid><description><![CDATA[<div id="wmqeeuq" class=post twffan="done">        浠嬬粛鍑犳湰oracle鍏ラ棬鐨勫ソ涔racle瀹樻柟鏂囨。錛?br>       銆奵oncept銆嬩笂闈㈣浜唎racle鐨勪綋緋誨拰姒傚康錛屽緢閫傚悎鍒濆鑰呯湅銆?<br>        OCP鐨勬暀瀛︾敤涔︼紝涔熷氨鏄疭TUDY GUIDE(SG)銆?nbsp;<br>        Oracle8i 澶囦喚鎭㈠鎵嬪唽 <br>        Oracle8楂樼駭綆$悊涓庝紭鍖?<br>        Oracle8i PLSQL紼嬪簭璁捐 <br>        Oracle8鏁版嵁搴撶鐞嗗憳鎵嬪唽浠ヤ笂涔︽湰閮芥槸鏈烘宸ヤ笟鍑虹増紺懼嚭鐗堛?<br>浠嬬粛鍑犱釜緗戠珯 http://tahiti.oracle.com oracle鐨勫畼鏂規(guī)枃妗?鐜板湪http://www.oracle.com.cn/onlinedoc/index.htm涔熸湁瀹樻柟鏂囨。錛岄熷害濂囧揩 http://metalink.oracle.com/ oracle鐨勬妧鏈敮鎸佺綉绔欍傞渶瑕佽喘涔癘racle鏈嶅姟鎵嶈兘鏈変竴涓笎鍙鳳紝鎵嶈兘鐧婚檰錛屾湁澶ч噺鐨凨nowledge Base錛屽ぇ閲忛棶棰樿В鍐崇粡楠屻?http://www.oracle.com oracle鐨勫畼鏂圭綉绔欙紝鍙互鍦ㄨ繖閲宒own oracle鐨勮蔣浠躲佸畼鏂規(guī)枃妗e拰鑾峰緱鏈鏂扮殑娑堟伅 <br>http://www.dbazine.com/ <br>Oracle鐨勬潅蹇?http://asktom.oracle.com <br>http://www.orafaq.net/ <br><a >http://www.ixora.com.au/</a> <br>http://www.oracle-base.com <br>http://www.dba-oracle.com/oracle_links.htm <br>鏉ユ簮錛歸ww.oracle.com.cn</div> <img src ="http://www.aygfsteel.com/sidanzhou/aggbug/126182.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/sidanzhou/" target="_blank">婀樻睙澶滄父紲?/a> 2007-06-26 14:14 <a href="http://www.aygfsteel.com/sidanzhou/articles/126182.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Jdeveloper 10閰嶇疆iStore 11.5.2鐨勬柟娉曪紙鏉ヨ嚜metalink錛?/title><link>http://www.aygfsteel.com/sidanzhou/articles/126324.html</link><dc:creator>婀樻睙澶滄父紲?/dc:creator><author>婀樻睙澶滄父紲?/author><pubDate>Tue, 26 Jun 2007 06:10:00 GMT</pubDate><guid>http://www.aygfsteel.com/sidanzhou/articles/126324.html</guid><description><![CDATA[Step 1: Zip Java Class files<br><br>cd $COMMON_TOP/java<br><br>zip –r /tmp/iStoreLib oracle/apps/fnd oracle/apps/jtf oracle/apps/ibe oracle/apps/ar<br>oracle/apps/ibc oracle/adf/mds/adapters/FileConstants.class oracle/cabo/ui/UIConstants.class<br>oracle/fnd com/sun/java/util/collections<br><br>Step2 : Zip JSP Files<br><br>cd $COMMON_TOP/html<br><br>zip /tmp/JSPFiles ibeC*.jsp ibeC*.js jtf*.css jtf*.jsp ibeS*.jsp<br><br>Step3 : Zip Images<br><br>cd $COMMON_TOP/java/oracle/apps/media/<br>zip /tmp/IMGFiles ibe* jtf*<br><br><br>Step 4: Create an Application and a Project in Jdeveloper<br><br>The project directory will be referred to as <project_dir>.<br><br>Step 5: Transfer Files<br><br>Copy DBC file from $APPL_TOP/fnd/11.5.0/secure (usually) in <project_dir><br>Copy iStoreLib.zip, JSPFiles.zip, IMGFiles.zip into the <project_dir><br>Create public_html\OA_HTML under the <project_dir> and extract JSPFiles.zip into this folder.<br>Create public_html\OA_MEDIA under the <project_dir> and extract IMGFiles.zip into this folder.<br><br>Step 6: Project Properties Settings<br><br>Adding Libraries to the Project:<br><br>Add iStoreLib.zip in project library<br>Add "Oracle JDBC", "Oracle XML Parser V2", "JSP Runtime" Libraries as well.<br><br>Set J2EE Web Context Root to /<br>Set the JAVA Options to :<br>-DJTFDBCFILE=<project_dir>\<filename.dbc><br>-Dframework.Logging.system.filename=C:/Temp/fwsys.log<br>-Dservice.Logging.common.filename=C:/Temp/istore.log<br>Set the program arguments to : intra=t<br>Set the Runner Options: Uncheck "Before Running Make Project"<br>Create empty JSP files: amsLitePlacement.jsp, amsWebPlacement.jsp, ibapstng.jsp in<br>project_dir/OA_HTML directory.<br><br>Step 7: Run test scripts <br><br>http://www-apps.us.oracle.com/ibe/Architecture/Diagnostics/ <br>( This is an internal link. Please raise an SR with Oracle Support and request for the scripts)<br><br>Step 8: Remove duplicate JSP directives <br><br>(later version of JSP engine doesn’t allow duplicatedirectives)<br><br>Remove language="java" attribute from all JSP files<br>Remove errorPage="jtfacerr.jsp" from jtfincl.jsp<br><br>Step 9 : Additional imports <br><br>(later version of JSP engine doesn’t automatically add these imports)<br><br>Imports in ibeCZzpHeader.jsp:<br>Add the following imports :<br><%@page import="java.io.*" %><br><%@page import="java.lang.*" %><br><br>Imports in ibeCZzpRuntimeIncl.jsp:<br><br>Add the following imports :<br><%@page import="java.util.*" %><br><%@page import="java.io.*" %><br><%@page import="java.lang.*" %><br><br>Imports in ibeCCkdBHdrBillPay.jsp :<br><%@page import="java.io.*" %><br><br>Imports in ibeCCkdHdrBillPayFlex :<br><%@page import="java.lang.reflect.Field" %><br><br><br>Step 10: Changes in ibeCAcdWelcome.jsp<br><br>Replace:<br><%@ include file="ibeCWcpESIBinTop.jsp" > with<br><%@ include file="ibeCZzpRuntimeIncl.jsp" %><br><% boolean _wcESI = true; %><br>Comment the following:<br><% @ include file="ibeCWcpESIBinBottom.jsp" %><br><br>Step 11 : Changes in ibeCZzdBinTop.jsp<br><br>Comment the following:<br><%@page session="false"%><br><% @page errorPage="ibeCZzdError.jsp"%><br><br>Step 12: Changes in ibeCOtcAtp.jsp<br><br>Change Message references to oracle.apps.fnd.common.Message<br><br>Step 13: Run iStore<br><br>The main entry pages to iStore customer facing UI is ibeCZzdMinisites.jsp. (Other entry page are<br>ibeCZzpEntry.jsp – for deeplink, and ibeCZzpHome.jsp?minisite=<site id>). Add<br>ibeCZzdMinisites.jsp in your project, compile and run. ibeCZzdMinisites.jsp will redirect to<br>ibeCCtdMinisites.jsp and list of sites will appear on the browser.<br><br><cookie_domain> is the domain for which iStore cookies will be set – the IP address or domain of<br>the Windows machine that appears on the browser.<br><br><br>Note<br>1. Top level JSPs are those that are requested by the browser. They appear on the URL and are part<br>of HTTP requests and can be compiled. Compile-time included JSPs are included from other JSP files<br>and cannot be compiled independently. These are included with the tag: <%@ include<br>file="include_1.jsp" %> and are equivalent to a macro. ibeCZzpHeader.jsp, ibeCZzpTop.jsp,<br>ibeCZzpMenu.jsp, ibeCZzdBottom.jsp, etc. are compile-time included JSPs. Run-time in<br>cluded JSPs<br>are included from other JSP files but can be compiled independently. These are included with the<br>following tag: <jsp:include page="<%=include_2.jsp%>" flush="true" /> and are equivalent to a<br>function call. ibeCAcdWelcome.jsp, ibeCCtdSctBrwsBin.jsp, etc. are run-time included JSPs.<br><br>Add top level and run-time included JSP files in your project as needed and compile all files in<br>the project. Alternatively, add all type of JSP files in your project and compile indivi<br>dually. It<br>is not necessary to add and compile all top-level and run-time included JSP files. If a JSP file<br>needed to bring up a page is not pre-compiled, it will be compiled automatically at run time.<br>Pre-compilation will give faster response at runtime.<br><br>2. There are certain instances when Class Not Found Exception is thrown. The Steps below mention<br>the possible solution for the error noticed.<br><br>Example :<br>1. Assuming that the following Exception is observed, java.lang.ClassNotFoundException:<br>_oa__html._ibeCCkdHdrBillPayFlex<br><br>2. Search the project_dir/classes/.jsps/_oa__html for the file :<br>* ibeCCkdHdrBillPayFlex*.*<br>3. Delete the java file and jpa file found in this folder.<br>4. Compile this jsp through jdeveloper<br>5. Now the Errors reported are due to some missing imports in the jsp<br>6. Add the respective import and compile the jsp again. It should compile now without an<br>y errors<br>7. Refresh the browser to observe that the ClassNotFoundException observed in Step1 is not seen.<br><br>This page contains scripts to diagnose problems to bring up Oracle Application instances. The scripts mainly deal with database connect<br>ivity and session creation. Remove .txt from file names.<br><br>Tip: To diagnose from the command line; compile the .java files and run. This is productive when debug<br>ging in JDeveloper.<br><br>DBC File DB Connection <br>1. TestDbcConn.jsp:<br><%@ page language="java" %><br><%@ page import="oracle.apps.fnd.common.*" %><br><%@ page import="java.sql.*"%><br><%@ page import="java.io.*"%><br><br><%<br>try {<br>String dbcFile = java.lang.System.getProperty("JTFDBCFILE");<br>out.println("JTFDBCFILE="+dbcFile+"<br>");<br>if (! new File(dbcFile).canRead()) {<br>out.println("cant read dbc file<br>");<br>return;<br>}<br>WebAppsContext ctx = new WebAppsContext(dbcFile);<br>boolean result = connectToJDBC(out, ctx); <br>ctx.freeWebAppsContext();<br>} catch (Exception ex)<br>{<br>out.println("<PRE>");<br>ex.printStackTrace(new PrintWriter(out));<br>out.println("</PRE>");<br>}<br>%><br><br><%!<br>boolean connectToJDBC(JspWriter o, WebAppsContext ctx)<br>throws IOException, SQLException<br>{<br>AppsEnvironmentStore envStore = (AppsEnvironmentStore)ctx.getEnvStore();<br>String hostname = envStore.getEnv("DB_HOST");<br>String portnum = envStore.getEnv("DB_PORT");<br>String dbname = envStore.getEnv("DB_NAME");<br>if (dbname == null) dbname = envStore.getEnv("TWO_TASK");<br>String gwyuid = envStore.getEnv("GWYUID");<br><br>String jdbcurl = "jdbc:oracle:thin:" + gwyuid + "@" + hostname +<br>":" + portnum + ":" + dbname;<br>o.println("connecting: "+jdbcurl+"<br>");<br>DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());<br>Connection gwyconn = DriverManager.getConnection(jdbcurl);<br>if(gwyconn == null ) { <br>o.println("connection is null"); <br>return false;<br>}<br>o.println("created connection<br>");<br><br>ResultSet rs = null;<br>rs = gwyconn.createStatement().executeQuery("select instance_name from v$instance");<br>if(rs == null) {<br>o.println("result set is null");<br>return false;<br>}<br>rs.next();<br>o.println("instance name: "+rs.getString(1));<br><br>rs.close();<br>gwyconn.close();<br>return true;<br>}<br><br>void printErrorStack(JspWriter o, WebAppsContext ctx) throws IOException {<br>o.println("<PRE>");<br>o.println(ctx.getErrorStack().getAllMessages());<br>o.println("</PRE>");<br>}<br>%><br><br><br>WebAppsContext DB Connection:<br>2.TestWacConn.java:<br><br>package mypackage;<br>import oracle.apps.fnd.common.WebAppsContext;<br>import java.io.*;<br>import java.sql.*;<br><br>public class TestWacConn <br>{<br>public static void main(String[] args)<br>throws SQLException<br>{<br>String dbc = System.getProperty("JTFDBCFILE");<br>System.out.println(dbc);<br>WebAppsContext wctx = new WebAppsContext(dbc);<br>Connection conn = wctx.getJDBCConnection();<br>ResultSet rs = null;<br>rs = conn.createStatement().executeQuery("select instance_name from v$instance");<br>if (rs == null) {<br>System.out.println("result set is null");<br>return;<br>}<br>rs.next();<br>System.out.println("instance name: "+rs.getString(1));<br>wctx.freeWebAppsContext();<br>}<br>}<br><br><br>WebAppsContext User Session:<br>3.TestWacSess.java:<br><br>package mypackage;<br>import oracle.apps.fnd.common.WebAppsContext;<br>import java.io.*;<br>import java.sql.*;<br><br>public class TestWacSess <br>{<br>public static void main(String[] args)<br>throws SQLException<br>{<br>String dbc = System.getProperty("JTFDBCFILE");<br>System.out.println(dbc);<br>WebAppsContext wctx = new WebAppsContext(dbc);<br>wctx.createAnonymousSession();<br>System.out.println(wctx.getSessionId());<br>System.out.println(wctx.getSessionCookieName());<br>wctx.releaseJDBCConnection();<br>wctx.freeWebAppsContext();<br>}<br>}<br><br><br>ServletSessionManager User Session:<br><br>TestSsmSess.jsp:<br><%@page import="oracle.apps.jtf.base.session.*" %><br><%@page import="java.io.*" %><br><br><% ServletSessionManager.startRequest(request, response, "IBE", true, true); %><br><%=ServletSessionManager.getCookieValue(JTFCookie.USER_NAME) %><br><% ServletSessionManager.endRequest(request, false); %><br><br><br><br><br>.<br>QUESTION<br>=========<br>Request for the script at step6 in Note:419887.1.<br>This is used in the test of our iStore configurate.<br><br><br>ANSWER<br>=======<br>E-Commerce Diagnostics<br><br><br>This page contains scripts to diagnose problems to bring up Oracle Applicatio<br>n instances. The<br>scripts mainly deal with database connectivity and session creation. Remove .txt from file names.<br><br>Tip: To diagnose from the command line; compile the .java files and run. This is productive when<br>debugging in JDeveloper.<br><br>DBC File DB Connection<br>1. TestDbcConn.jsp:<br><%@ page language="java" %><br><%@ page import="oracle.apps.fnd.common.*" %><br><%@ page import="java.sql.*"%><br><%@ page import="java.io.*"%><br><br><%<br>try {<br>String dbcFile = java.lang.System.getProperty("JTFDBCFILE");<br>out.println("JTFDBCFILE="+dbcFile+"<br>");<br>if (! new File(dbcFile).canRead()) {<br>out.println("cant read dbc file<br>");<br>return;<br>}<br>WebAppsContext ctx = new WebAppsContext(dbcFile);<br>boolean result = connectToJDBC(out, ctx);<br>ctx.freeWebAppsContext();<br>} catch (Exception ex)<br>{<br>out.println("<PRE>");<br>ex.printStackTrace(new PrintWriter(out));<br>out.println("</PRE>");<br>}<br>%><br><br><%!<br>boolean connectToJDBC(JspWriter o, WebAppsContext ctx)<br>throws IOException, SQLException<br>{<br>AppsEnvironmentStore envStore = (AppsEnvironmentStore)ctx.getEnvStore();<br>String hostname = envStore.getEnv("DB_HOST");<br>String portnum = envStore.getEnv("DB_PORT");<br>String dbname = envStore.getEnv("DB_NAME");<br>if (dbname == null) dbname = envStore.getEnv("TWO_TASK");<br>String gwyuid = envStore.getEnv("GWYUID");<br><br>String jdbcurl = "jdbc:oracle:thin:" + gwyuid + "@" + hostname +<br>":" + portnum + ":" + dbname;<br>o.println("connecting: "+jdbcurl+"<br>");<br>DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());<br>Connection gwyconn = DriverManager.getConnection(jdbcurl);<br>if(gwyconn == null ) {<br>o.println("connection is null");<br>return false;<br>}<br>o.println("created connection<br>");<br><br>ResultSet rs = null;<br>rs = gwyconn.createStatement().executeQuery("select instance_name from v$instance");<br>if(rs == null) {<br>o.println("result set is null");<br>return false;<br>}<br>rs.next();<br>o.println("instance name: "+rs.getString(1));<br><br>rs.close();<br>gwyconn.close();<br>return true;<br>}<br><br>void printErrorStack(JspWriter o, WebAppsContext ctx) throws IOException {<br>o.println("<PRE>");<br>o.println(ctx.getErrorStack().getAllMessages());<br>o.println("</PRE>");<br>}<br>%><br><br><br>WebAppsContext DB Connection:<br>2.TestWacConn.java:<br><br>package mypackage;<br>import oracle.apps.fnd.common.WebAppsContext;<br>import java.io.*;<br>import java.sql.*;<br><br>public class TestWacConn<br>{<br>public static void main(String[] args)<br>throws SQLException<br>{<br>String dbc = System.getProperty("JTFDBCFILE");<br>System.out.println(dbc);<br>WebAppsContext wctx = new WebAppsContext(dbc);<br>Connection conn = wctx.getJDBCConnection();<br>ResultSet rs = null;<br>rs = conn.createStatement().executeQuery("select instance_name from v$instance");<br>if (rs == null) {<br>System.out.println("result set is null");<br>return;<br>}<br>rs.next();<br>System.out.println("instance name: "+rs.getString(1));<br>wctx.freeWebAppsContext();<br>}<br>}<br><br><br>WebAppsContext User Session:<br>3.TestWacSess.java:<br><br>package mypackage;<br>import oracle.apps.fnd.common.WebAppsContext;<br>import java.io.*;<br>import java.sql.*;<br><br>public class TestWacSess<br>{<br>public static void main(String[] args)<br>throws SQLException<br>{<br>String dbc = System.getProperty("JTFDBCFILE");<br>System.out.println(dbc);<br>WebAppsContext wctx = new WebAppsContext(dbc);<br>wctx.createAnonymousSession();<br>System.out.println(wctx.getSessionId());<br>System.out.println(wctx.getSessionCookieName());<br>wctx.releaseJDBCConnection();<br>wctx.freeWebAppsContext();<br>}<br>}<br><br><br>ServletSessionManager User Session:<br><br>TestSsmSess.jsp:<br><%@page import="oracle.apps.jtf.base.session.*" %><br><%@page import="java.io.*" %><br><br><% ServletSessionManager.startRequest(request, response, "IBE", true, true); %><br><%=ServletSessionManager.getCookieValue(JTFCookie.USER_NAME) %><br><% ServletSessionManager.endRequest(request, false); %><br><br> <img src ="http://www.aygfsteel.com/sidanzhou/aggbug/126324.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/sidanzhou/" target="_blank">婀樻睙澶滄父紲?/a> 2007-06-26 14:10 <a href="http://www.aygfsteel.com/sidanzhou/articles/126324.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">麦盖提县</a>| <a href="http://" target="_blank">灌阳县</a>| <a href="http://" target="_blank">台山市</a>| <a href="http://" target="_blank">北流市</a>| <a href="http://" target="_blank">进贤县</a>| <a href="http://" target="_blank">斗六市</a>| <a href="http://" target="_blank">伊春市</a>| <a href="http://" target="_blank">临澧县</a>| <a href="http://" target="_blank">丹凤县</a>| <a href="http://" target="_blank">纳雍县</a>| <a href="http://" target="_blank">澄迈县</a>| <a href="http://" target="_blank">收藏</a>| <a href="http://" target="_blank">伊春市</a>| <a href="http://" target="_blank">平潭县</a>| <a href="http://" target="_blank">太和县</a>| <a href="http://" target="_blank">宝应县</a>| <a href="http://" target="_blank">抚顺县</a>| <a href="http://" target="_blank">锡林浩特市</a>| <a href="http://" target="_blank">金川县</a>| <a href="http://" target="_blank">醴陵市</a>| <a href="http://" target="_blank">六枝特区</a>| <a href="http://" target="_blank">桂阳县</a>| <a href="http://" target="_blank">于都县</a>| <a href="http://" target="_blank">临城县</a>| <a href="http://" target="_blank">桑日县</a>| <a href="http://" target="_blank">鲁山县</a>| <a href="http://" target="_blank">鄂伦春自治旗</a>| <a href="http://" target="_blank">喀喇</a>| <a href="http://" target="_blank">澄迈县</a>| <a href="http://" target="_blank">临夏市</a>| <a href="http://" target="_blank">柳州市</a>| <a href="http://" target="_blank">抚松县</a>| <a href="http://" target="_blank">合川市</a>| <a href="http://" target="_blank">稷山县</a>| <a href="http://" target="_blank">罗山县</a>| <a href="http://" target="_blank">金昌市</a>| <a href="http://" target="_blank">海原县</a>| <a href="http://" target="_blank">成安县</a>| <a href="http://" target="_blank">盘山县</a>| <a href="http://" target="_blank">宁乡县</a>| <a href="http://" target="_blank">青岛市</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>