Problem while using olap cwm2 by pl/sql objects

Dear all:
I want to build an olap multidimension model by oracle cwm2 api. I created the multidimension model successfully by call the cwm2 api directory. however, when I try to write objects to encapsulate the cwm2 apis, it was not work. here is my codes:
call cwm2 api directly, it's work.
/* create star schema */
create table customer (
id number primary key,
id_continent number,
id_country number
create table selling_month (
id number primary key,
yr number (4),
mth number (12) check (mth between 1 and 12),
id_quarter number,
id_month number,
end_of_month date,
end_of_quarter date,
end_of_year date
create table product (
id number primary key,
id_category number
create table item_sold (
qty number(4),
id_customer references customer ,
id_month references selling_month,
id_product references product
/* create dimension */
begin
cwm2_olap_dimension.create_dimension(
user, -- dimension owner
'CUSTOMER_DIM', -- dimension name
'Customer', -- display name
'Customers', -- plural name
'Customer', -- short description
'Customer' -- description
end;
begin
cwm2_olap_dimension.create_dimension(
user, -- dimension owner
'PRODUCT_DIM', -- dimension name
'Product', -- display name
'Product', -- plural name
'Product', -- short description
'Product' -- description
end;
begin
cwm2_olap_dimension.create_dimension(
user, -- dimension owner
'TIME_DIM', -- dimension name
'Time', -- display name
'Time', -- plural name
'Time', -- short description
'Time', -- description
'Time' -- dimension type, note: this is the only time dimension in this example
end;
/* create hierarchy */
begin
cwm2_olap_hierarchy.create_hierarchy (
user, -- owner of dimension to which hierarchy is assigned
'CUSTOMER_DIM', -- name of dimension to which hierarchy is assigned
'CUSTOMER_HIER', -- name of hierarchy
'Customer hierarchy', -- display name
'Customer hierarchy', -- short description
'Customer hierarchy', -- description
     'UNSOLVED LEVEL-BASED' -- solved code
end;
begin
cwm2_olap_hierarchy.create_hierarchy (
user, -- owner of dimension to which hierarchy is assigned
'PRODUCT_DIM', -- name of dimension to which hierarchy is assigned
'PRODUCT_HIER', -- name of hierarchy
'Product hierarchy', -- display name
'Product hierarchy', -- short description
'Product hierarchy', -- description
'UNSOLVED LEVEL-BASED' -- solved code
end;
begin
cwm2_olap_hierarchy.create_hierarchy (
user, -- owner of dimension to which hierarchy is assigned
'TIME_DIM', -- name of dimension to which hierarchy is assigned
'TIME_HIER', -- name of hierarchy
'Time hierarchy', -- display name
'Time hierarchy', -- short description
'Time hierarchy', -- description
'UNSOLVED LEVEL-BASED' -- solved code
end;
/* creating levels */
-- Levels for the customer dimension
begin
cwm2_olap_level.create_level (
user, -- owner of dimension to which level is assigned
'CUSTOMER_DIM', -- name of dimension to which level is assigned
'LVL_ALL_CUSTOMERS', -- name of level
'All customers', -- display name
'All customers', -- plural name
'All customers', -- short description
'All customers' -- description
end;
begin
cwm2_olap_level.add_level_to_hierarchy (
user, -- owner of dimension
'CUSTOMER_DIM', -- name of dimension
'CUSTOMER_HIER', -- name of hierarchy
'LVL_ALL_CUSTOMERS', -- name of level
null); -- parent level
end;
begin
cwm2_olap_level.create_level (
user, -- owner of dimension to which level is assigned
'CUSTOMER_DIM', -- name of dimension to which level is assigned
'LVL_CUSTOMERS_CONTINENT',-- name of level
'Customer on continent', -- display name
'Customers on continent', -- plural name
'Customers on continent', -- short description
'Customers on continent' -- description
end;
begin
cwm2_olap_level.add_level_to_hierarchy (
user, -- owner of dimension
'CUSTOMER_DIM', -- name of dimension
'CUSTOMER_HIER', -- name of hierarchy
'LVL_CUSTOMERS_CONTINENT', -- name of level
'LVL_ALL_CUSTOMERS'); -- parent level
end;
begin
cwm2_olap_level.create_level (
user, -- owner of dimension to which level is assigned
'CUSTOMER_DIM', -- name of dimension to which level is assigned
'LVL_CUSTOMERS_COUNTRY', -- name of level
'Customer in country', -- display name
'Customers in country', -- plural name
'Customers in country', -- short description
'Customers in country' -- description
end;
begin
cwm2_olap_level.add_level_to_hierarchy (
user, -- owner of dimension
'CUSTOMER_DIM', -- name of dimension
'CUSTOMER_HIER', -- name of hierarchy
'LVL_CUSTOMERS_COUNTRY', -- name of level
'LVL_CUSTOMERS_CONTINENT');-- parent level
end;
-- Levels for the product dimension
begin
cwm2_olap_level.create_level (
user, -- owner of dimension to which level is assigned
'PRODUCT_DIM', -- name of dimension to which level is assigned
'LVL_ALL_PRODUCTS', -- name of level
'All products', -- display name
'All products', -- plural name
'All products', -- short description
'All products' -- description
end;
begin
cwm2_olap_level.add_level_to_hierarchy (
user, -- owner of dimension
'PRODUCT_DIM', -- name of dimension
'PRODUCT_HIER', -- name of hierarchy
'LVL_ALL_PRODUCTS', -- name of level
null); -- parent level
end;
begin
cwm2_olap_level.create_level (
user, -- owner of dimension to which level is assigned
'PRODUCT_DIM', -- name of dimension to which level is assigned
'LVL_PRODUCT_CATEGORY', -- name of level
'Product category', -- display name
'Product categories', -- plural name
'Product categories', -- short description
'Product categories' -- description
end;
begin
cwm2_olap_level.add_level_to_hierarchy (
user, -- owner of dimension
'PRODUCT_DIM', -- name of dimension
'PRODUCT_HIER', -- name of hierarchy
'LVL_PRODUCT_CATEGORY', -- name of level
'LVL_ALL_PRODUCTS'); -- parent level
end;
-- Levels for the time dimension
begin
cwm2_olap_level.create_level (
user, -- owner of dimension to which level is assigned
'TIME_DIM', -- name of dimension to which level is assigned
'LVL_YEAR', -- name of level
'Year', -- display name
'Years', -- plural name
'Year', -- short description
'Year' -- description
end;
begin
cwm2_olap_level.add_level_to_hierarchy (
user, -- owner of dimension
'TIME_DIM', -- name of dimension
'TIME_HIER', -- name of hierarchy
'LVL_YEAR', -- name of level
null); -- parent level
end;
begin
cwm2_olap_level.create_level (
user, -- owner of dimension to which level is assigned
'TIME_DIM', -- name of dimension to which level is assigned
'LVL_QUARTER', -- name of level
'Quarter', -- display name
'Quarters', -- plural name
'Quarter', -- short description
'Quarter' -- description
end;
begin
cwm2_olap_level.add_level_to_hierarchy (
user, -- owner of dimension
'TIME_DIM', -- name of dimension
'TIME_HIER', -- name of hierarchy
'LVL_QUARTER', -- name of level
'LVL_YEAR'); -- parent level
end;
begin
cwm2_olap_level.create_level (
user, -- owner of dimension to which level is assigned
'TIME_DIM', -- name of dimension to which level is assigned
'LVL_MONTH', -- name of level
'Month', -- display name
'Months', -- plural name
'Month', -- short description
'Month' -- description
end;
begin
cwm2_olap_level.add_level_to_hierarchy (
user, -- owner of dimension
'TIME_DIM', -- name of dimension
'TIME_HIER', -- name of hierarchy
'LVL_MONTH', -- name of level
'LVL_QUARTER'); -- parent level
end;
/* specify the level to hierarchy relationship */
-- Customer
-- Product
-- Time
/* specify the dimesion attributes */
begin
cwm2_olap_dimension_attribute.create_dimension_attribute_2 (
user, -- owner of dimension
'TIME_DIM', -- name of dimension
'End Date', -- name of dimension attribute
'End Date', -- display name
'End Date', -- short description
'End Date', -- description
1); -- use name as type
end;
/* specify the level attributes */
begin
cwm2_olap_level_attribute.create_level_attribute_2 (
user, -- owner of dimension
'TIME_DIM', -- name of dimension
'End Date', -- name of dimension attribute
'LVL_YEAR', -- name of level
'End Date', -- name of level attribute
'End Date', -- display name
'End Date', -- short description
'End Date', -- description
1); -- use name as type
end;
begin
cwm2_olap_level_attribute.create_level_attribute_2 (
user, -- owner of dimension
'TIME_DIM', -- name of dimension
'End Date', -- name of dimension attribute
'LVL_QUARTER', -- name of level
'End Date', -- name of level attribute
'End Date', -- display name
'End Date', -- short description
'End Date', -- description
1); -- use name as type
end;
begin
cwm2_olap_level_attribute.create_level_attribute_2 (
user, -- owner of dimension
'TIME_DIM', -- name of dimension
'End Date', -- name of dimension attribute
'LVL_MONTH', -- name of level
'End Date', -- name of level attribute
'End Date', -- display name
'End Date', -- short description
'End Date', -- description
1); -- use name as type
end;
/* mapping the levels to columns in the dimension table */
-- Customer
-- Hierarycies (from high to low): ID_COUNTRY->ID_CONTINENT->ID
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(
user, -- dimension owner
'CUSTOMER_DIM', -- dimension name
'CUSTOMER_HIER', -- name of hierarchy
'LVL_ALL_CUSTOMERS', -- name of level
user, -- owner of dimension table
'CUSTOMER', -- name of table
'ID_COUNTRY', -- name of column
null -- name of parent column
end;
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(
user, -- dimension owner
'CUSTOMER_DIM', -- dimension name
'CUSTOMER_HIER', -- name of hierarchy
'LVL_CUSTOMERS_CONTINENT', -- name of level
user, -- owner of dimension table
'CUSTOMER', -- name of table
'ID_CONTINENT', -- name of column
'ID_COUNTRY' -- name of parent column
end;
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(
user, -- dimension owner
'CUSTOMER_DIM', -- dimension name
'CUSTOMER_HIER', -- name of hierarchy
'LVL_CUSTOMERS_COUNTRY', -- name of level
user, -- owner of dimension table
'CUSTOMER', -- name of table
'ID', -- name of column
'ID_CONTINENT' -- name of parent column
end;
-- Product
-- Hierarchies: ID_CATEGORY->ID
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(
user, -- dimension owner
'PRODUCT_DIM', -- dimension name
'PRODUCT_HIER', -- name of hierarchy
'LVL_ALL_PRODUCTS', -- name of level
user, -- owner of dimension table
'PRODUCT', -- name of table
'ID_CATEGORY', -- name of column
null -- name of parent column
end;
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(
user, -- dimension owner
'PRODUCT_DIM', -- dimension name
'PRODUCT_HIER', -- name of hierarchy
'LVL_PRODUCT_CATEGORY', -- name of level
user, -- owner of dimension table
'PRODUCT', -- name of table
'ID', -- name of column
'ID_CATEGORY' -- name of parent column
end;
-- Time
-- Hierarchies: YR->ID_QUARTER->ID_MONTH
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(
user, -- dimension owner
'TIME_DIM', -- dimension name
'TIME_HIER', -- name of hierarchy
'LVL_YEAR', -- name of level
user, -- owner of dimension table
'SELLING_MONTH', -- name of table
'YR', -- name of column
null -- name of parent column
end;
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(
user, -- dimension owner
'TIME_DIM', -- dimension name
'TIME_HIER', -- name of hierarchy
'LVL_QUARTER', -- name of level
user, -- owner of dimension table
'SELLING_MONTH', -- name of table
'ID_QUARTER', -- name of column
'YR' -- name of parent column
end;
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(
user, -- dimension owner
'TIME_DIM', -- dimension name
'TIME_HIER', -- name of hierarchy
'LVL_MONTH', -- name of level
user, -- owner of dimension table
'SELLING_MONTH', -- name of table
'ID_MONTH', -- name of column
'ID_QUARTER' -- name of parent column
end;
/* creating cube */
begin
cwm2_olap_cube.create_cube(
user, -- cube owner
'Test_Cube', -- name of cube
'Test Cube', -- display name
'Test Cube', -- short description
'Test Cube' -- description
end;
/* mapping ... */
begin
cwm2_olap_table_map.map_dimtbl_hierlevelattr (
user, -- dimension owner
'TIME_DIM', -- name of dimension
'End Date', -- name of dimension attribute
'TIME_HIER', -- name of hierarchy
'LVL_MONTH', -- name of level
'End Date', -- name of level attribute
user, -- owner of table
'SELLING_MONTH', -- name of table
'END_OF_MONTH' -- name of column
end;
begin
cwm2_olap_table_map.map_dimtbl_hierlevelattr (
user, -- dimension owner
'TIME_DIM', -- name of dimension
'End Date', -- name of dimension attribute
'TIME_HIER', -- name of hierarchy
'LVL_QUARTER', -- name of level
'End Date', -- name of level attribute
user, -- owner of table
'SELLING_MONTH', -- name of table
'END_OF_QUARTER' -- name of column
end;
begin
cwm2_olap_table_map.map_dimtbl_hierlevelattr (
user, -- dimension owner
'TIME_DIM', -- name of dimension
'End Date', -- name of dimension attribute
'TIME_HIER', -- name of hierarchy
'LVL_YEAR', -- name of level
'End Date', -- name of level attribute
user, -- owner of table
'SELLING_MONTH', -- name of table
'END_OF_YEAR' -- name of column
end;
/* adding dimension to cube */
begin
cwm2_olap_cube.add_dimension_to_cube (
user, -- owner of cube
'Test_Cube', -- name of cube
user, -- owner of dimension
'CUSTOMER_DIM' -- name of dimension
end;
begin
cwm2_olap_cube.add_dimension_to_cube (
user, -- owner of cube
'Test_Cube', -- name of cube
user, -- owner of dimension
'PRODUCT_DIM' -- name of dimension
end;
begin
cwm2_olap_cube.add_dimension_to_cube (
user, -- owner of cube
'Test_Cube', -- name of cube
user, -- owner of dimension
'TIME_DIM' -- name of dimension
end;
/* creating the measure */
begin
cwm2_olap_measure.create_measure (
user, -- owner of cube
'Test_Cube', -- name of cube
'sold items', -- name of measure
'sold items', -- display name
'sold items', -- short description
'sold items' -- description
end;
/* Creating the join relationship between the fact table and the dimension tables */
begin
cwm2_olap_table_map.map_facttbl_levelkey (
user, -- owner of cube
'Test_Cube', -- name of cube
user, -- owner of fact table
'ITEM_SOLD', -- name of fact table
'LOWESTLEVEL', -- storetype
'DIM:' || user || '.CUSTOMER_DIM/HIER:CUSTOMER_HIER/LVL:LVL_CUSTOMERS_COUNTRY/COL:ID_CUSTOMER;' ||
'DIM:' || user || '.PRODUCT_DIM/HIER:PRODUCT_HIER/LVL:LVL_PRODUCT_CATEGORY/COL:ID_PRODUCT;' ||
'DIM:' || user || '.TIME_DIM/HIER:TIME_HIER/LVL:LVL_MONTH/COL:ID_MONTH;'
end;
/* measure? */
begin
cwm2_olap_table_map.map_facttbl_measure (
user, -- owner of cube
'Test_Cube', -- name of cube
'sold items', -- name of measure
user, -- owner of fact table
'ITEM_SOLD', -- name of fact table
'QTY', -- name of column
'DIM:' || user || '.CUSTOMER_DIM/HIER:CUSTOMER_HIER/LVL:LVL_CUSTOMERS_COUNTRY/COL:ID_CUSTOMER;' ||
'DIM:' || user || '.PRODUCT_DIM/HIER:PRODUCT_HIER/LVL:LVL_PRODUCT_CATEGORY/COL:ID_PRODUCT;' ||
'DIM:' || user || '.TIME_DIM/HIER:TIME_HIER/LVL:LVL_MONTH/COL:ID_MONTH;'
end;
/* validating the cube */
begin
cwm2_olap_validate.validate_cube (
user, -- owner of cube
'Test_Cube' -- name of cube
end;
encapsulate cwm2 apis into objects (IT WAS NOT WORK)
--base class
create or replace type BaseClass as object (
objUser varchar2(255),
objName varchar2(255),
constructor function BaseClass(objUser varchar2, objName varchar2) return self as result,
member function getName return varchar2
INSTANTIABLE NOT FINAL;
--dimension facade
create or replace type DimensionFacade under BaseClass (
hierName varchar2(255),
constructor function DimensionFacade(objUser varchar2, objName varchar2) return self as result,
member procedure setHierarchy(hierName varchar2),
member function addLevel(levelName varchar2, parentLevel varchar2) return boolean,
member function addAttribute(attrName varchar2, levelName varchar2) return boolean,
member function addAttribute(attrName varchar2) return boolean,
member function mapLevel2FactTable(levelName varchar2, tableName varchar2, colName varchar2, parentCol varchar2) return boolean,
member function mapAttribute2DimTable(levelName varchar2, attrName varchar2, dimTable varchar2, colName varchar2) return boolean
INSTANTIABLE FINAL;
--cube facade
create or replace type CubeFacade under BaseClass (
measureName varchar2(255),
constructor function CubeFacade(objUser varchar2, objName varchar2) return self as result,
member procedure addDimension(dimName varchar2),
member procedure setMeasure(measureName varchar2),
member function mapMeasure2FactTable(tableName varchar2, colName varchar2, mapStr varchar2) return boolean
INSTANTIABLE FINAL;
object implementation
prepared: 2006-12-12
author: copper
--base class
create or replace type body BaseClass as
constructor function BaseClass(objUser varchar2, objName varchar2) return self as result
is
begin
self.objUser := objUser;
     self.objName := objName;
     return;
end;
member function getName return varchar2
is
begin
return self.objUser;
end;
end;
--dimension facade
create or replace type body DimensionFacade as
constructor function DimensionFacade(objUser varchar2, objName varchar2) return self as result
is
begin
self.objUser := objUser;
self.objName := objName;
cwm2_olap_dimension.create_dimension(objUser, objName, objName||' display', objName||' plural', objName||' short des', objName||' description');
dbms_output.put_line('create dimension ok, dimension name:'||objName||',dimension user:'||objUser);
return;
end;
member procedure setHierarchy(hierName varchar2)
is
begin
self.hierName := hierName;
cwm2_olap_hierarchy.create_hierarchy (objUser, objName, hierName, hierName||' display', hierName||' short des', hierName||' description', 'UNSOLVED LEVEL-BASED');
dbms_output.put_line('set hierarchy ok, dimension name:'||objName||',dimension user:'||objUser||',hierarchy name:'||hierName);
end;
member function addLevel(levelName varchar2, parentLevel varchar2) return boolean
is
begin
cwm2_olap_level.create_level(objUser, objName, levelName, levelName||'display', levelName||' plural', levelName||' short des', levelName||' description');
cwm2_olap_level.add_level_to_hierarchy (objUser, objName, hierName, levelName, parentLevel);
dbms_output.put_line('create level and add level to hierarchy ok!');
return true;
end;
member function addAttribute(attrName varchar2, levelName varchar2) return boolean
is
begin
cwm2_olap_level_attribute.create_level_attribute_2 (objUser, objName, attrName, levelName, attrName, attrName||' display', attrName||' short des', attrName||' description', 1);
return true;
end;
member function addAttribute(attrName varchar2) return boolean
is
begin
cwm2_olap_dimension_attribute.create_dimension_attribute_2 (objUser, objName, attrName, attrName||' display', attrName||' short des', attrName||' description', 1);
return true;
end;
member function mapLevel2FactTable(levelName varchar2, tableName varchar2, colName varchar2, parentCol varchar2) return boolean
is
begin
cwm2_olap_table_map.map_dimtbl_hierlevel(objUser, objName, hierName, levelName, objUser, tableName, colName, parentCol);
return true;
end;
member function mapAttribute2DimTable(levelName varchar2, attrName varchar2, dimTable varchar2, colName varchar2) return boolean
is
begin
cwm2_olap_table_map.map_dimtbl_hierlevelattr (objUser, objName, attrName, hierName, levelName, attrName, objUser, dimTable, colName);
return true;
end;
end;
--cube facade
create or replace type body CubeFacade as
constructor function CubeFacade(objUser varchar2, objName varchar2) return self as result
is
begin
self.objUser := objUser;
self.objName := objName;
cwm2_olap_cube.create_cube(objUser, objName, objName||' display', objName||' short des', objName||' description');
return;
end;
member procedure addDimension(dimName varchar2)
is
begin
cwm2_olap_cube.add_dimension_to_cube (objUser, objName, objUser, dimName);
dbms_output.put_line('ok!');
end;
member procedure setMeasure(measureName varchar2)
is
begin
self.measureName := measureName;
cwm2_olap_measure.create_measure (objUser, objName, measureName, measureName||' display', measureName||' short des', measureName||' description');
end;
member function mapMeasure2FactTable(tableName varchar2, colName varchar2, mapStr varchar2) return boolean
is
begin
cwm2_olap_table_map.map_facttbl_levelkey (objUser, objName, objUser, tableName, 'LOWESTLEVEL', mapStr);
cwm2_olap_table_map.map_facttbl_measure (objUser, objName, measureName, objUser, tableName, colName, mapStr);
return true;
end;
end;
--dimension modula using sample
create or replace package DimensionModuleSample as
procedure buildMultidimensionCube;
end;
create or replace package body DimensionModuleSample as
procedure buildMultidimensionCube
is
dimC DimensionFacade; --customer
dimP DimensionFacade; --product
dimT DimensionFacade; --time
cub CubeFacade;
ret boolean;
begin
dbms_output.put_line('start build dimension module!');
dimC := DimensionFacade(user, 'CUSTOMER_DIM');
     dimP := DimensionFacade(user, 'PRODUCT_DIM');
     dimT := DimensionFacade(user, 'TIME_DIM');
dimC.setHierarchy('CUSTOMER_HIER');
dimP.setHierarchy('PRODUCT_HIER');
dimT.setHierarchy('TIME_HIER');
     ret := dimC.addLevel('LVL_ALL_CUSTOMERS', null);
ret := dimC.addLevel('LVL_CUSTOMERS_CONTINENT', 'LVL_ALL_CUSTOMERS');
ret := dimC.addLevel('LVL_CUSTOMERS_COUNTRY', 'LVL_CUSTOMERS_CONTINENT');
ret := dimP.addLevel('LVL_ALL_PRODUCTS', null);
ret := dimP.addLevel('LVL_PRODUCT_CATEGORY', 'LVL_ALL_PRODUCTS');
ret := dimT.addLevel('LVL_YEAR', null);
ret := dimT.addLevel('LVL_QUARTER', 'LVL_YEAR');
ret := dimT.addLevel('LVL_MONTH', 'LVL_QUARTER');
     ret := dimT.addAttribute('end date');
ret := dimT.addAttribute('end date', 'LVL_YEAR');
ret := dimT.addAttribute('end date', 'LVL_QUARTER');
ret := dimT.addAttribute('end date', 'LVL_MONTH');
     ret := dimC.mapLevel2FactTable('LVL_ALL_CUSTOMERS', 'CUSTOMER', 'ID', null);
ret := dimC.mapLevel2FactTable('LVL_CUSTOMERS_CONTINENT', 'CUSOMTER', 'ID_CONTINENT', 'ID');
ret := dimC.mapLevel2FactTable('LVL_CUSTOMERS_COUNTRY', 'CUSTOMER', 'ID_COUNTRY', 'ID_CONTINENT');
ret := dimP.mapLevel2FactTable('LVL_ALL_PRODUCTS', 'PRODUCT', 'ID', null);
ret := dimP.mapLevel2FactTable('LVL_PRODUCT_CATEGORY', 'PRODUCT', 'ID_CATEGORY', 'ID');
ret := dimT.mapLevel2FactTable('LVL_YEAR', 'SELLING_MONTH', 'YR', null);
ret := dimT.mapLevel2FactTable('LVL_QUARTER', 'SELLING_MONTH', 'ID_QUARTER', 'YR');
ret := dimT.mapLevel2FactTable('LVL_MONTH', 'SELLING_MONTH', 'ID_MONTH', 'ID_QUARTER');
ret := dimT.mapAttribute2DimTable('LVL_YEAR', 'END DATE', 'SELLING_MONTH', 'END_OF_YEAR');
ret := dimT.mapAttribute2DimTable('LVL_QUARTER', 'END DATE', 'SELLING_MONTH', 'END_OF_QUARTER');
ret := dimT.mapAttribute2DimTable('LVL_MONTH', 'END DATE', 'SELLING_MONTH', 'END_OF_MONTH');
cub := CubeFacade(user, 'TEST_CUBE');
cub.addDimension(dimC.getName);
     cub.addDimension(dimP.getName);
     cub.addDimension(dimT.getName);
     cub.setMeasure('SOLID IMEMS');
     ret := cub.mapMeasure2FactTable('ITEM_SOLD', 'QTY',
'DIM:' || user || '.CUSTOMER_DIM/HIER:CUSTOMER_HIER/LVL:LVL_CUSTOMERS_COUNTRY/COL:ID_CUSTOMER;' ||
'DIM:' || user || '.PRODUCT_DIM/HIER:PRODUCT_HIER/LVL:LVL_PRODUCT_CATEGORY/COL:ID_PRODUCT;' ||
'DIM:' || user || '.TIME_DIM/HIER:TIME_HIER/LVL:LVL_MONTH/COL:ID_MONTH;');
exception
when OTHERS then
dbms_output.put_line('get error!');
end;
end;
--test codes
begin
DimensionModuleSample.buildMultidimensionCube;
end;
the error information is:
14:23:05 ORA-06510: unhandled user-defined exception
14:23:05 ORA-06512: "OLAPSYS.CWM2_OLAP_UTILITY", line1660
14:23:05 ORA-01403: no data found
14:23:05 ORA-06512: "OLAPSYS.CWM2_OLAP_LEVEL", line28
14:23:05 ORA-06512: "OLAPSYS.CWM2_OLAP_LEVEL", line57
14:23:05 ORA-06512: "OLAPSYS.CWM2_OLAP_LEVEL", line456
14:23:05 ORA-06512: line2

Hi,
Please see if these documents help.
Note: 367607.1 - FDPSTP Failed Due to ORA-01861: Literal Does Not Match Format String
Note: 370272.1 - not able to run the report set having unsupported date format of fnd-date4
Note: 376034.1 - How to Handle New Date Formats in SQL*Plus and PL/SQL Procedures?
Regards,
Hussein

Similar Messages

  • Volume problem while using headphone

    when I use my headphone I have no problem while talking on phone but when I try to listen to music or watch you tube I cannot hear the left side. I restored iphone and got replacement but same problem. I changed headphones but that wasent the problem as well. please help!

    s. laxnars wrote:
    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
    so you will be notified when a new driver will have the fix. In the
    meantime, if you set the Type to correspond to the DBMS's column type,
    it will work. In fact, I'll bet that if you just set the Type to VARCHAR
    it will work, regardless of the actual column type...
    Joe

  • Problem while using BEA's Oracle Driver

    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)

    s. laxnars wrote:
    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
    so you will be notified when a new driver will have the fix. In the
    meantime, if you set the Type to correspond to the DBMS's column type,
    it will work. In fact, I'll bet that if you just set the Type to VARCHAR
    it will work, regardless of the actual column type...
    Joe

  • Problem while using af:selectOrderShuttle

    Hi
    As per requirements i need to load both leading and Trailing list for SelectOrderShuttle. I can able to populate Leading List but cant able to populate Trailing List.Plz can any one help me.....
    <af:selectOrderShuttle size="10" inlineStyle="labelfont" valuePassThru="true" binding="{ScreenWiseRadioBean.shuttle}" value="#{ScreenWiseRadioBean.shuttleValueList}">
    <f:selectItems value="#{ScreenWiseRadioBean.screenWiseList}" />
    </af:selectOrderShuttle>

    s. laxnars wrote:
    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
    so you will be notified when a new driver will have the fix. In the
    meantime, if you set the Type to correspond to the DBMS's column type,
    it will work. In fact, I'll bet that if you just set the Type to VARCHAR
    it will work, regardless of the actual column type...
    Joe

  • Proxy problem while using pkgbuild..

    Hi all,
    I was trying to makepkg a certain theme. When I was in my college I used a certain proxy...but at home I have dhcp. I have edited rc.conf accordingly and I can browse the web. I can also use pacman to install stuff. However makepkg(or rather wget) still thinks I am using my college proxy..
    [spai@spai xfce4-axe-theme]$ makepkg -s
    ==> Making package: xfce4-axe-theme 1-1 i686 (Thu May 14 10:57:19 IST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading 73291-axe.tar.gz...
    --2009-05-14 10:57:19-- http://xfce-look.org/CONTENT/content-files/73291-axe.tar.gz
    Resolving iiscproxy.serc.iisc.ernet.in... failed: Name or service not known.
    wget: unable to resolve host address `iiscproxy.serc.iisc.ernet.in'
    ==> ERROR: Failure while downloading 73291-axe.tar.gz
    Aborting...
    So is there a way to solve this resolve problem?
    Thanks all,
    Spai
    Last edited by Isomorphism (2009-05-14 05:33:32)

    s. laxnars wrote:
    I am facing some problem while using preparedStatement.setNull while using Bea's Orale XA Driver, the same code works fine with oracle XA driver,
    Can any one plz help on this.
    Here the code
    String insertIntoTestRequestQuery = "Insert into A values(?,?,?)";
    PreparedStatement dbInsertStatement = connection.prepareStatement(insertIntoTestRequestQuery);
    dbInsertStatement.setLong(1, 3L);
    dbInsertStatement.setString(2,"test");
    dbInsertStatement.setNull(3,java.sql.Types.NULL);
    I am using Weblogic 9.2 with Oracle 9i
    here the Spy Log
    spy>> PreparedStatement[163].setNull(int parameterIndex, int sqlType)
    spy>> parameterIndex = 1
    spy>> sqlType = 0
    spy>> java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver. ErrorCode=0 SQLState=HY004
    java.sql.SQLException: [BEA][Oracle JDBC Driver]The specified SQL type is not supported by this driver.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.validateSqlType(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
         at weblogic.jdbc.base.BasePreparedStatement.setNull(Unknown Source)
         at weblogic.jdbcx.base.BasePreparedStatementWrapper.setNull(Unknown Source)
         at weblogic.jdbcspy.SpyPreparedStatement.setNull(Unknown Source)
         at weblogic.jdbc.wrapper.PreparedStatement.setNull(PreparedStatement.java:491)Hi. This is a known issue. Call official BEA support and open a case
    so you will be notified when a new driver will have the fix. In the
    meantime, if you set the Type to correspond to the DBMS's column type,
    it will work. In fact, I'll bet that if you just set the Type to VARCHAR
    it will work, regardless of the actual column type...
    Joe

  • I am having problem while using ms word with anjal( OS X Lion 10.7.5 (11G63))

    i am having problem while using ms word with anjal  is not working properly but its working in facebook and other areas.i need and  its very important to using tamil fonts for my job.can anyone help me out from this problem.
    thanking you
    by
    moses

    Those who are knowledgable in this area (myself not among them) say that Word's support for Asian languages is faulty. The best word processor for that use is "Mellel."

  • Problem while using trigger from line of 6534

    I have faced some problems while using triggering with 6534. They are listed below. Please provide solution me.
    1. ) i was using pattern input with triggering(buffered) in which i am using the example given in library buffered pattern input-triggered.vi
    Now i am using port 0 to take input. From line 0 of port 2 i want to generate a pulse which can trigger the operation & start acquisition. For that i am using write to single line.vi . My DPULL is open so bydefault the line will be at low level & by vi i will make it high which will trigger the operation.
    In normal condition if we use write to a single line.vi it will write the given status on that line within a fraction of second and abort execution. But when i am usin
    g it for trigger in following manner, it did not work.
    First i started the VI buffered pattern input-triggered.vi.I have configured the start trigger with leading edge trigger. I have set the time limit properly.Synchronous operation is set at the front panel of vi.
    Now if start the write to a single line.vi to give start trigger, nether it triggered the operation,nor it abort execution of single line write vi.When time out occured in triggered vi, then both vis stopped simultaneously. Why this happened?
    2.) Similar problem i faced when i wanted to perform the change detection.vi Port 0 is configured for input.Line 1 to 7 are fixed with some status by connecting them to Vcc or GND. I have connected port 0 line 0 with port 2 line 0. So when i change status of line 0 of port 2 change detection should be occured o port 0. i am changing the status of line 0 of port 2 by write to a single line.vi But here i faced same problem as first that it was not writing to port 0 line 0. And bo
    th process stopped when time limit occured in change detection vi.
    So what can be the problem? Please help me.

    Hi Vishal,
    1) You should check to see that when you are writting a static 1 to line 0 you see a pulse high. You should also make sure that you wire this line to the STARTTRIG for group 0.
    2) If you solve question 1 you will also have question 2 solved.
    It might be helpful to create a program that configures both programs (pattern I/O on port 0 and static I/O on port 2) in the same program and then starts both groups. I would do a little testing to see exactly what signals you do or do not see.
    Ron

  • Problem while using receive after invoke activity

    Hi,i have got a problem while using a receive activity,after a invoke activity.The invoke acivity seems that does not work and also the debugger runs forever....But if i remove the receive activity,the invoke activity works fine.
    <h2>The output of GlassfishV2 is:<h2>
    This is from the exception block.
    com.sun.bpel.model.meta.impl.RInvokeImpl@f590c6={<?xml version="1.0" encoding="utf-8" ?>
    *<invoke name="Invoke1"*
    partnerLink="PartnerLink2"
    portType="tns:test_service3"
    operation="luizao"
    inputVariable="LuizaoIn"
    outputVariable="LuizaoOut"
    xmlns:tns="http://dim.test.org/"></invoke>}
    *[Fatal Error] :1:1: Content is not allowed in prolog.*
    System exception occured while executing a business process instance.
    java.lang.NullPointerException: WSDL message model is null
    at com.sun.jbi.engine.bpel.core.bpel.debug.WSDLMessageImpl.<init>(WSDLMessageImpl.java:56)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CallFrame.onFault(CallFrame.java:380)
    at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SyntheticThrowUnitImpl.doAction(SyntheticThrowUnitImpl.java:91)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
    at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:401)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:240)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
    This is from the exception block.
    I think correlation sets are ok(i have two receive activities).
    I use Netbeans6.0 IDE.
    Can anyone help me?
    Sorry,but i don't speak English fluently

    I can't debug it more,because the bpel variables window disappears when the proccess comes to invoke activity.
    The bpel code is simple:I have got a sequence with follow activities:
    receive
    assign
    invoke
    receive
    assign
    reply
    The code is:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
        name="Testfile2"
        targetNamespace="http://enterprise.netbeans.org/bpel/Test2/Testfile2"
        xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:tns="http://enterprise.netbeans.org/bpel/Test2/Testfile2" xmlns:ns0="http://xml.netbeans.org/schema/Testfile2" xmlns:ns1="http://j2ee.netbeans.org/wsdl/Testfile2">
       <import namespace="http://j2ee.netbeans.org/wsdl/Testfile2" location="Testfile2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service3Wrapper" location="Partners/test_service3/test_service3Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service3/test_service3.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service2Wrapper" location="Partners/test_service2/test_service2Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service2/test_service2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <partnerLinks>
          <partnerLink name="PartnerLink3" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service2Wrapper" partnerLinkType="tns:test_service2LinkType" myRole="test_service2Role"/>
          <partnerLink name="PartnerLink2" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service3Wrapper" partnerLinkType="tns:test_service3LinkType" partnerRole="test_service3Role"/>
          <partnerLink name="PartnerLink1" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" partnerLinkType="tns:Testfile21" myRole="Testfile2PortTypeRole"/>
       </partnerLinks>
       <variables>
          <variable name="Testfile2OperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationReply"/>
          <variable name="Operation1In" xmlns:tns="http://dim.test.org/" messageType="tns:operation1"/>
          <variable name="LuizaoOut" xmlns:tns="http://dim.test.org/" messageType="tns:luizaoResponse"/>
          <variable name="LuizaoIn" xmlns:tns="http://dim.test.org/" messageType="tns:luizao"/>
          <variable name="Testfile2OperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationRequest"/>
       </variables>
       <correlationSets>
          <correlationSet name="CorrelationSet1" properties="ns1:My_Property"/>
       </correlationSets>
       <sequence>
          <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationIn">
             <correlations>
                <correlation set="CorrelationSet1" initiate="yes"/>
             </correlations>
          </receive>
          <assign name="Assign1">
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:ena</from>
                <to>$LuizaoIn.parameters/ena</to>
             </copy>
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:id</from>
                <to>$LuizaoIn.parameters/id</to>
             </copy>
          </assign>
          <invoke name="Invoke1" partnerLink="PartnerLink2" operation="luizao" xmlns:tns="http://dim.test.org/" portType="tns:test_service3" inputVariable="LuizaoIn" outputVariable="LuizaoOut"/>
          <receive name="Receive2" createInstance="no" partnerLink="PartnerLink3" operation="operation1" xmlns:tns="http://dim.test.org/" portType="tns:test_service2" variable="Operation1In">
             <correlations>
                <correlation set="CorrelationSet1" initiate="no"/>
             </correlations>
          </receive>
          <assign name="Assign2">
             <copy>
                <from>$Operation1In.parameters/hik</from>
                <to>$Testfile2OperationOut.part1/ns0:hik</to>
             </copy>
          </assign>
          <reply name="Reply1" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationOut"/>
       </sequence>
    </process>If it's a bug,that means that i can't use second receive after invoke any more?

  • Problem while using h:selectOneMenu tag

    Hello All,
    I am facing a problem while using the <h:selectOneMenu in my JSP.
    My requirement is as below,
    I am having a list of manager in the select box.
    User will select any of the manager and click a command link to assign the manager.
    On click of this command link backerbean method should be invoked.
    My problem is,
    I am able to display the list box without any problem.
    But Once I select any value from the list box the command link is not working.
    That is click on the command link is not invoking the backer bean method.
    My code look as below,
    JSP
    <td>                 
    <h:selectOneMenu value="#pc_EmployeeDetailsView.assignedMgrPositionId}" id="assignedMgrPositionId" style="width: 170px">
    <f:selectItems value="#{pc_EmployeeDetailsView.managerList}" />
    </h:selectOneMenu>
    </td><td>�</td>
    <td><h:commandLink action="#pc_EmployeeDetailsView.assignManager}" onmousedown="setEditAction('assign');">
    <h:outputText value="Assign"></h:outputText>
    </h:commandLink></td>Backer Bean
         SelectItem managerSelectItem =  new SelectItem("0","Select Manager");
         ArrayList managerSelectItemList = new ArrayList(); 
         managerSelectItemList.add(managerSelectItem);
         int managerListSize = managerSearchList.size();
         for (int i=0; i<managerListSize; i++) {
              Employee manager = (Employee) managerSearchList.get(i);
              managerSelectItem =  new SelectItem(StringUtils.isNotEmpty(manager.getOrgInfo().getPositionNumber())?manager.getOrgInfo().getPositionNumber():"",StringUtils.isNotEmpty(manager.getFullDisplayName())?manager.getFullDisplayName():"");
              managerSelectItemList.add(managerSelectItem);
         setManagerList(managerSelectItemList);Please help me on this.
    Thanks In Advance

    I have solved this problem by putting the list in portlet session and allowing the get method to get the SelectItem from the session

  • Problem while using netscape.ldap.util.ConnectionPool

    Hi,
    We have a problem while using netscape's netscape.ldap.util.ConnectionPool class.
    ( iPlanet 5.1
    ldap sdk 4.0 )
    First we obtain a connection from the ConnectionPool class by using the constructor as below
    //create pool
    pool = new ConnectionPool(10, 50, "localhost", 389, "cn=Directory Manager", "password");
    //get conn from pool
    conn = pool.getConnection();
    After doing some ldap read only operations if we disconnect using
    //disconnect
    conn.disconnect();
    the junit test cases whihc use the above code
    take sometime to execute fully
    Sometimes there's no response also.
    Also just the disconnection alone takes quite some time(~1000 ms)..
    If the conn.disconnect() is not used then its pretty fast.
    Could anybody throw more light on this issue
    Thanx

    I think i found the problem..correct me if i'm wrong
    I tried using
    pool.close( conn );
    and the time taken now is almost negligible
    If you can give suggestions I would be only glad

  • Problem while using struts 1.3.8

    Hi All,
    I have some problem while using struts 1.3.8 in my application.
    I am using OC4J 10.1.2.0.2, my simple coding is follows:
    <%@ page contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
    <html:xhtml />
    <html:form action="<action page>" method="POST" enctype="multipart/form-data" >
    <p>
         <label for="Subject" ><span class="Mandatory">*</span> Subject:</label>
         <html:text size="40" property="subject" />
    </p>
    <p>
         <label for="upload" >Attachment:</label>
         <html:file size="40" property="attachmentFile" />
    </p>
    <p>
             <html:submit />
    </p>after clicking my the submit button in the server console i m getting
    JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
    javax.servlet.ServletException: JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
    at org.apache.struts.tiles.commands.TilesPreProcessor.doForward(TilesPreProcessor.java:260)
    at org.apache.struts.tiles.commands.TilesPreProcessor.execute(TilesPreProcessor.java:217)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at com.ed.ecomm.edcore.web.filters.SecurityFilter.doFilter(SecurityFilter.java:196)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at com.ed.ecomm.edcore.web.filters.MonitoringFilter.doFilter(MonitoringFilter.java:138)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at com.ed.ecomm.edcore.web.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    further i investigate and i removed the "enctype=multipart/form-data" from the form attribute its working fine..
    but without using this attribute struts doesn't support the "upload" i.e, form file... its throwing another exeception..
    could you anyone please let me know whether i can change my OC4J server version of anything need to do..
    many thanks in advance

    I'm having the same exact problem. Any ideas?
    Schema sfactory;
    Schema schema;
    sfactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    ErrorHandler eHandler = new MyErrorHandler();
    sfactory.setErrorHandler(eHandler);        
    LSResourceResolver lsrResolver = new MyLSResourceResolver();
    sfactory.setResourceResolver(lsrResolver);
    schema = sfactory.newSchema(new File(argv[1]));The last line gives me NullPointerException. I know the file (argv[1]) exists and can be read because I can print it with a BufferedReader.

  • Assertion problem while using C++ 5.0 compiler

    Hi,
    we are using C++ compiler 5.0 on sparc solaris 2.6 machine.
    when we tried to build the debug version of a particular exe with -g
    option , we are getting the following error message
    Assertion : ( ../links/dgb_cstabs.cc line 1516)
    while compiling a .cc file.
    without the -g option ,the file compiles successfully.
    so please throw some light on this problem and help us to getout of
    this problem.
    regards
    tunga

    Assertion problem while using C++ 5.0 compiler on solaris 2.6

  • Assertion problem while using C++ 5.0 compiler on Solaris 2.6

    Hi,
    we are using C++ compiler 5.0 on sparc solaris 2.6 machine.
    when we tried to build the debug version of a particular exe with -g
    option , we are getting the following error message
    Assertion : ( ../links/dgb_cstabs.cc line 1516)
    while compiling a .cc file.
    Compiler options we used is
    /opt/SUNWspro/bin/CC -c -compat=4 -g -KPIC -w -features=namespace,no%except,bool,mutable -verbose=template -DOS_USE_SHORT_NAMES -DINCLUDEALL +d  -DRWSTD_MULTI_THREAD  -D_REENTRANT -D_THREAD_SAFE           -D_POSIX_C_SOURCE=199506L -DOS_NEW_CHECK -DOS_STL_ASSERT     -DOS_NO_WSTRING  -DOS_ALTERNATIVE_STL_NAMES     -DRWSTD_NO_CONST_INST             -DNO_ALLOCATOR_STL -DOS_OMIT_BOOL               -DEXE_HANDLING -DNO_CPLM -DALO_ON -DSUBPROC_ON  -DCANCEL_ON                                     -D__EXTENSIONS__  -DEXPLICIT_OPERATOR_INVOKE            -DSTL_SUPPORT_OPERATOR                   -DSUNSOLARIS    -DWHAT_TIME_DATE="\"Build Date Time Not Set\"" -I/opt/orbplus/include   -I/opt/orbplus/include/naming  -I/opt/SUNWspro/SC5.0/include/CC4 -I/opt/SUNWspro/SC5.0/include/CC -I/usr/include/reentrant                      -I../.. -I../../include                        -I../inc  -I.                            -I/opt/odbc/include                    -I/oracle/home/oracle/include  -I/oracle/home/oracle/rdbms/demo pdl.tab.c -o ../../bin/hpux/obj/pdl.tab.o
    without the -g option ,the file compiles successfully.
    so please throw some light on this problem and help us to getout of
    this problem.
    regards
    tunga

    Assertion problem while using C++ 5.0 compiler on solaris 2.6

  • Problem While using Applet Reqd classes using Weblogic 5.1

    Hi All,
    Here is my problem while using other classes from the Applet gives an error:NoClassDefFound,
    I have also put the applet reqd. classes in a jar file and placed this jar along with the applet
    in weblogic/myserver/serverclases,
    my tag in the html file is as follows:
    <applet code="MyApplet.class" archive="voucher.jar"
         codebase="/classes/" >
    </applet>
    is there any problem with my tag or directory structure,
    It would be great ful and thanks for helping in solving this problem.
    sai.

    Is this an issue with the "T-engine" or the "J-engine"? Are you using a
    ubbconfig file or weblogic.properties file? Can you post the stack trace?
    This may be an known issue and simply require you to install the latest
    service pack for WLS 5.1 (aka. J-engine)...
    Mary Ann Slavin wrote:
    Accordning to the Software Product Information (SPI) for WLE 5.1 it is
    available on the following Linux versions so this could be a problem
    with the version you are running.
    "BEA WebLogic Enterprise 5.1 software for Red Hat Linux 6.2 and Reliant
    Unix 5.45 is available separately. "
    MAS
    yajneesh Sabharwal wrote:
    hello friends,
    I have a Problem in Using Weblogic 5.1
    I am using weblogic 5.1 Enterprise on Linux 2.2.16 SuSE (7.0) with
    Dual Celeron 550MHz and 1GB RAM. The server runs our web application
    which uses the servelt, JSP and XSQL technology. The problem is
    that often i receive ASSERTION FAILURES where after the jsp's stop
    displaying content. Is this a Weblogic administration problem or
    the underlying OS problem. Kindly advice.
    Thankx in Advance
    Yajneesh sabharwal

  • Problem while using camera connetor and Sony DSC-M1

    Dear all
    My digital Camera Sony DSC-M1 is able to take pictures and take video into mpeg4 format .
    this is the revirew of this camera
    http://www.steves-digicams.com/2004_reviews/m1.html
    However, I got a problem while using this camera with iPod +Camera connector.
    When I plug this camera into camera connector , ipod will transfer all photo from the camera , but do nothing with the video.
    I guess that problem is the video file is not inside the "/DCIM" folder
    All video file ( *.mp4 ) are all in the folder named " /MP_ROOT/101MNV01/ "
    Can anyone help me how to make this sync from camera to ipod automatically both photo and video ?
    This problem also bother me while I am using iPhoto to transfer the file when I was home .
    pls , help me , thanks a lot

    Hi there, I'm having exactly the same problem. Have you found out how to do it?

Maybe you are looking for

  • Error when creating product group

    Hai frnds,         While creating a product group the following error occurs REQUIRED PARAMETERS MISSING WHEN CALLING UP MODULE help me in the issue regards Karthik.b

  • System Doesn't Automatically Connect To My Airport Network

    My MacBook Pro (10.4.10) no longer automatically connects to my airport network (snow model). Airport Admin Util v. 4.2.3. My wife's iMac also needs to manually find the network. This wasn't the case until recently. Any suggestions?

  • WebLogic does not validate minOccurs="1" in webservices

    Hello, My WebService is deployed on WebLogic 10.3.3. WSDL/XSD describes input parameter number as mandatory: <xs:element minOccurs="1" maxOccurs="1" name="number" type="xs:int"/> MinOccurs="1" means that XML message must contain <number> tag, isn't i

  • Order by group left report

    Hi, I have a sql which contains an order by clause (order by field1, field2), the query runs fine in SQL*Plus. I tried to create a Group Left report in Reports 10g. When I run the report, it disregards the order by clause. The report works fine if I

  • Vi's with sub panel

    hi i want to run an aplication on fp-2010 which have sub panels(panel embedding) but i got the following problems 1.vi's with sub panel are not loaded on fp-2010 2.and not supported by Lab VIEW Real Time can any one help me in this regard or suggest