Error at ODI With Oracle:OCI8
Hi to all, I have a problem with conection of ODI with a Oracle Rac 11g, my Oracle Client is a 10.2, the ODI (10.0.3) is on a Linux Red Hat Ent. and the java is a Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
So the Env, are Like this
# ODI
export ORACLE_BASE=/u01/oracle/product
export ORACLE_HOME=/u01/oracle/product/client/10.2
export ODI_JAVA_HOME=/u01/java/jdk/jdk/
export ODI_HOME=/u01/oracle/product/odi/10.1/oracledi
# Shared
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib:/u01/java/jdk/jdk/lib:/u01/oracle/product/odi/10.1/oracledi/lib:u01/oracle/product/client/10.2/lib
export PATH=.:/u01/java/jdk/jdk/bin:.:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/u01/oracle/product/odi/10.1/oracledi/binu01/oracle/product/client/10.2/bin
export CLASSPATH=.:/u01/java/jdk/jdk/lib:/u01/java/jdk/jdk/jre/lib:/u01/oracle/product/odi/10.1/oracledi/drivers
The tnsnames.ora is oks, because I can connect with sqlplus.
but when in ODI I use
oracle.jdbc.driver.OracleDriver
jdbc:oracle:oci8:@ServiceName
return me this error
java.lang.UnsatisfiedLinkError: oracle.jdbc.driver.T2CConnection.t2cGetCharSet([CI[CI[CI[CII[SLoracle/jdbc/driver/GetCharSetError;)S
at oracle.jdbc.driver.T2CConnection.t2cGetCharSet(Native Method)
do not connect, somebody knows how can I connect? Thanks for your help.
Edited by: user10860691 on 06/10/2009 22:07
Very likely (see Metalink Note 788777.1) this is because the version of the JDBC driver and the OCI libraries is different.
Use the JDBC driver of the same version as the installed Oracle client libraries.
Yours,
Laurenz Albe
Similar Messages
-
Get error while Integrating with Oracle's Enterprise User Security
Hi,
I am trying to create an Oracle Enterprise User integrating with OVD and MS Active Directory.
I am following all the steps in Integrating with Oracle's Enterprise User Security.
In the documentation section: "Configuring Oracle Virtual Directory for the Integration"
I have applied the steps successfully until:
Update and load the entries into the Local Store Adapters by performing the following steps:
I have successfully extended the Oracle Virtual Directory schema with the loadOVD.ldif
However I am getting errors in the next step: Update realmRoot.ldif to use your namespaces
The next step states the following:
Update realmRoot.ldif to use your namespaces, including the dn, dc, o, orclsubscriberfullname,
and memberurl attributes in the file. If you have a DN mapping between Active Directory and
Oracle Virtual Directory, use the DN that you see from Oracle Virtual Directory.
The realmRoot.ldif file is located in ORACLE_VIRTUAL_DIRECTORY_HOME/eus,
where ORACLE_VIRTUAL_DIRECTORY_HOME represents the location where Oracle Virtual Directory is installed.
The realmRoot.ldif file contains core entries in the directory namespace that Enterprise User Security queries. The realmRoot.ldif file also contains the dynamic group that contains the registered Enterprise User Security databases to allow secured access to sensitive Enterprise User Security related attributes, like the user's Enterprise User Security hashed password attribute.
Load your domain root information in the realmRoot.ldif file into Oracle Virtual Directory using the following command:
ldapmodify -h Oracle_Virtual_Directory_Host –p OVD_Port -D cn=admin -w Admin_Password -v -a –f realmRoot.ldif
When I run the ldapmodify command I get the following error:
add dc:
testldap
add objectclass:
top
domain
domainDNS
adding new entry DC=testldap,DC=local
ldap_add: Operations error
ldap_add: additional info: LDAP Error 1 : null
The actual realmRoot.ldif looks like this:
# Please uncomment the following one line if you are importing this
# LDIF file via OVD Manager or OVD Server's ldapmodify tool.
#version: 1
#dn: dc=com
#dc: com
#objectclass: domain
dn: DC=testldap,DC=local
changetype: add
dc: testldap
#o: subarashii
objectclass: top
objectclass: domain
objectclass: domainDNS
#objectclass: orclSubscriber
#orclsubscriberfullname: subarashii
#orclVersion: 90400
# If your domain structure has more layers than dc=subarashii,dc=com,
# for example, it's dc=us,dc=subarashii,dc=com, you will need to load
# the following ldif entry/entries too.
# Uncomment out the following, if required.
#dn: dc=us,dc=subarashii,dc=com
#orclversion: 90400
#orclsubscriberfullname: us
#objectclass: domain
#objectclass: top
#objectclass: orclSubscriber
#dc: us
# Adding EUSDBGroup entry
# Modify the memberurl attribute and replace it with your own domain name
#dn: cn=EUSDBGROUP,dc=subarashii,dc=com
#cn: EUSDBGROUP
#memberurl:ldap:///dc=subarashii,dc=com??sub?(&(objectclass=orclService)(objectclass=orclDBServer))
#objectclass:groupofuniquenames
#objectclass:groupofurls
#objectclass:topDid you ever get your questions answered about the realmRoot.ldif file? Did you manage to configure a successful integration of OVD with EUS? I am battling with trying to get Oracle Virtual Directory integrated with Enterprise User Security, but every step I take in Chapter 7 of the OVD manual fails in some way, and the instructions are often vague. I am not sure how to modify the realmRoot.ldif file. Is there any improved documentation on this? I have logged a Service Request, but not getting any help. Any resources or documentation you know of that provides better guidance would be much appreciated. I am way behind my schedule now and this is a very frustrating exercise.
Thanks. -
Few errors while working with Oracle 9i developer suite.
I am facing a few errors working with Oracle 9i developer suite.
1. while running forms we have to press "ctrl +F11" to execute a query.
is there any other way of executing a query where the user can do it at a click of button or so? and similarly some way of canceling a query?
2. how can we run parameterized reports thru a menu in forms?
3. i had run a query which fetched around 15 records which were populated in 10 text boxes. i cud scroll down to see the records, with the keys but was not able to scroll back up. how can this be avoided or some way thru which we can scroll?
4. can sessions be created in Oracle forms?
5. the security feature thru menu roles is not proving efficient. can some1 suggest some way of achieving this user access control?
hope some 1 can answer my queries soon1) execute query in windows is F8, yours is unix. Change the resource-file. You find them in <forms-home>. fmrweb.res is the standard. Save a copy. Copy then the fmrpcweb.res into fmrweb.res. That's all.
2) start in the menu with an execute_trigger ('UN_MY_REPORT_CALL') a forms-level-trigger in your form. Then you can interact with your report-objects.
3) page down + up are the keys to scroll. maybe the solution is 1)
4) yeah, implicit with open_form (... new_session...) but what do you need ?
5) write your own mechanism. say first, which features do you need
Gerd -
Hi, I am currently working on iPlanet 6.0 SP4 with oracle 8.1.6. I am planning to make my application language independent. while testing I figured out that if i use oci8 driver or oracle, it doesn't support other language characters while the thin driver supports fine. Can anybody help me regarding this? Is this a bug, or some possible configuration issue? Has somebody came across this problem before? How do i go about it ?
We faced same issue. Looks like the native driver does not support the automatic data encoding/decoding from/to database. You can always workaround this by reading everything as byte stream and then by letting java handle the encoding/decoding. But we decided to use type4 thin driver which does this automatically if you set the content type. Anyway we are told that later versions of IAS may not support native drivers, so if you are serious about multi language shift to type4 thin drivers now itself.
-
Error in transfer with oracle WB transfer
hi,
I try to transfer my oracle target module to database (target schema).
I recieve error as follow :
**! Transfer logging started at Sat Feb 05 09:21:30 IRST 2005 !**
OWB Bridge processed arguments
Bridge Parameters are:
<BA>=<All Collections>
<LANGUAGE>=<All Languages>
<LOCKREPOSITORY>=<True>
<file>=<C:\TEMP\bridges\null-nullMy_Metadata_Transfer1107582690567.XMI>
Using attribute sorting
export to file
Default local= fa_IR
Exporting project:KAFA_PROJECT2
initializing project:KAFA_PROJECT2
Initializing module :KAFA_DW_MODULE
exportSchema:KAFA_DW_MODULE SCHM14314
Exporting cube:EMPLOYEMENT_CUBE
exportCube:EMPLOYEMENT_CUBE/EMPLOYEMENT_CUBE Cube14396
exportCubeDimUse:CDU14344FK14400
exportFactLevelUse:FLU14396FK14400
exportCubeDimUse:CDU14359FK14403
exportFactLevelUse:FLU14396FK14403
exportCubeDimUse:CDU14379FK14397
exportFactLevelUse:FLU14396FK14397
exportClassificationEntry for:KAFA_COLLECTION2 CLE_0
exportMeasure:SALARY/SALARY MEA14410
Exporting dimension:DEP_DIM
exportDimension:DEP_DIM/DEP_DIM DIM14359
exportClassificationEntry for:KAFA_COLLECTION2 CLE_2
exportLevel:DEP_MAIN/DEP_MAIN LEV14360
exportClassificationEntry for:Description CLE_3
exportLevelAttribute:DEP_ID/DEP_ID LATR14363
exportLevelAttribute:DEP_NAME/DEP_NAME LATR14367
exportKey:DEP_MAIN_UK/DEP_MAIN_UK KEY14361
exportKeyAttributeUse:KEYAU14363KEY14361
exportHierarchy:HIE_DEP/HIE_DEP HEIR14374
exportHierarchyLevelUse:HLU14374LEV14360
Exporting dimension:EMP_DIM
exportDimension:EMP_DIM/EMP_DIM DIM14344
exportClassificationEntry for:KAFA_COLLECTION2 CLE_5
exportLevel:EMP_MAIN/EMP_MAIN LEV14345
exportClassificationEntry for:Description CLE_6
exportLevelAttribute:EMP_ID/EMP_ID LATR14348
exportLevelAttribute:EMP_NAME/EMP_NAME LATR14352
exportKey:EMP_MAIN_UK/EMP_MAIN_UK KEY14346
exportKeyAttributeUse:KEYAU14348KEY14346
exportHierarchy:HIE_EMP/HIE_EMP HEIR14354
exportHierarchyLevelUse:HLU14354LEV14345
Exporting dimension:JOB_DIM
exportDimension:JOB_DIM/JOB_DIM DIM14379
exportClassificationEntry for:KAFA_COLLECTION2 CLE_7
exportLevel:JOB_MAIN/JOB_MAIN LEV14380
exportClassificationEntry for:Description CLE_8
exportLevelAttribute:JOB_ID/JOB_ID LATR14383
exportLevelAttribute:JOB_NAME/JOB_NAME LATR14389
exportKey:JOB_MAIN_UK/JOB_MAIN_UK KEY14381
exportKeyAttributeUse:KEYAU14383KEY14381
exportHierarchy:HIE_JOB/HIE_JOB HEIR14391
exportHierarchyLevelUse:HLU14391LEV14380
Exporting mappings
exportDimensionTableMap:DTMAP14359
exportItemMap:IMAP14364
exportItemUse:TIU14363
exportItemUse:SIU14364
exportItemMap:IMAP14368
exportItemUse:TIU14367
exportItemUse:SIU14368
exportDimensionEntityUse:EU_DIM14359
exportDimensionTableUse:EU_TAB14359
exportDimensionTableMap:DTMAP14344
exportItemMap:IMAP14349
exportItemUse:TIU14348
exportItemUse:SIU14349
exportItemMap:IMAP14353
exportItemUse:TIU14352
exportItemUse:SIU14353
exportDimensionEntityUse:EU_DIM14344
exportDimensionTableUse:EU_TAB14344
exportDimensionTableMap:DTMAP14379
exportItemMap:IMAP14384
exportItemUse:TIU14383
exportItemUse:SIU14384
exportItemMap:IMAP14390
exportItemUse:TIU14389
exportItemUse:SIU14390
exportDimensionEntityUse:EU_DIM14379
exportDimensionTableUse:EU_TAB14379
exportFactTableMap:FTMAP14396
exportMapDependency:MAPDEP14396DTMAP14344
exportMapDependency:MAPDEP14396DTMAP14359
exportMapDependency:MAPDEP14396DTMAP14379
exportItemMap:IMAP14410
exportItemUse:TIU14410
exportItemUse:SIU14410
exportCubeEntityUse:EU_Cube14396
exportFactUse:EU_TAB14396
exportFactLevelGroup:FLG_TAB14396
Exporting table:DEP_DIM
exportTable:DEP_DIM/DEP_DIM TAB14359
exportKey:DEP_DIM_DEP_MAIN_UK/DEP_DIM_DEP_MAIN_UK KEY14362
exportKeyAttributeUse:KEYAU14364KEY14362
exportColumn:DEP_MAIN DEP_ID/DEP_MAIN_DEP_ID COL14364
exportColumn:DEP_MAIN_DEP_NAME/DEP_MAIN_DEP_NAME COL14368
exportClassificationEntry for:KAFA_COLLECTION2 CLE_9
Exporting table:EMP_DIM
exportTable:EMP_DIM/EMP_DIM TAB14344
exportKey:EMP_DIM_EMP_MAIN_UK/EMP_DIM_EMP_MAIN_UK KEY14347
exportKeyAttributeUse:KEYAU14349KEY14347
exportColumn:EMP_MAIN EMP_ID/EMP_MAIN_EMP_ID COL14349
exportColumn:EMP_MAIN_EMP_NAME/EMP_MAIN_EMP_NAME COL14353
exportClassificationEntry for:KAFA_COLLECTION2 CLE_10
Exporting table:JOB_DIM
exportTable:JOB_DIM/JOB_DIM TAB14379
exportKey:JOB_DIM_JOB_MAIN_UK/JOB_DIM_JOB_MAIN_UK KEY14382
exportKeyAttributeUse:KEYAU14384KEY14382
exportColumn:JOB_MAIN JOB_ID/JOB_MAIN_JOB_ID COL14384
exportColumn:JOB_MAIN_JOB_NAME/JOB_MAIN_JOB_NAME COL14390
exportClassificationEntry for:KAFA_COLLECTION2 CLE_11
Exporting table:EMPLOYEMENT_CUBE
exportTable:EMPLOYEMENT_CUBE/EMPLOYEMENT_CUBE TAB14396
exportKey:SEG_UK_EMPLOYEMENT_CUBE/SEG_UK_EMPLOYEMENT_CUBE KEY14406
exportKeyAttributeUse:KEYAU14401KEY14406
exportKeyAttributeUse:KEYAU14404KEY14406
exportKeyAttributeUse:KEYAU14398KEY14406
exportForeignKey:FK_EMPLOYEMENT_CUBE_14362/FK_EMPLOYEMENT_CUBE_14362 FK14403
exportKeyAttributeUse:KEYAU14404FK14403
exportForeignKey:FK_EMPLOYEMENT_CUBE_14347/FK_EMPLOYEMENT_CUBE_14347 FK14400
exportKeyAttributeUse:KEYAU14401FK14400
exportForeignKey:FK_EMPLOYEMENT_CUBE_14382/FK_EMPLOYEMENT_CUBE_14382 FK14397
exportKeyAttributeUse:KEYAU14398FK14397
exportColumn:DEP_MAIN_DEP_ID/DEP_MAIN_DEP_ID COL14404
exportColumn:EMP_MAIN_EMP_ID/EMP_MAIN_EMP_ID COL14401
exportColumn:JOB_MAIN_JOB_ID/JOB_MAIN_JOB_ID COL14398
exportColumn:SALARY/SALARY COL14410
exportClassificationEntry for:KAFA_COLLECTION2 CLE_12
exportContext:CTXT00
exportTypeSet:TSET
Exporting datatypes
exportScalarDatatype:NUMBER DTYP7836
exportScalarDatatype:VARCHAR2 DTYP7839
exportClassification:KAFA_COLLECTION2 CLAS1
exportClassificationType:Warehouse Builder Business Area CLT13
exportClassification:Description CLAS4
exportClassificationType:Dimensional Attribute Descriptor CLT14
Exporting project KAFA_PROJECT2 complete.
**! Target bridge jvm parameters = "..\..\..\jdk\jre\bin\javaw" -mx50m -DORCLCWM_META_MODEL_FILE=..\..\bridges\admin\orcl_cwm.xml -classpath .;..\..\bridges\lib\bridge_cwmlite10.jar;..\..\bridges\lib\bridge_parser10.jar;..\..\bridges\lib\vek10.jar;..\..\..\lib\xmlparserv2.jar;..\..\..\jdbc\lib\ojdbc14.jar;..\..\bridges\lib\util10.jar;..\..\lib\int\util.jar;..\..\lib\int\rts.jar;..\..\..\jlib\rts2.jar;..\..\bridges\lib\bridge_cwmlite10.jar;..\..\bridges\lib\bridge_parser10.jar;..\..\bridges\lib\vek10.jar;..\..\..\lib\xmlparserv2.jar;..\..\..\jdbc\lib\ojdbc14.jar;..\..\bridges\lib\util10.jar;..\..\lib\int\util.jar;..\..\lib\int\rts.jar;..\..\..\jlib\rts2.jar;"..\..\..\jdk\jre\lib\rt.jar;..\..\..\jdk\jre\lib\charsets.jar";"..\..\bridges\admin;..\..\bridges\lib\bridge_wrapper10.jar;..\..\bridges\lib\util10.jar;..\..\lib\int\reposimpl.jar;..\..\lib\int\repossdk.jar;..\..\lib\int\rts.jar;..\..\..\jlib\rts2.jar;..\..\lib\int\util.jar" oracle.cwm.tools.bridge.BridgeWrapper -bridge_name oracle.cwm.bridge.cwmlite.ImportMain !**
**! Target bridge parameters = -log_level 2 -log_file C:\TEMP\bridges\log\null-nullMy_Metadata_Transfer1107582690567.log -olapimp.deploytoaw N -olapimp.awname -olapimp.awobjprefix -olapimp.loadcubedata Y -olapimp.awaggregate 1 -olapimp.dimuniquekeys N -olapimp.awuser -olapimp.createviews N -olapimp.viewprefix -olapimp.viewaccesstype OLAP -olapimp.creatematviews Y -olapimp.viewscriptdir -olapimp.deploy Y -olapimp.username dw_targetschema -olapimp.password password -olapimp.host 200.20.20.11 -olapimp.port 1521 -olapimp.sid ora10g -olapimp.inputfilename C:\TEMP\bridges\null-nullMy_Metadata_Transfer1107582690567.XMI -olapimp.outputfilename C:\Documents and Settings\stabatabaee\Desktop\test.sql -paramfile C:\TEMP\bridges\1107582690832.par !**
setting parameter: olapimp.deploytoaw = N
setting parameter: olapimp.awname =
setting parameter: olapimp.awobjprefix =
setting parameter: olapimp.loadcubedata = Y
setting parameter: olapimp.awaggregate = 1
setting parameter: olapimp.dimuniquekeys = N
setting parameter: olapimp.awuser =
setting parameter: olapimp.createviews = N
setting parameter: olapimp.viewprefix =
setting parameter: olapimp.viewaccesstype = OLAP
setting parameter: olapimp.creatematviews = Y
setting parameter: olapimp.viewscriptdir =
setting parameter: olapimp.deploy = Y
setting parameter: olapimp.username = dw_targetschema
setting parameter: olapimp.host = 200.20.20.11
setting parameter: olapimp.port = 1521
setting parameter: olapimp.sid = ora10g
setting parameter: olapimp.inputfilename = C:\TEMP\bridges\null-nullMy_Metadata_Transfer1107582690567.XMI
setting parameter: olapimp.outputfilename = C:\Documents and Settings\stabatabaee\Desktop\test.sql
Loading Metadata
Loading XMI input file
connecting ...
processing dim: DEP_DIM
processing level: DEP_MAINin dimension DEP_DIM
processing level attribute use: DEP_MAIN_DEP_ID in level DEP_MAIN for level attribute DEP_ID
processing level attribute : DEP_ID in level DEP_MAIN
processing level attribute use: DEP_MAIN_DEP_NAME in level DEP_MAIN for level attribute DEP_NAME
processing level attribute : DEP_NAME in level DEP_MAIN
declare
id number;
s_id number;
l_id number;
levelday_id number;
levelmonth_id number;
levelquarter_id number;
levelyear_id number;
f_id number;
begin
select descriptor_id into l_id from all_olap_descriptors where descriptor_value='Long Description';
select descriptor_id into s_id from all_olap_descriptors where descriptor_value='Short Description';
select descriptor_id into levelday_id from all_olap_descriptors where descriptor_value='Day';
select descriptor_id into levelmonth_id from all_olap_descriptors where descriptor_value='Month';
select descriptor_id into levelquarter_id from all_olap_descriptors where descriptor_value='Quarter';
select descriptor_id into levelyear_id from all_olap_descriptors where descriptor_value='Year';
cwm_olap_dimension.Set_Description (USER, 'DEP_DIM', '');
cwm_olap_dimension.Set_Display_Name(USER, 'DEP_DIM', 'DEP_DIM');
cwm_olap_dimension.Set_Plural_Name(USER, 'DEP_DIM', 'DEP_DIM');
cwm_olap_level.Set_Description (USER, 'DEP_DIM', 'DEP_MAIN', '');
cwm_olap_level.Set_Display_Name(USER, 'DEP_DIM', 'DEP_MAIN', 'DEP_MAIN');
begin
cwm_olap_level_attribute.set_name(USER, 'DEP_DIM', 'DEP_MAIN', 'DEP_MAIN_DEP_ID', 'DEP_ID');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_Display_Name(USER, 'DEP_DIM', 'DEP_MAIN', 'DEP_ID', 'DEP_ID');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_description(USER, 'DEP_DIM', 'DEP_MAIN', 'DEP_ID', '');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.set_name(USER, 'DEP_DIM', 'DEP_MAIN', 'DEP_MAIN_DEP_NAME', 'DEP_NAME');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_Display_Name(USER, 'DEP_DIM', 'DEP_MAIN', 'DEP_NAME', 'DEP_NAME');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_description(USER, 'DEP_DIM', 'DEP_MAIN', 'DEP_NAME', '');
exception when OTHERS then null;
end;
begin
cwm_olap_dim_attribute.drop_Dimension_Attribute(USER, 'DEP_DIM', 'Short_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Create_Dimension_Attribute(USER, 'DEP_DIM', 'Short_Description', 'Short_Description', 'Short Description');
select descriptor_id into id from all_olap_descriptors where descriptor_value='Short Description';
cwm_classify.add_entity_descriptor_use(id, cwm_utility.DIMENSION_ATTRIBUTE_TYPE,USER, 'DEP_DIM', 'Short_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.drop_Dimension_Attribute(USER, 'DEP_DIM', 'Long_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Create_Dimension_Attribute(USER, 'DEP_DIM', 'Long_Description', 'Long_Description', 'Full Description');
select descriptor_id into id from all_olap_descriptors where descriptor_value='Long Description';
cwm_classify.add_entity_descriptor_use(id, cwm_utility.DIMENSION_ATTRIBUTE_TYPE,USER, 'DEP_DIM', 'Long_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Add_Level_Attribute(USER, 'DEP_DIM', 'Short_Description', 'DEP_MAIN', 'DEP_NAME');
exception when cwm_exceptions.attribute_already_exists then null; when cwm_exceptions.attribute_not_found then null;
end;
begin
cwm_olap_dim_attribute.Add_Level_Attribute(USER, 'DEP_DIM', 'Long_Description', 'DEP_MAIN', 'DEP_NAME');
exception when cwm_exceptions.attribute_already_exists then null; when cwm_exceptions.attribute_not_found then null;
end;
commit;
exception when others then dbms_output.enable(1000000); cwm_utility.dump_error(); raise program_error;
end;
processing dim: EMP_DIM
processing level: EMP_MAINin dimension EMP_DIM
processing level attribute use: EMP_MAIN_EMP_ID in level EMP_MAIN for level attribute EMP_ID
processing level attribute : EMP_ID in level EMP_MAIN
processing level attribute use: EMP_MAIN_EMP_NAME in level EMP_MAIN for level attribute EMP_NAME
processing level attribute : EMP_NAME in level EMP_MAIN
declare
id number;
s_id number;
l_id number;
levelday_id number;
levelmonth_id number;
levelquarter_id number;
levelyear_id number;
f_id number;
begin
select descriptor_id into l_id from all_olap_descriptors where descriptor_value='Long Description';
select descriptor_id into s_id from all_olap_descriptors where descriptor_value='Short Description';
select descriptor_id into levelday_id from all_olap_descriptors where descriptor_value='Day';
select descriptor_id into levelmonth_id from all_olap_descriptors where descriptor_value='Month';
select descriptor_id into levelquarter_id from all_olap_descriptors where descriptor_value='Quarter';
select descriptor_id into levelyear_id from all_olap_descriptors where descriptor_value='Year';
cwm_olap_dimension.Set_Description (USER, 'EMP_DIM', '');
cwm_olap_dimension.Set_Display_Name(USER, 'EMP_DIM', 'EMP_DIM');
cwm_olap_dimension.Set_Plural_Name(USER, 'EMP_DIM', 'EMP_DIM');
cwm_olap_level.Set_Description (USER, 'EMP_DIM', 'EMP_MAIN', '');
cwm_olap_level.Set_Display_Name(USER, 'EMP_DIM', 'EMP_MAIN', 'EMP_MAIN');
begin
cwm_olap_level_attribute.set_name(USER, 'EMP_DIM', 'EMP_MAIN', 'EMP_MAIN_EMP_ID', 'EMP_ID');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_Display_Name(USER, 'EMP_DIM', 'EMP_MAIN', 'EMP_ID', 'EMP_ID');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_description(USER, 'EMP_DIM', 'EMP_MAIN', 'EMP_ID', '');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.set_name(USER, 'EMP_DIM', 'EMP_MAIN', 'EMP_MAIN_EMP_NAME', 'EMP_NAME');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_Display_Name(USER, 'EMP_DIM', 'EMP_MAIN', 'EMP_NAME', 'EMP_NAME');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_description(USER, 'EMP_DIM', 'EMP_MAIN', 'EMP_NAME', '');
exception when OTHERS then null;
end;
begin
cwm_olap_dim_attribute.drop_Dimension_Attribute(USER, 'EMP_DIM', 'Short_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Create_Dimension_Attribute(USER, 'EMP_DIM', 'Short_Description', 'Short_Description', 'Short Description');
select descriptor_id into id from all_olap_descriptors where descriptor_value='Short Description';
cwm_classify.add_entity_descriptor_use(id, cwm_utility.DIMENSION_ATTRIBUTE_TYPE,USER, 'EMP_DIM', 'Short_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.drop_Dimension_Attribute(USER, 'EMP_DIM', 'Long_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Create_Dimension_Attribute(USER, 'EMP_DIM', 'Long_Description', 'Long_Description', 'Full Description');
select descriptor_id into id from all_olap_descriptors where descriptor_value='Long Description';
cwm_classify.add_entity_descriptor_use(id, cwm_utility.DIMENSION_ATTRIBUTE_TYPE,USER, 'EMP_DIM', 'Long_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Add_Level_Attribute(USER, 'EMP_DIM', 'Short_Description', 'EMP_MAIN', 'EMP_NAME');
exception when cwm_exceptions.attribute_already_exists then null; when cwm_exceptions.attribute_not_found then null;
end;
begin
cwm_olap_dim_attribute.Add_Level_Attribute(USER, 'EMP_DIM', 'Long_Description', 'EMP_MAIN', 'EMP_NAME');
exception when cwm_exceptions.attribute_already_exists then null; when cwm_exceptions.attribute_not_found then null;
end;
commit;
exception when others then dbms_output.enable(1000000); cwm_utility.dump_error(); raise program_error;
end;
processing dim: JOB_DIM
processing level: JOB_MAINin dimension JOB_DIM
processing level attribute use: JOB_MAIN_JOB_ID in level JOB_MAIN for level attribute JOB_ID
processing level attribute : JOB_ID in level JOB_MAIN
processing level attribute use: JOB_MAIN_JOB_NAME in level JOB_MAIN for level attribute JOB_NAME
processing level attribute : JOB_NAME in level JOB_MAIN
declare
id number;
s_id number;
l_id number;
levelday_id number;
levelmonth_id number;
levelquarter_id number;
levelyear_id number;
f_id number;
begin
select descriptor_id into l_id from all_olap_descriptors where descriptor_value='Long Description';
select descriptor_id into s_id from all_olap_descriptors where descriptor_value='Short Description';
select descriptor_id into levelday_id from all_olap_descriptors where descriptor_value='Day';
select descriptor_id into levelmonth_id from all_olap_descriptors where descriptor_value='Month';
select descriptor_id into levelquarter_id from all_olap_descriptors where descriptor_value='Quarter';
select descriptor_id into levelyear_id from all_olap_descriptors where descriptor_value='Year';
cwm_olap_dimension.Set_Description (USER, 'JOB_DIM', '');
cwm_olap_dimension.Set_Display_Name(USER, 'JOB_DIM', 'JOB_DIM');
cwm_olap_dimension.Set_Plural_Name(USER, 'JOB_DIM', 'JOB_DIM');
cwm_olap_level.Set_Description (USER, 'JOB_DIM', 'JOB_MAIN', '');
cwm_olap_level.Set_Display_Name(USER, 'JOB_DIM', 'JOB_MAIN', 'JOB_MAIN');
begin
cwm_olap_level_attribute.set_name(USER, 'JOB_DIM', 'JOB_MAIN', 'JOB_MAIN_JOB_ID', 'JOB_ID');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_Display_Name(USER, 'JOB_DIM', 'JOB_MAIN', 'JOB_ID', 'JOB_ID');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_description(USER, 'JOB_DIM', 'JOB_MAIN', 'JOB_ID', '');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.set_name(USER, 'JOB_DIM', 'JOB_MAIN', 'JOB_MAIN_JOB_NAME', 'JOB_NAME');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_Display_Name(USER, 'JOB_DIM', 'JOB_MAIN', 'JOB_NAME', 'JOB_NAME');
exception when OTHERS then null;
end;
begin
cwm_olap_level_attribute.Set_description(USER, 'JOB_DIM', 'JOB_MAIN', 'JOB_NAME', '');
exception when OTHERS then null;
end;
begin
cwm_olap_dim_attribute.drop_Dimension_Attribute(USER, 'JOB_DIM', 'Short_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Create_Dimension_Attribute(USER, 'JOB_DIM', 'Short_Description', 'Short_Description', 'Short Description');
select descriptor_id into id from all_olap_descriptors where descriptor_value='Short Description';
cwm_classify.add_entity_descriptor_use(id, cwm_utility.DIMENSION_ATTRIBUTE_TYPE,USER, 'JOB_DIM', 'Short_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.drop_Dimension_Attribute(USER, 'JOB_DIM', 'Long_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Create_Dimension_Attribute(USER, 'JOB_DIM', 'Long_Description', 'Long_Description', 'Full Description');
select descriptor_id into id from all_olap_descriptors where descriptor_value='Long Description';
cwm_classify.add_entity_descriptor_use(id, cwm_utility.DIMENSION_ATTRIBUTE_TYPE,USER, 'JOB_DIM', 'Long_Description');
exception when others then null;
end;
begin
cwm_olap_dim_attribute.Add_Level_Attribute(USER, 'JOB_DIM', 'Short_Description', 'JOB_MAIN', 'JOB_NAME');
exception when cwm_exceptions.attribute_already_exists then null; when cwm_exceptions.attribute_not_found then null;
end;
begin
cwm_olap_dim_attribute.Add_Level_Attribute(USER, 'JOB_DIM', 'Long_Description', 'JOB_MAIN', 'JOB_NAME');
exception when cwm_exceptions.attribute_already_exists then null; when cwm_exceptions.attribute_not_found then null;
end;
commit;
exception when others then dbms_output.enable(1000000); cwm_utility.dump_error(); raise program_error;
end;
processing cube: EMPLOYEMENT_CUBE
declare
id number;
s_id number;
l_id number;
levelday_id number;
levelmonth_id number;
levelquarter_id number;
levelyear_id number;
f_id number;
begin
select descriptor_id into l_id from all_olap_descriptors where descriptor_value='Long Description';
select descriptor_id into s_id from all_olap_descriptors where descriptor_value='Short Description';
select descriptor_id into levelday_id from all_olap_descriptors where descriptor_value='Day';
select descriptor_id into levelmonth_id from all_olap_descriptors where descriptor_value='Month';
select descriptor_id into levelquarter_id from all_olap_descriptors where descriptor_value='Quarter';
select descriptor_id into levelyear_id from all_olap_descriptors where descriptor_value='Year';
begin
cwm_olap_cube.drop_cube(USER, 'EMPLOYEMENT_CUBE');
exception when cwm_exceptions.cube_not_found then null;
end;
cwm_olap_cube.create_cube(USER, 'EMPLOYEMENT_CUBE', 'EMPLOYEMENT_CUBE', '');
id := cwm_olap_cube.add_dimension(USER, 'EMPLOYEMENT_CUBE', USER, 'JOB_DIM', 'JOB_DIM');
id := cwm_olap_cube.add_dimension(USER, 'EMPLOYEMENT_CUBE', USER, 'DEP_DIM', 'DEP_DIM');
id := cwm_olap_cube.add_dimension(USER, 'EMPLOYEMENT_CUBE', USER, 'EMP_DIM', 'EMP_DIM');
cwm_olap_cube.map_cube(USER, 'EMPLOYEMENT_CUBE', USER, 'EMPLOYEMENT_CUBE', 'FK_EMPLOYEMENT_CUBE_14382', 'JOB_MAIN', USER, 'JOB_DIM', 'JOB_DIM', false);
cwm_olap_cube.map_cube(USER, 'EMPLOYEMENT_CUBE', USER, 'EMPLOYEMENT_CUBE', 'FK_EMPLOYEMENT_CUBE_14362', 'DEP_MAIN', USER, 'DEP_DIM', 'DEP_DIM', false);
cwm_olap_cube.map_cube(USER, 'EMPLOYEMENT_CUBE', USER, 'EMPLOYEMENT_CUBE', 'FK_EMPLOYEMENT_CUBE_14347', 'EMP_MAIN', USER, 'EMP_DIM', 'EMP_DIM', false);
cwm_olap_measure.create_measure(USER, 'EMPLOYEMENT_CUBE', 'SALARY', 'SALARY', '');
cwm_olap_measure.set_column_map(USER, 'EMPLOYEMENT_CUBE', 'SALARY', USER, 'EMPLOYEMENT_CUBE', 'SALARY');
begin
f_id := cwm_utility.create_function_usage('SUM');
cwm_olap_measure.set_default_aggregation_method(USER, 'EMPLOYEMENT_CUBE', 'SALARY', f_id, USER, 'JOB_DIM', 'JOB_DIM');
exception when others then null;
end;
begin
f_id := cwm_utility.create_function_usage('SUM');
cwm_olap_measure.set_default_aggregation_method(USER, 'EMPLOYEMENT_CUBE', 'SALARY', f_id, USER, 'DEP_DIM', 'DEP_DIM');
exception when others then null;
end;
begin
f_id := cwm_utility.create_function_usage('SUM');
cwm_olap_measure.set_default_aggregation_method(USER, 'EMPLOYEMENT_CUBE', 'SALARY', f_id, USER, 'EMP_DIM', 'EMP_DIM');
exception when others then null;
end;
commit;
exception when others then dbms_output.enable(1000000); cwm_utility.dump_error(); raise program_error;
end;
processing classification type is := Warehouse Builder Business Area
processing catalog name := KAFA_COLLECTION2 ,and description is := KAFA_COLLECTION2
processing Cube
processing catalog entity cube := EMPLOYEMENT_CUBE
processing measure := SALARY , in a cube := EMPLOYEMENT_CUBE
processing classification type is := Dimensional Attribute Descriptor
declare
id number;
s_id number;
l_id number;
levelday_id number;
levelmonth_id number;
levelquarter_id number;
levelyear_id number;
f_id number;
begin
select descriptor_id into l_id from all_olap_descriptors where descriptor_value='Long Description';
select descriptor_id into s_id from all_olap_descriptors where descriptor_value='Short Description';
select descriptor_id into levelday_id from all_olap_descriptors where descriptor_value='Day';
select descriptor_id into levelmonth_id from all_olap_descriptors where descriptor_value='Month';
select descriptor_id into levelquarter_id from all_olap_descriptors where descriptor_value='Quarter';
select descriptor_id into levelyear_id from all_olap_descriptors where descriptor_value='Year';
begin
id := cwm_classify.create_catalog('KAFA_COLLECTION2', 'KAFA_COLLECTION2');
exception when cwm_exceptions.catalog_already_exists then
SELECT catalog_id INTO id from all_olap_catalogs
WHERE catalog_name = 'KAFA_COLLECTION2'
AND parent_catalog_id is null;
end;
begin
cwm_classify.add_catalog_entity(id, USER, 'EMPLOYEMENT_CUBE', 'SALARY');
exception when OTHERS then null;
end;
commit;
exception when others then dbms_output.enable(1000000); cwm_utility.dump_error(); raise program_error;
end;
declare
s_dir varchar2(4000);
begin
dbms_odm.createdimlevtuple (USER, 'EMPLOYEMENT_CUBE');
dbms_odm.createcubeleveltuple (USER, 'EMPLOYEMENT_CUBE');
dbms_odm.createfactowb (1,USER, 'EMPLOYEMENT_CUBE');
exception when others then raise program_error;
end;
declare
s_dir varchar2(4000);
begin
dbms_odm.createdimowb (2,USER, 'DEP_DIM');
dbms_odm.createdimowb (3,USER, 'EMP_DIM');
dbms_odm.createdimowb (4,USER, 'JOB_DIM');
exception when others then raise program_error;
end;
BRD-05030: Error occurred while executing the PL/SQL file, see log file for details.
ORA-06501: PL/SQL: program error
ORA-06512: at line 8
ORA-29283: invalid file operation
BRD-05030: Error occurred while executing the PL/SQL file, see log file for details.
disconnecting ...
closing output file
closing log stream
**! Transfer logging stopped at Sat Feb 05 09:21:41 IRST 2005 !**
thanks,
shimaI have run into the same problem using oracle 8.1.6.1 with redhat 6.2..
I have found out that only when I specify host ip in the mts_dispatchers the mts will work correctly..(specifying host domain name is no use)
Here is a sample of the configuration, hope that helps..
mts_dispatchers = "(address=(protocol=tcp)(host=192.168.0.1))(dispatchers=4)" -
Error in odi- IKM oracle incremental update
hi,
i am integrating Oracle to Oracle databse using ODI.
i am using IKM Oracle Incremental Update and i am having the following error:
ORA-01747: invalid user.table.column, table.column, or column specification
for the description below
update EBS.SY_NAMADD T
set (
) =
select
from EBS.I$_SY_NAMADD S
where T.NADCOD =S.NADCOD
where (NADCOD)
in (
select NADCOD
from EBS.I$_SY_NAMADD
where IND_UPDATE = 'U'
since in the SQL in the EST there is no column specify it gin=ving me this error.
should i have specify it somewhere
thanks a lot
nazeedahhi,
another error is taht when i set the control to Yes unser IKM and in the control tab i have chosen :CKM oracle.
i am having an error while creating teh table below
create table EBS.SNP_CHECK_TAB
CATALOG_NAME VARCHAR2(100 CHAR) NULL ,
SCHEMA_NAME VARCHAR2(100 CHAR) NULL ,
RESOURCE_NAME VARCHAR2(100 CHAR) NULL,
FULL_RES_NAME VARCHAR2(100 CHAR) NULL,
ERR_TYPE VARCHAR2(1 CHAR) NULL,
ERR_MESS VARCHAR2(250 CHAR) NULL ,
CHECK_DATE DATE NULL,
ORIGIN VARCHAR2(100 CHAR) NULL,
CONS_NAME VARCHAR2(35 CHAR) NULL,
CONS_TYPE VARCHAR2(2 CHAR) NULL,
ERR_COUNT NUMBER(10) NULL
error: missing parenthese
please help
nazeedah -
Error connecing applet with oracle database
here i m running the following code .
it executes the following query "Select * from emp";
the number in the text area decides the column number to be displayed.
import java.awt.*;
import java.applet.*;
import java.sql.*;
/*<applet code=project.class width=300 height=200>
</applet>*/
public class project extends Applet
Statement stmt=null;
Connection conn = null;
TextField t1;
public void init()
t1 = new TextField(2);
add(t1);
t1.setText("0");
public void paint(Graphics g)
int x=0,y=0,z=0;
String s1,s2,s;
try{
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
catch(Exception e)
try{
conn = DriverManager.getConnection
("jdbc:oracle:thin:@anant:1521:student", "scott", "tiger");
stmt = conn.createStatement();
catch(Exception e)
s1 = t1.getText();
x = Integer.parseInt(s1);
try{
ResultSet rset = stmt.executeQuery("select * from emp");
while (rset.next())
s2 = (rset.getString(x));
g.drawString(s2,100,100);
stmt.close();
catch(Exception e){}
public boolean action(Event event,Object obj)
repaint();
return true;
i m getting following error.
Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
at project.paint(project.java:23)
at java.awt.Container.update(Container.java:1730)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
at sun.awt.RepaintArea.paint(RepaintArea.java:216)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
at java.awt.Component.dispatchEventImpl(Component.java:4031)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
this error comes when i run every jdbc applet.
can anyone suggest any solution.seems as if your client machines are missing the oracle driver. This is one of the disadvantages of a single tier environment you have to make sure that the oracle driver is available to the machines where the applet is run.
If you have the possibility to define/change the configuration or setup of these machines, e.g. in an intranet environment) deploy the driver in the ext directory of the virtual machines used. If not you can make it a part of your applet jar file, so it is downloaded with the applet code and therefore available to the virtual machines. -
Error connecting OBIEE with oracle 11gr2
64-bit Windows 7
i get this error Oxc1 [nQSError:46029] Failed to load the DLL C:\OracleBI\server\Bin\nqsdbgatewayoci10g.dll. Check if 'Oracle OCI 10G' database client is installed.
i did check that i had this dll file and i do have the file. initially what i did was: 1) Install Oracle 11g R2 client 2) Install OBIEE 3) went to network/admin and made the tns entry in tnsnames.ora
i have 11g and the error is stating 10g client not installed. Could be problem.
Somewhere something fundamental is missing . I dont know why this error is coming when i even do "view data" after loading a rpd file offline in OBIEE: Administrator, Physical Pane.
Please help.
Edited by: 996124 on Mar 25, 2013 10:43 PMwhich version of OBIEE are you using? can you try installing the oracle 11g/10g with 32-bit version and then see it should be able to connect properly. Also check the odbc.ini file where you need to define the ORACLE_HOME and TNS_Admin values properly. And check for PATH and ORACLE_HOME and TNS_Admin environment variables on windows machine using command prompt. if not then define those env variables
Hope it helps
Thanks,
RM -
Odbc driver error while connecting with Oracle BI in Linux
I have Oracle BI Server, Presentation Service and Oracle 11g Client installed in RHEL 5. Oracle BI client is installed in Windows so that I can use Admin tool.
I have created a repository in Windows for sh schema(by creating ODBC). After that I transferred this repository to the ..server/repository in the linux server.
I have installed Oracle ODBC Driver from EASYSOFT and added one odbc data source for sh schema in the ../setup/odbc.ini.
My ODBC setting is as follows.
[ODBC Data Sources]
sh=Oracle in OraDb11g_home1
[sh]
Driver=/usr/local/easysoft/oracle/libesoracle.so
Database=//ipaddress_of_ORACLE_SERVER:port/database_service_name
UID=sh
PWD=sh
When I am trying to query through Oracle Answers I am getting the following error.
Odbc driver returned an error (SQLExecDirectW).
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16023] The ODBC function has returned an error. The database may not be available, or the network may be down. (HY000)
SQL Issued: SELECT Customers."Cust First Name" saw_0 FROM SH ORDER BY saw_0
I have enabled tracing, but I am not getting any clue from trace output.
Can anybody please help.
If it is because of wrong driver, can anybody suggest a proper ODBC Driver for Oracle and how to configure it. If the driver is OK and configuration is wrong, can anybody tell me how to create system dsn in linux?
Thanking you in advance.don't use ODBC for Oracle, use OCI
search on the forum, there's plenty of information about it. -
Error connecting applet with oracle database
hi all,
here i m running the following code .
it executes the following query "Select * from emp";
the number in the text filed decides the column number to be displayed.
import java.awt.*;
import java.applet.*;
import java.sql.*;
/*<applet code=project.class width=300 height=200>
</applet>*/
public class project extends Applet
Statement stmt=null;
Connection conn = null;
TextField t1;
public void init()
t1 = new TextField(2);
add(t1);
t1.setText("0");
public void paint(Graphics g)
int x=0,y=0,z=0;
String s1,s2,s;
try{
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
catch(Exception e)
try{
conn = DriverManager.getConnection
("jdbc:oracle:thin:@anant:1521:student", "scott", "tiger");
stmt = conn.createStatement();
catch(Exception e)
s1 = t1.getText();
x = Integer.parseInt(s1);
try{
ResultSet rset = stmt.executeQuery("select * from emp");
while (rset.next())
s2 = (rset.getString(x));
g.drawString(s2,100,100);
stmt.close();
catch(Exception e){}
public boolean action(Event event,Object obj)
repaint();
return true;
i m getting following error.
Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
at project.paint(project.java:23)
at java.awt.Container.update(Container.java:1730)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
at sun.awt.RepaintArea.paint(RepaintArea.java:216)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
at java.awt.Component.dispatchEventImpl(Component.java:4031)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
this error comes when i run every jdbc applet.
can anyone suggest any solution.Mintu,
You said:
i do have to access to jdbc driversNo, you don't. Otherwise you wouldn't be getting that error message.
Good Luck,
Avi. -
Report error rep-1070 with oracle reports
Hi,
I encountered a problem. I got rep-1070 error when I tried to open a oracle report using developer 2000 (2.5). Please let me know if you could help. thanks so muchHi Diana,
This error means Reports can't understand the file. One way this happens is if you transfer the file from one platform to another (e.g., UNIX to Windows) using FTP without putting it in binary mode. Another way you might get this error is opening a v1.1 report in 2.5 that wasn't migrated properly.
regards,
Stewart -
HI All,
I am using ODI 11.
I have a requirment where i need to see oracle error in ODI operator .
Suppose the error is Format/Datatype/or etc error then it will show as the error with the error code in Operator.
Plz let me know how to do this in ODI.
Thanks,
LonyStore the error in to java variable or odi variable.
Then in procedure use below codes to print error into operator.
throw new Exception("<@=java_variable@>"); or
throw new Exception(" #odi_variable"); -
I am running small SQLJ in a JSP to get the hang of it.
I am running on 920, and have downloaded the new runtime classes for 920 and tested per the instructions.
Using JDev 903, here is the private method for running a query ( It is from an article I found by Julie Basu at Oracle; I have played around with the empno/emp_no variable to convert it to an int):
<%! private String runQuery(String emp_no) throws java.sql.SQLException {
DefaultContext dctx =null;
String ename = null; double sal = 0.0; String hireDate=null;
StringBuffer sb = new StringBuffer();
//int emp_no = Integer.parseInt(emp_no);
try {
dctx =Oracle.getConnection("jdbc:oracle:oci8:@olap","scott","tiger");
#sql [dctx] { SELECT ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
INTO :ename,:sal,:hireDate
FROM scott.emp WHERE empno=:emp_no
sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
sb.append("Name :"+ename+ "\n");
sb.append("Salary :"+sal+ "\n");
sb.append("Date hired :"+hireDate);
sb.append("</PRE></B>></BIG></BLOCKQUOTE>");
} catch (java.sql.SQLException e){
sb.append("<P> SQL Error: <pre> "+e+" </pre> </p>\n");
} finally {
if (dctx!=null) dctx.close();
return sb.toString();
%>
I keep getting the following error:
java.lang.NoSuchFieldError: oracle.jdbc.oci8.OCIEnv.envCharSetId
int oracle.jdbc.oci8.OCIEnv.get_env_handle()
native code
long oracle.jdbc.oci8.OCIEnv.getEnvHandle()
OCIEnv.java:70
oracle.jdbc.dbaccess.DBConversion oracle.jdbc.oci8.OCIDBAccess.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
OCIDBAccess.java:390
void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
OracleConnection.java:361
java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
OracleDriver.java:485
java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
OracleDriver.java:337
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
DriverManager.java:517
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
DriverManager.java:177
void sqlj.runtime.ref.ConnectionContextImpl.<init>(sqlj.runtime.ref.ProfileGroup, java.lang.String, java.lang.String, java.lang.String, boolean)
ConnectionContextImpl.java:346
void sqlj.runtime.ref.DefaultContext.<init>(java.lang.String, java.lang.String, java.lang.String, boolean)
DefaultContext.java:172
sqlj.runtime.ref.DefaultContext oracle.sqlj.runtime.Oracle.getConnection(java.lang.String, java.lang.String, java.lang.String, boolean)
Oracle.java:580
sqlj.runtime.ref.DefaultContext oracle.sqlj.runtime.Oracle.getConnection(java.lang.String, java.lang.String, java.lang.String)
Oracle.java:609
java.lang.String _SQLJ.runQuery(java.lang.String)
[SQLJ.jsp]
SQLJ.jsp:42
void SQLJ.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
[SQLJ.jsp]
SQLJ.jsp:20
void com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
OrionHttpJspPage.java:56
[SRC:/SQLJ.jsp]
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
JspPageTable.java:317
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:465
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:379
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:721
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:306
boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
HttpRequestHandler.java:767
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
HttpRequestHandler.java:259
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
HttpRequestHandler.java:106
void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
PooledExecutor.java:803
void java.lang.Thread.run()
Thread.java:484
When I run it using just JDBC with the thin Driver, I have no problems.
What could be the issue?
Thanks,
Scott RappoportFail to make OCI connection Using JDeveloper
-
Getting following error while creating a datasource connection with oracle database.
I have 32 bit oracle server installed in remote server.
and 64 bit sql server 2008 r2 report server installed, and 64 bit oracle client installed on my report server while create a new datasource
in the report server i am getting this error
Error
Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle
client components installed
How can i fix this and let me know the reasonThis link will help you out.
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/0a38fa00-31de-49de-b68f-4c5a4565e5b1?prof=required
Milan Das -
Error while installing Oracle Apps server 10.1.3 with Oracle DB 11.2.0.2 residing in the same server and being used by Apps server as it's metadata.
bash-3.00$ export ORACLE_HOME=/data/ora11g/app/ora11g/product/11.2.0
bash-3.00$ cd /data/OAS/install/soa_schemas/irca/
bash-3.00$ ./irca.sh
Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
(c) Copyright 2006 Oracle Corporation. All rights reserved.
ERROR: Cannot find library - /data/ora11g/app/ora11g/product/11.2.0/jdbc/lib/ojdbc14.jar
Please verify that the ORACLE_HOME is set correctly.
bash-3.00$Hi Craig,
Database 11gR2 could be used for Installing Application Server 10.1.3.x but with some limitation.
So please review the note:-887365.1 Oracle Database 11g Release 2 (11.2) Certification for Oracle Application Server 10g (10.1.2, 10.1.3, 10.1.4)
Section :- Oracle Application Server 10g Release 3 (10.1.3)
Regards,
Praaksh.
Maybe you are looking for
-
Hi, I have a requirement in which i have to send transaction number from the ALV report program to CRMD_ORDER transaction.The problem is that i do not have to send the record to the main screen of transaction CRMD_ORDER.A pop up will be opened (on pr
-
Convert PDF with Arabic content to word /Excel .
I have problem , I plan to buy Adobe acrobat pro for my ORG , The main target to buy it , to convert PDF a Arabic content to word or Excel , I download trial version from Adobe acrobat pro , and when i convert PDF English content it's fine , but
-
"Could not locate the Resources file in the Configuration folder"
While opening DW cs5 on my iMac OS X 10.7.5 a window came up that says: "Could not locate the Resources file in the Configuration folder. This file is required to run Dreamweaver. Please reinstall the application." After downloading and reinstalling
-
How to instal/set UWL in order to test WF functionality also on test system
I am replacing colleague who is on hollydays. I am pritty new in EP area. We have integrated ESS functionality with some approval workflows. WF guy told me I have to maintain the UWL on test system as this one can not communicate with test backend sy
-
Hello, I'm having a lot of trouble editing the card title effect. Even if I increase the number of bullets, there's no new ones appearing. Could someone give me a tip if possible! Thanks.