[oracle 10g on SDK 1.6SE] Err Msg: Exhausted Resultset
I am having problem obtaining proper Resultset from a excuteQuery() method.
i can successfully create a JDBC connection to local oracle database (on my computer) and excute a query on a table named "emp" which contains two records; however when i print out my Resultset using getInt(String coloumName), compiler error says "Exhausted Resultset".
my source code:
import java.sql.*;
import oracle.jdbc.pool.OracleDataSource;
class GetEmpDetails
public static void main(String args[])
try
// instantiate and initialize OracleDataSource
OracleDataSource ods = new OracleDataSource();
ods.setURL("jdbc:oracle:thin:usr/secret@Laptop:1521:oracle"); Connection x = ods.getConnection();
Statement stmt = x.createStatement();
ResultSet rset = stmt.executeQuery("select empno, ename, job from emp");
rset.next();
System.out.println("My ID is "+ rset.getInt("empno") );
// System.out.println("My ID is" + rset.getInt(1); returns "invalid coloum index" error
catch (SQLException e)
System.err.println ("error message: " + e.getMessage() );
e.printStackTrace();
Runtime.getRuntime().exit(1);
i am able to query my emp table under SQLPlus with the following output:
EMPNO ENAME JOB
1 Tim Student
2 Tom Student
JAVA compiler compiles upto excuteQuery("select ...") statement and at that point returns an empty Resultset objet (i think)
i copied this code from an example giving in a programming book using oracle 10g on JDK1.5SE.
can anyone make some suggestion about how to fix this error?
ting
Okay a few points here to clear some things up and move you forward.
1) What you are getting are not compilation errors. They are runtime errors. You made this mistake at least twice (once in your original post and once in your follow up) and it's worth clarifying because runtime errors and compile time errors are not the same thing. And that's worth knowing if for no other reason then in future if you ask for help with "compilation" errors that are actually runtime errors you may well find that you confuse the heck out of people and can't be helped.
2) What the good doctor was pointing out is that you should not be throwing away the value of rs.next no matter if you feel the table should have records or not. Your code should look like this
if(rs.next()){
// do something
}else{
// do something else
}Because that will handle either way and your program won't come to a screeching halt because you tried to read a value that doesn't exist in the ResultSet.
So no matter how you get this resolved your code should still end up looking like the above (or similar). At any rate make use of the boolean returned from the next method.
3) On to your actual problem. Well first you need to cross off any silly mistakes that do happen from time to time. Like are you sure you are talking to the "right" database. Again this may seem silly but it does happen.
If that checks out then almost certainly yes this is some sort of Oracle permissions related issue. This seems to happen with Oracle more than other databases, I suspect because Oracle more than others associates table statistics with user permissions, but this could be totally unwarranted and simply based on my experience here which is many people having similar types of problems. The best way to resolve this is to make sure that you are logging in with the same credentials as you use in SQLPlus.
If all else fails talk to your DBA. This is an Oracle related issue of some sort but it's very difficult to diagnose specifically over the internet.
Similar Messages
-
Oracle 10g installation is hanging in RAC setup..
Hi,
I installed 10 clusterware succesfully(10.2.0.1) in linux 4AS. CRS is running successfully in two nodes. i set kernel parmeters and installed require package also.When i am try to install oracle 10g database software(10.2.0.1), it is going fine 24% after that it is hanging.installation progress bar is showing 24%
Thanks,Hi,
Please find the installAction log file and installAction Error file,
installActions2009-03-15_08-30-35PM.log
SSL Required Support Files for InstantClient 10.2.0.1.0
regexp 2.1.9.0.0
Bali Share 1.1.18.0.0
Oracle Universal Installer 10.2.0.1.0
Oracle One-Off Patch Installer 10.2.0.1.0
Installer SDK Component 10.2.0.1.0
Java Runtime Environment 1.4.2.8.0
Sun JDK 1.4.2.0.8
Sun JDK extensions 10.1.2.0.0
INFO: Method 'dispose()' Not implemented in class 'oracle.sysman.oii.oiif.oiifp.OiifpWizIntroPanel'
INFO: Method 'dispose()' Not implemented in class 'OiSuperAdminPasswd'
INFO: config-context initialized
INFO: *** Install Page***
INFO: FastCopy : File Version is Compatible
INFO: Install mode is fastcopy mode for component 'oracle.server' with Install type 'EE'.
INFO: FASTCOPYRAC : Oracle Home < /u01/app/oracle/product/10.2.0/db_1 >is shared. Instantiating RAC files
INFO: HomeSetup JRE files in Scratch :590
INFO: Setting variable 'ROOTSH_LOCATION' to '/u01/app/oracle/product/10.2.0/db_1/root.sh'. Received the value from a code block.
INFO: Setting variable 'ROOTSH_LOCATION' to '/u01/app/oracle/product/10.2.0/db_1/root.sh'. Received the value from a code block.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_exp_1.xml'.
INFO: Performing fastcopy operations based on the information in the file 'racfiles.jar'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_dirs.lst'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_filemap.jar'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_1.xml'.
INFO: Performing fastcopy operations based on the information in the file 'setperms1.sh'.
INFO: Number of threads for fast copy :1
WARNING: This will stop installation of all products and exit the Installer. Are you sure that you want to stop the installation and exit?
INFO: User Selected: Yes/OK
oraInstall2009-03-15_08-30-35PM.err
java.util.zip.ZipException: too many length or distance symbols
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.util.zip.ZipInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1420)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.copyFileFromJar(OiijFastJarExtracter.java:258)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.copyJarContents(OiijFastJarExtracter.java:194)
at oracle.sysman.oii.oiij.OiijFastJarExtracter.extract(OiijFastJarExtracter.java:143)
at oracle.sysman.oii.oiij.OiijJarExtractQueue$OiijJarExtractWorker.run(OiijJarExtractQueue.java:341)
Thanks, -
Procedure compiles on Oracle 10g but fails to do so on Oracle 9i
Hi,
We have an application which supports both Oracle 9i and Oracle 10g dbs, recently we added a new procedure to get a report from the applications statistics schema, the procedure uses two other schemas also to get the report and uses a query which does not use any Oracle specific feature (pure ANSI SQL), it compiled successfully on Oracle 10g but gives the following error on 9i db
SQL> show err
Errors for PROCEDURE SPGETNONCOMPLOGBASEDONEMP:
LINE/COL ERROR
22/8 PL/SQL: SQL Statement ignored
31/37 PL/SQL: ORA-00907: missing right parenthesis
the 9i version
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
10g version
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
If any body knows the soln, please help
Thanks in advance
Gibs
Procedure
CREATE OR REPLACE PROCEDURE Spgetnoncomplogbasedonemp (
in_emp_id IN VARCHAR,
in_start_date IN DATE,
in_end_date IN DATE,
non_complog OUT Types.ref_cursor
IS
BEGIN
OPEN non_complog
FOR
SELECT end_date AS end_date, employee_id AS emp_id, NAME AS emp_name,
vcname AS plan_name, start_date, nid AS nid
FROM (SELECT *
FROM ((SELECT employee_id, NAME
FROM hrsample_bridge.ath_employee
WHERE ( (in_emp_id IS NULL AND 1 = 1)
OR (in_emp_id IS NOT NULL
AND employee_id = in_emp_id
)) CROSS JOIN (SELECT vcname
FROM orahrsamplecore.athobjectinstance
WHERE compliance_status = 1
AND ( (in_start_date IS NULL
OR (dtcompreissue
BETWEEN in_start_date
AND in_end_date
)))) LEFT OUTER JOIN COMPTRACKLOG c ON c.emp_id =
employee_id
AND c.plan_name =
vcname
WHERE c.emp_id IS NULL
AND ( ( (in_emp_id IS NULL)
OR ( in_emp_id IS NOT NULL
AND NOT EXISTS (
SELECT 1
FROM COMPTRACKLOG
WHERE plan_name = vcname
AND c.emp_id = in_emp_id )
AND ( (in_start_date IS NULL)
OR ( (in_start_date IS NOT NULL)
AND c.end_date BETWEEN in_start_date AND in_end_date
ORDER BY c.emp_id, c.plan_name ASC;
END;
/Hi,
We have an application which supports both Oracle 9i and Oracle 10g dbs, recently we added a new procedure to get a report from the applications statistics schema, the procedure uses two other schemas also to get the report and uses a query which does not use any Oracle specific feature (pure ANSI SQL), it compiled successfully on Oracle 10g but gives the following error on 9i db
SQL> show err
Errors for PROCEDURE SPGETNONCOMPLOGBASEDONEMP:
LINE/COL ERROR
22/8 PL/SQL: SQL Statement ignored
31/37 PL/SQL: ORA-00907: missing right parenthesis
the 9i version
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
10g version
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
If any body knows the soln, please help
Thanks in advance
Gibs
Procedure
CREATE OR REPLACE PROCEDURE Spgetnoncomplogbasedonemp (
in_emp_id IN VARCHAR,
in_start_date IN DATE,
in_end_date IN DATE,
non_complog OUT Types.ref_cursor
IS
BEGIN
OPEN non_complog
FOR
SELECT end_date AS end_date, employee_id AS emp_id, NAME AS emp_name,
vcname AS plan_name, start_date, nid AS nid
FROM (SELECT *
FROM ((SELECT employee_id, NAME
FROM hrsample_bridge.ath_employee
WHERE ( (in_emp_id IS NULL AND 1 = 1)
OR (in_emp_id IS NOT NULL
AND employee_id = in_emp_id
)) CROSS JOIN (SELECT vcname
FROM orahrsamplecore.athobjectinstance
WHERE compliance_status = 1
AND ( (in_start_date IS NULL
OR (dtcompreissue
BETWEEN in_start_date
AND in_end_date
)))) LEFT OUTER JOIN COMPTRACKLOG c ON c.emp_id =
employee_id
AND c.plan_name =
vcname
WHERE c.emp_id IS NULL
AND ( ( (in_emp_id IS NULL)
OR ( in_emp_id IS NOT NULL
AND NOT EXISTS (
SELECT 1
FROM COMPTRACKLOG
WHERE plan_name = vcname
AND c.emp_id = in_emp_id )
AND ( (in_start_date IS NULL)
OR ( (in_start_date IS NOT NULL)
AND c.end_date BETWEEN in_start_date AND in_end_date
ORDER BY c.emp_id, c.plan_name ASC;
END;
/ -
Hanging with Oracle 10g release 2 on Windows XP !!!
Hi,
I am trying to Install Oracle 10g release 2(10.2.0.1.0) on Windows XP Professional(SP2).
Existing environment:
1. Java(SDK & Runtime Environment) 6 update 1.
2. Configured Eclipse.
The installed procedure:
1. Downloaded "10201_database_win32.zip" from Oracle website.
2. Unzip it and run setup.exe
3. It gives an error like below :
"javaw.exe - Entry Point Not Found"
"The procedure entry point longjmp could not be located in the dynnamik link library orauts.dll."
Installation completed(forcefully) without the below.
1. Oracle Net Configuration Assistant (Failed)
2. Oracle Database Configuration Assistant (Failed).
and in services: "No Oracle process exist".
I tried the below:
A. Change the environment variables (remove ORACLE_HOME/ORACLE_SID etc)
B. 2 to 5 times un-install oracle(including registry, directory etc) and install.
C. Uninstall Java SDK & Runtime Env. Then install Oracle.
D. Installing Personal edition, Enterprise edition etc etc.
E. Checked the orauts.dll in 3 places(i. BIN ii. out/bin iii. oui/lib/win32
F. Copied the orauts.dll to system32 directory.
What ever I do the above appers all the time and installation is incomplete.
Due to this problem I couldn't move further, please do help me in solving this.
Thanks a lot in advance.Hey Guys,
I am Srinivas Here who had been trying to install Oracle Database 10G on Windows X86 on Windows XP Professional.
If you have Win-XP Professional as your Operating System. Do not download the oracle Database using windows - XP Professional because XP will block certain installation files while downloading. In your machine install Windows 2000 or any other Windows version as a dual boot. First the download Database Zip files using your other version of Windows Operating system and then when you Unzip the files it will create a folder called Database and all the files will be present in it.If you want to store the same to cd for having to install the 10G Rel 2 database through CD then copy the contents of the unzipped database folder and store only the contents of the database folder and write them to CD's. Please see to it that while writing on cd's do not copy the folder itself .
After this, restart the system and get into windows XP Professional (Your XP Professional should be with Service Pack 2 in order to install 10G Database on windows XP - The Basic requirements for Oracle Database 10G on Windows X86).
I request you to check the software and hardware requirements from oracle Documents before you install the Oracle Database 10G on Windows x86 as well as Oracle Database 10G on Linux X86 or any other operating systems.
Finally, After you run the Oracle Universal installer in the last you will get messages for all products installed Success and finally it will ask the password for DBA and open the password management and give the password and reenter password and on the left you will have to unlock the items you would like to use.
In the last it will give you various URL links for Isqlplus, DBA, Enterprise Manager and a log report stored into oracle directory stored in your C:\Program files\Oracle folders. The correct link will be given at the end and you will have to watch the installation carefully.You can find DBCA and other options working. Try login in to Oracle through Command prompt, Sqlplus prompt availabe in Start ->Programs->Orahome10G->application Development-sqlplus as well as login through isqlplus link- Before this you should login at the command prompt as SYSDBA. YOU CAN SEE THAT YOUR DATABASE IS NOW WORKING IN WINDOWS XP PROFESSIONAL.
THANKS IN ADVANCE TO ALL FORUM MEMBERS WHO GAVE ME IDEA AND SUPPORT
REGARDS,
SRINIVAS -
Error executing a package on Oracle 10G database
Hi,
I've a package on Oracle 10G database which accepts xml string as input,loads it into XMLDOM and does some processing.
When I execute this package from .Net 2.0 client,I get the following error:
**Error**
err ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00216: invalid character 0 (0x0)
Error at line 1
**Error**
But when I execute the same package from .Net client 2.0 on Oracle 9i database, it seems to work fine.The xml which I am sending is well-formed one.
Where am i going wrong?
Please help.
Thanks in advance...!
Regards,
AmitCheck the xml strings passed as input . One of the xmls may be malformed.
-
Oracle 10g Installation in HP-UX 11.11
Hi,
I am facing a problem while installing Oracle 10g on HP-UX 11.11
I get the following error after executing runInstaller
Error: could not find libjava.sl
Error: could not find Java 2 Runtime Environment.
We have Java 1.4 SDK and RTE installed.
All the patches specified in the Oracle Documentation has been installed.
Please suggest what could be the problem
TIA
SantoshPlease check following environment
echo $JAVA_HOME
echo $LD_LIBRARY_PATH
if above command dispays null then you have to do following things
export JAVA_HOME=/usr/java14/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
I hope it helps u -
SQL 2008 Problem Calling an SP on an Oracle 10G Linked Server
Hi everyone
I've read through a number of posts on many sites about this issue but haven't found anything that has helped me so far. The machine I'm using is running Microsoft SQL Server 2008 64bit and the linked server I've created to Oracle 10G is using OraOLEDB.Oracle. If I test the connection in SQL Management Studio it succeeds and for any queries I have using OpenQuery to select from the Oracle DB I have no problem getting results.
The Oracle 32bit client and 64bit client versions are installed on the machine.
My problem is that I need to exec an Oracle SP which in turn inserts into various Oracle tables. I previously had this all working fine on 32bit SQL Server 2000 installation connected to Oracle 10G. Using the same code in SQL Server 2008 I get the following error:
Msg 7357, Level 16, State 2, Line 1
Cannot process the object "{CALL INTF.INTF_TW_PO_REQ_INTERFACE.MAIN(NULL, 15.000000, 0.000000, 'BLPO0099998', 'BLPO0099998', '', '', 39804, 21883, 'BLPO0099998', 249, 1, 950, 'Main', 190506, 37336, '1', TO_DATE( '20090706','YYYYMMDD' ), TO_DATE( '20090706','YYYYMMDD' ), 'INCOMPLETE',37336, {RESULTSET 1, P_Success})}". The OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLE" indicates that either the object has no columns or the current user does not have permissions on that object
The call is made by the following piece of code in SQL:
SET @execCmd = N'SELECT
P_Success
FROM
OPENQUERY( ORACLE, '''+ @oracleCmd + ''')';
EXECUTE (@execCmd);
Where @oracleCmd = {CALL INTF.INTF_TW_PO_REQ_INTERFACE.MAIN(NULL, 15.000000, 0.000000, ''BLPO0099998'', ''BLPO0099998'', '''', '''', 39804, 21883, ''BLPO0099998'', 249, 1, 950, ''Main'', 190506, 37336, ''1'', TO_DATE( ''20090706'',''YYYYMMDD'' ), TO_DATE( ''20090706'',''YYYYMMDD'' ), ''INCOMPLETE'',37336, {RESULTSET 1, P_Success})}
I also tried using the below snippet from another post I found and got no joy either.
declare @result varchar(255)
exec ('BEGIN
?:= your_SP_Name(''arg1'', ''arg2'', etc);
END;
',@result OUTPUT) at your_LinkedServerName;
select @result;
OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLE" returned message "ORA-06550: line 3, column 7:
PLS-00222: no function with name 'INTF_TW_PO_REQ_INTERFACE' exists in this scope
ORA-06550: line 3, column 1:
PL/SQL: Statement ignored".
I can't figure out why it doesn't work in SQL 2008 when it worked fine in SQL 2000 - PLEASE HELP!
Thank you
Alida HopeWhy development on 10g and production on 8i? Either both should be 8i or both should be 10g.
If you will keep production on 8i and development on 10g then you cannot stop such errors as there are features that are enabled by default in 10g and both the versions have very big differences.
Just go ahead and install 8i. -
How to deploy hibernate application in Oracle Content Management SDK?
Hi All,
I have a hibernate application which is perfectly working in Tomcat Server. I need to deploy the application under an OC4J Instance of Oracle Content Management SDK.
I have deployed the application under one OC4J Instance, but when I submitting the login page of the application, some errors are coming. The error is given below.
06/03/16 16:16:43 Started
06/03/16 16:17:04 vidushiapp: jsp: init
06/03/16 16:17:04 vidushiapp: LOGGING: init
06/03/16 16:17:04 vidushiapp: LOGGING: [WebStarterAppServlet 1] init() called.
06/03/16 16:17:04 vidushiapp: Started
06/03/16 16:17:06 vidushiapp: NodeGuardian:
06/03/16 16:17:06 vidushiapp: NodeGuardian: Oracle Content Management SDK
06/03/16 16:17:06 vidushiapp: NodeGuardian: Node Guardian 9.0.4.2.2
06/03/16 16:17:06 vidushiapp: NodeGuardian: Copyright (c) 2000, 2004 Oracle. All rights reserved.
06/03/16 16:17:06 vidushiapp: NodeGuardian:
06/03/16 16:17:06 vidushiapp: NodeGuardian: Domain = ifs://ritesh:1521:CMSDK.daffodildb.com:CM_SCHEMA
06/03/16 16:17:06 vidushiapp: NodeGuardian: Node = Sample2HttpNode
06/03/16 16:17:06 vidushiapp: NodeGuardian: ProcessId = 1456
06/03/16 16:17:06 vidushiapp: NodeGuardian: Guarded = false
06/03/16 16:17:06 vidushiapp: NodeGuardian: JavaCommand = java
06/03/16 16:17:06 vidushiapp: NodeGuardian: LogLevel = 4
06/03/16 16:17:06 vidushiapp: NodeGuardian: RemoterLogLevel = 2
06/03/16 16:17:06 vidushiapp: NodeGuardian: LogRotationPeriod = 0
06/03/16 16:17:06 vidushiapp: NodeGuardian:
06/03/16 16:17:06 vidushiapp: NodeGuardian: Creating E:/OraHome/ifs/cmsdk\log\ritesh_1521_CMSDK_daffodildb_com_CM_SCHEMA\Sample2HttpNode_HTTPNodeGuardian.pid file
06/03/16 16:17:06 vidushiapp: NodeGuardian: RemoterType = SocketRemoter
06/03/16 16:17:06 vidushiapp: NodeGuardian: GuardianLocator = ifs_socket://admin:53153
06/03/16 16:17:06 vidushiapp: SocketRemoter: Listening on 192.168.0.241:53153
06/03/16 16:17:06 vidushiapp: SocketRemoter: Initialized
06/03/16 16:17:06 vidushiapp: NodeGuardian: Ready
06/03/16 16:17:13 vidushiapp: NodeGuardian: Unguarded node manager started as Sample2HttpNode
06/03/16 16:17:13 vidushiapp: NodeManager:
06/03/16 16:17:13 vidushiapp: NodeManager: Oracle Content Management SDK
06/03/16 16:17:13 vidushiapp: NodeManager: Node Manager 9.0.4.2.2
06/03/16 16:17:13 vidushiapp: NodeManager: Copyright (c) 2000, 2004 Oracle. All rights reserved.
06/03/16 16:17:13 vidushiapp: NodeManager:
06/03/16 16:17:13 vidushiapp: NodeManager: Domain = ifs://ritesh:1521:CMSDK.daffodildb.com:CM_SCHEMA
06/03/16 16:17:13 vidushiapp: NodeManager: Node = Sample2HttpNode
06/03/16 16:17:13 vidushiapp: NodeManager: ProcessId = 1456
06/03/16 16:17:13 vidushiapp: NodeManager: DomainController Locator = ifs_socket://admin:53140
06/03/16 16:17:13 vidushiapp: NodeManager: Oracle Home = E:/OraHome
06/03/16 16:17:13 vidushiapp: NodeManager: CM SDK Home = E:/OraHome/ifs/cmsdk
06/03/16 16:17:13 vidushiapp: NodeManager: LogLevel = 4
06/03/16 16:17:13 vidushiapp: NodeManager: RemoterLogLevel = 2
06/03/16 16:17:13 vidushiapp: NodeManager:
06/03/16 16:17:13 vidushiapp: NodeManager: RemoterType = SocketRemoter
06/03/16 16:17:13 vidushiapp: NodeManager: ManagerLocator = ifs_socket://admin:53154
06/03/16 16:17:13 vidushiapp: SocketRemoter: Listening on 192.168.0.241:53154
06/03/16 16:17:13 vidushiapp: SocketRemoter: Initialized
06/03/16 16:17:14 vidushiapp: NodeGuardian: Log level set to 4
06/03/16 16:17:14 vidushiapp: NodeManager: Log level set to 4
06/03/16 16:17:14 vidushiapp: NodeGuardian: Remoter log level set to 2
06/03/16 16:17:14 vidushiapp: NodeManager: Remoter log level set to 2
06/03/16 16:17:14 vidushiapp: NodeGuardian: Node manager registered
06/03/16 16:17:14 vidushiapp: NodeManager: Ready
06/03/16 16:17:14 vidushiapp: NodeManager: Initialize: determining default services and servers
06/03/16 16:17:14 vidushiapp: NodeManager: Initialize: starting service IfsDefaultService
06/03/16 16:17:53 vidushiapp: NodeManager: Service IfsDefaultService started
06/03/16 16:17:53 vidushiapp: NodeManager: Initialize: loading server WebStarterAppServer
06/03/16 16:17:54 vidushiapp: NodeManager: Server WebStarterAppServer loaded
06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: setting priority of server WebStarterAppServer to 5
06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Priority change requested (old priority 5, new priority 5)
06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: starting server WebStarterAppServer
06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Requested to start
06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: loading server DavServer
06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Starting
06/03/16 16:17:55 vidushiapp: WebStarterAppServer: WebStarterAppServer registered under WebStarterAppServer
06/03/16 16:17:55 vidushiapp: WebStarterAppServer: Started
06/03/16 16:17:55 vidushiapp: WebStarterAppServer: WebStarterAppServer: run called
06/03/16 16:18:13 vidushiapp: NodeManager: Server DavServer loaded
06/03/16 16:18:13 vidushiapp: NodeManager: Initialize: setting priority of server DavServer to 5
06/03/16 16:18:13 vidushiapp: DavServer: Priority change requested (old priority 5, new priority 5)
06/03/16 16:18:13 vidushiapp: NodeManager: Initialize: starting server DavServer
06/03/16 16:18:13 vidushiapp: DavServer: Requested to start
06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: loading server ServiceWarmupAgent
06/03/16 16:18:14 vidushiapp: DavServer: Starting
06/03/16 16:18:14 vidushiapp: DavServer: Started
06/03/16 16:18:14 vidushiapp: NodeManager: Server ServiceWarmupAgent loaded
06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: setting priority of server ServiceWarmupAgent to 5
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Priority change requested (old priority 5, new priority 5)
06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: starting server ServiceWarmupAgent
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Requested to start
06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: complete
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Starting
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Started
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Starting
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Service warmup starting
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: set administration mode
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: warming up Format cache
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: warming up Media cache
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Service warmup complete
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopping Service Warmup Agent
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Requested to stop
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopping
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Timer stopped
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: postRun
06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopped
06/03/16 16:18:50 vidushiapp: Servlet error
javax.faces.FacesException: Error calling action method of component with id id32:id45
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
at javax.faces.component.UICommand.broadcast(UICommand.java:106)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{UserValidation.validateUser}
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
... 15 more
Caused by: java.lang.ExceptionInInitializerError
at com.daffodilwoods.framework.queryexecuter.HibernateUtil.<clinit>(HibernateUtil.java:66)
at com.daffodilwoods.framework.validation.UserValidation.validateUser(UserValidation.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
... 16 more
Caused by: java.lang.ExceptionInInitializerError
at com.mchange.v2.c3p0.PoolConfig.<clinit>(PoolConfig.java:93)
at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:84)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:362)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
at com.daffodilwoods.framework.queryexecuter.HibernateUtil.<clinit>(HibernateUtil.java:62)
... 22 more
Caused by: java.lang.ClassCastException
at com.mchange.v2.cfg.BasicMultiPropertiesConfig.extractPropsByKey(BasicMultiPropertiesConfig.java:150)
at com.mchange.v2.cfg.BasicMultiPropertiesConfig.<init>(BasicMultiPropertiesConfig.java:101)
at com.mchange.v2.cfg.BasicMultiPropertiesConfig.<init>(BasicMultiPropertiesConfig.java:39)
at com.mchange.v2.cfg.MultiPropertiesConfig.read(MultiPropertiesConfig.java:64)
at com.mchange.v2.cfg.MultiPropertiesConfig.readVmConfig(MultiPropertiesConfig.java:73)
at com.mchange.v2.log.MLog.<clinit>(MLog.java:48)
... 30 more
I think there is some thing missing in my configurations. Can you please tell how to deploy and run a hibernate application. Is there any problem occurs while accessing another DataBase from Oracle Content Management? What are the setting I have to do for running a hibernate application from Oracle CMSDK?
Thanks in advance
BasilHi,
I got the solution for my problem. The error came because of the hibernate pooling. I removed the hibernate pooling lines from my hibernate configuration file and it is working fine.lines
Thanks
Basil -
Oracle 10g Express Edition, Installation Problem
After run
# /etc/init.d/oracle-xe configure
Oracle Database 10g Express Edition Configuration-------------------------------------------------This will configure on-boot properties of Oracle Database 10g ExpressEdition. The following questions will determine whether the database shouldbe starting upon system boot, the ports it will use, and the passwords thatwill be used for database accounts. Press <Enter> to accept the defaults.Ctrl-C will abort.
Specify the HTTP port that will be used for HTML DB [8080]:8080
Specify a port that will be used for the database listener [1521]:1521
Specify a password to be used for database accounts. Note that the samepassword will be used for SYS, SYSTEM and FLOWS_020100. Oracle recommendsthe use of different passwords for each database account. This can be doneafter initial configuration:Confirm the password:
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y
Configuring Database...Starting Oracle Net Listener.Starting Oracle Net Listener.Starting Oracle Database 10g Express Edition Instance.
//error msg gos here
Failed to start Oracle
Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
in the orcale-xe service, some message shows:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/lsnrctl: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
OS: Linux RH9
is that glibc version's problem? mine is glibc_2.3.2
how to make it?
thank u .Hello,
I have the same problem on RH9.
[root@phpsrv init.d]# ./oracle-xe start
Starting Oracle Net Listener.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/lsnrctl: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Starting Oracle Database 10g Express Edition Instance.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
Regards,
Pavel Kucera -
TNS 12549 error on installing Oracle 10g on Windows XP Home?
Hi,
I installed Oracle 10g on Windows XP Home by clicking on Disk1\install\setup (NOT Disk1\setup as instructed since that did not work). Everything seemed to go fine except towards the end of the install I got a whole bunch of errors saying that "operating system resource quota exceeded". There were options to Ignore or Abort at most of these stages. I chose Ignore and the whole install seemed to complete but I am not able to connect to the database using sqlPlus. I looked at the log files created where I saw a whole bunch of errors in several files. For example in sqlnet log, I saw this error (among others) appeneded below. It seems obvious that some resource quotas were exceeded but I am not able to figure out exactly what quotas should be increased. Any help regarding this would be greatly appreciated.
Thanks.
Sudip
===================================================
Fatal NI connect error 12549, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleorcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=CHAKRABORTY-04)(USER=Owner))))
VERSION INFORMATION:
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.1.0.2.0 - Production
Time: 13-MAR-2005 18:03:25
Tracing not turned on.
Tns error struct:
ns main err code: 12549
TNS-12549: TNS:operating system resource quota exceeded
ns secondary err code: 12560
nt main err code: 519
TNS-00519: Operating system resource quota exceeded
nt secondary err code: 8
nt OS err code: 0
===================================================XP Home is not supported, despite of this some people get oracle to work.
But in your case, possibly your machine has simply not enough resources, 12549 is a very generic error. Check the hardware requirements in the installation guide. -
Problem in importing data in oracle 10g from 9i backup
Hi ,
Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
About to enable constraints.....
after this msg it does not work.
plz help,
Regards,
NehaHi Neha,
You have a lot of options. I'll supose you can test first, and you're using an export file.
First forget about the data, think in your database structure. So you can do this:
exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
When you have everything solved, you can try to import the data.
I hope, this method can help you. If you have any problem do not hesitate to ask me.
John Ospino Rivas -
Oracle 10g OEM high memory usage
Hi,
I am using oracle 10g SR2, after start the OEM, the CPU usage 100% and somethime will have out of memory heapdump and javacore in $ORACLE_HOME. I don't know what is the problem. pls help. The below msg is the part of javacore
0SECTION TITLE subcomponent dump routine
NULL ===============================
1TISIGINFO OUTOFMEMORY received
1TIDATETIME Date: 2007/05/06 at 16:30:56
1XHENVVARS Environment Variables
NULL ---------------------
2XHENVVAR _=/u01/app/oracle/10g/jdk/bin/java.bin
2XHENVVAR TMPDIR=/tmp
2XHENVVAR LANG=en_US
2XHENVVAR CONSOLE_CFG=dbconsole
2XHENVVAR LOGIN=oracle
ThanksIs it a AIX5L Based System?
Adith -
OEM configuration issue in Oracle 10g
Hi,
I am trying to manually configure OEM on oracle 10g solaris platform (5.10). Earlier I have configured the OEM manually on the same server and then due to customer request de-configure it. But now again, I need to re-configure OEM on same server and facing issue.
Steps which I am following are :-
-> Listener is started
-> Database is up and running.
-> Creating repository through command emca -repos create
-> Configuring the dbconsole through command emca -config dbcontrol db
At this step after providing the information of database name, listener port, Password for SYS user,Password for DBSNMP user,Password for SYSMAN user,Email address for notifications (optional): [email protected],Outgoing Mail (SMTP) server for notifications (optional): wbmlir1.mail.xerox.com, it is giving the below error that db console cannot be started.
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 22, 2011 10:18:38 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log.
Aug 22, 2011 10:18:43 AM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for usa7061ux300
Aug 22, 2011 10:18:44 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Securing Database Control (this may take a while) ...
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Database Control secured successfully.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) ...
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database ControlRefer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Could not complete the configuration. Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Below is the content of logfile :-
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
CONFIG: Securing Database Control completed successfully .
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'DISPLAY' is '', discarding the same
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [BKUPDIR=/data, CLASSPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emca.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmasm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emConfigInstall.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldapjclnt10.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldap.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/share.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmhas.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/netcfg.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib/xmlparserv2.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/assistants/jlib/assistantsCommon.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/sysman/jlib/emCORE.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraInstaller.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereq.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/inventory/prereqs/oui/OraPrereqChecks.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, EDITOR=vi, HOME=/rdwq/ap01/rdwsdba, HZ=, LC_COLLATE=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1, LC_MESSAGES=C, LC_MONETARY=en_US.ISO8859-1, LC_NUMERIC=en_US.ISO8859-1, LC_TIME=en_US.ISO8859-1, LD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc/client:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/../lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/usr/SUNWspro/lib:/usr/openwin/lib:/usr/dt/lib, LIBPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, LOGNAME=rdwsdba, MAIL=/usr/mail/rdwsdba, MANPATH=/local/man:/usr/share/man, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, OLDPWD=/rdwq/ap01/rdwsdba, ORACLE_BASE=/rdwq/apps/oracle, ORACLE_DOC=/rdwq/apps/oracle/doc, ORACLE_HOME=/rdwq/apps/oracle/product/10.2.0.4.2011Q1, ORACLE_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin, ORACLE_SID=rdwq, ORACLE_TERM=xsun5, ORAENV_ASK=NO, ORATAB=, ORA_NLS=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/ocommon/nls/admin/data, PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin:/opt/local/scripts:/opt/local/bin:/opt/local/xns:/opt/X11:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/etc:/usr/ccs/bin:/usr/ucb:/usr/openwin:/usr/openwin/bin:/usr/bin/X11:/usr/openwin/bin/X11:/usr/openwin/lib:/usr/lib:/usr/sbin:/usr/local/bin:/app/oracle/local/dba/utilities:/opt/bin:/opt/EDSsrm/bin:/usr/bin, PWD=//rdwq/apps/oracle/product/10.2.0.4.2011Q1/network/admin, SHELL=/bin/bash, SHLIB_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, SHLVL=1, TERM=vt100, TNS_ADMIN=, TZ=US/Pacific, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emca]
Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://usa7061ux300:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory /rdwq/apps/oracle/product/10.2.0.4.2011Q1/usa7061ux300_rdwq/sysman/log
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:646)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:224)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
Please guide me to resolve this issue.
ThanksHi,
Content of emagent.trc :-
2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
Content of emagent.trc :-
2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
rdwsdba$ tail -100 emdctl.trc
2011-08-23 07:01:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:01:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:01:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:01:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:02:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:02:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:02:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:02:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:04:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:04:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:04:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:04:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:05:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:05:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:05:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:05:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:07:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:07:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:07:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:07:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:08:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:08:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:08:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:08:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:10:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:10:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:10:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:10:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:11:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:11:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:11:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:11:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:13:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:13:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:13:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:13:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:14:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:14:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:14:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:14:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:16:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:16:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:16:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:16:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:17:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:17:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:17:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:17:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:19:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:19:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:19:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:19:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:20:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:20:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:20:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:20:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:22:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:22:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:22:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:22:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:23:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:23:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:23:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:23:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:25:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:25:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:25:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:25:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:26:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:26:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:26:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:26:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:28:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:28:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:28:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:28:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:29:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:29:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:29:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:29:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:31:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:31:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:31:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:31:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:32:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:32:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:32:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:32:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:34:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:34:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:34:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:34:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:35:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:35:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:35:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:35:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
2011-08-23 07:37:23 Thread-1 WARN http: nmehl_readAgentKey: File access failure
2011-08-23 07:37:23 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
2011-08-23 07:37:23 Thread-1 ERROR ssl: nmehlenv_openWallet failed
2011-08-23 07:37:23 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
There is no secure.log file.
Thanks -
How to import a data base into oracle 10g.
hi all
when am using the scott/tiger username and password in the SQL plus i got this msg..
"the account is locked"
how can i solve this issue?
and when i use the same username and password scott/tiger in addition to define a Host string " orcl" which is my new automatically generated database while installation.. it gives me this msg: TNS: no listener.
any help ?
by the way i succeed to login using .. system/zaq123 which is my own created password while installing oracle 10g ....ver 10.1.2.0 ..... in addition to the Host string "orcl" ......If you're not familiar with OEM, or you want to learn, you can unlock that account from SQL*Plus, too.
And when you unlocked SCOTT, don't forget to look after your TNSNAMES and LISTENER configuration...
Good luck! -
Unable to create ASM instance in Sol 10 with oracle 10g
Hi
I am trying to create ASM instance in oracle 10g, getting an error will try to add localconfig add command
"bash-3.00# /export/home/oracle/oracle/product/10.2.0/db_1/bin/localconfig add reset
Failure at scls_scr_create with code 1
Internal Error Information:
Category: 1234
Operation: scls_scr_create
Location: mkdir
Other: Unable to make user dir
Dep: 2
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configuration for local CSS has been initialized
Adding to inittab
/etc/init.d/init.cssd: /var/opt/oracle/scls_scr/Sun/root/cssrun: cannot create
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started "
initcssd has been installed and unable to start also getting an error
# svcs -x svc:/system/initcssd:default
svc:/system/initcssd:default (system activity reporting package)
State: maintenance since Wed Nov 16 10:39:29 2011
Reason: Start method failed repeatedly, last exited with status 2.
See: http://sun.com/msg/SMF-8000-KS
See: sar(1M)
See: /var/svc/log/system-initcssd:default.log
Impact: This service is not running.
Can some please help me to create this instance, alos need a initcssd.zip file for 10gHi thanks,
I have passed more steps, CSS is started after changing the hostname, after that I created two drive and mounted properly
when I try to create a ASM disk its failing with following error and idea
SQL> CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
2 FAILGROUP controller1 DISK '/dev/dsk/c0d1s0'
3 FAILGROUP controller2 DISK '/dev/dsk/c1d1s0';
CREATE DISKGROUP DB_DATA NORMAL REDUNDANCY
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/dsk/c1d1s0' matches no disks
ORA-15025: could not open disk '/dev/dsk/c1d1s0'
ORA-15056: additional error message
Intel SVR4 UNIX Error: 13: Permission denied
Additional information: 42
Additional information: 134497888
Additional information: -809278080
ORA-15031: disk specification '/dev/dsk/c0d1s0' matches no disks
ORA-15025: could not open disk '/dev/dsk/c0d1s0'
ORA-27037: unable to obtain file status
Intel SVR4 UNIX Error: 25: Inappropriate ioctl for device
Additional information: 16
Additional information: 134497888
Additional information: -809278080
Maybe you are looking for
-
Each time I sync my iphone to my macbook all new appointments are transferred, but the times on the iphone are reset 4 hours earlier. The appointments and times stay are correct on the macbook. I have made new appointments on the iphone and they are
-
Configure manual bank statement ff67
Hi! I am configuring manual bank statement in ff67 for my Indian customer (I am from Sweden and has not worked with it before). I have created three banks accounts: One main account One incoming account One outgoing account I have also created the ho
-
CIF issue :PDS components are not transfering to APO
HI, i am not getting input components in PDS. only master output compnent available in PDS. why i am not getting input components in PDS? i checked R/3 PV, BOM , routing....everything fine... everything moved correctly to APO except input components(
-
MS SQL 2012 Supported for v6.2?
Hi - We are still on P6 6.2. The client with enterprise db (no web). We have other tools (non Primavera) that now require to upgrade to MSSQL 2012. Our IT department would like to apply this to our Primavera as well. Is this possible? The last te
-
Does anyone have any System Monitoring Strategies for a BI 7 implementation? Thanks.