TimesTen on the Database Host
I have reviewed the documentation and usually see Oracle 11g TimesTen (IMDB) Cache as part of the "Middle Tier".
Can Oracle 11g TimesTen (IMDB) Cache and the Oracle 11g Database be installed on the same host?
I have extra real memory on the host that runs the Oracle 11g Database and want to take advantage on IMDB Cache.
What is the reasoning behind running IMDB Cache on the "Middle Tier".
It is technically possible to install and run TimesTen on the same host as oracle Db but this is not a recommended configuration because:
1. Unless the Oracle/TT server has adequate hardware (CPU/Memory/Storage) and has been very carefully setup you are likely to get competition for memory, CPU and disk I/O resources between TimesTen and Oracle DB which will nnegatively impact the performance of both.
2. TimesTen delivers best performance when it is co-located with the application logic that is accessing it. When the application and TimesTen are on the same machine the appplication can use 'direct connection' mode which eliminates all IPC (even local IPC) from the app <-> TimesTen communication resulting in very efficient and low latncy communication between the app and TimesTen. When TimesTen is on the same server as oracle all interactions with TimesTen still incur a network roundtrip which is very expensive compared to typical SQL execution times in TimesTen.
So yes you can do it but in most cases it is a bad idea and won't deliver anything like the benefits you would getif you put TimesTen in the middle tier.
Chris
Similar Messages
-
Can I upload a simple iPhone App that all it does is direct the User to a Filemaker Pro URL fmp://~filename.fmp?$VariableName=Value This launches Filemaker Go and directs the user to the Database Hosted online
Right now there is no app store for Filemaker Go. Filemaker Forgot about us.
So I want to create a simple native iPhone App that all it does
is launch
fmp://~/filename.fmp12?$VariableName=value
This URL will launch the Filemaker Go App
Filemaker Go is a app that the user will have to have
downloaded already on the device..
The Simple Native app will launch the Filemaker Go.
The fmp URL has the information where the Filemaker Pro database is hosted
and get the user where they need to be..
Help Me please
iPhone 5s, iOS 8.1.3That would be software. And, you said "upload." That's "uploading software." Why do you question what you stated?
I don't know where you even want to upload this software. The only way it can be downloaded to a device is through the iTunes store. Do you even know what you want to do? -
How to start agent on the database host which is being Monitored
Hello All,
I have installed OEM 11.2.1.0. I have stopped getting alerts after the Node1 server is rebooted. I am monitoring RAC database.
When I checked the agent status on host I get the following output
[oracle@rs1pre91dvdba01 bin]$ pwd
/u01/app/oracle/agent11g/bin
[oracle@rs1pre91dvdba01 bin]$ emctl agent status
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
[oracle@rs1pre91dvdba01 bin]$ export ORACLE_UNQNAME=MDM11
[oracle@rs1pre91dvdba01 bin]$ emctl agent status
EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_MDM11 not found.
[oracle@rs1pre91dvdba01 bin]$
And same on Node 2
[oracle@rs1pre91dvdba02 bin]$ pwd
/u01/app/oracle/agent11g/bin
[oracle@rs1pre91dvdba02 bin]$ export ORACLE_UNQNAME=MDM12
[oracle@rs1pre91dvdba02 bin]$ emctl agent status
EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba02_MDM12 not found.
Please can I know how to start the agent on the nodes and also how auto the process of starting the agent on the Server reboot
Thanks.[oracle@rs1pre91dvdba01 bin]$ env | sort
ASM_SID=+ASM1
_=/bin/env
COBBLER_SERVER=ccoshs02xvsat01.ccosvc.com
DB_HOME_BIN=/u01/app/oracle/product/11.2.0/dbhome_1/bin
DB_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
DISPLAY=localhost:10.0
DWH_SID=DWH11
G_BROKEN_FILENAMES=1
GI_HOME_BIN=/u01/app/11.2.0/grid/bin
GI_HOME=/u01/app/11.2.0/grid
GRID_HOME=/u01/app/11.2.0/grid
HISTSIZE=1000
HOME=/home/oracle/
HOSTNAME=rs1pre91dvdba01.pre.ccosvc.com
INPUTRC=/etc/inputrc
LANG=en_GB
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
MDM_SID=MDM11
NLS_DATE_FORMAT=dd-mm-yyyy hh24:mi:ss
NLS_LANG=ENGLISH_UNITED KINGDOM.AL32UTF8
OLDPWD=/home/oracle
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=MDM11
ORACLE_UNQNAME=MDM11
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/home/oracle//bin
PWD=/u01/app/oracle/agent11g/bin
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=172.30.0.43 54890 22
SSH_CONNECTION=172.30.0.43 54890 172.30.2.201 22
SSH_TTY=/dev/pts/0
SVN_EDITOR=vi
TERM=xterm
TNS_ADMIN=/u01/app/11.2.0/grid/network/admin
USER=oracle
Please can you tell me which variables needs to change -
Connect to the database of auto Hosted App on Office 365
Hi All,
I developed a custom Application for SharePoint on top Office 365 in Auto-hosted mode. The application has SQL database which will be deployed to SQL Azure.
I would like to read some info from the database but using another tools not from inside the developed application (e.g. SharePoint designer, PowerPivot) to generate some reports.
When I try to connect to the database after the application installation using SharePoint Designer I get the following error message:
Cannot open server 'xxxxxxxxxxx' requested by the login. Client with IP address '41.239.166.230' is not allowed to access the server. To enable access, use the Windows Azure Management Portal or run sp_set_firewall_rule on the master database to create
a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect.
Login failed for user 'db_c6ab7aa1_4572_4d36_b99d_741dee28a139_dbo'.
This session has been assigned a tracing ID of 'c13ecefa-6aa2-4154-86f8-18d272c73b86'. Provide this tracing ID to customer support when you need assistance. (Microsoft SQL Server, Error: 40615)
And since I am using the Autohosted mode, I don;t have he Windows Azure Management Portal. is there a workaround for this issue?
Kind Regards,
Thanks in advance for you help. MahmoudHi m_3ryan,
The error message shows you need to add your IP Address to the firewall rules of the SQL Azure to get yourself connected. As you deploy the database to SQL Azure, you mean you cannot open window azure management portal?
Follow the steps in below article, check whether it works:
How to: Set Firewall rule to connect to SQL Azure – sp_set_firewall_rule:
http://azure-howto.blogspot.com/2011/05/how-to-set-firewall-rule-to-connect-to.html
Thanks,
Qiao
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Qiao Wei
TechNet Community Support -
Recover database on the other host
I have to recover my database on the other host.
In my source machine(redhat5,x86_64) I installed oracle 10g (10.2.0.1), sid=orapro, archive_mode=on, flash_area_recovery=default.
RMAN - AUTOBACKUP=ON, CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
In new host (zlinux) I install oracle 10g (10.2.0.2.0). I has used DBCA and create a new database, with the same SID=orapro, archive_mode=on, flash_area_recovery=default.
RMAN - AUTOBACKUP=ON, CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F';
Backup:
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/dados/db/oracle/product/10.2.0/db_1/dbs/snapcf_orapro.f'; # default
RMAN> backup database;
BS Key Type LV Size Device Type Elapsed Time Completion Time
6 Full 522.79M DISK 00:00:06 10-JUN-08
BP Key: 6 Status: AVAILABLE Compressed: NO Tag: TAG20080610T112043
Piece Name: /dados/db/oracle/flash_recovery_area/ORAPRO/backupset/2008_06_10/o1_mf_nnndf_TAG20080610T112043_44x6ycvx_.bkp
List of Datafiles in backup set 6
File LV Type Ckp SCN Ckp Time Name
1 Full 608723 10-JUN-08 /dados/oradata/orapro/system01.dbf
2 Full 608723 10-JUN-08 /dados/oradata/orapro/undotbs01.dbf
3 Full 608723 10-JUN-08 /dados/oradata/orapro/sysaux01.dbf
4 Full 608723 10-JUN-08 /dados/oradata/orapro/users01.dbf
5 Full 608723 10-JUN-08 /dados/oradata/orapro/rman_ts
BS Key Type LV Size Device Type Elapsed Time Completion Time
7 Full 6.80M DISK 00:00:01 10-JUN-08
BP Key: 7 Status: AVAILABLE Compressed: NO Tag: TAG20080610T112050
Piece Name: /dados/db/oracle/flash_recovery_area/ORAPRO/autobackup/2008_06_10/o1_mf_s_657026450_44x6ylyd_.bkp
Control File Included: Ckp SCN: 608730 Ckp time: 10-JUN-08
SPFILE Included: Modification time: 10-JUN-08
I sent the backupset and autobackup files from source machine to new host.
And alter the name of server parameter file 'spfileorapro.ora' on new host for 'spfileorapro-1.ora'.
Recover:
$rman target /
RMAN> set dbid 'dbid_source_machine'
RMAN> startup nomount
LRM-00109: could not open parameter file '/dados/u01/app/oracle/product/10.2.0/db_1/dbs/initorapro.ora'
RMAN> restore spfile to pfile '/dados/u01/app/oracle/product/10.2.0/db_1/dbs/initorapro.ora' from '/dados/u01/app/oracle/flash_recovery_area/ORAPRO/autobackup/2008_06_10/o1_mf_s_657026450_44x6ylyd_.bkp';
Starting restore at 11-JUN-08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=36 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 06/11/2008 09:10:01
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
I get the error above.
Can anybody help me?
Thanks!I try now:
RMAN> run{
2> set controlfile autobackup format for device type disk to
3> '/dados/u01/app/oracle/flash_recovery_area/%F';
4> restore controlfile from autobackup;}
executing command: SET CONTROLFILE AUTOBACKUP FORMAT
Starting restore at 11-JUN-08
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 06/11/2008 15:51:04
ORA-19625: erro ao identificar arquivo /dados/u01/app/oracle/flash_recovery_area/ORAPRO/autobackup/2008_06_11/o1_mf_s_657128589_450bvsnq_.bkp
ORA-27047: UNABLE TO READ THE HEADER BLOCK OF FILE
Additional information: 2
Corrupt file? Version problem?
Source machine 10.2.0.1 and new host 10.2.0.2.
Compatibility?
Marcos -
Connecting a Local Java Program with a Mysql Database Hosted on the Interne
I need help. I want to connect a java program running on local user computers to read and write to a mysql database hosted in my domain by an internet service provider.
What code do i use?
How do i connect?http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html
You'll ned to downloda the JDBC driver file from MySQL, and check their docs for the format of the connection URL. -
Our organization uses an Oracle database hosted on a Unix platform and one of our data processing outputs is a “stuffer” document that has a barcode, and Unix jobs automatically send the document to a printer.
Is there a way, or does Adobe have a product or solution, to create a PDF version of the document including the barcode, before it’s sent to a printer?What format is the document that is printed? Or what technology is used to format the printer? There isn't a standard way of doing things in Unix.
-
Two databases in the same host.
Hi Group,
I have a doupt, It's possible that two databases with the same name, live in the same host, if they have different OracleHomes, and the SO users who were installed with are different? eg.
SO user: oraqas
OracleHome1 : /qas/u01/app/oracle/product/9.2.0
BD: prdsia01
SO user: oracle
OracleHome2: /u01/app/oracle/product/9.2.0
BD: prdsia01
If not, what do you recommend?
Thanks a lotIt's possible that two databases with the same name, live in the same host,
if they have different OracleHomes, and the SO users who were installed with are different? what is "SO users"?
what is "BD: prdsia01"
Yes, two Oracle databases with same ORACLE_SID can reside on same system as same time.
The only restriction is that only one instance can be online at a time. -
How to create the database schema from an existing TimesTen database ?
Hello everybody,
I'm a newbie to TimesTen database. Before doing complicated sql queries, I would like to obtain the database schema of TimesTen DB. I'm looking for a way to extract the schema of database (tables, keys, links between tables ...). When I was working on other db like postgreSQL, I was able to obtain the sql script of the database (for exemple, in order to re-create the database in an other server). Some software like PowerAMC was able to built the database model from these scripts.
Do you know a way to obtain the same with TimesTen database ? Or with an other way ?
RegardsHi,
Take a look in the docs at ttSchema, this might do the trick.
http://download.oracle.com/docs/cd/E13085_01/doc/timesten.1121/e13069/util.htm#autoId27
Tim -
Is it possible to change the database instance host ??!!
Hello,
Quick question, I finished the installation of XI 3.0 with all patches. But the system is running low, very low on resources even though it has 2GB of RAM. I was wondering if it is possible to migrate the <SAPID> database and then re-configure the central instance and J2EE Engine to access a different machine OR do I have to re-install and follow the distributed system installation process.
Thanks!Diego--
Your issue isn't the database, it's the J2EE server. Moving the database instance isn't going to save you enough RAM -- you'll run into the same problem again as soon as you start running messages through the system, when the J2EE engine starts allocating heap space for those messages.
Our experience has been that 2GB of RAM is not enough for a development/prototype XI system. You need 3GB to do a basic prototype/development machine install (but ask for 4GB if this is your permanent development system). You'll need more than that in a typical production system.
--Dan King
Capgemini -
TimesTen In-Memory Database -ORA-00942: table or view does not exist rc = -1
Hi Chris,
This is wrt the thread : Unable to create CacheGroup.
I have configured Oracle_DB[11.2.0.3.0] for timesten, installed timesten[11.2.2.7.0], configured cache_DB.
So the Oracle database has user TIMESTEN(cache user) and TTENADMIN(cache admin user). Similarly the Cache Database has same TTENADMIN(cache manager user) and FNETLUO1(cache table user)
But while configuring the cache database following error occurred:
connect "dsn=my_cachedb;uid=TTENADMIN;oraclepwd=ttenadmin";
Enter password for 'TTENADMIN':
Connection successful: DSN=my_cachedb;UID=TTENADMIN;DataStore=/opt/IBM/TimesTen/tten_database/my_cachedb;DatabaseCharacterSet=WE8ISO8859P15;ConnectionCharacterSet=US7ASCII;DRIVER=/opt/IBM/TimesTen/tt11204FTP/lib/libtten.so;LogDir=/opt/IBM/TimesTen/tten_database/logs;PermSize=40;TempSize=32;TypeMode=0;OracleNetServiceName=PSFTDEV2;
(Default setting AutoCommit=1)
con1: Command>call ttcacheuidpwdset ('TTENADMIN','ttenadmin');
5221: Oracle syntax error in OCIStmtExecute(): ORA-00942: table or view does not exist rc = -1
5130: Error executing the following statement on Oracle: MERGE INTO TTENADMIN.TT_06_databases USING DUAL ON (upper(TTENADMIN.TT_06_databases.host) = upper('DG1166') AND upper(TTENADMIN.TT_06_databases.datastore) = upper('/opt/IBM/TimesTen/tt11204FTP_database/my_cachedb')) WHEN NOT MATCHED THEN INSERT (hash,...
5025: Commit failure in Oracle. Transaction must be rolled back in TimesTen.
The command failed.
Please advise how we can solve this?Hi
Just for additional information:
ttAdmin -cacheUidPwdSet -cacheUid TTENADMIN -cachePwd ttenadmin my_cachedb
*** [TimesTen][TimesTen 11.2.2.7.0 ODBC Driver][TimesTen]TT5221: Oracle syntax error in OCIStmtExecute(): ORA-00942: table or view does not exist rc = -1 -- file "bdbConfig.c", lineno 2324, procedure "oraExecDirect()"
*** ODBC Error = S1000, TimesTen Error = 5221
*** [TimesTen][TimesTen 11.2.2.7.0 ODBC Driver][TimesTen]TT5130: Error executing the following statement on Oracle: MERGE INTO TTENADMIN.TT_06_databases USING DUAL ON (upper(TTENADMIN.TT_06_databases.host) = upper('DG1166') AND upper(TTENADMIN.TT_06_databases.datastore) = upper('/opt/IBM/TimesTen/tt11203FTP_database/my_cachedb')) WHEN NOT MATCHED THEN INSERT (hash,... -- file "bdbConfig.c", lineno 2353, procedure "oraExecDirect()"
*** ODBC Error = S1000, TimesTen Error = 5130
But i can see that at backend two new tables are created for TTENADMIN(cache admin):
TTENADMIN.TT_06_DATABASES and TTENADMIN.TT_06_DB_PARAMS
with columns, indexes but no records/data. -
Error while applying a patch "Unable to get the database connection"
Dear Experts,
A patch which got successfully applied is failing Production and the error is kind of surprising to me.
Apps version is 11.5.10.2
db version is 10.2.0.4
The worker log file shows
Time when worker restarted job: Thu Nov 24 2011 22:14:52
Start time for file is: Thu Nov 24 2011 22:14:52
adjava -ms128m -mx256m -nojit oracle.apps.fnd.odf2.FndXdfCmp &un_apps &pw_apps &un_apps &pw_apps &jdbc_protocol &jdbc_db_addr table &fullpath_pa_patch/115
Reading product information from file...
Reading language and territory information from file...
Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"/erp/oracle/prodappl/ad/11.5.0/java/adjri.zip:/usr/java14/jre/lib/charsets.jar:/usr/java14/jre/lib/core.jar:/usr/java14/jre/lib/graphics.jar:/usr/java1
Calling /usr/java14/bin/java ...
Exception occured
Copyright (c) 2003 Oracle Corporation
Redwood Shores, California, USA
XDF(XML Object Description File) Comparison Utility
Version 1
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Unable to get the database connection using schema username/passwordIo exception: The Network Adapter could not establish the connection
AD Run Java Command is complete.
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
AD Java
Version 11.5.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
AD Worker error:
The above program failed. See the error messages listed
above, if any, or see the log and output files for the program.
Time when worker failed: Thu Nov 24 2011 22:14:53
{code}
The error says database connection error. I am able to connect to the database using sqlplus. I tried to restart the failed worker, but the same error is repeating.
Any help would be appreciated.
Thanks
qARS
Edited by: user7640966 on Nov 24, 2011 9:07 AMHussein,
One thing which I noticed now is in the apps Tier the
tnsnames.ora under $TNS_ADMIN
shows entry like this:
PROD=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=<appsServerName>)(PORT=1521))
(ADDRESS=(PROTOCOL=tcp)(HOST=<dbServer>)(PORT=1521))
(CONNECT_DATA=
(SID=PROD)
)Actually *(ADDRESS=(PROTOCOL=tcp)(HOST=<appsIPaddress>)(PORT=1521))* this line in the tnsnames.ora is not correct. In fact the appsServerName should be replaced with dbServerName
I deleted the tnsnames.ora and reran autoconfig but it is again recreating the same entry.
Any clue how this can be fixed?
Thanks
qARS -
Input the data in to the grid without saving it to the database
<PRE lang=jsp id=pre2 style="MARGIN-TOP: 0px" nd="109"><%@ taglib uri="/WEB-INF/tags/datagrid.tld" prefix="grd" %>
<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.DriverManager" %>
<%@ page import="java.sql.SQLException" %>
<%@ page import="com.freeware.gridtag.*" %>
<%
int intCurr = 1;
int intSortOrd = 0;
String strTmp = null;
String strSQL = null;
String strSortCol = null;
String strSortOrd = "ASC";
boolean blnSortAsc = true;
strSQL = "SELECT CLICORPORATION, CLICLIENT, CLIDESCRIPTION, " +
"CLIENABLED, CLIUPDSTAMP FROM CLIENTMASTER ";
Connection objCnn = null;
Class objDrvCls = null;
objDrvCls = Class.forName("oracle.jdbc.driver.OracleDriver");
objCnn = DriverManager.getConnection("<A class=iAs style="FONT-WEIGHT: normal; FONT-SIZE: 100%; PADDING-BOTTOM: 1px; COLOR: darkgreen; BORDER-BOTTOM: darkgreen 0.07em solid; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline" href="#" target=_blank itxtdid="3346226">jdbc</A>:oracle:thin:@Host:port:sid",
"cashincpri", "cashincpri");
if (objDrvCls != null) objDrvCls = null;
strTmp = request.getParameter("txtCurr");
try
if (strTmp != null)
intCurr = Integer.parseInt(strTmp);
catch (NumberFormatException NFEx)
strSortCol = request.getParameter("txtSortCol");
strSortOrd = request.getParameter("txtSortAsc");
if (strSortCol == null) strSortCol = "CLICLIENT";
if (strSortOrd == null) strSortOrd = "ASC";
blnSortAsc = (strSortOrd.equals("ASC"));
%>
<html>
<head>
<title>Grid Tag Demonstration</title>
<link REL="StyleSheet" HREF="css/GridStyle.css">
<script LANGUAGE="javascript">
function doNavigate(pstrWhere, pintTot)
var strTmp;
var intPg;
strTmp = document.frmMain.txtCurr.value;
intPg = parseInt(strTmp);
if (isNaN(intPg)) intPg = 1;
if ((pstrWhere == 'F' || pstrWhere == 'P') && intPg == 1)
alert("You are already viewing first page!");
return;
else if ((pstrWhere == 'N' || pstrWhere == 'L') && intPg == pintTot)
alert("You are already viewing last page!");
return;
if (pstrWhere == 'F')
intPg = 1;
else if (pstrWhere == 'P')
intPg = intPg - 1;
else if (pstrWhere == 'N')
intPg = intPg + 1;
else if (pstrWhere == 'L')
intPg = pintTot;
if (intPg < 1) intPg = 1;
if (intPg > pintTot) intPg = pintTot;
document.frmMain.txtCurr.value = intPg;
document.frmMain.submit();
function doSort(pstrFld, pstrOrd)
document.frmMain.txtSortCol.value = pstrFld;
document.frmMain.txtSortAsc.value = pstrOrd;
document.frmMain.submit();
</script>
</head>
<body>
<h2>Grid Example</h2>
<form NAME="frmMain" METHOD="post">
<grd:dbgrid id="tblStat" name="tblStat" width="100" pageSize="10"
currentPage="<%=intCurr%>" border="0" cellSpacing="1" cellPadding="2"
dataMember="<%=strSQL%>" dataSource="<%=objCnn%>" cssClass="gridTable">
<grd:gridpager imgFirst="images/First.gif" imgPrevious="images/Previous.gif"
imgNext="images/Next.gif" imgLast="images/Last.gif"/>
<grd:gridsorter sortColumn="<%=strSortCol%>" sortAscending="<%=blnSortAsc%>"/>
<grd:rownumcolumn headerText="#" width="5" HAlign="right"/>
<grd:imagecolumn headerText="" width="5" HAlign="center"
imageSrc="images/Edit.gif"
linkUrl="javascript:doEdit('{CLICORPORATION}', '{CLICLIENT}')"
imageBorder="0" imageWidth="16" imageHeight="16"
alterText="Click to edit"/>
<grd:textcolumn dataField="CLICLIENT" headerText="Client"
width="10" sortable="true"/>
<grd:textcolumn dataField="CLIDESCRIPTION" headerText="Description"
width="50" sortable="true"/>
<grd:decodecolumn dataField="CLIENABLED" headerText="Enabled" width="10"
decodeValues="Y,N" displayValues="Yes,No" valueSeperator=","/>
<grd:datecolumn dataField="CLIUPDSTAMP" headerText="Last Updated"
dataFormat="dd/MM/yyyy HH:mm:ss" width="20"/>
</grd:dbgrid>
<input TYPE="hidden" NAME="txtCurr" VALUE="<%=intCurr%>">
<input TYPE="hidden" NAME="txtSortCol" VALUE="<%=strSortCol%>">
<input TYPE="hidden" NAME="txtSortAsc" VALUE="<%=strSortOrd%>">
</form>
</body>
</html>
<%
try
if (objCnn != null)
objCnn.close();
catch (SQLException SQLExIgnore)
if (objCnn != null) objCnn = null;
%>
</PRE>
by using this code we will get the gide.
but the problem is when we are inserting the new record after click to save the record first saves the data in the Db and then it appears on the grid.
Is it possible to do reverse of the above :
first it comes to the grid and then after click to save it save to the database.
please help me
Regards,
imranHi Yamini,
What do you mean by without query region here? Do you wish to implement the complete search/result functionality without using the Query page? Or your question already answered. Kindly confirm.
Regards
Sumit -
Enterprise Manager is not able to connect to the database instance....
Hi all,
Currently i'm facing a big issue here.
I have install the Oracle 10g on Window 2003 SE.
And currently the Enterprise manager is not be able to conenct to the database and my database is still running.With my listener is up.
But from the Enterprise manager's it show that everythg is down.
and when i try to restart it,i ask for os id and password and dbuser and dbpassword.
frm the SQL plus,i can easily startup and shutdown the database.
So i would like to know i can rectify this problem.
please kindly help me.I have post the setting of the databse as below
tnsnames.ora
==========
# Filename......: tnsnames.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
SDB.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = SAP_SOLMAN)
(PORT = 1527)
(CONNECT_DATA =
(SID = SDB)
(GLOBAL_NAME = SDB.WORLD)
sqlnet.ora
========
# sqlnet.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.
# 05.01.06 set to default
#TCP.NODELAY=YES
# 05.01.06 set to 32768
# 05.01.06 unsorported parameter now
#NAME.DEFAULT_ZONE = WORLD
# 05.01.06 set the default to 10
# Filename......: sqlnet.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#4 $
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME, LDAP)
NAMES.DEFAULT_DOMAIN = WORLD
DEFAULT_SDU_SIZE = 32768
SQLNET.EXPIRE_TIME = 10
Listener.ora
=========
# Filename......: listener.ora
# Created.......: created by SAP AG, R/3 Rel. >= 6.10
# Name..........:
# Date..........:
# @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
ADMIN_RESTRICTIONS_LISTENER = on
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = SDB.WORLD)
(ADDRESS=
(PROTOCOL = IPC)
(KEY = SDB)
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = SAP_SOLMAN)
(PORT = 1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = SDB)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
Listener status
===========
LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SDB.WORLD))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 15-AUG-2006 15:14:48
Uptime 0 days 2 hr. 43 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
ra
Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDB.WORLDipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDBipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SAP_solman)(PORT=1527)))
Services Summary...
Service "SDB" has 1 instance(s).
Instance "SDB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
emoms.log
========
2006-08-15 18:03:20,562 [HttpRequestHandler-2254042] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
at oracle.sysman.emdrep.receiver.OMSHandshake.getParameterFromDB(OMSHandshake.java:387)
at oracle.sysman.emdrep.receiver.OMSHandshake.getMaxAgentCompatVer(OMSHandshake.java:369)
at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:794)
at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:648)
at oracle.sysman.emdrep.receiver.FxferRecv.doGet(FxferRecv.java:658)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake getParameterFromDB.402 - Io exception: The Network Adapter could not establish the connection
2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://SAP_solman:3938/emd/main)(ERROR = INTERNAL_ERROR)
2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getRepositoryVersionAndMode(ConnectionService.java:368)
at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepositoryEx(ConnectionService.java:395)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:144)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
2006-08-15 18:03:36,531 [HttpRequestHandler-9249408] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
2006-08-15 18:03:36,531 [EMUI_18_03_36_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
OracleDBConsoleSDBsrvc.log
======================
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/09/06 15:11:59 Start pending...
08/09/06 15:11:59 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/09/06 15:12:04 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/09/06 15:12:04 Tracking process launch...
08/09/06 15:12:41 Received exitCode 3 from emctl istatus
08/09/06 15:12:41 dbconsole started
08/11/06 08:46:03 Recieved ServCtrlHdlr command, 5
08/11/06 08:46:03 Stopping dbconsole
08/11/06 08:46:03 Launching stop EMD process...
08/11/06 08:46:03 Waiting for stop EMD process to exit. numRetries=74
08/11/06 08:46:06 Stop process has exited with exitCode: 0
08/11/06 08:46:06 Waiting for emwd process to exit. numRetries=74
08/11/06 08:46:06 Watchdog process exited with exit code 15
08/11/06 08:46:06 Signal Shutdown event.
08/11/06 08:46:06 Shutdown thread exited.
08/11/06 08:46:06 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/11/06 08:45:17 Start pending...
08/11/06 08:45:17 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/11/06 08:45:26 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/11/06 08:45:26 Tracking process launch...
08/11/06 08:46:11 Received exitCode 3 from emctl istatus
08/11/06 08:46:11 dbconsole started
08/11/06 08:48:58 Recieved ServCtrlHdlr command, 5
08/11/06 08:48:58 Stopping dbconsole
08/11/06 08:48:58 Launching stop EMD process...
08/11/06 08:48:58 Waiting for stop EMD process to exit. numRetries=74
08/11/06 08:49:02 Stop process has exited with exitCode: 0
08/11/06 08:49:02 Waiting for emwd process to exit. numRetries=74
08/11/06 08:49:02 Watchdog process exited with exit code 15
08/11/06 08:49:02 Signal Shutdown event.
08/11/06 08:49:02 Shutdown thread exited.
08/11/06 08:49:02 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/11/06 08:53:20 Start pending...
08/11/06 08:53:20 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/11/06 08:53:29 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/11/06 08:53:29 Tracking process launch...
08/11/06 08:54:14 Received exitCode 3 from emctl istatus
08/11/06 08:54:14 dbconsole started
08/11/06 11:37:30 Recieved ServCtrlHdlr command, 5
08/11/06 11:37:30 Stopping dbconsole
08/11/06 11:37:30 Launching stop EMD process...
08/11/06 11:37:30 Waiting for stop EMD process to exit. numRetries=74
08/11/06 11:37:34 Stop process has exited with exitCode: 0
08/11/06 11:37:34 Waiting for emwd process to exit. numRetries=74
08/11/06 11:37:34 Watchdog process exited with exit code 15
08/11/06 11:37:34 Signal Shutdown event.
08/11/06 11:37:34 Shutdown thread exited.
08/11/06 11:37:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/11/06 11:36:48 Start pending...
08/11/06 11:36:48 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/11/06 11:36:56 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/11/06 11:36:56 Tracking process launch...
08/11/06 11:37:41 Received exitCode 3 from emctl istatus
08/11/06 11:37:41 dbconsole started
08/15/06 09:31:52 Recieved ServCtrlHdlr command, 5
08/15/06 09:31:52 Stopping dbconsole
08/15/06 09:31:52 Launching stop EMD process...
08/15/06 09:31:52 Waiting for stop EMD process to exit. numRetries=74
08/15/06 09:31:56 Stop process has exited with exitCode: 0
08/15/06 09:31:56 Waiting for emwd process to exit. numRetries=74
08/15/06 09:31:56 Watchdog process exited with exit code 15
08/15/06 09:31:56 Signal Shutdown event.
08/15/06 09:31:56 Shutdown thread exited.
08/15/06 09:31:56 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/15/06 09:31:06 Start pending...
08/15/06 09:31:06 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/15/06 09:31:14 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/15/06 09:31:14 Tracking process launch...
08/15/06 09:31:49 Did not hear back from emctl istatus.
08/15/06 09:31:49 Waiting a further 5 secs...
08/15/06 09:31:51 Received exitCode 3 from emctl istatus
08/15/06 09:31:51 dbconsole started
08/15/06 15:15:31 Recieved ServCtrlHdlr command, 5
08/15/06 15:15:31 Stopping dbconsole
08/15/06 15:15:31 Launching stop EMD process...
08/15/06 15:15:31 Waiting for stop EMD process to exit. numRetries=74
08/15/06 15:15:34 Stop process has exited with exitCode: 0
08/15/06 15:15:34 Waiting for emwd process to exit. numRetries=74
08/15/06 15:15:34 Watchdog process exited with exit code 15
08/15/06 15:15:34 Signal Shutdown event.
08/15/06 15:15:34 Shutdown thread exited.
08/15/06 15:15:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
-------------- [OracleDBConsoleSDB] ------------
EMDROOT=E:\oracle\product\10.2.0\db_1
ORACLE_HOME=E:\oracle\product\10.2.0\db_1
EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
08/15/06 15:14:46 Start pending...
08/15/06 15:14:46 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
08/15/06 15:14:54 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
08/15/06 15:14:54 Tracking process launch...
08/15/06 15:15:29 Did not hear back from emctl istatus.
08/15/06 15:15:29 Waiting a further 5 secs...
08/15/06 15:15:32 Received exitCode 3 from emctl istatus
08/15/06 15:15:32 dbconsole started
Command prompt for emctls status
=========================
E:\oracle\product\10.2.0\db_1\BIN>emctl status
Environment variable ORACLE_SID not defined. Please define it.
emd.properties
===========
# perl executable directory
perlBin=E:\oracle\product\10.2.0\db_1\perl\5.8.3\bin\MSWin32-x86-multi-thread
# script directory
scriptsDir=E:\oracle\product\10.2.0\db_1/sysman/admin/scripts
# emd Root directory(read-only location). Metrics should not create files
# under this directory
emdRoot=E:\oracle\product\10.2.0\db_1
# agent Root directory(writeable).
# Use this property to base any temporary file creation.
agentStateDir=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB
# Chronos root directory
chronosRoot=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/emd/chronos
# OMS Upload URL
# if there is no receiving OMS or if you wish to disable the UploadManager
# please set this value to empty or comment out below line
REPOSITORY_URL=http://SAP_solman:5500/em/upload/
# Proxy settings used for fetchlets. not applicable for uploader.
#proxyHost=www-proxy.us.oracle.com
#proxyPort=80
#dontProxyFor=.us.oracle.com
# If it is necessary to go through an http proxy server to get to the
# repository, uncomment the following two lines
#REPOSITORY_PROXYHOST=
#REPOSITORY_PROXYPORT=
#REPOSITORY_PROXYREALM=%EM_REPOS_PROXYREALM%
#REPOSITORY_PROXYUSER=%EM_REPOS_PROXYUSER%
#REPOSITORY_PROXYPWD=%EM_REPOS_PROXYPWD%
# This string is used by the agent to connect to remote targets
# ***IMPORTANT*** Do not change the contents of this setting. Only the
# install should modify this value.
agentSeed=1329576760
# This string is used by the agent to determine which algorithm to use for encrypted data
# The string value will be same as the release version
agentVersion=10.1.0.4.0
# How long, in minutes, collector will wait until next load.
UploadInterval=5
# If an upload fails, we want to backoff by UploadFailBackoff
# percentage more each time for each successive upload failure
# e.g. if we start the retry at 1 minute. If we fail in our next
# upload attempt, we try again 1minute 12 seconds later etc.
UploadFailBackoffPct= 20
# Maximum amount of time, in seconds, upload will wait for response from
# repository before timing out.
# 0 means infinite.
UploadTimeout=1800
# Timeout for upload a file, HealthMonitor will abort the EMD process if
# UploadManager does not finish uploading one file within this time
# Unit is minite, the default value is 1 hour ( 15 Min)
#UploadMaxTime=15
# How big the file the collector will upload (in KB)
# the actual file size could be slightly bigger.
# This is only a guidance.
UploadFileSize=2048
# The maximum number of megabytes(MB) the upload manager will support in the
# upload directory before temporarily being disabled
UploadMaxBytesXML=50
# The maximum number of files the upload manager will support in the
# upload directory before temporarily being disabled
UploadMaxNumberXML=5000
# The maximum amount (%) of disk space that can be used on the EMD filesystem
# before the following is disabled:
# - Collection of data (upload manager)
# - Logging and tracing
UploadMaxDiskUsedPct=98
# The amount (%) of disk space that can be used on the EMD filesystem
# before the following is re-enabled after being disabled previously:
# - Collection of data (upload manager)
# - Logging and tracing
UploadMaxDiskUsedPctFloor=95
# Time out for the Agent to think that the access to the database could be
# hung. The Agent would not allow more threads to go and hang with a database
# if any one access to the database does not return within DbHangTimeout
# seconds.
# The more the timeout more the possibility of allowing more threads
# to be hung in the EMD with a bad database.it is specified in seconds.
#DbHangTimeout=200
# The script to run if disk space usage exceeds parameters or if certain other
# error conditions occur.
#emdFailureScript=emdfail.command
# The location of the file that contains the root certificate.
emdRootCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64LocalCertificate.txt
internetCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64InternetCertificate.txt
# The download URL for the EMD Oracle Wallet and its local file location.
# Note: Ensure that this URL references a valid port number at which the
# console is available on http
emdWalletSrcUrl=http://SAP_solman:5500/em/wallets/emd
emdWalletDest=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/server
# The email address for out-of-band notifications
emd_email_address=
emd_email_gateway=
# The return email address for out-of-band notifications
emd_from_email_address=
# EMD main servlet URL
EMD_URL=http://SAP_solman:3938/emd/main
# Whether the EMD should listen on all NICs on the current host (the default)
# or just the NIC associated with the hostname in EMD_URL
AgentListenOnAllNICs=TRUE
# This parameter indicates the thread model to use. uncomment one of the
# following ThreadPoolModel line to indicate the model, agent need to use.
# SMALL if number of targets is less than 11.
# MEDIUM if number of targets is from 11 to 50.
# LARGE if number of targets is greater than 50.
# This parameter can be overriden by 'MaxThreads' which indicates the maximum
# number of threads that CEMD can have running at any point of time. User can
# mostly use the other parameter ThreadPoolModel to indicate what model for the
# agent to use.
# ThreadPoolModel = SMALL
# ThreadPoolModel = MEDIUM
# ThreadPoolModel = LARGE
# This parameter indicates the stack size, threads have to be created with.
# we can set it to 0 to use the OS default value.
# In some version of solaris(such as 2.9 ) specify a stack size may cause Java Hotspot warning
# when JVM is used.
NormalThreadStackSize=0
#Signals that users want to ignore.
#It can be one or combination of SIGTERM, SIGINT
# The signals can listed with ',' as delimiter.
#IgnoreSignals=
# This property is NO LONGER USED for host config collection (instead, hostConfigClasspath is used).
# If noone else uses it, it can be removed.
ouiLoc=E:\oracle\product\10.2.0\db_1/oui
# Classpath for host config collection
# VERY IMPORTANT NOTE: If you change the host config classpath entries in this section, you HAVE
# to change the HOST_CONFIG_TEST_CLASSPATH entry in the utl/emdwqaenv file too.
# NOTE: if the location of emd_java.jar and/or log4j-core.jar is changed
# make sure that appropriate changes are also made
# to the CLASSPATH variable in this file if necessary
# PORTING NOTE: Check OUI-required jar files for OUI APIs to work. They could be different on your platform.
# Also, our version of xmlparserv2.jar must be compatible with the one OUI expects (both OUI and ECM use XML parser).
hostConfigClasspath=E:\oracle\product\10.2.0\db_1/oui/jlib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/OraInstaller.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/srvm.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/share.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar
# JAVA HOME required for JavaExt metric calls
JAVA_HOME=E:\oracle\product\10.2.0\db_1/jdk/jre
# CLASSPATH required for JavaExt metric calls
CLASSPATH=E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/ons.jar;E:\oracle\product\10.2.0\db_1/lib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar;E:\oracle\product\10.2.0\db_1/oc4j/j2ee/home/lib/http_client.jar;E:\oracle\product\10.2.0\db_1/lib/dms.jar;E:\oracle\product\10.2.0\db_1/lib/dmsEmd.jar;E:\oracle\product\10.2.0\db_1/jlib/share.jar;E:\oracle\product\10.2.0\db_1/jdbc/lib/ojdbc14dms.jar;E:\oracle\product\10.2.0\db_1/jlib/jssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/javax-ssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/lib/em_test.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/jlib/repository.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/optic.jar
# this is the java option
#JAVA_OPTIONS=-Xmx128m
# These are the optional Java flags for the in-process Java
# Native Interface (JNI)
agentJavaDefines=-Doracle.dms.refresh.wait.time=1000 -DUrlTiming.UseJSSE=true
# When set to true, the emd.log and emd.trc file will be appended by a pid
# For example:
# emd_15789.log
# emd_15789.trc
# By default, it is not set for regression test purpose.
# After installed, please uncomment this line because when EMD is restarted,
# previous log information will be lost if not set to true.
#LogFileWithPID=true
# Default log file maximum size before rolling in Kilobytes
LogFileMaxSize=4096
# Maximum number of log file roll files to maintain before deletion
LogFileMaxRolls=4
# Default trace file maximum size before rolling in Kilobytes
TrcFileMaxSize=4096
# Maximum number of trace file roll files to maintain before deletion
TrcFileMaxRolls=4
# To enable the metric browser, uncomment the following line
# This is a reloadable parameter
#enableMetricBrowser=true
# To disable Remote operations (non-reachable agent) uncomment the following
# line:
#disableRemoteOperations=true
# add an additional admin path from which the agent will read additional
# target metadata. The specified path should have the mandatory 4 directories
# under it. 1. metadata 2. scripts 3. default_collection 4. discover
#altAdminPath=<additional admin path>
# The health monitor executes callbacks in a separate thread. if for some
# reason the threads spawned from health monitor to execute callbacks are
# hung, the agent could run out of resource and freeze.
# so when the current thread count spawned from the Health monitor reaches
# this limit, the agent is bounced. the default is set to 5.
#MaxHealthMonitorThreads=5
# dynamicPropsComputeTimeout default to 30s
dynamicPropsComputeTimeout=60
# emagent perl tracing levels
# supported levels: DEBUG, INFO, WARN, ERROR
# default level is ERROR
EMAGENT_PERL_TRACE_LEVEL=ERROR
# other optional parameters for perl tracing
# EMAGENT_PERL_TRACE_DIR default to $ORACLE_HOME/sysman/log
#EMAGENT_PERL_TRACE_DIR=
# EMAGENT_PERL_TRACE_FILESIZE default to 5M
#EMAGENT_PERL_TRACE_FILESIZE=5
# this section define the logging level for each component,
# it is "reloadable", you can change the level at runtime to reset
# the logging level, but if you remove the line, it will not be
# changed.
tracelevel.main=WARN
tracelevel.emSDK.xml=WARN
tracelevel.emSDK.utl=WARN
tracelevel.ResMonitor=WARN
tracelevel.Dispatcher=WARN
tracelevel.ThreadPool=WARN
tracelevel.pingManager=WARN
tracelevel.collector=WARN
tracelevel.http=WARN
tracelevel.ssl=WARN
tracelevel.ssl.io=WARN
tracelevel.blackouts=WARN
tracelevel.upload=WARN
tracelevel.command=WARN
tracelevel.reload=WARN
tracelevel.scheduler=WARN
tracelevel.Authentication=WARN
tracelevel.metadata=WARN
tracelevel.targets=WARN
tracelevel.TargetManager=WARN
tracelevel.engine=WARN
tracelevel.javaproc=WARN
tracelevel.vpxoci=WARN
tracelevel.javavm=WARN
tracelevel.fetchlets=WARN
tracelevel.fetchlets.os=WARN
tracelevel.fetchlets.osline=WARN
tracelevel.fetchlets.oslinetok=WARN
tracelevel.fetchlets.UDM=WARN
tracelevel.fetchlets.sql=WARN
tracelevel.fetchlets.url=WARN
tracelevel.fetchlets.urllines=WARN
tracelevel.fetchlets.urllinetoken=WARN
tracelevel.fetchlets.URLTiming=WARN
tracelevel.fetchlets.propEcho=WARN
tracelevel.fetchlets.readFromFile=WARN
tracelevel.fetchlets.readMultFromFile=WARN
tracelevel.fetchlets.throwable=WARN
tracelevel.fetchlets.resourceGrab=WARN
tracelevel.fetchlets.emSDK=WARN
# The following three properties are for HTTP timeout
# Timeout value for reading Http primary header, default is 30 seconds.
httpTimeoutPrimaryHeader=30
# Timeout value for reading http secondary headers, default is 30 seconds
httpTimeoutSecondaryHeaders=30
# Timeout value for reading http body, default is 60 seconds.
httpTimeoutBody=60
omsRecvDir=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\sysman\recv
agentTZRegion=+08:00
And i would like to know how to set up the environment variable for Oracle_HOME and ORACLE_SID.
Please kindly assist me on this.Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
-Ramesh -
Connecting to the database taking long time to connect database server
Hi
When I execute procedure i am getting the below message at bottom of the Oracle SQL Developer
"Connecting to the database"
it is taking more than 10 min plz guideHi
have you installed a normal Oracle Client also on your Host? normal Oracle Client
Did you connect with host:port:sid or with a Oracle Naming Service? through TNS Service
Can you test tnsping <alias> yes, It is working fine
Did other user have the same problem? yes
Did you connect through WAN or LAN connection? LAN (Intranet)
Can you tell more about you client/database setup?
Database setup:
OS: Window 2008 server
version: 11.1.0
Client: 11.1.0
OS: Window 2008 server
Now I am not able to execute single select query which table contains 6 records and 15 columns it is taking long time I have waited 30 min still no resutls
only one table is behaving like this remaining is working fine
Edited by: user9235224 on Oct 6, 2012 7:06 PM
Maybe you are looking for
-
Variable substitution parameter
Hi All, I have a scenario where in i am creating a flat file . File name is being taken from the payload using variable substitution parameter . But while wrting to a file , i need to make sure that File name doesnt get written in the file . Is there
-
Page looks funny in IE, looks fine in Chrome, Firefox, Safari
Hi Everyone, Any advice would be greatly appreciated. This page looks fine in Firefox, Safari, and Chrome, but the formatting gets screwed up in Internet Exploder. Since I'm on a mac, checking is rather difficult for me. Aside from fixes to the code
-
"Segmentation fault" during tns rman active duplicate
Hello. I am trying to do an active duplicate using tns connectivity and just after restoring the controlfile the process fails with the error "Segmentation fault". However if I start the rman using Ezconnect everything goes smoothly. Restarting the d
-
Vandor crdit memo, subsequent debit memo and subsequent crdit memo
Hi, what is the difference between subsequent debit, credit and credit memo in MIRO transaction. In case of vendor had given us credit note with relevant to particular for which we had already completed the invoice verification and payment also
-
Macbook pro inicios 2011 Lento
Hola, hace varios meses tengo mi Macbook Pro de incios de 2011 y tiene instalado la OS 10.7.5, funciona lento y se queda pegado en aplicaciones tan simples como photoboth, dashboard, etc. Segun el manual este equipo viene de fabrica con snow leopard