Error starting up db with pfile Oracle 11g Win2003
Hi Guys
startup pfile='E:\orasoft\admin\edms\pfile\initlive.ora'
Error
SQL> startup pfile='E:\orasoft\admin\edms\pfile\initedms.ora'
LRM-00109: could not open parameter file 'E:\orasoft\admin\edms\pfile\initlive.o
ra'
ORA-01078: failure in processing system parameters
Thank you.
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cache and I/O
db_block_size=8192
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=edms
# File Configuration
control_files=("E:\oradata\oradata\edms\control01.ctl", "E:\oradata\flash_recovery_area\edms\control02.ctl")
db_recovery_file_dest=E:\oradata\flash_recovery_area
db_recovery_file_dest_size=5218762752
# Miscellaneous
compatible=11.2.0.0.0
diagnostic_dest=E:\orasoft
memory_target=4294967296
# Processes and Sessions
processes=150
# Security and Auditing
audit_file_dest=E:\orasoft\admin\edms\adump
audit_trail=db
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=edmsXDB)"
# System Managed Undo and Rollback Segments
undo_tablespace=UNDOTBS1
disk_asynch_io=false
dbwr_io_slaves=10
Similar Messages
-
The java error which i meet in the oracle 11g when i using jdm
I have finish a java data mining program,it can work in oracle 10g.But now ,i have to apply this program in oracle 11g.
What should i do to make it still work in oracle 11g?
The jar have been replaced with 11g's jar.But when i debug the program,the BuildTask's m_ programName is still "dmsys.build_program" and it should be "sys.build_program".
Then when run to the executeTask,the Error occurred.
**************the error**********************************
19:19:55,734 DEBUG AprioriExecuteUtil:248 - ---------------------------------------------------
19:19:55,734 DEBUG AprioriExecuteUtil:249 - --- Build Model ---
19:19:55,734 DEBUG AprioriExecuteUtil:250 - ---------------------------------------------------
19:21:52,328 ERROR AprioriExecuteUtil:114 - executeError:
java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.dmt.jdm.task.OraBuildTask.mapJobArgs(OraBuildTask.java:410)
at oracle.dmt.jdm.base.OraTask.retrieveObjectFromDatabase(OraTask.java:535)
at oracle.dmt.jdm.base.OraTask.removeTaskContents(OraTask.java:229)
at oracle.dmt.jdm.base.OraTask.removeObjectFromDatabase(OraTask.java:214)
at oracle.dmt.jdm.resource.OraPersistanceManagerImpl.removeObject(OraPersistanceManagerImpl.java:297)
at oracle.dmt.jdm.resource.OraConnection.removeObject(OraConnection.java:389)
at oracle.dmt.jdm.OraMiningObject.saveObjectInDatabase(OraMiningObject.java:150)
at oracle.dmt.jdm.resource.OraPersistanceManagerImpl.saveObject(OraPersistanceManagerImpl.java:245)
at oracle.dmt.jdm.resource.OraConnection.saveObject(OraConnection.java:383)
at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.executeTask(AprioriExecuteUtil.java:324)
at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.buildModel(AprioriExecuteUtil.java:303)
at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.execute(AprioriExecuteUtil.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
So,if there someone know the reason,please tell me how to solve this error.Thank you!!!!Thanks for your response!
The JDK version is 1.6.0_02.
DB version is 11.2.0.1.0.
This is the code.
public class AprioriExecuteUtil {
private static Logger logger=Logger.getLogger(AprioriExecuteUtil.class);
* 连接数据库对象
private static Connection m_dmeConn;
private static ConnectionFactory m_dmeConnFactory;
* 在进程中使用的工厂对象
private static PhysicalDataSetFactory m_pdsFactory;
private static PhysicalAttributeFactory m_paFactory;
private static AssociationSettingsFactory m_assoFactory;
private static RulesFilterFactory m_filterFactory;
private static BuildTaskFactory m_buildFactory;
* 全局常量
private static DecimalFormat m_df = new DecimalFormat("##.####");
* modelId:数据挖掘模型Id
private String modelId = "";
*<p>Title: execute</p>
*<p>Description:执行数据挖掘,响应页面上的执行按钮</p>
* @param @return 设定文件
* @return String 返回类型
* @throws
public String execute(){
try{
dataminingManager().updateModelById(modelId, "schedule", "10");
dataminingManager().updateModelById(modelId, "startTime", DateUtil.getNow());
dataminingManager().updateModelById(modelId, "endTime", "");
dataminingManager().deleteModelRules(modelId,"TblSpModelRulesAr");
m_dmeConnFactory = new OraConnectionFactory();
ConnectionSpec connSpec = m_dmeConnFactory.getConnectionSpec();
connSpec.setURI("jdbc:oracle:thin:@"+SystemParamUtil.getSystemParameValue("数据挖掘.数据库.地址"));
connSpec.setName(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.用户名"));
connSpec.setPassword(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.密码"));
m_dmeConn = m_dmeConnFactory.getConnection(connSpec);
clean();
initFactories();
prepareData();
dataminingManager().updateModelById(modelId, "schedule","20");
buildModel();
dataminingManager().updateModelById(modelId, "schedule","100");
dataminingManager().updateModelById(modelId, "endTime", DateUtil.getNow());
clean();
return null;
}catch(Exception e) {
logger.error("executeError:",e);
return "error";
finally {
try {
m_dmeConn.close();
} catch(Exception e) {
logger.error("closeConnectError:",e);
return "error";
*<p>Title: clean</p>
*<p>Description:清理所有之前构造的临时表</p>
* @param 设定文件
* @return void 返回类型
* @throws
public void clean(){
java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
Statement stmt = null;
try{
stmt = dbConn.createStatement();
StringBuffer sql = new StringBuffer("select object_name from dba_objects where object_type in('TABLE','VIEW') and object_name like '%DM$%' ");
sql.append("and owner = '").append(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.用户名")).append("'");
logger.info(sql.toString());
ResultSet rs = stmt.executeQuery(sql.toString());
while(rs.next()){
try{
stmt.executeUpdate("DROP VIEW "+rs.getString("object_name"));
}catch(SQLException e){}
try{
stmt.executeUpdate("DROP VIEW SALES_TRANS_CUST_V");
} catch(SQLException e) {}
try{
stmt.executeUpdate("DROP VIEW SALES_TRANS_CUST_AR_V");
} catch(SQLException e) {}
try {
m_dmeConn.removeObject("arModel_jdm", NamedObject.model );
}catch(JDMException e) {}
try {
m_dmeConn.removeObject("arSettings_jdm", NamedObject.buildSettings );
}catch(JDMException e) {}
try {
m_dmeConn.removeObject("arBuildData_jdm", NamedObject.physicalDataSet );
}catch(JDMException e) {}
try {
m_dmeConn.removeObject("arBuildTask_jdm", NamedObject.task );
}catch(JDMException e) {}
}catch(SQLException e) {
logger.error("cleanViewError:",e);
}finally{
try {
stmt.close();
}catch(Exception e){
logger.error("closeConnectError:",e);
*<p>Title: initFactories</p>
*<p>Description:初始化挖掘使用的工厂</p>
* @param @throws JDMException 设定文件
* @return void 返回类型
* @throws
public void initFactories() throws JDMException{
m_pdsFactory = (PhysicalDataSetFactory)m_dmeConn.getFactory("javax.datamining.data.PhysicalDataSet");
m_paFactory = (PhysicalAttributeFactory)m_dmeConn.getFactory("javax.datamining.data.PhysicalAttribute");
m_assoFactory = (AssociationSettingsFactory)m_dmeConn.getFactory("javax.datamining.association.AssociationSettings");
m_buildFactory = (BuildTaskFactory)m_dmeConn.getFactory("javax.datamining.task.BuildTask");
m_filterFactory = (RulesFilterFactory)m_dmeConn.getFactory("javax.datamining.association.RulesFilter");
*<p>Title: prepareData</p>
*<p>Description:准备数据</p>
* @param @throws Exception 设定文件
* @return void 返回类型
* @throws
public void prepareData() throws Exception{
logger.debug("---------------------------------------------------");
logger.debug("--- Prepare Data ---");
logger.debug("---------------------------------------------------");
this.createBuildData();
this.executeColumnFormatTransformation();
*<p>Title: createBuildData</p>
*<p>Description:用之前选择的产品构造视图</p>
* @param @throws Exception 设定文件
* @return void 返回类型
* @throws
public void createBuildData() throws Exception{
logger.debug("Create build data view...");
java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
PreparedStatement pStmt = null;
String custProductTableName= SystemParamUtil.getSystemParameValue("数据挖掘.订购关系表.表名");
TblSpDataMiningModel dataMiningmodel = dataminingManager().getDataMiningModel(modelId);
StringBuffer createView = new StringBuffer("CREATE VIEW SALES_TRANS_CUST_V AS SELECT cp.user_no as USER_NO, cp.product_id as PRODUCT_ID, 1 has_it ");
createView.append(" from ").append(custProductTableName).append(" cp ");
createView.append(" where cp.area_code = '").append(dataMiningmodel.getArea()).append("' GROUP BY USER_NO, PRODUCT_ID");
logger.debug(createView.toString());
pStmt = dbConn.prepareStatement(createView.toString());
pStmt.execute();
public void executeColumnFormatTransformation() throws Exception{
logger.debug("Execute column format transformation...");
StringBuffer createNestedColumn = new StringBuffer("CREATE VIEW SALES_TRANS_CUST_AR_V as ");
createNestedColumn.append(" SELECT D.USER_NO,CAST(MULTISET(SELECT DM_Nested_Numerical(C.PRODUCT_ID, has_it) FROM SALES_TRANS_CUST_V C ");
createNestedColumn.append(" WHERE C.USER_NO = D.USER_NO) AS DM_Nested_Numericals) CUSTPRODS FROM SALES_TRANS_CUST_V D group by D.USER_NO");
java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
PreparedStatement pStmt = null;
logger.debug(createNestedColumn.toString());
pStmt = dbConn.prepareStatement(createNestedColumn.toString());
pStmt.execute();
*<p>Title: buildModel</p>
*<p>Description:建立模型</p>
* @param @throws JDMException 设定文件
* @return void 返回类型
* @throws
public void buildModel() throws Exception{
logger.debug("---------------------------------------------------");
logger.debug("--- Build Model ---");
logger.debug("---------------------------------------------------");
PhysicalDataSet buildData = m_pdsFactory.create( "SALES_TRANS_CUST_AR_V", false );
PhysicalAttribute pa = m_paFactory.create("USER_NO", AttributeDataType.integerType, PhysicalAttributeRole.caseId );
buildData.addAttribute(pa);
m_dmeConn.saveObject("arBuildData_jdm", buildData, false );
AssociationSettings buildSettings = m_assoFactory.create();
//计算支持度和可信度以及最多分析多少个产品
/*java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
PreparedStatement pStmt = null;
String custProductTableName= SystemParamUtil.getSystemParameValue("数据挖掘.订购关系表.表名");
TblSpDataMiningModel dataMiningModel = dataminingManager().getDataMiningModel(modelId);
StringBuffer sql = new StringBuffer("select (trunc((count(*) /(count(distinct user_no) * count(distinct product_id))) * 50,2.2)) as destiny ");
sql.append(" from ").append(custProductTableName).append(" cp ");
sql.append(" where cp.area_desc = '").append(dataMiningModel.getArea()).append("'");
logger.debug(sql.toString());
pStmt = dbConn.prepareStatement(sql.toString());
ResultSet res = pStmt.executeQuery();
Float density = 0F;
while(res.next()){
density = res.getFloat("destiny");
if(density!=0){
buildSettings.setMinSupport(density);
buildSettings.setMinConfidence(density);
logger.debug("density = "+density);
}else{
buildSettings.setMinSupport(10f);
buildSettings.setMinConfidence(10f);
sql = new StringBuffer("select round(avg(COUNT(product_id))) as maxLength ");
sql.append(" from ").append(custProductTableName).append(" cp ");
sql.append(" where cp.area_desc = '").append(dataMiningModel.getArea()).append("' group by user_no ");
logger.debug(sql.toString());
pStmt = dbConn.prepareStatement(sql.toString());
res = pStmt.executeQuery();
int maxProductLength = 0;
while(res.next()){
maxProductLength = res.getInt("maxLength");
if(maxProductLength != 0 && maxProductLength >= 2){
buildSettings.setMaxRuleLength(maxProductLength);
logger.debug("maxProductLength = "+maxProductLength);
}else{
buildSettings.setMaxRuleLength(3);
logger.debug("maxProductLength = "+maxProductLength+" change to 3");
buildSettings.setMinSupport(1);
buildSettings.setMinConfidence(10);
buildSettings.setMaxRuleLength(3);
m_dmeConn.saveObject("arSettings_jdm", buildSettings, true );
BuildTask buildTask = m_buildFactory.create("arBuildData_jdm","arSettings_jdm","arModel_jdm");
buildTask.setDescription("arBuildTask_jdm" );
executeTask(buildTask,"arBuildTask_jdm");
AssociationModel model = (AssociationModel)m_dmeConn.retrieveObject("arModel_jdm", NamedObject.model);
if(buildSettings == null){
throw new Exception("Failure to restore build settings.");
}else{
displayAssociationRules( model );
*<p>Title: executeTask</p>
*<p>Description:执行任务</p>
* @param @param taskObj
* @param @param taskName
* @param @return
* @param @throws JDMException 设定文件
* @return boolean 返回类型
* @throws
public boolean executeTask(Task taskObj, String taskName) throws JDMException {
boolean isTaskSuccess = false;
m_dmeConn.saveObject(taskName, taskObj, true);
ExecutionHandle execHandle = m_dmeConn.execute(taskName);
logger.debug(taskName + " is started, please wait. ");
ExecutionStatus status = execHandle.waitForCompletion(Integer.MAX_VALUE);
isTaskSuccess = status.getState().equals(ExecutionState.success);
if( isTaskSuccess ) {
logger.debug(taskName + " is successful.");
} else {
logger.debug(taskName + " is failed.\nFailure Description: " +
status.getDescription() );
return isTaskSuccess;
247*******************the buildTask's m_programName is “dmsys.build_program” but it should be "sys.build_program" when i contact the 11g.I have tried many ways to compile the program,but it still can't be changed.
270*******************m_dmeConn.saveObject(taskName, taskObj, true);
the error:java.lang.ArrayIndexOutOfBoundsException: 0
If you need the data table
These are the sql :
-- Create table
create table TBL_MINING_CUST_HB
mobile_tele_no VARCHAR2(40),
area VARCHAR2(4),
user_dinner VARCHAR2(200),
re_flag VARCHAR2(2),
re_type VARCHAR2(40),
is_3gzd VARCHAR2(2),
arpu NUMBER,
net_on_duration NUMBER,
if_ring VARCHAR2(2),
if_gprs VARCHAR2(2),
gprs_fee NUMBER,
if_gprs_free VARCHAR2(2),
if_gprs_pkg VARCHAR2(2),
sms_fee NUMBER,
if_sms_free VARCHAR2(2),
if_sms_pkg VARCHAR2(2),
mms_fee NUMBER,
if_mms_pkg VARCHAR2(2),
if_mms_free VARCHAR2(2),
sen_fee NUMBER,
sen_in_fee NUMBER,
sen_out_fee NUMBER,
sen_free NUMBER,
sen_fact NUMBER,
one_cnt_10010 NUMBER,
three_cnt_10010 NUMBER,
one_cancel_business VARCHAR2(4000),
three_cancel_business VARCHAR2(4000),
sp VARCHAR2(4000)
tablespace CSS_APP
pctfree 10
initrans 1
maxtrans 255
storage
initial 64
next 1
minextents 1
maxextents unlimited
-- Add comments to the columns
comment on column TBL_MINING_CUST_HB.mobile_tele_no
is '电话号码';
comment on column TBL_MINING_CUST_HB.area
is '地市';
comment on column TBL_MINING_CUST_HB.user_dinner
is '用户套餐';
comment on column TBL_MINING_CUST_HB.re_flag
is '是否融合业务;1-是;0-否';
comment on column TBL_MINING_CUST_HB.re_type
is '套餐类别;2G后付费、2GOCS、3G后付费、3GOCS';
comment on column TBL_MINING_CUST_HB.is_3gzd
is '是否为3G终端(1-是,0非)';
comment on column TBL_MINING_CUST_HB.arpu
is 'ARPU;单位:元';
comment on column TBL_MINING_CUST_HB.net_on_duration
is '在网时长;单位:月';
comment on column TBL_MINING_CUST_HB.if_ring
is '是否开通炫铃功能,1-是;0-否';
comment on column TBL_MINING_CUST_HB.if_gprs
is '是否开通GPRS功能,1-是;0-否';
comment on column TBL_MINING_CUST_HB.gprs_fee
is 'GPRS流量使用情况;单位: M';
comment on column TBL_MINING_CUST_HB.if_gprs_free
is '套餐内是否自带优惠或赠送流量;1-是;0-否';
comment on column TBL_MINING_CUST_HB.if_gprs_pkg
is '是否定制优惠流量包;1-是;0-否';
comment on column TBL_MINING_CUST_HB.sms_fee
is '短信使用情况;单位:条';
comment on column TBL_MINING_CUST_HB.if_sms_free
is '套餐内是否自带优惠或赠送短信;1-是;0-否';
comment on column TBL_MINING_CUST_HB.if_sms_pkg
is '是否定制优惠短信包;1-是;0-否';
comment on column TBL_MINING_CUST_HB.mms_fee
is '彩信使用情况;单位:条';
comment on column TBL_MINING_CUST_HB.if_mms_pkg
is '是否定制优惠彩信包;1-是;0-否';
comment on column TBL_MINING_CUST_HB.if_mms_free
is '套餐内是否自带优惠或赠送彩信;1-是;0-否';
comment on column TBL_MINING_CUST_HB.sen_fee
is '本地长途合计分钟数;单位:分钟';
comment on column TBL_MINING_CUST_HB.sen_in_fee
is '本地长途省内长途;单位:分钟';
comment on column TBL_MINING_CUST_HB.sen_out_fee
is '本地长途省际长途;单位:分钟';
comment on column TBL_MINING_CUST_HB.sen_free
is '本地通话时长本地优惠分钟数;单位:分钟';
comment on column TBL_MINING_CUST_HB.sen_fact
is '本地通话时长实际使用分钟数:单位:分钟';
comment on column TBL_MINING_CUST_HB.one_cnt_10010
is '1月内拨打10010次数';
comment on column TBL_MINING_CUST_HB.three_cnt_10010
is '3月内拨打10010次数';
comment on column TBL_MINING_CUST_HB.one_cancel_business
is '1月内取消的增值业务';
comment on column TBL_MINING_CUST_HB.three_cancel_business
is '3月内取消的增值业务名称';
comment on column TBL_MINING_CUST_HB.sp
is '已开通的增值业务名称';
-- Create table
create table TBL_MINING_CUST_PRODUCT_HB
product_name VARCHAR2(1000),
product_id VARCHAR2(40),
user_no NUMBER,
area_code VARCHAR2(8)
tablespace CSS_APP
pctfree 10
initrans 1
maxtrans 255
storage
initial 16
next 1
minextents 1
maxextents unlimited
-- Create/Recreate indexes
create bitmap index IDX_PRODUCT_ID on TBL_MINING_CUST_PRODUCT_HB (PRODUCT_ID)
tablespace CSS_APP
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
create bitmap index IDX_USER_NO on TBL_MINING_CUST_PRODUCT_HB (USER_NO)
tablespace CSS_APP
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
-- Create table
create table TBL_MINING_PRODUCT_HB
product_name VARCHAR2(1000),
product_id VARCHAR2(30) not null,
coverage_rate NUMBER
tablespace CSS_APP
pctfree 10
initrans 1
maxtrans 255
storage
initial 16
next 1
minextents 1
maxextents unlimited
-- Add comments to the columns
comment on column TBL_MINING_PRODUCT_HB.product_name
is '产品名称';
comment on column TBL_MINING_PRODUCT_HB.product_id
is '产品ID';
comment on column TBL_MINING_PRODUCT_HB.coverage_rate
is '产品覆盖率=某一个产品的购买总数/所有产品的购买总数';
-- Create/Recreate primary, unique and foreign key constraints
alter table TBL_MINING_PRODUCT_HB
add constraint PK_PRODUCT_ID primary key (PRODUCT_ID)
using index
tablespace CSS_APP
pctfree 10
initrans 2
maxtrans 255
storage
initial 64K
next 1M
minextents 1
maxextents unlimited
Thanks! -
Heterogenous connection with dg4odbc Oracle 11g: insert did not work !
Hi,
we just migrated to a 64bits version of our oracle 10.2.0.4 database.
We had a heterogenus connection who was woking "A1" at that time (in 32 bits). Now, we had some problems with the Odbc 64bits and we found on this site that we can use dg4odbc (Oracle 11g).
We tried it and it works well except for a case ... We have to refresh some Oracle tables using a Ingres database. We have a first script SQL that truncate a table and insert data from a table (using heterogenous connection) terminated by a commit. The second one do exactly the same thing but we use a PL/SQL anonymous block.
Does anybody know why the first script work and the second not ...
Here is the "log" of the execution of the first script:
D:\Logiciels\oracle\ora10g\rdbms\BIN>D:\Logiciels\Oracle\Ora10g\rdbms\bin\sqlplu
s.exe agrt997/oedec12a1 @D:\batch\script_gen\test1.sql
SQL*Plus: Release 10.2.0.4.0 - Production on Jeu. Juil. 9 14:23:59 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
SQL> set feed on
SQL>
SQL> TRUNCATE TABLE AGRBAKA1.ADMIN_LOCALE;
Table truncated.
SQL>
SQL> INSERT INTO AGRBAKA1.ADMIN_LOCALE
2 SELECT * FROM ADMIN_LOCALE@test_ron;
*49 rows created.*
SQL>
SQL> commit;
Commit complete.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
D:\Logiciels\oracle\ora10g\rdbms\BIN>
Now, the execution of the second one (who not worked !!):
D:\Logiciels\oracle\ora10g\rdbms\BIN>D:\Logiciels\Oracle\Ora10g\rdbms\bin\sqlplu
s.exe agrt997/oedec12a1 @D:\batch\script_gen\test2.sql
SQL*Plus: Release 10.2.0.4.0 - Production on Jeu. Juil. 9 14:24:32 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
SQL> set feed on
SQL>
SQL> TRUNCATE TABLE AGRBAKA1.ADMIN_LOCALE;
Table truncated.
SQL>
SQL> DECLARE
2 cpt NUMBER;
3 BEGIN
4 INSERT INTO AGRBAKA1.ADMIN_LOCALE
5 SELECT * FROM ADMIN_LOCALE@test_ron;
6
7 commit;
8 EXCEPTION
9 WHEN OTHERS THEN
10 ROLLBACK;
11 END;
12 /
DECLARE
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
*[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error*
ORA-02063: preceding 2 lines from TEST_RON
ORA-06512: at line 10
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
*[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error*
ORA-02063: preceding 2 lines from TEST_RON
SQL>
SQL> EXIT
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
D:\Logiciels\oracle\ora10g\rdbms\BIN>
It's strange ...
Thank's
YvesHi,
We set the HS_FDS_TRACE_LEVEL=255, stopped/started the listener, started the trace in the ODBC.
Here is the trace of the dg4odbc:
Oracle Corporation --- LUNDI JUIL. 13 2009 10:42:42.849
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- LUNDI JUIL. 13 2009 10:42:42.849
Version 11.1.0.6.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL16UTF16"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "IngresSvrA1"
Product-Info:
Port Rls/Upd:6/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:IngresSvrA1
Exiting hgogprd, rc=0
hostmstr: 2960482304: HOA After hoagprd
hostmstr: 2960482304: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=102000
Entered hgolofn at 2009/07/13-10:42:42
Exiting hgolofn, rc=0 at 2009/07/13-10:42:42
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2009/07/13-10:42:42
hostmstr: 2960482304: HOA After hoainit
hostmstr: 2960482304: HOA Before hoalgon
Entered hgolgon at 2009/07/13-10:42:42
reco:0, name:AGRT997, tflag:0
Entered hgosuec at 2009/07/13-10:42:42
Exiting hgosuec, rc=0 at 2009/07/13-10:42:42
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using AGRT997 as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2009/07/13-10:42:43
HS_FDS_CONNECT_INFO = "IngresSvrA1"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2009/07/13-10:42:43
dsn:IngresSvrA1, name:AGRT997
optn:
##>Connect Parameters (len=40)<##
## DSN=IngresSvrA1;
#! UID=AGRT997;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2009/07/13-10:42:43
DriverName:CAIIOD35.DLL, DriverVer:03.50.910.0089
DBMS Name:INGRES, DBMS Version:09.10.0000
Exiting hgocont, rc=0 at 2009/07/13-10:42:43
SQLGetInfo returns for SQL_CATALOG_NAME
Exiting hgolgon, rc=0 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoalgon
hostmstr: 2954018816: RPC Before Upload Caps
hostmstr: 2954018816: HOA Before hoaulcp
Entered hgoulcp at 2009/07/13-10:42:43
Entered hgowlst at 2009/07/13-10:42:43
Exiting hgowlst, rc=0 at 2009/07/13-10:42:43
SQLGetInfo returns " for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
Exiting hgoulcp, rc=0 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoaulcp
hostmstr: 2954018816: RPC After Upload Caps
hostmstr: 2954018816: RPC Before Upload DDTR
hostmstr: 2954018816: HOA Before hoauldt
Entered hgouldt at 2009/07/13-10:42:43
Exiting hgouldt, rc=0 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoauldt
hostmstr: 2954018816: RPC After Upload DDTR
hostmstr: 2954018816: RPC Before Begin Trans
hostmstr: 2954018816: HOA Before hoabegn
Entered hgobegn at 2009/07/13-10:42:43
tflag:0 , initial:1
hoi:0x12f074, ttid (len 28) is ...
00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
10: 2E31312E 36323031 34373639 [.11.10269674]
tbid (len 10) is ...
0: 000B0018 009CB3EA 0104 [..........]
Exiting hgobegn, rc=0 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoabegn
hostmstr: 2954018816: RPC After Begin Trans
hostmstr: 2954018816: RPC Before Describe Procedure
hostmstr: 2954018816: HOA Before hoapdsc
Entered hgopdsc at 2009/07/13-10:42:43
Describing procedure AGRT997.admin_locale
Output hoada
hgopdsc, line 1222: NO hoada to print
Exiting hgopdsc, rc=942 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoapdsc
hostmstr: 2954018816: RPC After Describe Procedure
hostmstr: 2954018816: RPC Before Describe Table
hostmstr: 2954018816: HOA Before hoadtab
Entered hgodtab at 2009/07/13-10:42:43
count:1
table: AGRT997.admin_locale
Entered hgopcda at 2009/07/13-10:42:44
Column:1(dir_no_direc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:2(adr_no_adm_reg): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:3(adl_no_adm_loc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:4(adl_desc_adm_loc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:5(adl_adr1_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:6(adl_adr2_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:7(adl_adr3_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:8(adl_cd_post_adm_lc): dtype:1 (CHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:9(adl_no_tel_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:10(adl_no_fax_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:11(uti_id): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:12(bak_dt_dern_modif_rec): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:7, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:13(uti_id_uvb): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
The hoada for table AGRT997.admin_locale follows...
hgodtab, line 577: Printing hoada @ 0224711C
MAX:13, ACTUAL:13, BRC:1, WHT=6
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-6 TINYINT N 1 1 0/ 0 0 0 20 dir_no_direc
-6 TINYINT N 1 1 0/ 0 0 0 20 adr_no_adm_reg
-6 TINYINT N 1 1 0/ 0 0 0 20 adl_no_adm_loc
1 CHAR N 30 30 0/ 0 0 0 0 adl_desc_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr1_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr2_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr3_adm_loc
1 CHAR N 6 6 0/ 0 0 0 0 adl_cd_post_adm_lc
1 CHAR N 10 10 0/ 0 0 0 0 adl_no_tel_adm_loc
1 CHAR N 10 10 0/ 0 0 0 0 adl_no_fax_adm_loc
1 CHAR N 7 7 0/ 0 0 0 0 uti_id
91 DATE Y 16 16 0/ 0 0 0 0 bak_dt_dern_modif_rec
1 CHAR N 7 7 0/ 0 0 0 0 uti_id_uvb
Exiting hgodtab, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoadtab
hostmstr: 2954018816: HOA Before hoadafr
Entered hgodafr, cursor id 0 at 2009/07/13-10:42:44
Exiting hgodafr, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoadafr
hostmstr: 2954018816: RPC After Describe Table
hostmstr: 2954018816: RPC Before SQL Bundling
hostmstr: 2954018816: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2009/07/13-10:42:44
type:0
SQL text from hgopars, id=1, len=312 ...
000: 454C4553 41205443 64222E31 6E5F7269 [SELECT A1."dir_n]
010: 69645F6F 22636572 2E31412C 72646122 [o_direc",A1."adr]
020: 5F6F6E5F 5F6D6461 22676572 2E31412C [_no_adm_reg",A1.]
030: 6C646122 5F6F6E5F 5F6D6461 22636F6C ["adl_no_adm_loc"]
040: 2E31412C 6C646122 7365645F 64615F63 [,A1."adl_desc_ad]
050: 6F6C5F6D 412C2263 61222E31 615F6C64 [m_loc",A1."adl_a]
060: 5F317264 5F6D6461 22636F6C 2E31412C [dr1_adm_loc",A1.]
070: 6C646122 7264615F 64615F32 6F6C5F6D ["adl_adr2_adm_lo]
080: 412C2263 61222E31 615F6C64 5F337264 [c",A1."adl_adr3_]
090: 5F6D6461 22636F6C 2E31412C 6C646122 [adm_loc",A1."adl]
0A0: 5F64635F 74736F70 6D64615F 22636C5F [_cd_post_adm_lc"]
0B0: 2E31412C 6C646122 5F6F6E5F 5F6C6574 [,A1."adl_no_tel_]
0C0: 5F6D6461 22636F6C 2E31412C 6C646122 [adm_loc",A1."adl]
0D0: 5F6F6E5F 5F786166 5F6D6461 22636F6C [_no_fax_adm_loc"]
0E0: 2E31412C 69747522 2264695F 2E31412C [,A1."uti_id",A1.]
0F0: 6B616222 5F74645F 6E726564 646F6D5F ["bak_dt_dern_mod]
100: 725F6669 2C226365 222E3141 5F697475 [if_rec",A1."uti_]
110: 755F6469 20226276 4D4F5246 47412220 [id_uvb" FROM "AG]
120: 39395452 222E2237 696D6461 6F6C5F6E [RT997"."admin_lo]
130: 656C6163 31412022 [cale" A1]
Exiting hgopars, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoxpars
hostmstr: 2954018816: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2009/07/13-10:42:44
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoxopen
hostmstr: 2954018816: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:1(dir_no_direc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:2(adr_no_adm_reg): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:3(adl_no_adm_loc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:4(adl_desc_adm_loc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:5(adl_adr1_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:6(adl_adr2_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:7(adl_adr3_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:8(adl_cd_post_adm_lc): dtype:1 (CHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:9(adl_no_tel_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:10(adl_no_fax_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:11(uti_id): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:12(bak_dt_dern_modif_rec): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:7, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:13(uti_id_uvb): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
hgodscr, line 521: Printing hoada @ 022470D0
MAX:13, ACTUAL:13, BRC:100, WHT=5
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-6 TINYINT N 1 1 0/ 0 0 0 20 dir_no_direc
-6 TINYINT N 1 1 0/ 0 0 0 20 adr_no_adm_reg
-6 TINYINT N 1 1 0/ 0 0 0 20 adl_no_adm_loc
1 CHAR N 30 30 0/ 0 0 0 0 adl_desc_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr1_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr2_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr3_adm_loc
1 CHAR N 6 6 0/ 0 0 0 0 adl_cd_post_adm_lc
1 CHAR N 10 10 0/ 0 0 0 0 adl_no_tel_adm_loc
1 CHAR N 10 10 0/ 0 0 0 0 adl_no_fax_adm_loc
1 CHAR N 7 7 0/ 0 0 0 0 uti_id
91 DATE Y 16 16 0/ 0 0 0 0 bak_dt_dern_modif_rec
1 CHAR N 7 7 0/ 0 0 0 0 uti_id_uvb
Exiting hgodscr, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoxdscr
hostmstr: 2954018816: RPC After SQL Bundling
hostmstr: 2954018816: RPC Before Describe Table
hostmstr: 2954018816: HOA Before hoadtab
Entered hgodtab at 2009/07/13-10:42:44
count:1
table: admin_locale
The hoada for table admin_locale follows...
hgodtab, line 577: NO hoada to print
Exiting hgodtab, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoadtab
hostmstr: 2954018816: RPC After Describe Table
hostmstr: 2954018816: RPC Before SQL Bundling
hostmstr: 2954018816: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2009/07/13-10:42:44
Exiting hgoclse, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoxclse
hostmstr: 2954018816: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2009/07/13-10:42:44
Exiting hgodafr, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoadafr
hostmstr: 2954018816: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2009/07/13-10:42:44
type:0
SQL text from hgopars, id=1, len=28 ...
00: 454C4553 2A205443 4F524620 6122204D [SELECT * FROM "a]
10: 6E696D64 636F6C5F 22656C61 [dmin_locale"]
Entered hgopoer at 2009/07/13-10:42:44
hgopoer, line 159: got native error 7 and sqlstate HY000; message follows...
[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error
Exiting hgopoer, rc=0 at 2009/07/13-10:42:44
hgopars, line 278: calling SQLPrepare got sqlstate HY000
Exiting hgopars, rc=28500 at 2009/07/13-10:42:44 with error ptr FILE:hgopars.c LINE:308 ID:Prepare stmt
hostmstr: 2954018816: HOA After hoxpars
hostmstr: 2954018816: RPC After SQL Bundling
hostmstr: 2954018816: RPC Before Rollback Trans
hostmstr: 2954018816: HOA Before hoaroll
Entered hgoroll at 2009/07/13-10:42:44
tflag:1 , cmt(0):
hoi:0x12f074, ttid (len 28) is ...
00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
10: 2E31312E 36323031 34373639 [.11.10269674]
tbid (len 10) is ...
0: 000B0018 009CB3EA 0104 [..........]
Entered hgocpctx at 2009/07/13-10:42:44
Exiting hgocpctx, rc=0 at 2009/07/13-10:42:44
Entered hgopoer at 2009/07/13-10:42:44
hgopoer, line 159: got native error 7 and sqlstate HY000; message follows...
[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error
Exiting hgopoer, rc=0 at 2009/07/13-10:42:44
hgoroll, line 124: calling SQLEndTran got sqlstate HY000
Exiting hgoroll, rc=28500 at 2009/07/13-10:42:44 with error ptr FILE:hgoroll.c LINE:124 ID:End transaction
hostmstr: 2954018816: HOA After hoaroll
hostmstr: 2954018816: RPC After Rollback Trans
hostmstr: 2954018816: RPC Before Rollback Trans
hostmstr: 2954018816: HOA Before hoaroll
Entered hgoroll at 2009/07/13-10:42:44
tflag:1 , cmt(0):
hoi:0x12f074, ttid (len 28) is ...
00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
10: 2E31312E 36323031 34373639 [.11.10269674]
tbid (len 10) is ...
0: 000B0018 009CB3EA 0104 [..........]
Entered hgocpctx at 2009/07/13-10:42:44
Exiting hgocpctx, rc=0 at 2009/07/13-10:42:44
Exiting hgoroll, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoaroll
hostmstr: 2954018816: RPC After Rollback Trans
hostmstr: 2954018816: RPC Before Logoff
hostmstr: 2954018816: HOA Before hoalgof
Entered hgolgof at 2009/07/13-10:42:46
tflag:1
Exiting hgolgof, rc=0 at 2009/07/13-10:42:46
hostmstr: 2956316672: HOA After hoalgof
hostmstr: 2956316672: RPC After Logoff
hostmstr: 2956316672: RPC Before Exit Agent
hostmstr: 2956316672: HOA Before hoaexit
Entered hgoexit at 2009/07/13-10:42:46
Exiting hgoexit, rc=0 at 2009/07/13-10:42:46
hostmstr: 2960150528: HOA After hoaexit
hostmstr: 2960150528: RPC After Exit Agent
If you want the "trace log" of the ODBC, I could send it to you in a further reply.
Thank's -
Gating error while creating standby database in oracle 11g
Dear Gurus
I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 10-MAY-12
using channel ORA_AUX_DISK_1
contents of Memory Script:
backup as copy reuse
targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
'/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
executing Memory Script
Starting backup at 10-MAY-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
ORA-17629: Cannot connect to the remote database server
RMAN>
Regards
RabiHello;
Generally for the connection to work you need to add something like this to the listener.ora file :
(SID_DESC =
(global_dbname = STANDBY.hostname)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(sid_name = STANDBY)
)You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
Also you need an INIT for the Standby side :
STANDBY.__db_cache_size=343932928
STANDBY.__java_pool_size=4194304
STANDBY.__large_pool_size=4194304
STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
STANDBY.__pga_aggregate_target=281018368
STANDBY.__sga_target=834666496
STANDBY.__shared_io_pool_size=0
STANDBY.__shared_pool_size=469762048
STANDBY.__streams_pool_size=0
audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
audit_trail='db'
compatible='11.2.0.0.0'
control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
db_block_size=8192
db_domain='SOME.DOMAIN.COM'
db_flashback_retention_target=2880
db_name='PRIMARY'
db_recovery_file_dest_size=2147483648
db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
diagnostic_dest='/u01/app/oracle'
dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
open_cursors=300
pga_aggregate_target=277872640
processes=150
remote_login_passwordfile='EXCLUSIVE'
sga_target=833617920
undo_tablespace='UNDOTBS1'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=DEFER
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=STANDBY
STANDBY_FILE_MANAGEMENT=AUTO
DB_UNIQUE_NAME=STANDBYFinally
startup nomount
Start RMAN and issue duplicate command
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
Keys to success
1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
2. Hard coded listener on new Standby server.
3. Correct tnsnames.ora files.
4. Correct duplicate command.
Please consider closing some of you old answered questions
Best Regards
mseberg
Edited by: mseberg on May 10, 2012 7:06 AM -
ORA-12154 error when trying to connect to Oracle 11g DB from Excel 2010
All,
I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?user10832104 wrote:
All,
I am trying to set up Excel 2010 64-bit to connect to an Oracle 11g database, but am having some trouble due to an "ORA-12154 could not resolve the connect identifier specified" error. I am able to TNSping the SID name, as well as connect to SQLplus. The TNS entry works, and the Oracle Home is in the right spot. I am even able to put the full connection string in the "Data Source" field when creating a data link in Excel and have it connect to the DB. But I would like to be able to create one that used the SID rather than the full connection string, as other users will have to use this. The developer behind the Excel solution created a number of .odc files to connect to various databases, so this gives extra weight behind figuring out how to connect via a SID rather than a full connection string. Any suggestions?
If you are able to connect with sqlplus, then this really becomes a question of how to define a data connection in Excel.
But after quickly googling ..
In excel ...
"Data" tab
"from other sources"
"from data connection wizard"
select ODBC DSN
On data link properties, select the "connection" tab
select "Use Data Source Name" and hit the drop-down
select a dsn that you had previously set up to point to the oracle database.
Anyway, that looks like how it is supposed to be done. I'm getting a dll initialization error. Probably due to the fact I have both 32-bit and 64-bit oracle clients, and windows never handles that very gracefully. But then Windows never graceffully handles anything that isn't MicroSoft. To paraphrase Forest Gump, "My momma always said Windows was like a box of chocolates. You never know what you're going to get."
In any event, the error you report means it was actually tying to look it up in tnsnames, but what you supplied wasn't found there. That can also be a big issue when dealing with MS products, because they don't use the same terminology, so lead people into entering something other than what Oracle expects. Are you referencing an ODBC DSN? If so, have you tested that apart from Excel? -
Help with installation ORACLE 11g SES
hi, i'm new at this, i was almost done with the configuring of a new instance of Oracle 11g, however i'm running into this error, when one of the assistants is executing. can any of you point out what should i try or what could be the cause of this problem. any help would be really appreciated.
the error is this:
oracle.search.config.wls.OESException: Error while executing actiong: "setup_all"
Caused by: oracle.search.config.wlsOESException: The SES Backend is not up! Backend must be up to configure midtier
at oracle.search.config.wls.SearchCtl.run(SearchCtl.java:1340)
at oracle.search.config.wls.SearchCtl.main(SearchCtl.java:1384)
caused by: oracle.search.config.wlsOESException: The SES Backend is not up! Backend must be up to configure midtier
at oracle.search.config.wls.SearchCtl.setup.Midtier(SearchCtl.java:609)
at oracle.search.config.wls.SearchCtl.setupAll(SearchCtl.java:1095)
at oracle.search.config.wls.SearchCtl.run(SearchCtl.java:1266)
..... 1 more
Error while executing action: "setup_all"ok, the version is 11.1.2.0.0 , OS CentOS 5.0(kernel 2.6.18-308.11.1.el5PAE) = , all system requirements were met prior to installation.
-
Host Credentials ERROR Invalid username and or password Oracle 11g
Hi,
This error has been bugging me for sometime now and I can't find a straight forward answer anywhere, can you help?
Oracle 11g on Windows XP SP2 Intel box.
I am trying to export data and when I'm asked for the Host Credentials I get the error
" ERROR Invalid username and or password "
I have tried the following syntax for Username:
<domain name>\Administrator
<domain name.local>\Administrator
<domain name>/Administrator
<Local host name>\<domain name>\Administrator
I have gone through making sure that the local security policy settings are correct.
I have added domain and local Administrator to the ora_dba Group.
All services relating to Oracle are running.
I can connect via SQL Plus with no issues.
I can connect to EM locally and from my client pc with no issues.
Any ideas, please, can anyone help me?
I'll gladly furnish you with any info I can to get past this seemingly simple step!
Regards
naexpert.Trying to understand your reply, here is what I did:
Created new Windows user called OraAdmin.
OraAdmin is now member of administrators group and Ora_dba group.
Logged onto EM at server and used System user logon.
Data Movement
Export to Export Files
Tables
Host Credentials
Tried
OraAdmin - failed
oracle-11g\OraAdmin - failed
oracle-11g/OraAdmin - failed
Don't know what else to do...... -
Initializing error while invoking the SQLPULS in Oracle 11G.
Hello All,
I installed Oracle 11G freshly and now I am geting following errors while invoking the sqlplus from the client side.
C:\Documents and Settings\Administrator.SC14FT1>sqlplus
Error 57 initializing SQL*Plus
Error loading message shared library
Any idea ?
Thanks
With Regards
Hemant Joshi.Hello,
I am getting the same error even after setting the oracle_home.
C:\Documents and Settings\Administrator.SC14FT1>set ORACLE_HOME=D:\Oracle\Ora11g
C:\Documents and Settings\Administrator.SC14FT1>echo %ORACLE_HOME%
D:\Oracle\Ora11g
C:\Documents and Settings\Administrator.SC14FT1>sqlplus
Error 57 initializing SQL*Plus
Error loading message shared library
Thanks
With Regards
Hemant Joshi -
Error in cloneDBCreation.log while installing Oracle 11g
Hi,
While installing Oracle 11g in a Virtual Machine environment , the following error is shown during database cloning :-
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1334380 bytes
Variable Size 163578772 bytes
Database Buffers 364904448 bytes
Redo Buffers 5844992 bytes
USERS
specify password for SYS as parameter 1:
specify password for HR as parameter 2:
specify password for OE as parameter 3:
specify password for PM as parameter 4:
specify password for IX as parameter 5:
specify password for SH as parameter 6:
specify password for BI as parameter 7:
specify INPUT metadata import file as parameter 8:
specify INPUT database backup file for tablespace EXAMPLE as parameter 9:
specify OUTPUT database file for tablespace EXAMPLE as parameter 10:
specify OUTPUT log directory as parameter 11:
Sample Schemas are being plugged in ...
ERROR:
ORA-12170: TNS:Connect timeout occurred
Please suggest a solution.
Thanks & REgards
Saswata Mandal.we are doing a normal installation of Oracle 11g Enterprise edition in a virtual machine system.
During installing , the installer got stuck , while Cloning the database and showed the error. -
Starting BPEL when email received - Oracle 11g
I'm trying to start a BPEL Process with the reception of an email.
- I'm working with Oracle 11g
- Usermessagingserver is installed and configured to the correct server and it's working, at least it shows received emails and it's able to send emails from a BPEL process
In the BPEL that has been done to start with the reception of an email I have the following:
<partnerLink myRole="Consume_Message_role" name="Inbound" partnerLinkType="ns1:Consume_Message_plt"/>
Inbound_jms.jca has the following configuration:
<adapter-config name="Inbound" adapter="Jms Adapter" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/wls/Queue" UIConnectionName="soa-server" UIJmsProvider="WLSJMS" adapterRef=""/>
<endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
<activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
<property name="DestinationName" value="OraSDPM/Queues/OraSDPMEngineRcvQ1"/>
<property name="UseMessageListener" value="true"/>
<property name="PayloadType" value="BytesMessage"/>
</activation-spec>
</endpoint-activation>
</adapter-config>
When usermessagingserver receives an email message, the BPEL doesn’t start and I get this message in the log:
PM oracle.sdpinternal.messaging.EngineReceivingCoreBean processMessageCommon
WARNING: There is no application that has registered this address as an access point. Message will not be delivered.
I have no idea how to configure an access point, I've only found how to De-register from Messaging Client Applications in the usermessagingserver.
Found this documentation about registering access points, from an sample application of usermessaingserver in [http://download.oracle.com/docs/cd/E12839_01/doc.1111/e13807/ns_java_api.htm|http://download.oracle.com/docs/cd/E12839_01/doc.1111/e13807/ns_java_api.htm]
but I cannot find where to download the example from the documentation.
Any help appreciated.Does anyone has some input on this issue?
I want to do the same thing, but I don't know how to...
Thanks -
What should i do with an Oracle 11g Database, MySQL database and a dump file.
I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
I have another Sever test that already set up MySQL database, and a dump file from the system.
So I want to ask these 2 questions :
1. How to create an new Oracle Database from that dump file ?
2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
Thanks alot.I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision -
Error starting managed server with JRockit VM
I getting this error when i start the server with Jrockit VM 3.1 with -Xthinthreads
option on. The OS is NT. Any clues , please ?
exception: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
D:\i252\services>runtxnserver
JRockit build 3.1.4-CROSIS-20020429-1505, Thin Threads, Generational Concurr
Garbage Collector, started.
[JRockit] Starting Management Server on port 7090
Starting WebLogic Server ....
Connecting to http://ocncat2:7991...
<May 10, 2002 11:50:59 AM PDT> <Error> <NT Performance Pack> <Problem on fd:
4', socket: 'weblogic.rjvm.t3.T3JVMConnection@111'
java.io.IOException: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824)
at weblogic.socket.NTSocketMuxer.registerSockInIoPort(Native Method)
35c4a
at weblogic.socket.NTSocketMuxer.register(Compiled Code)@23e34e90
at weblogic.rjvm.t3.T3JVMConnection.createConnection(Compiled Code)@
2410
at weblogic.rjvm.Protocol.createConnection(Compiled Code)@23e321b0
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(Compiled C
@23e31b90
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e315b0
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e30d00
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(Compiled Cod
3e30810
at weblogic.rjvm.RJVMManager.findOrCreate(Compiled Code)@23e307b0
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(Compiled Code)@
0660
at weblogic.rjvm.RJVMFinder.findOrCreate(Compiled Code)@23e3001c
at weblogic.rjvm.ServerURL.findOrCreateRJVM(Compiled Code)@23d7fa00
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(C
led Code)@23d7ec10
at weblogic.jndi.Environment.getContext(Compiled Code)@23d7e600
at weblogic.jndi.Environment.getInitialContext(Compiled Code)@23d7e5
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace
>
<May 10, 2002 11:51:00 AM PDT> <Emergency> <Configuration Management> <Error
tected attempting to connect to admin server at http://ocncat2:7991 during i
alization of managed server ( null:7551 ). The reported error was: < java.io
xception: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) > This condition generally results when the managed and
n servers are using the same listen address and port.>
<May 10, 2002 11:51:00 AM PDT> <Emergency> <Server> <Unable to initialize th
rver: 'Fatal initialization exception
Throwable: weblogic.management.configuration.ConfigurationException: java.io
xception: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
(error 87, fd 824)]
java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort:
parameter is incorrect.
(error 87, fd 824)
at weblogic.socket.NTSocketMuxer.register(Compiled Code)@23e34e90
at weblogic.rjvm.t3.T3JVMConnection.createConnection(Compiled Code)@
2410
at weblogic.rjvm.Protocol.createConnection(Compiled Code)@23e321b0
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(Compiled C
@23e31b90
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e315b0
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e30d00
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(Compiled Cod
3e30810
at weblogic.rjvm.RJVMManager.findOrCreate(Compiled Code)@23e307b0
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(Compiled Code)@
0660
at weblogic.rjvm.RJVMFinder.findOrCreate(Compiled Code)@23e3001c
at weblogic.rjvm.ServerURL.findOrCreateRJVM(Compiled Code)@23d7fa00
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(C
led Code)@23d7ec10
at weblogic.jndi.Environment.getContext(Compiled Code)@23d7e600
at weblogic.jndi.Environment.getInitialContext(Compiled Code)@23d7e5
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: java.io.IOExceptio
ouldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
(error 87, fd 824)]
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace
'>
The WebLogic Server did not start up properly.
Exception raised: weblogic.management.configuration.ConfigurationException:
.io.IOException: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
(error 87, fd 824)]
java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort:
parameter is incorrect.
(error 87, fd 824)
at weblogic.socket.NTSocketMuxer.register(Compiled Code)@23e34e90
at weblogic.rjvm.t3.T3JVMConnection.createConnection(Compiled Code)@
2410
at weblogic.rjvm.Protocol.createConnection(Compiled Code)@23e321b0
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(Compiled C
@23e31b90
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e315b0
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e30d00
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(Compiled Cod
3e30810
at weblogic.rjvm.RJVMManager.findOrCreate(Compiled Code)@23e307b0
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(Compiled Code)@
0660
at weblogic.rjvm.RJVMFinder.findOrCreate(Compiled Code)@23e3001c
at weblogic.rjvm.ServerURL.findOrCreateRJVM(Compiled Code)@23d7fa00
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(C
led Code)@23d7ec10
at weblogic.jndi.Environment.getContext(Compiled Code)@23d7e600
at weblogic.jndi.Environment.getInitialContext(Compiled Code)@23d7e5
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: java.io.IOExceptio
ouldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
(error 87, fd 824)]
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack traceI found the solution . The reason for this is that JRockit's High Performance Thread
System uses asynchrounous I/O "under the hood". Weblogic's Native I/O is also asynchronous.
The two asynchronous I/O systems clash and the result is the error you see.
There are two ways around this problem. Either disable JRockit's High Performance
Thread System (or thinthreads) by using the -Xnativethreads command line flag, or
disable Weblogic's Native I/O.
For Weblogic 6.0 and higher, edit the config.xml file. Find the line saying NativeIOEnabled="true"
and change this to NativeIOEnabled="false".
For Weblogic 5.1 you edit the file weblogic.properties and change the line weblogic.system.nativeIO.enable=true
to
weblogic.system.nativeIO.enable=false
"Manoj jayadevan" <[email protected]> wrote:
>
I getting this error when i start the server with Jrockit VM 3.1 with -Xthinthreads
option on. The OS is NT. Any clues , please ?
exception: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
D:\i252\services>runtxnserver
JRockit build 3.1.4-CROSIS-20020429-1505, Thin Threads, Generational Concurr
Garbage Collector, started.
[JRockit] Starting Management Server on port 7090
Starting WebLogic Server ....
Connecting to http://ocncat2:7991...
<May 10, 2002 11:50:59 AM PDT> <Error> <NT Performance Pack> <Problem on
fd:
4', socket: 'weblogic.rjvm.t3.T3JVMConnection@111'
java.io.IOException: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824)
at weblogic.socket.NTSocketMuxer.registerSockInIoPort(Native Method)
35c4a
at weblogic.socket.NTSocketMuxer.register(Compiled Code)@23e34e90
at weblogic.rjvm.t3.T3JVMConnection.createConnection(Compiled Code)@
2410
at weblogic.rjvm.Protocol.createConnection(Compiled Code)@23e321b0
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(Compiled
C
@23e31b90
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e315b0
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e30d00
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(Compiled
Cod
3e30810
at weblogic.rjvm.RJVMManager.findOrCreate(Compiled Code)@23e307b0
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(Compiled Code)@
0660
at weblogic.rjvm.RJVMFinder.findOrCreate(Compiled Code)@23e3001c
at weblogic.rjvm.ServerURL.findOrCreateRJVM(Compiled Code)@23d7fa00
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(C
led Code)@23d7ec10
at weblogic.jndi.Environment.getContext(Compiled Code)@23d7e600
at weblogic.jndi.Environment.getInitialContext(Compiled Code)@23d7e5
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled
Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace
>
<May 10, 2002 11:51:00 AM PDT> <Emergency> <Configuration Management> <Error
tected attempting to connect to admin server at http://ocncat2:7991 during
i
alization of managed server ( null:7551 ). The reported error was: < java.io
xception: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) > This condition generally results when the managed
and
n servers are using the same listen address and port.>
<May 10, 2002 11:51:00 AM PDT> <Emergency> <Server> <Unable to initialize
th
rver: 'Fatal initialization exception
Throwable: weblogic.management.configuration.ConfigurationException: java.io
xception: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
(error 87, fd 824)]
java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort:
parameter is incorrect.
(error 87, fd 824)
at weblogic.socket.NTSocketMuxer.register(Compiled Code)@23e34e90
at weblogic.rjvm.t3.T3JVMConnection.createConnection(Compiled Code)@
2410
at weblogic.rjvm.Protocol.createConnection(Compiled Code)@23e321b0
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(Compiled
C
@23e31b90
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e315b0
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e30d00
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(Compiled
Cod
3e30810
at weblogic.rjvm.RJVMManager.findOrCreate(Compiled Code)@23e307b0
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(Compiled Code)@
0660
at weblogic.rjvm.RJVMFinder.findOrCreate(Compiled Code)@23e3001c
at weblogic.rjvm.ServerURL.findOrCreateRJVM(Compiled Code)@23d7fa00
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(C
led Code)@23d7ec10
at weblogic.jndi.Environment.getContext(Compiled Code)@23d7e600
at weblogic.jndi.Environment.getInitialContext(Compiled Code)@23d7e5
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled
Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: java.io.IOExceptio
ouldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
(error 87, fd 824)]
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled
Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace
'>
The WebLogic Server did not start up properly.
Exception raised: weblogic.management.configuration.ConfigurationException:
.io.IOException: couldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
(error 87, fd 824)]
java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort:
parameter is incorrect.
(error 87, fd 824)
at weblogic.socket.NTSocketMuxer.register(Compiled Code)@23e34e90
at weblogic.rjvm.t3.T3JVMConnection.createConnection(Compiled Code)@
2410
at weblogic.rjvm.Protocol.createConnection(Compiled Code)@23e321b0
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(Compiled
C
@23e31b90
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e315b0
at weblogic.rjvm.ConnectionManager.bootstrap(Compiled Code)@23e30d00
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(Compiled
Cod
3e30810
at weblogic.rjvm.RJVMManager.findOrCreate(Compiled Code)@23e307b0
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(Compiled Code)@
0660
at weblogic.rjvm.RJVMFinder.findOrCreate(Compiled Code)@23e3001c
at weblogic.rjvm.ServerURL.findOrCreateRJVM(Compiled Code)@23d7fa00
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(C
led Code)@23d7ec10
at weblogic.jndi.Environment.getContext(Compiled Code)@23d7e600
at weblogic.jndi.Environment.getInitialContext(Compiled Code)@23d7e5
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled
Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: java.io.IOExceptio
ouldn't initialize IOPort: The parameter is incorrect.
(error 87, fd 824) - with nested exception:
[java.lang.RuntimeException: java.io.IOException: couldn't initialize IOPort
e parameter is incorrect.
(error 87, fd 824)]
at weblogic.management.Admin.initializeRemoteAdminHome(Compiled
Code
d7db70
at weblogic.management.Admin.start(Compiled Code)@23d7c060
at weblogic.t3.srvr.T3Srvr.initialize(Compiled Code)@23590d00
at weblogic.t3.srvr.T3Srvr.run(Compiled Code)@23590240
at weblogic.Server.main(Compiled Code)@23590050
--- End of stack trace -
Getting errors for date related queries in oracle 11G
Hi,
We are having oracle 10.2.0 version and all the date queries are running , but one database has been upgraded to oracle 11g.
Those queries are giving errors :
SELECT * FROM USERLOGMST WHERE TO_DATE(LOGINDATE,'YYYYMMDD')>=SYSDATE-60
Ora-01841: (full) yearmust bee between -4713 and +9999, and not be 0.
But the same query is giving output in 10.2.0
Can any one suggest me in rectifying this problem.
thankyou
satya>
We are having oracle 10.2.0 version and all the date queries are running , but one database has been upgraded to oracle 11g.
Those queries are giving errors :
SELECT * FROM USERLOGMST WHERE TO_DATE(LOGINDATE,'YYYYMMDD')>=SYSDATE-60
Ora-01841: (full) yearmust bee between -4713 and +9999, and not be 0.
But the same query is giving output in 10.2.0First step - find a few values that are causing the error:
e.g.
select max(logindate), min(logindate) from userlogmst;This may return perfectly reasonable dates, in which case you could use a pl/sql function to scan and report bad dates.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
"Science is more than a body of knowledge; it is a way of thinking" Carl Sagan -
Error while making connection with remote oracle database
Dear,
I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
DriverManager.getConnection(
"jdbc:oracle:thin:@erp:1521:ORCL", "apps",
"apps");
Pls any body have idea.
Thanks.Thanks for support.
Below is error which i am getting while making connection with remote database.
C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
-------- Oracle JDBC Connection Testing ------
Where is your Oracle JDBC Driver?
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at OracleJDBC.main(OracleJDBC.java:13)
Advice. -
Error when installing APEX 3 on Oracle 11g !!
I have Oracle db 11g on Windows Vista and there is no problem with the database. The problem is when I try to install Oracle Application Express (Apex) 3. After unzipping the Apex zip file to somewhere on my hard disk, I log to the database as sysdba using the command-line SQL*Plus to install the Application Express, but everytime I try to run the apexins.sql file the command-line SQL*Plus window disappears suddenly and the installation does not proceed !! I did all the prerequisite tasks according to the Apex installation guide and everything seemed good until I reached the installation process.
Please help !Hi Joel,
Yes, see
Re: unable to import applications into Apex on XE
That was on a XP Pro machine.
I'm trying to do the same on a linux machine now and getting the same issues. It might still relate to the downloaded file I was using. I'm about to try and copy the apex folder from the XP pc to the linux pc and try again. :-(
BTW, I can't find the 11g XE download link. Is it avaliable yet?
Many thanks
Regards
Bryan
Maybe you are looking for
-
IPhone 3G played through MINI iPod Adapter on Saturday; however, on Sunday
I have a BMW adapter in the glove compartment of my MINI Cooper S 2003. It was installed by the factory. It worked with my iPod photo, my iPod Touch, and my iPhone 3G on Saturday. Today it stopped working. It may have not charged the iPhone 3G on Sat
-
_self doesn't work when Flash is embedded into iWeb
I am currently building a site for a client who requested that all the pages be built in in iWeb so that she could easily manipulate them without my further involvement. She also requested that the site contain Flash elements such as a drop-down nav
-
How can I tell what iOS I have installed?
I know this is a lame question, but is the Version listed in the About section of my iPod Touch the iOS version? Mine shows as version 4.2.1 and iTunes tells me it's the latest version, but I don't see it in the list of Operating Systems in the drop
-
Hi All, I need to pick a field to the Sr. No window while entereing a GRPO from a Purchase Order. I did so but the problem is in case of multi row entries. In case I have a PO for 4 items and all four items have a specific/unique value in the field I
-
OKI 5500n driver does not get installed......
I tried it on Macbook Pro intel and MacPro xenon. in os 10.5.3 the printer just stopped working!!! When I install the new driver from oki.com It appears that is is getting installed properly but I can not find the driver. I created a separate folder