<%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf" %> <%@ page import="oracle.sysman.emo.util.UIXDataSource"%> <%@ page import="oracle.sysman.emo.txt.TextIndexHealthList"%> <%@ page import="oracle.sysman.emo.txt.TextIndexHealthDetails"%> <%@ page import="java.util.Iterator"%> <%@ page import="java.util.HashMap"%> <%@ page import="java.util.ResourceBundle"%> <%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%> <%@ page import="oracle.sysman.db.rsc.txt.TextMsgID"%> <%@ page import="oracle.sysman.db.rsc.txt.TextMsg"%> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag/db" prefix="db" %> <% oracle.cabo.share.util.CaboHttpUtils.setNoCacheHeaders(response); %> <% TextIndexHealthList bean = (TextIndexHealthList)request.getAttribute("HEALTH_BEAN"); boolean partitionedFlag = bean.getSelectedIndexDetails().isPartitioned(); String indexType = bean.getSelectedIndexDetails().getIndexType(); //out.println("index type:"+indexType); String operation = null; if (partitionedFlag) { operation = bean.getSelectedIndexRebuildViewDS().getRebuildOperation(); } else { operation = bean.getSelectedIndexNonPartitionBean().getRebuildOperation(); } String indexName = bean.getSelectedIndexName(); String indexOwner = bean.getSelectedIndexOwner(); boolean _11gOrHigher = bean.getIfVersion11OrHigher(); String parallelOrOnline = null; if (request.getAttribute("parallelOrOnline") != null) { parallelOrOnline = (String) request.getAttribute("parallelOrOnline"); } String introMessage = null; String defaultLogFileName = null; StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append("-"); String titleTxt = ""; ResourceBundle rbt0 = NLSUtil.getBundle(TextMsg.class.getName(), request); if (operation.equals("REBUILD")) { introMessage = rbt0.getString(TextMsgID.REBUILD_INDEX_INFO); defaultLogFileName ="CTX_"+ indexName + ".log"; titleTxt = rbt0.getString(TextMsgID.REBUILD_TITLE); } else { introMessage = rbt0.getString(TextMsgID.RESUME_FAILED_INFO); //introMessage += rbt0.getString(TextMsgID.REASON_FOR_FAILURE_ERR); defaultLogFileName ="CTX_RESUME_FAILED_"+ indexName + ".log"; titleTxt = rbt0.getString(TextMsgID.RESUME_FAILED_TITLE); } titleTxt = titleTxt + indexOwner + "." +indexName; String logFileName = (String)request.getAttribute("logFileName"); if (logFileName == null) logFileName = defaultLogFileName; String logFileTip = defaultLogFileName; String logDir = bean.getCurrentLogDirectory(); %> <%@ include file="/oemTitle.jspf" %> <%@ include file="/oemGlobal.jspf" %> <%if (!partitionedFlag){ %> <%}%> <%if (!partitionedFlag){ %> <% if (indexType != null && indexType.equals("CONTEXT")){%> <%}%> <%}%> <% if (partitionedFlag) { %> <%}%> <%@ include file="/database/txt/textIndexLogging.jspf" %>