Oracle 10g - OLAP - ocijdbc10.dll
Hi,
Im new to 10g. Oracle 10g client is installed in my machine, am able to connect to 10g SIDs using SQL*Plus and SQL*Plust work sheet.
Trying to start up OLAP Analytical Workspace Manager. Added a 10g SID into the tree. While trying to connect, i am getting the following error,
\ORACLE\product\10.2.0\client_1\BIN\ocijdbc10.dll: Can't find dependent libraries.
Please comment.
Hi,
You are right, we are supporting Oracle OLAP 10g using SQL.
In fact we provide an option in Universe Designer where you can automatically create an Oracle view based on an AW (Analytical Workspace) and then generate the universe:<ul><li>Select "Metadata exchange" menu option from "File" menu
<li>Then select "Oracle OLAP 9i/10G/11g" option
</ul>You can therefore customize the universe by adding objects, filters, measures, etc.
You can also add other tables in the scema in order to provide drill-though capabilities.
Regards,
Didier
Similar Messages
-
Hi all
Do we support creating a universe against an Oracle 10g OLAP database and how do we do this to report against OLAP data?
I notice that there isn't an OLAP universe option for this, so I presume that if we can then we do this via OLAP SQL expressions?
Thank you for your help and kind regards,
DeamHi,
You are right, we are supporting Oracle OLAP 10g using SQL.
In fact we provide an option in Universe Designer where you can automatically create an Oracle view based on an AW (Analytical Workspace) and then generate the universe:<ul><li>Select "Metadata exchange" menu option from "File" menu
<li>Then select "Oracle OLAP 9i/10G/11g" option
</ul>You can therefore customize the universe by adding objects, filters, measures, etc.
You can also add other tables in the scema in order to provide drill-though capabilities.
Regards,
Didier -
Access Oracle 10g OLAP Analytic Worspace from BOE XI for Universes creating
Hi skilled!
Is there any environment to access Oracle 10g OLAP Analytic Worspace
from BOE XI (not from BOE XIR2) for Universes creating ?
Thank you.Hello Walter,
Thanks for the response.
I'm using the following SAP GUI: 710 Final Release, Version 7100.2.7.1038, Build 971593, Patch-Level 7.
Trying to install the Desktop part of the integration kit results in the follwoing message: Unable to perform Desktop installation. The installation is unable to proceed with a desktop installation because Crystal Reports 2008 was not detected. To perform a Desktop installation, it must be installed.
Without having installed any integration kit on the client side, I can still see the data access driver for SAP Business Warehouse 3.x in the Universe Designer (when trying to define a new connection). After providing the respective parameters, however, a connection is not established successfully. When testing the connection it just tells me that the connection trial failed (SBO0001), without providing any further details.
What do you think, is the problem? The SAP GUI? Is it at all required for my purposes (generating OLAP universes in Designer from SAP BI) to install the integration kit on the client side? As far as I have read, it is?
Thanks, Konrad -
Oracle 10g OLAP to 11g OLAP upgrade ?
We currently are planning on a upgrade from 10g OLAP => 11g OLAP. We currently have 12 AWM's in 10g OLAP which we need to move over with associated DML programs and additional SQL reporting views.
Questions:
1. Is there any documentation available on necessary steps for 10g OLAP => 11g OLAP upgrade?
2. What would happen to existing AWM's prepared in 10g, would they be migrated to 11g transparently or have to be re-created?
3. Is there any specific documentation related to changes in way cube builds are done programatically?
4. Any changes in the way limit maps work in 11g?
Please advise.
Thanks,
SudipMigrating a 10g cube to 11g depends on whether you are talking about 11gR1 or 11gR2. 10g cubes continue to operate in the "10g way" even after a database upgrade. They will not become "11g cubes" until they are rebuilt after the database upgrade. In 11gR2, there is a supported way to migrate 10g cubes to 11g cubes, both with AWM and with PL/SQL. Sorry to say... this functionality doesn't exist in 11gR1: you'll have to rebuild your cubes from the ground up.
The SQL relational views built using the AWM plugin in 10g are no longer applicable in 11g. That's because OLAP cubes in 11g are registered in the oracle data dictionary (just like other Oracle objects), and the SQL relational views are managed in the database and a recognized part of the product. The SQL relational views are quite different in 11g, so you will likely have to rewrite queries against them.
LIMIT map syntax is the same, but performance is much better.
See if this blog entry helps:
http://www.rittmanmead.com/2009/10/09/olap-10gr2-and-dense-looping/
Edited by: Stewart Bryson on Feb 19, 2010 8:40 AM -
How to migrate MS SQL Server OLAP data to Oracle 10g OLAP
Hi,
Anyone has any idea on whether migration workbench can migrate my MS SQL Server OLAP data to Oracle 10g (with OLAP option) ?
Best Regards,
Ian HoIan,
What exactly do you mean by SQL*Server OLAP ? Is it just a 'normal' SQL*Server database which is used for an OLAP application ?
The migration workbench migrates schema objects, triggers, and stored procedures and is not concerned with the application that uses those objects.
And the same with the Oracle OLAP database. Once the data etc has been moved into the database you can then use it for whichever application you want.
If you have concerns apart from moving the actual data then please give us more details.
Regards,
Mike -
Are CWM2 packages obsolute in Oracle 10g? I could not find documentation of CWM2 in Oracle 10g docs. It has only AW.
Sorry. I ,eamt obsolete. CWM2 Packages are built-in packages to support Common Warehouse Model. For example, create_cube etc. And AW is Analytic Workspace. I like to know that whether in latest Oracle 10g version with OLAP options, CWM2 packages are available or not.
-
Oracle 10g olap cube connectivity issue using Crystal Reports 2008
Hi
Kindly help me out with a solution. I have created a cube in oracle 10gR2 database using Oracle Analytic Workspace Manager. I am trying to connect to this cube using Crystal report Olap datasorces. But I am only getting 4 options to connect to Hyperion Essbase, HOLOS Cube, Microsoft OLEDB, Microsoft OLAP Analysis Services 8.0 and 9.0. I am not getting any option for connection to Oracle OLAP. How do I do that or if it does not support kindly let me know.
Thanks in advance
TroyeeHi Troyee,
I have discussed the issue with OLAP engineer and he told me that connectivity to OLAP cube is not supported.
and please next time address OLAP questions to the following category:
Expert Forums » Business Objects » Other Business Objects Products
(see the relevant category description)
Vitaly Izmaylov
Crystal Reports Design forum moderator -
Occi GetString causing a exception with ntdll.dll oracle 10g and MS 2005
hi,
I am getting an exception with using Visual Studio 2005(VC++8) and occi.h 10g client.
When I run the release version I get an exception in ntdll.dll.
The problem is in the getString(). The field in the oracle table is defined as a varchar2(300).
I am new to oracle occi and need a solution because we cannot migrate to another version of the database.
These are the solutions I have tried:
download patches for MS Visual studio
download patched for oracle 10g client
Check that the charset it correct for std:string
I see that others have had the same problem but no one has a solution. If anyone has a solution please email me because I have searched for days!
Thanks
SherylAloha
Thank you for your response, I am new to posting, occi and C++. Can I send you the files.
Sorry didnt read this reply until today.
The email is [email protected].
This environment:
1> windows xp
2> MS Studio 5 VC++8
3> OCCI 10.2.0.3.0 (patch 13)libraries for Microsoft Visual C++ 8
4> I am using the Instant Client
5> I am using /MD Multithreaded DLL
6> Charset is oracle::occi::Environment::createEnvironment ("US7ASCII","AL16UTF16",Environment::DEFAULT);
7> We running the application in release mode and getting this error with a bad memory reference on getString().
I am getting a memory reference error on the getString(4).
This is the code that is causing the error
try
string istmt ="SELECT FILE_ID,FILES.FTYP_ID,LTRIM(RTRIM(FILEPATH)),LTRIM(RTRIM(FILENAME)),TITLE FROM FILES,FILE_TYPES WHERE FILE_TYPES.EXTN = 'img'AND file_types.ftyp_id = files.ftyp_id AND FILES.HDR_SCAN_DATE IS NULL ORDER BY FILEPATH, FILENAME ";
ResultSet * set = db->select(istmt);
if (set == NULL)
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"No file to process occured in : %s ", methodName.c_str());
return;
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"Did select in : %s ", methodName.c_str());
while (set->next())
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"Doing a set next in : %s ", methodName.c_str());
if (set->isNull(1) || set->isNull(2) || set->isNull(4) || set->isNull(3))
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"a value is null continue in : %s ", methodName.c_str());
continue;
try {
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"About to get string 3 in : %s ", methodName.c_str());
std::string test(set->getString(3));
fname.assign(test);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"File name: %s in : %s ",fname.c_str(), methodName.c_str());
} catch (exception ex9) {
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Exception in get string msg: occured in : %s ",ex9.what(), methodName.c_str());
continue;
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"getting int 1 in : %s ", methodName.c_str());
fid = set->getInt(1);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"getting string 4 in : %s ", methodName.c_str());
fn.assign(set->getString(4));
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"after getting string 4 in : %s ", methodName.c_str());
//dont append a slash if not need
size_t pos = fname.find_last_of("\\");
if(pos != fname.length()-1)
fname.append("\\");
fname.append(fn);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"adding %s to map in : %s ",fname.c_str(), methodName.c_str());
fnames.insert (std::pair<unsigned int,std::string>(fid,fname));
// int ftype = set->getInt(2);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"got fid:%d, fname:%s fn: %s to map in : %s ",fid,fname.c_str(),fn.c_str(), methodName.c_str());
catch (SQLException ex)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Sql Exception code: %d message: %s occured in : %s ",ex.getErrorCode(),ex.getMessage().c_str(), methodName.c_str());
db->exceptionHandler("SELECT PARAMS",ex.getErrorCode(),ex.getMessage());
throw;
catch (exception ex3)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Exception occured message: %sin : %s ", ex3.what(),methodName.c_str());
db->exceptionHandler("SELECT PARAMS",1,ex3.what());
throw;
catch (...) {
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Error occured in : %s ", methodName.c_str());
This is the code for the select in occi
/* Select statement for oracle occi*/
void * OraDb::select(std::string& sqlStr,std::map<std::string,VALUES,classcomp> & val) {
string methodName = "OraDb::select";
ResultSet *selectRset;
try {
this->stmt->setSQL(sqlStr);
this->bind(val);
selectRset = this->stmt->executeQuery ();
oracle::occi::Statement::Status res = this->stmt->status();
while(res != oracle::occi::Statement::RESULT_SET_AVAILABLE) {
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"the results set isnt ready");
res = this->stmt->status();
catch (SQLException ex)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Sql Error in %s code: %d Message:%s",methodName.c_str(),ex.getErrorCode(),ex.getMessage().c_str());
//Add error to error log
this->exceptionHandler(methodName,ex.getErrorCode(),ex.getMessage());
throw;
catch (exception ex3)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Error in %s Message:%s",methodName.c_str(),ex3.what());
this->exceptionHandler(methodName,1,ex3.what());
//Add error to errorlog
throw;
return selectRset;
This is the logs I get
ParamsTb::selectImgParams
in method OraDb::select this is the statement:SELECT FILE_ID,FILES.FTYP_ID,LTRIM(RTRIM(FILEPATH)),LTRIM(RTRIM(FILENAME)),TITLE FROM FILES,FILE_TYPES WHERE FILE_TYPES.EXTN = 'img'AND file_types.ftyp_id = files.ftyp_id AND FILES.HDR_SCAN_DATE IS NULL
Did select in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\\foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
got fid:4766408, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\\foeHeaderAirplane.img fn: foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\\foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
got fid:4778728, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\\foeHeaderAirplane.img fn: foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\\netwlan5.img to map in : FilesTb::selectImgFiles
got fid:4873869, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\\netwlan5.img fn: netwlan5.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\rwolfshagen\c\Resp-C4\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
I dumped a few things from last night’s Dr. Watson run, shown below, which may help:
manifest.txt
Server=watson.microsoft.com
UI LCID=1033
Flags=1672016
Brand=WINDOWS
TitleName=ImgHeaderLoader.exe
DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId
ErrorText=This error occurred on 6/25/2009 at 1:47:02 AM.
HeaderText=ImgHeaderLoader.exe encountered a problem and needed to close.
Stage1URL=/StageOne/ImgHeaderLoader_exe/0_0_0_0/ntdll_dll/5_2_3790_4455/0002b67d.htm
Stage2URL=/dw/stagetwo.asp?szAppName=ImgHeaderLoader.exe&szAppVer=0.0.0.0&szModName=ntdll.dll&szModVer=5.2.3790.4455&offset=0002b67d
DataFiles=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\ImgHeaderLoader.exe.mdmp|C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\appcompat.txt
Heap=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\ImgHeaderLoader.exe.hdmp
ErrorSubPath=ImgHeaderLoader.exe\0.0.0.0\ntdll.dll\5.2.3790.4455\0002b67d
DirectoryDelete=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00
appcompat.txt
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="ImgHeaderLoader.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="common.dll" SIZE="6656" CHECKSUM="0xA0D33EDD" MODULE_TYPE="WIN32" PE_CHECKSUM="0x8ADC" LINKER_VERSION="0x0" LINK_DATE="06/25/2009 00:44:47" UPTO_LINK_DATE="06/25/2009 00:44:47" />
<MATCHING_FILE NAME="FileLoader.exe" SIZE="65536" CHECKSUM="0x15C68C49" MODULE_TYPE="WIN32" PE_CHECKSUM="0x16CC5" LINKER_VERSION="0x0" LINK_DATE="06/23/2009 02:29:33" UPTO_LINK_DATE="06/23/2009 02:29:33" />
<MATCHING_FILE NAME="FileLoaderOriginal.exe" SIZE="65536" CHECKSUM="0x6672AE23" MODULE_TYPE="WIN32" PE_CHECKSUM="0x17E45" LINKER_VERSION="0x0" LINK_DATE="06/20/2009 03:34:40" UPTO_LINK_DATE="06/20/2009 03:34:40" />
<MATCHING_FILE NAME="ImgHeaderLoader.exe" SIZE="118784" CHECKSUM="0xBA94D6AE" MODULE_TYPE="WIN32" PE_CHECKSUM="0x20F4B" LINKER_VERSION="0x0" LINK_DATE="06/24/2009 22:42:49" UPTO_LINK_DATE="06/24/2009 22:42:49" />
<MATCHING_FILE NAME="x.exe" SIZE="65536" CHECKSUM="0x66982AE3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x103FD" LINKER_VERSION="0x0" LINK_DATE="06/18/2009 23:55:27" UPTO_LINK_DATE="06/18/2009 23:55:27" />
</EXE>
<EXE NAME="ntdll.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="ntdll.dll" SIZE="774144" CHECKSUM="0x74ACB78F" BIN_FILE_VERSION="5.2.3790.4455" BIN_PRODUCT_VERSION="5.2.3790.4455" PRODUCT_VERSION="5.2.3790.4455" FILE_DESCRIPTION="NT Layer DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.2.3790.4455 (srv03_sp2_gdr.090203-1205)" ORIGINAL_FILENAME="ntdll.dll" INTERNAL_NAME="ntdll.dll" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xC2B9D" LINKER_VERSION="0x50002" UPTO_BIN_FILE_VERSION="5.2.3790.4455" UPTO_BIN_PRODUCT_VERSION="5.2.3790.4455" LINK_DATE="02/09/2009 11:02:56" UPTO_LINK_DATE="02/09/2009 11:02:56" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1038336" CHECKSUM="0x7EFD9E0D" BIN_FILE_VERSION="5.2.3790.4480" BIN_PRODUCT_VERSION="5.2.3790.4480" PRODUCT_VERSION="5.2.3790.4480" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.2.3790.4480 (srv03_sp2_gdr.090321-1244)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x101B44" LINKER_VERSION="0x50002" UPTO_BIN_FILE_VERSION="5.2.3790.4480" UPTO_BIN_PRODUCT_VERSION="5.2.3790.4480" LINK_DATE="03/21/2009 17:08:26" UPTO_LINK_DATE="03/21/2009 17:08:26" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>
THANKS!!!!! -
TNS configuration needs ocijdbc11.dll : I want to use Oracle 10g client
I configured apex-config.xml to use a TNSNAME. I deployed the APEX listener in a standalone OC4J 10.1.3.5.
It asks for ocijdbc11.dll to be in -Djava.library.path.
This means an Oracle 11g client is required. Why isn't it possible to use an Oracle 10g client installation? Is there a way to use an Oracle 10g installation in combination with the OC4J APEX listener?
I do'n't want to use the "thin" methode because this cannot be used in an Oracle RAC environment as far as I know (at least not with failover).Hello,
as far as I know, you can use the thin driver to connect to RAC. If I don't remember this wrong, you should be able to configure the URL like this:
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=service)))Just my personal opinion: If you want to use a "fat" client, it shouldn't be too hard to install a 11g client. Of course, this will require additional space on your app server, but I like the thought that Oracle tries to keep the APEX Listener a lightweight application that works pretty good for most scenarios. If you try to make it compatible with every option and every version, this wouldn't stay that way.
-Udo -
Oracle 10g Express Edition / 64-bit client
hi all,
I have Oracle 10g express edition installed on a remote Vista/32-bit machine. I installed the XE Client on a Vista/64-bit and got the following error:
UnsatistifiedLinkError: ocijdbc10.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform.
So, I tried installing the Instant Client (64-bit) and I'm getting a similiar error:
UnsatistifiedLinkError: ocijdbc10.dll: Can't load IA 64-bit .dll on a AMD 64-bit platform.
Using the XE Client, I'm able to login using sqlplus. Anyone have any ideas ??
thanks jim
Message was edited by:
user584351Hi Jim, unless something has changed recently - the installation instructions for XE specifically state it is for a 32-bit windows operating system. Also, it does not mention using Vista. If you have access to the 10g Express forum they may have more information there for you.
Michael W. Cunningham -
Weblogic 81sp5 Spring Oracle 10G Hibernate 3.0 server crash windows xp
I was using weblogic 81sp5, Spring, hibernate 3 and Oracle 9i and everything was fine. I upgraded to Oracle 10G, and now with the execution of the second SQL statement my server is crashing with the following error. Any help would be appreciated.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x61D4894C
Function=xaolog+0x6294
Library=c:\ora10g\bin\OraClient10.Dll
Current Java thread:
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:518)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
- locked <0x101ae1d8> (a oracle.jdbc.driver.T2CPreparedStatement)
- locked <0x113fe928> (a oracle.jdbc.driver.T2CConnection)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:849)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:158)
at com.erac.vaa.vincent.domain.poc.Manufacturer$$EnhancerByCGLIB$$bbc19d25.toString(<generated>)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:461)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:399)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.toManufacturerDto(ManufacturerServiceImpl.java:75)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.load(ManufacturerServiceImpl.java:35)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy9.load(Unknown Source)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.displayOne(ManufacturerController.java:107)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.handleGet(ManufacturerController.java:144)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.execute(ManufacturerController.java:63)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.processInvoke(AbstractBindingAction.java:861)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.execute(AbstractBindingAction.java:484)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:104)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:92)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Dynamic libraries:
0x00400000 - 0x0040B000 C:\bea81sp5\jdk142_08\bin\javaw.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x7E410000 - 0x7E4A0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\bea81sp5\jdk142_08\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\bea81sp5\jdk142_08\jre\bin\hpi.dll
0x00830000 - 0x0083E000 C:\bea81sp5\jdk142_08\jre\bin\verify.dll
0x00840000 - 0x00859000 C:\bea81sp5\jdk142_08\jre\bin\java.dll
0x00860000 - 0x0086E000 C:\bea81sp5\jdk142_08\jre\bin\zip.dll
0x02B60000 - 0x02B7C000 C:\bea81sp5\jdk142_08\jre\bin\jdwp.dll
0x00940000 - 0x00945000 C:\bea81sp5\jdk142_08\jre\bin\dt_socket.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\ws2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x55600000 - 0x55631000 C:\Program Files\Microsoft Firewall Client 2004\FwcWsp.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773D0000 - 0x774D3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x5D090000 - 0x5D12A000 C:\WINDOWS\system32\comctl32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x071A0000 - 0x071AF000 C:\bea81sp5\jdk142_08\jre\bin\net.dll
0x07540000 - 0x07548000 C:\bea81sp5\jdk142_08\jre\bin\nio.dll
0x07550000 - 0x07556000 C:\bea81sp5\jdk142_08\jre\bin\ioser12.dll
0x62F00000 - 0x62F13000 C:\ora10g\BIN\ocijdbc10.dll
0x07D30000 - 0x07D88000 c:\ora10g\bin\OCI.dll
0x7C340000 - 0x7C396000 C:\WINDOWS\system32\MSVCR71.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
0x61C20000 - 0x61E76000 c:\ora10g\bin\OraClient10.Dll
0x60870000 - 0x60957000 c:\ora10g\bin\oracore10.dll
0x60A80000 - 0x60B46000 c:\ora10g\bin\oranls10.dll
0x63690000 - 0x636A8000 c:\ora10g\bin\oraunls10.dll
0x60EB0000 - 0x60EB7000 c:\ora10g\bin\orauts.dll
0x636B0000 - 0x636B6000 c:\ora10g\bin\oravsn10.dll
0x60FA0000 - 0x61092000 c:\ora10g\bin\oracommon10.dll
0x08940000 - 0x08FA2000 c:\ora10g\bin\orageneric10.dll
0x63430000 - 0x63457000 c:\ora10g\bin\orasnls10.dll
0x63750000 - 0x638BF000 c:\ora10g\bin\oraxml10.dll
0x07DA0000 - 0x07DB1000 C:\WINDOWS\system32\MSVCIRT.dll
0x60960000 - 0x60A7E000 c:\ora10g\bin\oran10.dll
0x62740000 - 0x6277D000 c:\ora10g\bin\oranl10.dll
0x62790000 - 0x627A6000 c:\ora10g\bin\oranldap10.dll
0x627F0000 - 0x628FC000 c:\ora10g\bin\orannzsbb10.dll
0x62530000 - 0x625A3000 c:\ora10g\bin\oraldapclnt10.dll
0x62670000 - 0x6268B000 c:\ora10g\bin\orancrypt10.dll
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x62920000 - 0x6296D000 c:\ora10g\bin\oranro10.dll
0x626B0000 - 0x626B7000 c:\ora10g\bin\oranhost10.dll
0x62660000 - 0x62666000 c:\ora10g\bin\orancds10.dll
0x629C0000 - 0x629C8000 c:\ora10g\bin\orantns10.dll
0x60B50000 - 0x60EA8000 c:\ora10g\bin\orapls10.dll
0x07DC0000 - 0x07DC9000 c:\ora10g\bin\oraslax10.dll
0x63080000 - 0x63284000 c:\ora10g\bin\oraplp10.dll
0x61ED0000 - 0x61F67000 c:\ora10g\bin\orahasgen10.dll
0x62AB0000 - 0x62B1E000 c:\ora10g\bin\oraocr10.dll
0x62B20000 - 0x62B63000 c:\ora10g\bin\oraocrb10.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\NETAPI32.dll
0x62980000 - 0x62990000 c:\ora10g\bin\orantcp10.dll
0x63520000 - 0x635BA000 c:\ora10g\bin\orasql10.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476B000 C:\WINDOWS\system32\MSCTF.dll
0x09300000 - 0x09305000 C:\bea81sp5\weblogic81\server\bin\stackdump.dll
0x09310000 - 0x09315000 C:\bea81sp5\weblogic81\server\bin\wlntio.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
Heap at VM Abort:
Heap
def new generation total 2496K, used 1836K [0x10010000, 0x102c0000, 0x104f0000)
eden space 2240K, 74% used [0x10010000, 0x101b1d48, 0x10240000)
from space 256K, 64% used [0x10240000, 0x10269300, 0x10280000)
to space 256K, 0% used [0x10280000, 0x10280000, 0x102c0000)
tenured generation total 32188K, used 18578K [0x104f0000, 0x1245f000, 0x14010000)
the space 32188K, 57% used [0x104f0000, 0x11714890, 0x11714a00, 0x1245f000)
compacting perm gen total 31744K, used 31580K [0x14010000, 0x15f10000, 0x18010000)
the space 31744K, 99% used [0x14010000, 0x15ee7008, 0x15ee7200, 0x15f10000)
Local Time = Fri Apr 20 12:43:16 2007
Elapsed Time = 941
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
# An error report file has been saved as hs_err_pid3592.log.
# Please refer to the file for further information.F Hesser wrote:
I was using weblogic 81sp5, Spring, hibernate 3 and Oracle 9i and everything was fine. I upgraded to Oracle 10G, and now with the execution of the second SQL statement my server is crashing with the following error. Any help would be appreciated.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x61D4894C
Function=xaolog+0x6294
Library=c:\ora10g\bin\OraClient10.DllHi. The final one-time solution to this otherwise eternal risk, is
to stop using the oracle driver in the type-2 OCI mode. The reason
we all go to java is because native code sucks. It will kill a
whole JVM dead as you see. If you use the Oracle driver in the
thin mode, it is much more reliable. Please refer to the latest
Oracle driver docs. You can tell the thin driver to use the
tnsnames.ora file, so you retain that central DBMS config, but
you can get away from the Oracle native code bugs that have been
sporadically killing application servers since the mid 1990's.
Joe Weinstein.
>
Current Java thread:
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:518)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
- locked <0x101ae1d8> (a oracle.jdbc.driver.T2CPreparedStatement)
- locked <0x113fe928> (a oracle.jdbc.driver.T2CConnection)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:849)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:158)
at com.erac.vaa.vincent.domain.poc.Manufacturer$$EnhancerByCGLIB$$bbc19d25.toString(<generated>)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:461)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:399)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.toManufacturerDto(ManufacturerServiceImpl.java:75)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.load(ManufacturerServiceImpl.java:35)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy9.load(Unknown Source)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.displayOne(ManufacturerController.java:107)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.handleGet(ManufacturerController.java:144)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.execute(ManufacturerController.java:63)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.processInvoke(AbstractBindingAction.java:861)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.execute(AbstractBindingAction.java:484)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:104)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:92)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Dynamic libraries:
0x00400000 - 0x0040B000 C:\bea81sp5\jdk142_08\bin\javaw.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x7E410000 - 0x7E4A0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\bea81sp5\jdk142_08\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\bea81sp5\jdk142_08\jre\bin\hpi.dll
0x00830000 - 0x0083E000 C:\bea81sp5\jdk142_08\jre\bin\verify.dll
0x00840000 - 0x00859000 C:\bea81sp5\jdk142_08\jre\bin\java.dll
0x00860000 - 0x0086E000 C:\bea81sp5\jdk142_08\jre\bin\zip.dll
0x02B60000 - 0x02B7C000 C:\bea81sp5\jdk142_08\jre\bin\jdwp.dll
0x00940000 - 0x00945000 C:\bea81sp5\jdk142_08\jre\bin\dt_socket.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\ws2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x55600000 - 0x55631000 C:\Program Files\Microsoft Firewall Client 2004\FwcWsp.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773D0000 - 0x774D3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x5D090000 - 0x5D12A000 C:\WINDOWS\system32\comctl32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x071A0000 - 0x071AF000 C:\bea81sp5\jdk142_08\jre\bin\net.dll
0x07540000 - 0x07548000 C:\bea81sp5\jdk142_08\jre\bin\nio.dll
0x07550000 - 0x07556000 C:\bea81sp5\jdk142_08\jre\bin\ioser12.dll
0x62F00000 - 0x62F13000 C:\ora10g\BIN\ocijdbc10.dll
0x07D30000 - 0x07D88000 c:\ora10g\bin\OCI.dll
0x7C340000 - 0x7C396000 C:\WINDOWS\system32\MSVCR71.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
0x61C20000 - 0x61E76000 c:\ora10g\bin\OraClient10.Dll
0x60870000 - 0x60957000 c:\ora10g\bin\oracore10.dll
0x60A80000 - 0x60B46000 c:\ora10g\bin\oranls10.dll
0x63690000 - 0x636A8000 c:\ora10g\bin\oraunls10.dll
0x60EB0000 - 0x60EB7000 c:\ora10g\bin\orauts.dll
0x636B0000 - 0x636B6000 c:\ora10g\bin\oravsn10.dll
0x60FA0000 - 0x61092000 c:\ora10g\bin\oracommon10.dll
0x08940000 - 0x08FA2000 c:\ora10g\bin\orageneric10.dll
0x63430000 - 0x63457000 c:\ora10g\bin\orasnls10.dll
0x63750000 - 0x638BF000 c:\ora10g\bin\oraxml10.dll
0x07DA0000 - 0x07DB1000 C:\WINDOWS\system32\MSVCIRT.dll
0x60960000 - 0x60A7E000 c:\ora10g\bin\oran10.dll
0x62740000 - 0x6277D000 c:\ora10g\bin\oranl10.dll
0x62790000 - 0x627A6000 c:\ora10g\bin\oranldap10.dll
0x627F0000 - 0x628FC000 c:\ora10g\bin\orannzsbb10.dll
0x62530000 - 0x625A3000 c:\ora10g\bin\oraldapclnt10.dll
0x62670000 - 0x6268B000 c:\ora10g\bin\orancrypt10.dll
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x62920000 - 0x6296D000 c:\ora10g\bin\oranro10.dll
0x626B0000 - 0x626B7000 c:\ora10g\bin\oranhost10.dll
0x62660000 - 0x62666000 c:\ora10g\bin\orancds10.dll
0x629C0000 - 0x629C8000 c:\ora10g\bin\orantns10.dll
0x60B50000 - 0x60EA8000 c:\ora10g\bin\orapls10.dll
0x07DC0000 - 0x07DC9000 c:\ora10g\bin\oraslax10.dll
0x63080000 - 0x63284000 c:\ora10g\bin\oraplp10.dll
0x61ED0000 - 0x61F67000 c:\ora10g\bin\orahasgen10.dll
0x62AB0000 - 0x62B1E000 c:\ora10g\bin\oraocr10.dll
0x62B20000 - 0x62B63000 c:\ora10g\bin\oraocrb10.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\NETAPI32.dll
0x62980000 - 0x62990000 c:\ora10g\bin\orantcp10.dll
0x63520000 - 0x635BA000 c:\ora10g\bin\orasql10.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476B000 C:\WINDOWS\system32\MSCTF.dll
0x09300000 - 0x09305000 C:\bea81sp5\weblogic81\server\bin\stackdump.dll
0x09310000 - 0x09315000 C:\bea81sp5\weblogic81\server\bin\wlntio.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
Heap at VM Abort:
Heap
def new generation total 2496K, used 1836K [0x10010000, 0x102c0000, 0x104f0000)
eden space 2240K, 74% used [0x10010000, 0x101b1d48, 0x10240000)
from space 256K, 64% used [0x10240000, 0x10269300, 0x10280000)
to space 256K, 0% used [0x10280000, 0x10280000, 0x102c0000)
tenured generation total 32188K, used 18578K [0x104f0000, 0x1245f000, 0x14010000)
the space 32188K, 57% used [0x104f0000, 0x11714890, 0x11714a00, 0x1245f000)
compacting perm gen total 31744K, used 31580K [0x14010000, 0x15f10000, 0x18010000)
the space 31744K, 99% used [0x14010000, 0x15ee7008, 0x15ee7200, 0x15f10000)
Local Time = Fri Apr 20 12:43:16 2007
Elapsed Time = 941
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
# An error report file has been saved as hs_err_pid3592.log.
# Please refer to the file for further information. -
Weblogic 81sp5 Oracle 10G server crash windows xp
I was using weblogic 81sp5 hibernate 3 and Oracle 9i and everythign was fine. I upgraded to Oracle 10G, and now with the execution of the second SQL statement my server is crashing with the following error. Any help would be appreciated.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x61D4894C
Function=xaolog+0x6294
Library=c:\ora10g\bin\OraClient10.Dll
Current Java thread:
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:518)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
- locked <0x101ae1d8> (a oracle.jdbc.driver.T2CPreparedStatement)
- locked <0x113fe928> (a oracle.jdbc.driver.T2CConnection)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:849)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:158)
at com.erac.vaa.vincent.domain.poc.Manufacturer$$EnhancerByCGLIB$$bbc19d25.toString(<generated>)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:461)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:399)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.toManufacturerDto(ManufacturerServiceImpl.java:75)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.load(ManufacturerServiceImpl.java:35)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy9.load(Unknown Source)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.displayOne(ManufacturerController.java:107)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.handleGet(ManufacturerController.java:144)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.execute(ManufacturerController.java:63)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.processInvoke(AbstractBindingAction.java:861)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.execute(AbstractBindingAction.java:484)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:104)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:92)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Dynamic libraries:
0x00400000 - 0x0040B000 C:\bea81sp5\jdk142_08\bin\javaw.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x7E410000 - 0x7E4A0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\bea81sp5\jdk142_08\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\bea81sp5\jdk142_08\jre\bin\hpi.dll
0x00830000 - 0x0083E000 C:\bea81sp5\jdk142_08\jre\bin\verify.dll
0x00840000 - 0x00859000 C:\bea81sp5\jdk142_08\jre\bin\java.dll
0x00860000 - 0x0086E000 C:\bea81sp5\jdk142_08\jre\bin\zip.dll
0x02B60000 - 0x02B7C000 C:\bea81sp5\jdk142_08\jre\bin\jdwp.dll
0x00940000 - 0x00945000 C:\bea81sp5\jdk142_08\jre\bin\dt_socket.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\ws2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x55600000 - 0x55631000 C:\Program Files\Microsoft Firewall Client 2004\FwcWsp.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773D0000 - 0x774D3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x5D090000 - 0x5D12A000 C:\WINDOWS\system32\comctl32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x071A0000 - 0x071AF000 C:\bea81sp5\jdk142_08\jre\bin\net.dll
0x07540000 - 0x07548000 C:\bea81sp5\jdk142_08\jre\bin\nio.dll
0x07550000 - 0x07556000 C:\bea81sp5\jdk142_08\jre\bin\ioser12.dll
0x62F00000 - 0x62F13000 C:\ora10g\BIN\ocijdbc10.dll
0x07D30000 - 0x07D88000 c:\ora10g\bin\OCI.dll
0x7C340000 - 0x7C396000 C:\WINDOWS\system32\MSVCR71.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
0x61C20000 - 0x61E76000 c:\ora10g\bin\OraClient10.Dll
0x60870000 - 0x60957000 c:\ora10g\bin\oracore10.dll
0x60A80000 - 0x60B46000 c:\ora10g\bin\oranls10.dll
0x63690000 - 0x636A8000 c:\ora10g\bin\oraunls10.dll
0x60EB0000 - 0x60EB7000 c:\ora10g\bin\orauts.dll
0x636B0000 - 0x636B6000 c:\ora10g\bin\oravsn10.dll
0x60FA0000 - 0x61092000 c:\ora10g\bin\oracommon10.dll
0x08940000 - 0x08FA2000 c:\ora10g\bin\orageneric10.dll
0x63430000 - 0x63457000 c:\ora10g\bin\orasnls10.dll
0x63750000 - 0x638BF000 c:\ora10g\bin\oraxml10.dll
0x07DA0000 - 0x07DB1000 C:\WINDOWS\system32\MSVCIRT.dll
0x60960000 - 0x60A7E000 c:\ora10g\bin\oran10.dll
0x62740000 - 0x6277D000 c:\ora10g\bin\oranl10.dll
0x62790000 - 0x627A6000 c:\ora10g\bin\oranldap10.dll
0x627F0000 - 0x628FC000 c:\ora10g\bin\orannzsbb10.dll
0x62530000 - 0x625A3000 c:\ora10g\bin\oraldapclnt10.dll
0x62670000 - 0x6268B000 c:\ora10g\bin\orancrypt10.dll
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x62920000 - 0x6296D000 c:\ora10g\bin\oranro10.dll
0x626B0000 - 0x626B7000 c:\ora10g\bin\oranhost10.dll
0x62660000 - 0x62666000 c:\ora10g\bin\orancds10.dll
0x629C0000 - 0x629C8000 c:\ora10g\bin\orantns10.dll
0x60B50000 - 0x60EA8000 c:\ora10g\bin\orapls10.dll
0x07DC0000 - 0x07DC9000 c:\ora10g\bin\oraslax10.dll
0x63080000 - 0x63284000 c:\ora10g\bin\oraplp10.dll
0x61ED0000 - 0x61F67000 c:\ora10g\bin\orahasgen10.dll
0x62AB0000 - 0x62B1E000 c:\ora10g\bin\oraocr10.dll
0x62B20000 - 0x62B63000 c:\ora10g\bin\oraocrb10.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\NETAPI32.dll
0x62980000 - 0x62990000 c:\ora10g\bin\orantcp10.dll
0x63520000 - 0x635BA000 c:\ora10g\bin\orasql10.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476B000 C:\WINDOWS\system32\MSCTF.dll
0x09300000 - 0x09305000 C:\bea81sp5\weblogic81\server\bin\stackdump.dll
0x09310000 - 0x09315000 C:\bea81sp5\weblogic81\server\bin\wlntio.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
Heap at VM Abort:
Heap
def new generation total 2496K, used 1836K [0x10010000, 0x102c0000, 0x104f0000)
eden space 2240K, 74% used [0x10010000, 0x101b1d48, 0x10240000)
from space 256K, 64% used [0x10240000, 0x10269300, 0x10280000)
to space 256K, 0% used [0x10280000, 0x10280000, 0x102c0000)
tenured generation total 32188K, used 18578K [0x104f0000, 0x1245f000, 0x14010000)
the space 32188K, 57% used [0x104f0000, 0x11714890, 0x11714a00, 0x1245f000)
compacting perm gen total 31744K, used 31580K [0x14010000, 0x15f10000, 0x18010000)
the space 31744K, 99% used [0x14010000, 0x15ee7008, 0x15ee7200, 0x15f10000)
Local Time = Fri Apr 20 12:43:16 2007
Elapsed Time = 941
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
# An error report file has been saved as hs_err_pid3592.log.
# Please refer to the file for further information.What happends if you try to issue your query from a SQL prompt? Does it work? Now, what is it written at the alert.log at the time this error arises? Is this version certified against 10g?
There are some issues when connecting the jdbc driver with Oracle 10g (http://edocs.bea.com/wls/docs81/notes/issues.html#129571) some patches may need to be applied. -
Oracle 10G New Feature........Part 1
Dear all,
from last couple of days i was very busy with my oracle 10g box,so i think this is right time to
share some intresting feature on 10g and some internal stuff with all of you.
Have a look :-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oracle 10g Memory and Storage Feature.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.Automatic Memory Management.
2.Online Segment Shrink
3.Redolog Advisor, checkpointing
4.Multiple Temporary tablespace.
5.Automatic Workload Repository
6.Active Session History
7.Misc
a)Rename Tablespace
b)Bigfile tablespace
c)flushing buffer cache
8.ORACLE INTERNAL
a)undocumented parameter (_log_blocks_during_backup)
b)X$ view (x$messages view)
c)Internal Structure of Controlfile
1.Automatic memory management
================================
This feature reduce the overhead of oracle DBA.previously mostly time we need to set diff oracle SGA parameter for
better performance with the help of own experience,advice views and by monitoring the behaviour
of oracle database.
this was just time consuming activity.........
Now this feature makes easy life for oracle DBA.
Just set SGA_TARGET parameter and it automatically allocate memory to different SGA parameter.
it focus on DB_CACHE_SIZE
SHARED_POOL_SIZE
LARGE_POOL
JAVA_POOL
and automatically set it as
__db_cache_size
__shared_pool_size
__large_pool_size
__java_pool_size
check it in alert_log
MMAN(memory manager) process is new in 10g and this is responsible for sga tuning task.
it automatically increase and decrease the SGA parameters value as per the requirement.
Benefit:- Maximum utlization of available SGA memory.
2.Online Segment Shrink.
==========================
hmmmmm again a new feature by oracle to reduce the downtime.Now oracle mainly focus on availablity
thats why its always try to reduce the downtime by intrducing new feature.
in previous version ,reducing High water mark of table was possible by
Exp/imp
or
alter table move....cmd. but on these method tables was not available for normal use for long hrs if it has more data.
but in 10g with just few command we can reduce the HWmark of table.
this feature is available for ASSM tablespaces.
1.alter table emp enable row movement.
2.alter table emp shrink space.
the second cmd have two phases
first phase is to compact the segment and in this phase DML operations are allowed.
second phase(shrink phase)oracle shrink the HWM of table, DML operation will be blocked at that time for short duration.
So if want to shrink the HWM of table then we should use it with two diff command
first compact the segment and then shrink it on non-peak hrs.
alter table emp shrink space compact. (This cmd doesn't block the DML operation.)
and alter table emp shrink space. (This cmd should be on non-peak hrs.)
Benefit:- better full table scan.
3.Redolog Advisor and checkpointing
================================================================
now oracle will suggest the size of redo log file by V$INSTANCE_RECOVERY
SELECT OPTIMAL_LOGFILE_SIZE
FROM V$INSTANCE_RECOVERY
this value is influence with the value of FAST_START_MTTR_TARGET .
Checkpointing
Automatic checkpointing will be enable after setting FAST_START_MTTR_TARGET to non-zero value.
4.Multiple Temporary tablespace.
==================================
Now we can manage multiple temp tablespace under one group.
we can create a tablespace group implicitly when we include the TABLESPACE GROUP clause in the CREATE TEMPORARY TABLESPACE or ALTER TABLESPACE statement and the specified tablespace group does not currently exist.
For example, if group1 is not exists,then the following statements create this groups with new tablespace
CREATE TEMPORARY TABLESPACE temp1 TEMPFILE '/u02/oracle/data/temp01.dbf'
SIZE 50M
TABLESPACE GROUP group1;
--Add Existing temp tablespace into group by
alter tablespace temp2 tablespace group group1.
--we can also assign the temp tablespace group on database level as default temp tablespace.
ALTER DATABASE <db name> DEFAULT TEMPORARY TABLESPACE group1;
benefit:- Better I/O
One sql can use more then one temp tablespace
5.AWR(Automatic Workload Repository):-
================================== AWR is built in Repository and Central point of Oracle 10g.Oracle self managing activities
is fully dependent on AWR.by default after 1 hr, oracle capure all database uses information and store in AWR with the help of
MMON process.we called it Memory monitor process.and all these information are kept upto 7 days(default) and after that it automatically purge.
we can generate a AWR report by
SQL> @?/rdbms/admin/awrrpt
Just like statspack report but its a advance and diff version of statspack,it provide more information of Database as well as OS.
it show report in Html and Text format.
we can also take manually snapshot for AWR by
BEGIN
DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
END;
**The STATISTICS_LEVEL initialization parameter must be set to the TYPICAL or ALL to enable the Automatic Workload Repository.
[oracle@RMSORA1 oracle]$ sqlplus / as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 17 10:37:22 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> @?/rdbms/admin/awrrpt
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
4174002554 RMSORA 1 rmsora
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type: text
Type Specified: text
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
* 4174002554 1 RMSORA rmsora RMSORA1
Using 4174002554 for database Id
Using 1 for instance number
Specify the number of days of snapshots to choose from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most recent
(n) days of snapshots being listed. Pressing <return> without
specifying a number lists all completed snapshots.
Listing the last 3 days of Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
rmsora RMSORA 16186 16 Mar 2006 17:33 1
16187 16 Mar 2006 18:00 1
16206 17 Mar 2006 03:30 1
16207 17 Mar 2006 04:00 1
16208 17 Mar 2006 04:30 1
16209 17 Mar 2006 05:00 1
16210 17 Mar 2006 05:31 1
16211 17 Mar 2006 06:00 1
16212 17 Mar 2006 06:30 1
16213 17 Mar 2006 07:00 1
16214 17 Mar 2006 07:30 1
16215 17 Mar 2006 08:01 1
16216 17 Mar 2006 08:30 1
16217 17 Mar 2006 09:00 1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 16216
Begin Snapshot Id specified: 16216
Enter value for end_snap: 16217
End Snapshot Id specified: 16217
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_16216_16217.txt. To use this name,
press <return> to continue, otherwise enter an alternative.
Benefit:- Now DBA have more free time to play games.....................:-)
Advance version of statspack
more DB and OS information with self managing capabilty
New Automatic alert and database advisor with the help of AWR.
6.Active Session History:-
==========================
V$active_session_history is view that contain the recent session history.
the memory for ASH is comes from SGA and it can't more then 5% of Shared pool.
So we can get latest and active session report from v$active_session_history view and also get histortical data of
of session from DBA_HIST_ACTIVE_SESS_HISTORY.
v$active_session_history include some imp column like:-
~SQL identifier of SQL statement
~Object number, file number, and block number
~Wait event identifier and parameters
~Session identifier and session serial number
~Module and action name
~Client identifier of the session
7.Misc:-
========
Rename Tablespace:-
=================
in 10g,we can even rename a tablespace by
alter tablespace <tb_name> rename to <tb_name_new>;
This command will update the controlfile,data dictionary and datafile header,but dbf filename will be same.
**we can't rename system and sysaux tablespace.
Bigfile tablespace:-
====================
Bigfile tablespace contain only one datafile.
A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile.
Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management.
we can take the advantage of bigfile tablespace when we are using ASM or other logical volume with RAID.
without ASM or RAID ,it gives poor response.
syntax:-
CREATE BIGFILE TABLESPACE bigtbs
Flushing Buffer Cache:-
======================
This option is same as flushing the shared pool,but only available with 10g.
but i don't know, whats the use of this command in prod database......
anyway we can check and try it on test server for tuning n testing some query etc....
SQL> alter system flush buffer_cache;
System altered.
++++++++++++++++++
8.Oracle Internal
++++++++++++++++++
Here is some stuff that is not related with 10g but have some intresting things.
a)undocumented parameter "_log_blocks_during_backup"
++++++++++++++++++++++++
as we know that oracle has generate more redo logs during hotbackup mode because
oracle has to maintain the a complete copy of block into redolog due to split block.
we can also change this behaviour by setting this parameter to False.
If Oracle block size equals the operating system block size.thus reducing the amount of redo generated
during a hot backup.
WITHOUT ORACLE SUPPORT DON'T SET IT ON PROD DATABASE.THIS DOCUMENT IS JUST FOR INFORMATIONAL PURPOSE.
b)some X$ views (X$messages)
++++++++++++++++
if you are intresting in oracle internal architecture then x$ view is right place for getting some intresting things.
X$messages :-it show all the actions that a background process do.
select * from x$messages;
like:-
lock memory at startup MMAN
Memory Management MMAN
Handle sga_target resize MMAN
Reset advisory pool when advisory turned ON MMAN
Complete deferred initialization of components MMAN
lock memory timeout action MMAN
tune undo retention MMNL
MMNL Periodic MQL Selector MMNL
ASH Sampler (KEWA) MMNL
MMON SWRF Raw Metrics Capture MMNL
reload failed KSPD callbacks MMON
SGA memory tuning MMON
background recovery area alert action MMON
Flashback Marker MMON
tablespace alert monitor MMON
Open/close flashback thread RVWR
RVWR IO's RVWR
kfcl instance recovery SMON
c)Internal Structure of Controlfile
++++++++++++++++++++++++++++++++++++
The contents of the current controlfile can be dumped in text form.
Dump Level Dump Contains
1 only the file header
2 just the file header, the database info record, and checkpoint progress records
3 all record types, but just the earliest and latest records for circular reuse record types
4 as above, but includes the 4 most recent records for circular reuse record types
5+ as above, but the number of circular reuse records included doubles with each level
the session must be connected AS SYSDBA
alter session set events 'immediate trace name controlf level 5';
This dump show lots of intresting information.
it also show rman recordes if we used this controlfile in rman backup.
Thanks
Kuljeet Pal SinghYou can find each doc in html and pdf format on the Documentation Library<br>
You can too download all the documentation in html format to have all on your own computer here (445.8MB)<br>
<br>
Nicolas. -
Nested tables and multiset operators in Oracle 10g
Consider the following scenario:
We have two identical relations R and S defined as:
CREATE TABLE R(
a INTEGER,
b table_type)
NESTED TABLE b STORE as b_1;
CREATE TABLE S(
a INTEGER,
b table_type)
NESTED TABLE b STORE as b_2;
where table_typ is defined as
CREATE TYPE table_typ AS TABLE OF VARCHAR2(8);
Suppose we have two instances of R and S, each having one tuple as follows: R(1,table_typ('a','b')) and S(1,table_typ('b','c')).
I would like to "merge" these two simple instances (e.g., achieve the effect of a simple SELECT * FROM R UNION SELECT * FROM S query) and obtain the following resulting instance: Result(1,table_typ('a','b','c')).
Would this be possible in Oracle 10g? A simple UNION does not work (I got a "inconsistent datatypes: expected - got SCOTT.TABLE_TYP" error). I also took a look at the MULTISET UNION operator over nested tables available in Oracle 10g, but it doesn't seem to get me anywhere. Any help on this would be greatly appreciated.
Thank you,
LauraOracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> CREATE OR REPLACE TYPE table_type AS TABLE OF VARCHAR2 (8);
2 /
Type created.
SQL> CREATE TABLE r(
2 a INTEGER,
3 b table_type)
4 NESTED TABLE b STORE as b_1;
Table created.
SQL> CREATE TABLE s(
2 a INTEGER,
3 b table_type)
4 NESTED TABLE b STORE as b_2;
Table created.
SQL> INSERT INTO r VALUES (1, table_type ('a', 'b'));
1 row created.
SQL> INSERT INTO s VALUES (1, table_type ('b', 'c'));
1 row created.
SQL> COLUMN c FORMAT A10;
SQL> SELECT r.a, r.b MULTISET UNION DISTINCT s.b c
2 FROM r, s
3 WHERE r.a = s.a;
A C
1 TABLE_TYPE('a', 'b', 'c')
SQL> -
Error in Installing Oracle 10g Express Edition Universal on WIndows2003
While Installing Oracle 10g XE Universal On WIndows 2003 Server Standard Edition(Which is a standalone Machine). I got an following Error:
Error No: 0x80040707
Error Description: DLL Function Call Crashed: GetHostnameDll.getHostname.
Plz find some solution for the above problem.Hi
Here's the resolution that can work for you:
Disable the "Print Spooler" service before running the installer.
1.Open Control Panel: Start --> Settings --> Control Panel
2.Double-click "Services"
3.On the list of NT Services, right-click "Print Spooler"
4.Select "Stop"
5.Select "Properties"
6.Under Startup Type, select "manual" or "disabled"
7.Reboot your NT Server
8.After rebooting, verify that the Print Spooler is still "stopped".
9.Delete Program Files\Common Files\Installshield\Engine folder
10.Re-run the installer.
11.After installation, re-set the Print Spooler service to Startup type "Automatic" and start the service.
Also, have a look at the installshield page: http://consumer.installshield.com/kb.asp?id=Q108167
-Priya
Maybe you are looking for
-
How to proceed with a requirement on changing the input type
I have a requirement that seems rather simple yet I am having a hard time achieving it. What I have is a table where there is a Data_Value field and a Data_Type field. The Data_Value is stored in the database as a VARCHAR2(100) and the Data_Type cont
-
im trying 2 download my footage off the camera onto finalcut hd usb only there are no firewire ports on camera
-
Safari/Mail certificate problem with gmail/google
Here is my problem: I have set-up Mail to use my gmail account through POP. Since yesterday, when I try to get or send mail, mail gives me the error: Unable to verify SSL server pop.gmail.com Mail was unable to verify the identity of this server, whi
-
Facing problems in Registering AIA Components with OSB
Hi all, I am trying to implement AIA on OSB for that as an initial step I am trying to Register AIA Components with OSB. In this step I am facing problems getting 705 conflicts removing these conflicts manually is a huge task . Can anyone suggest me
-
WHEN I RUN THE EXECUTABLE COMPCNTS.REP, I GET THE ERROR REP-1219 OBJECT NAME HAS NO SIZE-- LENGTH OR WIDTH IS ZERO. THE SAY THAT THE CAUSE IS IN CREATING YOUR LAYOUT OBJECT OF ZERO WIDTH OR HEIGHT. THE ACTION THAT SHOULD BE TAKEN IS ENLARGE THE OBJEC