OWB 10 - Mapping Debugger Exception

Hi!, I'm trying to deploy and run my mapping, to load data in tables targets, but when I try to do this action appear an error:
oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException:DBG1032: cannot connect to the location
java.sql.SQLException.
Somebody can tell me how fix this error?!
Greetings!

A few suggestions and questions-
1. Have you validated this mapping? Did try to generate the code and give it a quick look-over?
2. Did you successfully deploy the mapping? I think you probably never even got the chance to execute it because it died during deployment, right?
Make sure that all source and target locations in the mapping are completely accessible by your user. Make sure that the locations details that the control center is using for mapping deployment is correct AND that you can connect.

Similar Messages

  • OWB Mapping handle Exception

    Hi folks,
    Is There a way to handle exeption of a OWB 11r2 mapping in SQLPLUS shell?
    I need run few mapping in sqlplus script, but I need that if the mapping faild for any reason mapping must handle exceptoin, and exit from sqlplus.
    Now if a mapping faild, it dosen't handle exception and the next mapping start..... this is a problem for me...
    thanks
    Emilio

    Hi Thomas,
    thanks for reply, but I just do it...... but this workaround it's not very good for me.......
    I wrote this script:
    qlplus -s $1 << EOF
    VARIABLE p_status VARCHAR2(100);
    whenever sqlerror exit 1;
    ALTER SESSION SET NLS_NUMERIC_CHARACTERS = '. ' ;
    set timing on;
    declare
    begin
    MAP_FACT_INTERVENTO.MAIN(:p_status);
    if :p_status <> 'OK' then
    raise INVALID_NUMBER;
    end if;
    MAP_FACT_INTERVENTO_P2.MAIN(:p_status);
    if :p_status <> 'OK' then
    raise INVALID_NUMBER;
    end if;
    I raise a generec INVALID_NUMBER exception when p_status is <> 'OK', Is there a way to raise the real exception!?!?
    thanks
    Emilio

  • Fail to open mapping debugger in client machine

    I have installed OWB 10.2.0.2 successfully on HP-UX server, and designed some db mappings and workflow on that.
    Meanwhile, I installed OWB 10.2.0.2 as client on Windows XP.
    Currently, I could deploy and execute the mappings and workflow in Control Center from client side, which could approve that the control center service is running OK on client, but when I tried to open mapping debugger, I met the following errors:
    Mapping Debugger Error:
    oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException:
    DBG1032:Cannot connect to location MAPPING_LOCATION:
    java.sql.SQLException:Io exception: The Network Adapter could not establish the connection
    You are not currently connected to a Control Center schema. You must establish a connection
    to a Control Center schema before proceeding with the current debug session. If a connection
    is not established , the debug session will end
    It is strange that I could open the mapping debugger from server side, i.e. in XWindow of HP-UX, without any other modification, like redeploy or restart the control center service.
    Could anyone give me a hand on the issue?

    If your server serves a web page with a link to a specific drive letter then when a client clicks the link it is going to look for a file on thier client machine.
    Do you understand the client server relationship?
    The href attribute of your anchor tag must point to an http or ftp address for a client to remotely access or download that file.
    <%= request.getContextRoot() %> will give you the context root, then you can place the rest of the path. The files must be within the context of the http web server.

  • Mapping Runtime Exception - How to see complete error message?

    Hello,
    we have a mapping runtime exception in SXMB_MONI. However only the first 4 lines are displayed are shown in <SAP:Stack>, the rest of the error message is needed however for trouble shooting.
    Is there any way to display the full error message? Executing a unit-test in ESR is not possible as there are some functions executed which just work during runtime.
    Thank you.

    Resolved: The full error is visible in the trace section of the header.

  • OWB Error while deploying the mapping  Io exception: The Network Adapter co

    Hi,
    We are using OWB 10.2 in our production environment.Actually we are using OWB only for development.
    After deploying each mapping we will create scheduler job for execution of these mappings.
    Recently our staging DBs port has been changed to 1522 from 1521 and i have gone throgh the below steps.
    1) Changed the port in tnsnames.ora file.
    2) In Start Control Centre Servioce ,i have changed the port to 1522 for owbownr user and started the service successfully.
    3) i have run the script UpdateLocation.sql from the OWBOWNR schema and updated the port number.
    4) I tried to run the UpdateControlCenter.sql in owbownr schema and staging schema also,but i am getting an error like below.
    SQL> @UpdateControlCenter.sql
    This sql script sets the host:port:service parameters for a control center
    in the OWB Client Repository.
    The connection type must be host:port:service and cannot be changed
    using this script.
    Enter Control Center Name: DEFAULT_CONTROL_CENTER
    Host: 10.109.65.62
    Port: 1522
    Service Name: DWHOWNR
    Update location properties for DEFAULT_CONTROL_CENTER
    Location Type =
    Control Center DEFAULT_CONTROL_CENTER Found
    Connection Type SQL*NET Connection cannot be updated
    PL/SQL procedure successfully completed.
    5) When i am running the service_doctor.sql on owbownr schema i am getting incorrect port number like below
    SQL> @service_doctor.sql
    There are errors in one or more PL/SQL packages and functions
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is available
    There is a problem accessing the service startup script from the database
    server
    Here is the detailed error message which contains the name of the start
    script file:-
    Service startup file 'null/owb/bin/unix/run_service.sh' is not
    accessible from the database server on instance number 1
    Please verify that the disk containing the file is visible to the
    database server
    Please verify that the database server account has access rights on the
    file
    There is a problem with the repository connection information used to
    start the service
    Here is the detailed error message which contains the connection
    information passed to the service:-
    Cannot connect: user=DWHOWNR host=10.109.65.62 port=1521
    service-name=DWHSTG
    Please verify that this information is accurate
    If this information is correct, then please use the
    'set_repository_password.sql' script to reset the stored password
    PL/SQL procedure successfully completed.
    6) After login to OWB ,i have checked the Location,OWB Repository Location And Control center In OWB connection Explorer,
    and all the connections are successful.
    After this i took Control Centre from Tools and i tried to deploy one mapping.
    And i got some error like below.
    Name
    Type
    Status
    Log
    COPY_OF_ICDMAPFCTAWB
    Description : Runtime User : ICGSTG Started : 2011-10-24 19:32:19.0
    Name
    Action
    Status
    Log
    None
    Error
    Io exception: The Network Adapter could not establish the connection
    None
    Error
    Io exception: The Network Adapter could not establish the connection
    None
    RECOVERY
    RPE-01008: Recovery of this request is in progress.
    Job Summary
    Updated : 2011-10-24 19:32:19.0 Job Final Status : Completed with errors Job Processed Count : 0 Job Error Count : 0 Job Warning Count : 0
    I think the issue is due to the wrong port number .
    Can any one help me to solve this issue??
    Edited by: 892899 on Oct 24, 2011 6:01 AM

    Hi Allan,
    Thanks for your quick reply.
    I have checked in OWB\Locations\Database\Oracle\Location\DB Connectors and also in Control Center\Location\Connectors,seems like there is no connectors created.
    Do you have any other suggestions?
    Also i analyzed the UpdateControlCenter.sql in that
    select value into v_connectiontype from cmpstringpropertyvalue_v where logicalname = 'CMPLocation_ConnectionType' and propertyowner = v_elementid;
    the qry returns 'SQL*NET'.
    Any workaround for these???
    Please reply.

  • Debugger exception on WPF loading

    Hello,
        I am looking for a little help with this.  I have a WPF browser form that I am trying to load.  I run the debugger, but when it gets to the page I get the following:
    An exception of type 'System.Security.SecurityException' occurred in System.Data.dll but was not handled in user code
    Additional information: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    If there is a handler for this exception, the program may be safely continued.
    The call stack for that shows this:
    > HomeInventoryWebForms.exe!HomeInventoryWebForms.frmMoviesAdd.dgMTVAddFormat_Window_Loaded(object sender, System.Windows.RoutedEventArgs e) Line 70 C#
    So here is the code behind the form:
    public frmMoviesAdd()
    InitializeComponent();
    this.Loaded += dgMTVAddFormat_Window_Loaded;
    this.Loaded += dgMTVAddGenre_Window_Loaded;
    private void dgMTVAddFormat_Window_Loaded(object sender, RoutedEventArgs e)
    FormatDataClassesDataContext data = new FormatDataClassesDataContext();
    List<tblFormat> Format = (from FormatName in data.tblFormats select FormatName).ToList();
    dgMTVAddFormat.ItemsSource = Format;
    This is backed up with LINQ to SQL class that was auto generated:
    [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="HomeInventory")]
    public partial class FormatDataClassesDataContext : System.Data.Linq.DataContext
    private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
    #region Extensibility Method Definitions
    partial void OnCreated();
    partial void InserttblFormat(tblFormat instance);
    partial void UpdatetblFormat(tblFormat instance);
    partial void DeletetblFormat(tblFormat instance);
    #endregion
    public FormatDataClassesDataContext() :
    base(global::HomeInventoryWebForms.Properties.Settings.Default.HomeInventoryConnectionString, mappingSource)
    OnCreated();
    public FormatDataClassesDataContext(string connection) :
    base(connection, mappingSource)
    OnCreated();
    public FormatDataClassesDataContext(System.Data.IDbConnection connection) :
    base(connection, mappingSource)
    OnCreated();
    public FormatDataClassesDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
    base(connection, mappingSource)
    OnCreated();
    public FormatDataClassesDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
    base(connection, mappingSource)
    OnCreated();
    public System.Data.Linq.Table<tblFormat> tblFormats
    get
    return this.GetTable<tblFormat>();
    [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.tblFormat")]
    public partial class tblFormat : INotifyPropertyChanging, INotifyPropertyChanged
    private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
    private int _FormatID;
    private string _FormatName;
    #region Extensibility Method Definitions
    partial void OnLoaded();
    partial void OnValidate(System.Data.Linq.ChangeAction action);
    partial void OnCreated();
    partial void OnFormatIDChanging(int value);
    partial void OnFormatIDChanged();
    partial void OnFormatNameChanging(string value);
    partial void OnFormatNameChanged();
    #endregion
    public tblFormat()
    OnCreated();
    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FormatID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
    public int FormatID
    get
    return this._FormatID;
    set
    if ((this._FormatID != value))
    this.OnFormatIDChanging(value);
    this.SendPropertyChanging();
    this._FormatID = value;
    this.SendPropertyChanged("FormatID");
    this.OnFormatIDChanged();
    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FormatName", DbType="VarChar(MAX) NOT NULL", CanBeNull=false)]
    public string FormatName
    get
    return this._FormatName;
    set
    if ((this._FormatName != value))
    this.OnFormatNameChanging(value);
    this.SendPropertyChanging();
    this._FormatName = value;
    this.SendPropertyChanged("FormatName");
    this.OnFormatNameChanged();
    public event PropertyChangingEventHandler PropertyChanging;
    public event PropertyChangedEventHandler PropertyChanged;
    protected virtual void SendPropertyChanging()
    if ((this.PropertyChanging != null))
    this.PropertyChanging(this, emptyChangingEventArgs);
    protected virtual void SendPropertyChanged(String propertyName)
    if ((this.PropertyChanged != null))
    this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    #pragma warning restore 1591
    Now I am trying to bind this all to a checked box datagrid in the WPF with code that looks like this:
    <Label x:Name="lblMTVAddFormat" Style="{StaticResource Label Style}" Content="Formats" Margin="335,74,0,0" Width="97"/>
    <DataGrid x:Name="dgMTVAddFormat" Margin="437,74,10,265" AutoGenerateColumns="False">
    <DataGrid.Columns>
    <DataGridCheckBoxColumn Binding="{Binding fBool}" />
    <DataGridTextColumn Binding="{Binding Path='FormatName'}" />
    </DataGrid.Columns>
    </DataGrid>
    This is all running from a local disk, connected to a remote developer database.  I have no build errors or anything when I go to the debug, hitting continue sends it to another break for the exact same reason.  Which loops out of the program and
    shuts down the debugger.  Could anyone point me in the direction to go since it is throwing this error on debug? 
    Michael R. Mastro II

    The error message should be pretty self-explanatory; your application is not permitted to access to the database due to security reasons.
    You must deploy your application as a full trust application for it to be able to to this. Please refer to the following two links for more information about how to do this:
    How to run WPF – XBAP as Full Trust Application:
    http://blogs.microsoft.co.il/maxim/2008/03/05/how-to-run-wpf-xbap-as-full-trust-application/
    http://stackoverflow.com/questions/5212973/request-for-the-permission-of-type-system-data-sqlclient-sqlclientpermission-s
    And please refer to MSDN for more information about XBAP security considerations:
    https://msdn.microsoft.com/en-us/library/aa970060(v=vs.110).aspx#xbap_security_considerations
    Please also rememember to close your threads by marking helpful posts as answer and then start a new thread if you have new question.

  • OWB execute mapping error

    I am getting the following error in OWB when I try to execute the mapping.
    “RTC-5006: an error occurred during execution. The exception was oracle.wh.service.sdk.runtime.queryException: null
    <Map_Name> has not been deployed.”
    I have deployed the mappings and process flow and the deploy status is "success"
    This was working fine until I purged the deployment data through repository browser yesterday
    We are using OWB repository 10.2.0.1.0 and OWB client 10.2.0.1.31. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Redhat Linux.

    Somehow my 'REP_OWNER' got completely corrupted. I used following steps to resolve the issue.
    1. Create a new repository called REP_OWNER2.
    2. Delete an old repository (REP_OWNER) using ‘Repository_Assistant’ which also deletes the related roles pointing to REP_OWNER from each target schema (ex: STAGE, EDW, DM).
    3. Manually delete all synonyms and WB_RT_VERSION_FLAG table from each target schema pointing to REP_OWNER.
    4. Register all the target users from the Design Center.
    5. First, import all the locations into the new repository (REP_OWNER2) from a backup .MDL file and register all of them. Then import rest of the stuff like database modules, file modules, process flows, pluggable mappings.
    6. Configure all the database and process flow modules to their proper locations.
    7. Deploy and execute.
    Thanks
    Bo

  • How to change NLS_NUMERIC_CHARACTERS parameter for OWB SQLLDR mapping

    Hi,
    How to change the NLS_NUMERIC_CHARACTERS database paramater for my SQLLDR mapping?
    I have an input flat file which has numeric data with ',' as decimal separator means NLS_NUMERIC_CHARACTERS setting as ',.'
    However in my target oracle schema, the decimal separator is '.' which has NLS parameter set as NLS_NUMERIC_CHARACTERS='.,'
    My OWB version is 10.2.
    When I checked the configuration parameters of the sql loader mapping and the flat file operator, There is facility to change language, but not NLS_NUMERIC_CHARACTERS setting.
    I do not want to change the NLS_NUMERIC_CHARACTERS setting in my database as there are many other projects which will get impacted.
    We got a work around as below using external table & premap procedure. But as I have many mappings already developed, It is not possible to use this workaround.
    - I can use premapping procedure with external tables to populate.
    - NLS_NUMERIC_CHARACTERS setting can be changed using procedure for that particular session.
    Is there a way to change NLS_NUMERIC_CHARACTERS setting only for that particular mapping/mapping session?
    Thanks,
    SriGP

    At this moment , this is not possible . You can see metalink note ID 268906.1.
    It says:
    Currently, external tables always use the setting of NLS_NUMERIC_CHARACTERS
    +at the database level.+
    Cheers
    Marisol

  • OWB 10gR2 map returning status = Complete and Result = Null in Process Flow

    Hi,
    I have an OWB process flow which invokes an OWB map. There are 2 outgoing transitions attached to the OWB map. 1st transition is a conditinal one (on SUCCESS) and the 2nd one is unconditional transition.
    I am monitoring the status of process flow execution in Oracle Workflow monitor. After the process flow is initiated, sometimes the OWB map within shows status = complete and result = OK in workflow monitor (in tab - status). But sometimes it shows status = Complete and Result = Null. In this situation the execution is following the unconditional transition path.
    Can anyone tell me what causes the OWB map to return a Result = NULL? Also sometimes I am getting the map returning a Result = Force (with the same status = Complete).
    The configuration that I am working with is as below ---
    OWB client version : 10.2.0.1.31
    OWB repository version : 10.2.0.1.0
    Oracle Workflow Version : 2.6.4.0.0
    Database version : 10g Enterprise edition release 10.2.0.1.0
    Regards,
    Swagata

    Hi Manohar,
    1. You need to install Oracle HTTP server in a separate Oracle home.
    2.Look for the dads.conf file in the installation. Edit the file, copy the sample code and paste it below and edit the pasted part as under ----
    <Location /pls/<SID>>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseConnectString <server name>:<port>:<SID >
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage wfa_html.home
    PlsqlNLSLanguage "AMERICAN_AMERICA.WE8ISO8859P1"
    </Location>
    3. STOP and START OPMN (Oracle Process Manager & Notification Server)
    4. Use the URL in your internet browser like --- <HTTP server URL>/pls/<SID>/wfa_html.home
    5. When prompted for user id and password, give the schema user id and password where the workflow engine is installed.
    Hope this helps,
    Swagata

  • Error  in PI mapping "nested exception is: java.lang.OutOfMemoryError "

    Hi Experts ,
    I encounter an error in the PI mapping while calling a Java Mapping (Mercator Map)
    Error Message as ::-
    java.lang.RuntimeException: RemoteException in setMercGeneral: Error occurred in server thread; nested exception is: java.lang.OutOfMemoryError at com.philips.xi.mercator.MercatorCall.execute(MercatorCall.java:90) at
    Could anyone suggest , how we can overcome  this error message
    I have  also tried  to restart the  RMI Server , but that was not not helpful.
    Regards,
    Shweta

    Sweta,
    Is this a java mapping or Graphical, If Java, you should not run into this issue as you dont load the nested XSD`s.
    Also the error message indicates outofMemory in mercator side when posting your Large message.
    java.lang.OutOfMemoryError at com.philips.xi.mercator.MercatorCall.execute(MercatorCall.java:90) at
    Regards
    Ravi Raman
    Edited by: Ravi Raman on Jun 30, 2010 4:26 PM

  • Problem Experts OWB 10gR2 - Mapping with OMB - Give a name to the flat file

    I'm trying to create a mapping in OWB by using the Experts (OMB),
    where the data source is a database table and the target is a flat file (to transform a table to a flat file).
    The tasks of my Experts :
    This task create a mapping, and add a existing table on it.
         OMBCC '$thepath'
         catch {OMBDROP MAPPING 'M1'}
         OMBCREATE MAPPING 'M1'
         OMBALTER MAPPING 'M1' \
         ADD $INITIAL_LAUNCH_CONTEXT_TYPE OPERATOR '$thetable' \
         BOUND TO $INITIAL_LAUNCH_CONTEXT_TYPE \ '$INITIAL_LAUNCH_CONTEXT' \
    This task change the context and create a flat file
         OMBCC '/PRJ_LABO_PHARMA/SRC_FILE'
         catch {OMBDROP FLAT_FILE 'NEW_FILE'}
         OMBCREATE FLAT_FILE 'NEW_FILE' \
         SET PROPERTIES (DATA_FILE_NAME) VALUES('fichier_genere.txt')
    This task add the flat file to the mapping, and create a connection between the source (table) and the target (flat file)
         OMBCC '/PRJ_LABO_PHARMA/MOD_SRC_LABO'
         OMBALTER MAPPING 'M1' \
         ADD FLAT_FILE OPERATOR 'NEW_FILE'\
         BOUND TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         OMBALTER MAPPING 'M1' \
         ADD CONNECTION FROM GROUP 'INOUTGRP1' OF OPERATOR '$thetable' \
         TO GROUP 'NEW_FILE' OF OPERATOR 'NEW_FILE' COPY ALL
    This task update the flat file structure
         OMBRECONCILE MAPPING 'M1' OPERATOR 'NEW_FILE' \
         TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')
    Then I have a task which execute this mapping.
    Everything is good, but during the execution I have a error VLD-2357 : The target file's name is not indicated for the file NEW_FILE.
    I don't know how to give a name to the flat file in OMB.
    Help me please.
    Best regards
    Samy

    Just like if you built this in the UI where you would have to configure the flat file operator and define a target data file name and possibly the location these properties should be set in scripting.
    Set the property TARGET_DATA_FILE_NAME to the name of the data file.
    Something like....
    OMBALTER MAPPING 'M1' \
    MODIFY FLAT_FILE OPERATOR 'NEW_FILE' SET PROPERTIES (TARGET_DATA_FILE_NAME) VALUES ('my_datafile.csv')
    Cheers
    David

  • Map's exception handling

    Does anyone have an idea why Map's contract for the get method says that when there exists no mapping for the given key, a null is returned (sentinel value) as opposed to an exception being thrown.
    This causes me to call containsKey to determine if the returned null is an error value and a mapped one.

    Now, the difference between is
    in constant factor rather than algorithmic complexity,
    but some people get rather worried about efficiency.I understand that in general I shouldn't directly count the number of operations of an algorithm, but instead look at its overall time complexity. If an extra operation contributing to the constant factor makes the API easier to use then so be it. However, I am often tempted, believing that they will make a major difference, to perform some "optimizations".
    It would't hurt for Collections.binarySearch, for example, to also return a pointer (via ListIterator) so that linked-list based Lists could use it to insert an element into a sorted List. As it is, two independent traversals have to be made (finding the index and then traversing to it). Complexity for both ways is the same but the one that returns a pointer seems more natural to me. Perhaps I'm trying to perform two things in one method.
    public V get(K key)
    Object get = super.get(key);
    return get == null ? (super.containsKey(key) ?
    ) ? null : NO_MAPPING) : get;
    }That's what I thought I'd do but then i remembered generics. I'm not to keen on them yet, but assuming NO_MAPPING is defined as above and V is some subtype of Object, the above code won't compile, right?
    The reason why I ask all this is that I am indeed writing a wrapper of HashMap (which does not implement Map) and are looking for an elegant way to handle the not-found error inside my get function.

  • OWB ETL mapping problem

    System description
    1. Oracle BI Standard Edition One (OWB 10.2 + Oracle Std. Ed. One 10.1)
    2. Windows Server 2003 R2
    3. Oracle 9.2 (External server)
    Problem description
    We have a database Oracle 9.2 as a source database module in our Oracle Warehouse Builder repository.
    Also we have as a target database, the Oracle Standard Ed. One database.
    We have defined a ETL mapping on our repository in which we have mapped some columns from a table of the
    source module (oracle 9.2) to a table on our repository. One of these columns has the type VARCHAR2(60).
    The same type is defined on the target table in our target module in the repository.
    After validating and deploying the mapping, we obtain a critical error when we are trying to execute the
    mapping, the problem is that the length of the VARCHAR2(60) mapping on the source database is 60 bytes
    but when the OWB tries to transfer the data, it thinks that is 60 characters and has only 60 bytes of space,
    so the 60 characters do not fit in the target column.
    Possible solution
    We have found the parameter NLS_LENGTH_SEMANTICS which allows you to specify the length of a column
    datatype in terms of CHARacters rather than in terms of BYTEs.
    Question
    Is it possible to alter the parameter NLS_LENGTH_SEMANTICS or there is another workaround to solve this
    issue without changing the DDL on the target module or increasing the target data type to 120 bytes?
    Thanks in advance

    Hello and thanks for the answer, my problem is that I don't want neither truncate my information nor increase the column map length in order to read the whole information. I would like to have a mapping and forget that maybe the information does not fit... But because the source database and target database are not the same, they have different settings, the problem is still there.
    Any other solution that not imply losing information?
    Thanks again.

  • Expand Operator generates code errors in OWB 10g2 map

    I suspect that there are few people that actually use the Expand Operator in OWB from the lack of threads in this forum; however I'll give this a shot.
    I have a map function that returns a user-defined object type which I then use an Expand Operator to break into its component data parts. The function works Ok. The map validates Ok. The code generates Ok. However, on deployment the map generates errors:
    ORA-06550: line 768, column 97:
    PLS-00103: Encountered the symbol "." when expecting one of the following:
    * & = - + < / > at in is mod remainder not rem then
    <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LIKE4_ LIKEC_ between overlaps || multiset year DAY_ member
    SUBMULTISET_
    The symbol "* was inserted before "." to continue.
    Compiling the package body in SQL developer, I can spot the exact lines that produce this error, so I know it's coming from the Expand Operator's generated code. In every case, the Expand Operator is producing lines like this (code generalized):
    (("[function_name]"("[map_name]"."[map_input_parameter]"))).BYTES_COUNT
    (("[function_name]"("[map_name]"."[map_input_parameter]"))).ROWS_INSERTED
    BYTES_COUNT and ROWS_INSERTED are data components of the user_defined object type returned by the function.
    The problem is the # of parentheses surrounding the function name and the returning component being outside these parentheses. If I move the returning component in between the first and second closing parentheses, the code will compile:
    (("[function_name]"("[map_name]"."[map_input_parameter]"*).BYTES_COUNT))*
    (("[function_name]"("[map_name]"."[map_input_parameter]"*).ROWS_INSERTED))*
    IMO, this is an OWB bug !! The Expand Operator can't be used without editing the code after deployment.

    Unfortunately breaking apart the user-defined type in an Expression Operator produces the same error message and virtually the same code problem:
    (([function_name]("[map_name]"."[input_parameter]")).BYTES_COUNT/* EXPRESSION.OUTGRP1.BYTES_COUNT */)
    As in the Expand Operator the line above compiles when the data type component ("BYTES_COUNT") is manually moved between the first and second closing parentheses:
    (([function_name]("[map_name]"."[input_parameter]").BYTES_COUNT/* EXPRESSION.OUTGRP1.BYTES_COUNT */) )

  • OWB 11gR2 Import Java exception

    Hi
    I am trying to import a table definition into OWB design center. The version of OWB is
    About
    Oracle Warehouse Builder 11.2.0.1
    OWB Tahoe Development Version 11.2.0.1
    Build OWB_TAHOELC_LINUX_100121.2200.1.0.20
    Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    IDE Version: 11.1.1.0.30.51.07
    Product ID: oracle.owb
    Product Version: 11.2
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.5.0_17
    Oracle IDE     11.2.0.1.0
    I get a java exception error (wish I could post the snapshot here) everytime I try to import a table from the database.
    Missing class: oracle.wh.repos.impl.relational.TableSelctor
    *     Dependent class: oracle.wh.repos.impl.metaModel.ModelService*
    *     Loader: main:11.0*
    *     Code-Source: /C:/product/11.2.0/dbhome_1/owb/lib/int/reposimpl.jar*
    *     Configuration: system property C:\product\11.2.0\dbhome_1\owb\lib\int\reposimpl.jar*
    This load was initiated at main:11.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    *     Missing class: oracle.wh.repos.impl.relational.TableSelctor*
    *     Dependent class: oracle.wh.repos.impl.metaModel.ModelService*
    *     Loader: main:11.0*
    *     Code-Source: /C:/product/11.2.0/dbhome_1/owb/lib/int/reposimpl.jar*
    *     Configuration: system property C:\product\11.2.0\dbhome_1\owb\lib\int\reposimpl.jar*
    This load was initiated at main:11.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Class Name: oracle.wh.ui.integrator.common.OracleImportEntityAlgorithm.
    Method Name: importProperties(WBEntity, SynonymResolver, IImportOption, int).
    *     at oracle.wh.ui.integrator.common.OracleImportEntityAlgorithm.importProperties(OracleImportEntityAlgorithm.java:1304)*
    *     at oracle.wh.ui.integrator.common.OracleImportEntityAlgorithm.importProperties(OracleImportEntityAlgorithm.java:1185)*
    *     at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importTable(ImportEntityAlgorithm.java:1220)*
    *     at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.dispatchElement(ImportEntityAlgorithm.java:561)*
    *     at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importElement(ImportEntityAlgorithm.java:386)*
    *     at oracle.wh.ui.integrator.sdk.EntityAccessor.importElement(EntityAccessor.java:78)*
    *     at oracle.wh.ui.integrator.common.ImportService.importElement(ImportService.java:1145)*
    *     at oracle.wh.ui.integrator.common.wizards.ImportElementTransaction.run(ImportWizardDefinition.java:704)*
    I have tried all options available(unchecking the advanced import options to only import table defintions etc) but the error stays.
    Anyone encountered something like this before?
    Birdy

    Hi All,
    I have install OWB *11.2.0.1* client on my XP and Server is running on 11.2.0.2 on Windows 8 OS.
    I created repository, workspace and connection is successfull with Oracle DB 11.2.0.2. When I am trying to import object in module it shows error. Can you please suggest me where I am wrong....
    Missing class: oracle.wh.repos.impl.relational.TableSelctor
    * Dependent class: oracle.wh.repos.impl.metaModel.ModelService*
    * Loader: main:11.0*
    * Code-Source: /C:/product/11.2.0/dbhome_1/owb/lib/int/reposimpl.jar*
    * Configuration: system property C:\product\11.2.0\dbhome_1\owb\lib\int\reposimpl.jar*
    This load was initiated at main:11.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    * Missing class: oracle.wh.repos.impl.relational.TableSelctor*
    * Dependent class: oracle.wh.repos.impl.metaModel.ModelService*
    * Loader: main:11.0*
    * Code-Source: /C:/product/11.2.0/dbhome_1/owb/lib/int/reposimpl.jar*
    * Configuration: system property C:\product\11.2.0\dbhome_1\owb\lib\int\reposimpl.jar*
    This load was initiated at main:11.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    Class Name: oracle.wh.ui.integrator.common.OracleImportEntityAlgorithm.
    Method Name: importProperties(WBEntity, SynonymResolver, IImportOption, int).
    * at oracle.wh.ui.integrator.common.OracleImportEntityAlgorithm.importProperties(OracleImportEntityAlgorithm.java:1304)*
    * at oracle.wh.ui.integrator.common.OracleImportEntityAlgorithm.importProperties(OracleImportEntityAlgorithm.java:1185)*
    * at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importTable(ImportEntityAlgorithm.java:1220)*
    * at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.dispatchElement(ImportEntityAlgorithm.java:561)*
    * at oracle.wh.ui.integrator.common.ImportEntityAlgorithm.importElement(ImportEntityAlgorithm.java:386)*
    * at oracle.wh.ui.integrator.sdk.EntityAccessor.importElement(EntityAccessor.java:78)*
    * at oracle.wh.ui.integrator.common.ImportService.importElement(ImportService.java:1145)*
    * at oracle.wh.ui.integrator.common.wizards.ImportElementTransaction.run(ImportWizardDefinition.java:704)*
    -Dinesh

Maybe you are looking for