ORA-00923 When deploying mapping

Hi all,
I have a project which contains a mapping with an expression. This expression uses a function, which declares a cursor, in order to fetch values from a staging table, as follows:
--initialize variables here
P_MSISDN NUMBER;
V_ROW MAP_PSEUDO_NUMBERS_STG%ROWTYPE;
CURSOR C_MAP_PSEUDO_NUMBERS IS
SELECT * FROM MAP_PSEUDO_NUMBERS_STG;
-- main body
BEGIN
OPEN C_MAP_PSEUDO_NUMBERS;
IF C_MAP_PSEUDO_NUMBERS%ISOPEN THEN
LOOP
FETCH C_MAP_PSEUDO_NUMBERS INTO V_ROW;
EXIT WHEN C_MAP_PSEUDO_NUMBERS%NOTFOUND;
IF (INSTR(TO_CHAR(P_MSISDN), V_ROW.PSEUDO_NUMBER_ID) = 1) THEN
RETURN 4; -- Pseudo Number
END IF;
END LOOP;
RETURN NULL;
END IF;
EXCEPTION
WHEN OTHERS THEN
NULL; -- enter any exception code here
RETURN NULL;
END;
The mapping's expression operator uses this function as follows:
IF "PK_PRJ_LOAD"."LOAD_ALL_PSEUDO_NUMBERS"(INGRP1.MSISDN) <> NULL THEN
"PK_PRJ_LOAD"."LOAD_ALL_PSEUDO_NUMBERS"(INGRP1.MSISDN)
ELSE
CASE
WHEN (INGRP1.PAYMENTTYPE IS NULL) THEN 0 -- Unknown
WHEN (INGRP1.PAYMENTTYPE='C') THEN 1 -- Postpaid
WHEN (INGRP1.PAYMENTTYPE='P') THEN 2 -- Prepaid
WHEN (INGRP1.PAYMENTTYPE='H') THEN 3 -- Hybrid
ELSE 0 -- Unknown
END
Where "PK_PRJ_LOAD"."LOAD_ALL_PSEUDO_NUMBERS"(INGRP1.MSISDN) is the function mentioned above.
The sql query is fine, and when I run the script in SQL developer, it runs ok. However, when I try to deploy the mapping that uses the function, I get this error:
PL/SQL: ORA-00923: FROM keyword not found where expected
I wonder whether I can use cursors in OWB functions, or else, where the problem is. Any ideas?
Thanks in advance
G.

I think problem is with
this part
IF "PK_PRJ_LOAD"."LOAD_ALL_PSEUDO_NUMBERS"(INGRP1.MSISDN) NULL THEN
"PK_PRJ_LOAD"."LOAD_ALL_PSEUDO_NUMBERS"(INGRP1.MSISDN)
ELSE
CASE
WHEN (INGRP1.PAYMENTTYPE IS NULL) THEN 0 -- Unknown
WHEN (INGRP1.PAYMENTTYPE='C') THEN 1 -- Postpaid
WHEN (INGRP1.PAYMENTTYPE='P') THEN 2 -- Prepaid
WHEN (INGRP1.PAYMENTTYPE='H') THEN 3 -- Hybrid
ELSE 0 -- Unknown
ENDinstead of "if" (i never tried "if" in expression) try to use CASE avd first try with simple one.. like
Case when "PK_PRJ_LOAD"."LOAD_ALL_PSEUDO_NUMBERS"(INGRP1.MSISDN) IS NULL  THEN
1
else  2
endand check if it work....
Cheers
Nawneet
Edited by: Nawneet on Oct 13, 2009 7:56 AM

Similar Messages

  • Ora-00604 and ora-00001 when deploying mapping

    Hi,
    I have a problem when I want to deploy a mapping. I get the following errors: ora-00604 'error occurred at recursive SQL level 1' and ora-00001 'unique constraint violated (SYS.I_SOURCE1)'.
    I'm using owb 11.1.0.7.0.
    Can anybody help me to solve this?

    user9033344 wrote:
    Hi,
    I have a problem when I want to deploy a mapping. I get the following errors: ora-00604 'error occurred at recursive SQL level 1' and ora-00001 'unique constraint violated (SYS.I_SOURCE1)'.
    I'm using owb 11.1.0.7.0.
    Can anybody help me to solve this?Oracle Support.

  • ORA-01017 when deploying cube

    Hi all,
    I'm experiencing problems when deploying the SALES cube in the SALES_WH shemas of the demo example. The source is XSALES schemas, where I have imported data from xsales.dmp file. When deploying dimensions no problem occurs. But when deploying the SALES cube the following error's are raised:
    Description :
    Runtime User : REP_OWNER
    Started : 2008-07-30 16:20:15.0
    ORA-01017: invalid username/password; logon denied
    RPE-01008: Recovery of this request is in progress.
    I'm using OWB 11g.
    Does anyone know what could be going wrong? Or is there anyone experiencing the same problem?
    Thx! in advantage!

    Hi,
    Check if the user is registered in owb repository as this seems like a privilage issue. you can register the user through repository assistant.
    Regards

  • JAVA Error Messages Thrown When Deploying Map Viewer

    Hello,
    Thank you for taking the time to assist with this problem.
    I am fairly new to java, and so I have little understanding of what certain error messages mean after I deploy Map Viewer through oc4j.
    I have poked around on the Web enough to have a feeling that the application is searching for certain necessary classes, and that it can't fully deploy without these classes. If this is true, where are these classes located and/or how do I point to them so that the application can find them?
    There are one group of errors thrown when attempting to deploy Map Viewer, and then another set when attempting to create a "dynamic data source" from the Map Viewer admin page.
    Following are the error messages:
    (happens upon attempted deployment:)
    08/06/12 11:08:22 java.lang.NoClassDefFoundError
    08/06/12 11:08:22 at java.lang.Class.forName0(Native Method)
    08/06/12 11:08:22 at java.lang.Class.forName(Class.java:164)
    08/06/12 11:08:22 at java.awt.Toolkit$2.run(Toolkit.java:821)
    08/06/12 11:08:22 at java.security.AccessController.doPrivileged(Native Method)
    08/06/12 11:08:22 at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    08/06/12 11:08:22 at oracle.sdovis.GlobalVisContext.<clinit>(GlobalVisContext.java:48)
    08/06/12 11:08:22 at oracle.sdovis.MapMaker.setUGP(MapMaker.java:2334)
    08/06/12 11:08:22 at
    oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1082)
    08/06/12 11:08:22 at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:492)
    08/06/12 11:08:22 at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:274)
    08/06/12 11:08:22 at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:125)
    08/06/12 11:08:22 at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:109)
    08/06/12 11:08:22 at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:212)
    08/06/12 11:08:22 at java.lang.Thread.run(Thread.java:595)
    (happens after I attempt to create a "dynamic data source":)
    08/06/12 11:13:23 java.lang.NullPointerException
    08/06/12 11:13:23 at oracle.lbs.mapcache.config.ConfigLoader.loadDBConfigs(ConfigLoader.java:239)
    08/06/12 11:13:23 at oracle.lbs.mapcache.config.ConfigLoader.loadCacheConfigs(ConfigLoader.java:84)
    08/06/12 11:13:23 at oracle.lbs.mapcache.MapCacheServer.<init>(MapCacheServer.java:83)
    08/06/12 11:13:23 at oracle.lbs.mapcache.MCSServlet$ColdStart.run(MCSServlet.java:87)
    08/06/12 11:13:23 at java.lang.Thread.run(Thread.java:595)
    08/06/12 11:13:23 java.lang.NullPointerException
    08/06/12 11:13:23 at oracle.lbs.foi.FOIServer.<init>(FOIServer.java:163)
    08/06/12 11:13:23 at oracle.lbs.foi.FOIServlet$ColdStart.run(FOIServlet.java:127)
    08/06/12 11:13:23 at java.lang.Thread.run(Thread.java:595)
    Also, when the second series of error messages are thrown, a red error message displays on the admin html page, which reads, "MapViewer server is still starting up." It doesn't matter how long I wait, it never does start up, and of course the error messages tell something is wrong.
    Do I need to modify a file somewhere to tell Map Viewer where to look for these classes?
    By the way I am running on a Sun server with Solaris 9
    Thank you much,
    John
    Message was edited by: John
    user641525

    For future reference,
    The problem was finally solved. Someone suggested to me to make sure I was running jdk 1.5.0 by typing "java -version" It turns out I thought I was running 1.5.0, but in actuality I was running 1.4.2.
    The reason this was confusing was because I was pointing to the newer version when exporting the JAVA_HOME env. variable, by typing "export JAVA_HOME=[full path to jdk folder].
    But the trick was to append the full paths for jdk/bin and jdk/jre/bin to the front of the PATH variable. At first I appened the paths to the end of the PATH variable, and nothing happened.
    Basically, the mapviewer installation needs to look at the bin folders for the 1.5.0 version of the jdk.
    You can always test this by typing "java -version." If your PATH variable is correct, then you'll see information on the most recent jdk installation instead of an older version.
    John

  • Need help on this error when deploy  mapping

    Hello OWB gurus,
    Our OWB Design and Runtime repositories were migrated from one server to another. THe listener port also changed as well.
    When deploying existing mappings, the user now gets the following error:
    Io exception: The Network Adapter could not establish the connection
    The runtime repository is updated with the new host and port number.
    The services are available also. What am I missing?
    Does anyone have experience with the error:
    Io exception: The Network Adapter could not establish the connection
    SQL> @start_service
    Available
    PL/SQL procedure successfully completed.
    SQL> @service_doctor
    All PL/SQL packages and functions are valid
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is available
    Service script is accessible to the database server
    Connection information stored within the repository is correct
    PL/SQL procedure successfully completed.
    Thanks and your help is greatly appreciated.

    Hi
    Please provide detailed information on
    1) what you want to do
    2) how do you do it (code examples)
    3) the error message
    After that we can try to help you,
    Peter

  • ORA-04028 error when deploying mapping

    The scenario is:
    I have this simple mapping between Table01@db01 and Table02@db02; the validation is success. But, when i try to deploy the mapping it errors out "PL/SQL: ORA-04028: cannot generate diana for object"
    Have anybody encountered this issue before? any idea please?
    ~Prabha
    Edited by: Prabha_OBI on Oct 5, 2008 12:48 PM

    I got following errors during Designer reposityry install:
    ORA-04028: cannot generate diana for object REPOS_DW.RM_PROPERTIES
    RME-02124: Failed to execute SQL statement: alter package JR_RM_DEL compile body
    I first recompiled the view REPOS_DW.RM_PROPERTIES
    then compiled the package REPOS_DW.JR_RM_DEL
    Thanks,

  • ORA-29546: when deploying SQLJ stored procedures

    Can anyone please help me? I consistently get this error when
    trying to deploy my java stored procedures that use SQLJ:
    ORA-29546: badly formed resource: Error:
    java.io.InvalidClassException: [Ljava.lang.Object;; Serialization
    incompatible with Externalization
    Adrian
    null                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    The server prcess failed to allocate more memory for large objects ( in Oldspace).
    If you Google ORA-04030, you will see several recommendations to work around this.
    The Java VM in the database already has HttpClient, i don't know why you are loading the Apache HttpClient but this might not be the surce of the problem.
    Kuassi http://db360.blogspot.com

  • PLS-00201 when deploying mapping after 9204 upgrade

    We applied the 9204 patch to our owb environment on friday. we are now unable to deploy anything. the error message we are getting is:
    PLS-00201-identifier 'WB_RT_MAPAUDIT' must be declared
    anyone have any suggestions?

    Hi,
    When you went through the installation of the patch, did you follow all post installation steps in order to migrate the runtime environment?
    Did you install a new runtime repository? Have you made sure to update the runtime repository connection to connect to the new runtime repository connection? It sounds like it could be you are still looking at the old runtime repository, whereas all schemas (access schema and target schemas) have been relinked to the new runtime repository schema.
    This would also explain the issue you have at execution time.
    Hope this helps,
    Mark.

  • Error while deploy mapping ora-06550 table or view does not exist

    Hi everyone,
    i have a target source 'U_BCK' that cointains some Oracle table.
    I have also created a target schema 'BCK_OWNER' where i create some dimensions and cubes with mappings.
    My mappings connect some table from U_BCK with dimension or cube from BCK_OWNER.
    My repository owner is called 'rep_owner' and i used this user to create every metadata.
    Now i'm trying to deploy, and i don't have any problem until deploying mappings. When i try to deploy mappings i get some errors like ora-06550,ora-00942 table or view does not exist and statement ignored.
    Please help me and sorry for my english...
    Thanks,
    Alex.

    The mapping, that drives the data from one table to another is deployed to the database as a PL/SQL package. When deploying your mapping fails, it most often means that the resulting PL/SQL package doesn't compile in the database.
    Using Oracle SQL Developer (or Toad, SQL Navigator or any other tool) connect to the schema on the database where you have deployed the mapping. Open the pl/sql package and compile it. That should show you the place where the compilation fails, and give you an idea as to what table it can not find. Otherwise, in SQLPLUS, you can simply give the following command:
    ALTER PACKAGE THE_PACKAGE_NAME_GOES_HERE compile body;
    show errors;
    As the database user who owns the source tables, make sure to issue a GRANT command for each of the source tables, granting SELECT access to the database user who owns the mapping:
    grant select on TABLENAME to TARGETSCHEMA.
    hope this helps
    Borkur

  • Error when deploying a map

    hello i have the following error when deploying a map in a local database, the mapping is a simple transfert of data between two table,
    ORA-06550: line 0, column 0:
    ORA-04052: erreurs lors de la consultation de l'objet distant [email protected]@KCDBDEV
    ORA-00604: une erreur s'est produite au niveau SQL récursif 1
    ORA-01882: région de fuseau horaire introuvable
    ORA-02063: pré
    any help please
    thanks,
    tarek

    Hello thank u for helping, i have exactly the same problème in Error executing a query using a DB-Link
    but i am not inderstanding the solution, i found the same probleme in metalink, and the solution posted is:
    1. Create an errorstack of the ORA-1882 to see the ALTER SESSION SET TIME_ZONE statement that is causing the ORA-1882 during deployment. To create this errorstack, follow step 1 to 4 below:
    1. Just before you reproduce the error, open a SQL*Plus session with user SYSTEM.
    SQL> alter system set events '1882 trace name ERRORSTACK level 3'
    2. Deploy the mapping to reproduce the ORA-1882
    3. Disable the system event
    SQL> alter system set events '1882 trace name errorstack off';
    4. Take a look at the errorstack (located in the udump directory). Suppose the following statement is in there:
    ALTER SESSION SET TIME_ZONE = 'GMT+02:00'
    2. Modify the run_service.sh(.bat) file as follow:
    * For UNIX:
    Modify owb_server_home/owb/bin/unix/run_service.sh as follows:
    Add the parameter -Duser.timezone="+02:00" to the line where java is started (last line of run_service.sh)
    $JAVAPATH/bin/java -Xmx768M -Djava.awt.headless=true -DORACLE_HOME.....
    e.g:
    $JAVAPATH/bin/java -Xmx768M -Duser.timezone="+02:00" -Djava.awt.headless=true -DORACLE_HOME
    * For Windows:`
    Modify owb_server_home\owb\bin\win32\run_service.bat as follows:
    Add the parameter -Duser.timezone="+02:00" to the line where java is started
    %JAVAPATH%\jre\bin\javaw.exe %JVM_OPTIONS%
    e.g.:
    %JAVAPATH%\jre\bin\javaw.exe -Duser.timezone="+02:00" %JVM_OPTIONS%
    3. Save the file and re-start the Runtime Service using stop_service.sql/start_service.sql.
    but in creating the errorstack of the ORA-1882 i not found the ALTER SESSION SET TIME_ZONE
    and i Modify the run_service i fixed -Duser.timezone="+01:00" cause the time zone here is Europe/Paris but there is no changes.
    the db link is from Oracle 10.2.0.2.0 to 9.2.0.1.0. and owb 10g R2
    other solution?
    thanks,
    tarek

  • ORA-00439 error when deploying a simple dimension

    Hello,
    I am using Oracle Warehouse Builder 11g SE to try to implement a simple data warehouse.
    I have created the dimensions and cube using ROLAP, defined simple mappings and added process flow and was now trying to deploy the objects.
    When i try to deploy a dimension using the Control Centre it fails with the error message:
    LOCATION_DIM Create Error ORA-00439: feature not enabled: Materialized view rewrite
    I have been looking at the ddl script created for the dimension and can see nothing which indicates that materialized view or query rewrite should be used.
    The sql script is shown here:
    WHENEVER SQLERROR EXIT FAILURE;
    CREATE OR REPLACE VIEW "RDW".LOCATION_DIM_v AS
    SELECT *
    FROM RDW.LOCATION_DIM
    WHERE DIMENSION_KEY >= 0
    CREATE DIMENSION LOCATION_DIM
    LEVEL "CITY" IS "RDW"."LOCATION_DIM"."CITY_ID"
    LEVEL "STORE" IS "RDW"."LOCATION_DIM"."STORE_ID"
    HIERARCHY "STANDARD" (
    "STORE" CHILD OF
    "CITY"
    ATTRIBUTE "CITY" DETERMINES ( "RDW"."LOCATION_DIM"."CITY_CITYID", "RDW"."LOCATION_DIM"."CITY_CITYNAME" )
    ATTRIBUTE "STORE" DETERMINES ( "RDW"."LOCATION_DIM"."STOREID", "RDW"."LOCATION_DIM"."STORE_CITYID", "RDW"."LOCATION_DIM"."STORENAME", "RDW"."LOCATION_DIM"."STORE_CITYNAME" )
    am I missing something here?
    Edited by: owb_user on Feb 9, 2010 9:03 AM

    Hi,
    it seems like DB init parameter "query_rewrite_enabled" is set to its default: FALSE. Check out this article on the same on how to avoid this error:
    Note.1019100.102     ORA-00439 When Trying To Create Materialized View With Enable Query Rewrite
    Regards

  • RTC-5161 Error when deploying a MAP

    Hello,
    I recently upgraded OWB 11.1.0.7 to 11.2.0.3 and within the Design Center, I receive error RTC-5161 when deploying a MAPPING. My process flows and all other objects deploy successfully but the MAPPING pops up the RTC-5161 error
    Here is how I went about my upgrade, can anyone tell me if I am missing something?
    -Installed OWB 11.2.0.3 on a new server, configured Workspaces, workflow workspace user
    -Exported an OWB 11.1.0.7 project MDL and imported into the 11.2.0.3 and the Design Center automatically UPGRADED my project.
    -Registered all locations
    -Revalidated all locations within the ROPOSITORY BROWSER(the statuses were previously showing UNKNOWN, now they are all valid)
    I need help PLEASE, if anyone could point me to something I am overlooking....
    AGAIN, ONLY the MAPPING will not deploy, but the Process Flows generates and deploys with no issues.
    I tried running the DEPLOYMENT of the Project from the command line(OMBPLUS), here is the error generated:
    Processing module LOCATIONS ...
    Deploying module name: FFL_DL_BMFENT_FFM_BMFENT
    module name is FFL_DL_BMFENT_FFM_BMFENT
    Deploying module name: DBL_EFDS_DL_BMFENT_DBM_TGT_EFD
    module name is DBL_EFDS_DL_BMFENT_DBM_TGT_EFD
    Deploying ... CONNECTOR : DBL_EFDS_DL_BMFENT_DBM_TGT_EFD/CONN_FFL_DL_BMFENT_FFM_BMFENT
    Error deploy drop action plan for DBL_EFDS_DL_BMFENT_DBM_TGT_EFD/CONN_FFL_DL_BMFENT_FFM_BMFENT, err msg= "OMB05602: An error occurred during deployment: DeploymentContextImpl.generate WBGeneratedObject[] is null or length 0 for CONN_FFL_DL_BMFENT_FFM_BMFENT"
    Error deploy LOCATIONS : CONNECTOR

    Fixing this actually entailed going through the repository browser and checking the first optional feature during the configuration of the workspaces etc
    thanks for all your help!
    Now I have another issue with synchronization:
    I noticed that doing an inbound synching of my staging table using replace option and by object name, the preview window that pops up shows my objects to be updated not matching one to one.
    Has anyone ran into something like this?
    The synchronization preview shows source to target columns NOT MATCHING one to one.....

  • FRM-40735 with ORA-105100 when calling JavaBean in Forms6i deployed to Web

    We are encountering an ORA_JAVA error during runtime in a new simple form when trying to call an imported JavaBean in Forms 6i.
    It works when in the Forms6i Builder Run Form Client/Server mode on Linux/Motif.
    The specific error is: FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-105100
    Our form incorporates the following simple example from Metalink Note:131964.1
    How to Create a Simple Java program with the ORA_JAVA Package of Forms?
    We have confirmed that we are downloading our custom JavaDev6i.jar file in the JInitiator console during runtime when deployed on the Forms Server using sockets.
    We have turned on Forms Runtime Diagnostics (FRD), which showed the following
    ORA_JAVA.LAST_ERROR: 121
    when attempting to execute the call to the JavaBean.
    I also ran strace on the forms processes:
    strace -o/tmp/f60srvm_trc.txt -afeT -p 21192 &
    strace -o/tmp/f60webmx_trc.txt -afeT -p 9172 &
    I found libjvm.so could not be found in the LD_LIBRARY_PATH,
    so I changed /d01/oracle/visappl/admin/adovars.env from:
    LD_LIBRARY_PATH=$ORACLE_HOME/network/jre11/lib/i686/native_threads:$ORACLE_HOME/network/jre11/lib/linux/native_threads:${LD_LIBRARY_PATH:=}
    to
    JDK131_HOME=/usr/java/jdk1.3.1_20
    export JDK131_HOME
    LD_LIBRARY_PATH=$JDK131_HOME/lib/i386:$JDK131_HOME/jre/lib/i386:$JDK131_HOME/jre/lib/i386/classic:$JDK131_HOME/jre/lib/i386/native_threads:${LD_LIBRARY_PATH:=}
    This solved that library problem, but it did not fix the original problem of not being able to run a JavaBean in a deployed Form.
    I've provided our environment below from txkMPcheck.sh, but please let me know what else you need to help us with this.
    Technology Validation Utility report for 11.5.9 Maintenance Pack (some info deleted to fit in forum 3.5K limit)
    Script : ./txkMPcheck.sh (115.20)
    Context : /d01/oracle/visappl/admin/VIS_hpbox.xml
    HTTP Server Node (hpbox):
    [PASS] Oracle JInitiator version from the Applications Context file is: 1.1.8.16
    [PASS] JDK version on HTTP server node is: 1.3.1_20
    [PASS] iAS version from the Applications Context file is: ias1022
    [PASS] iAS patchset version from the OUI inventory is: 1.3.19.0.0g
    [PASS] PERL is included in the PATH variable from the APPLSYS.env file.
    [PASS] DISPLAY variable from the Applications Context file is: :0.0
    Forms Server Node (hpbox):
    [PASS] Developer 6i version from f60gen executable is: 6.0.8.21.3
    [PASS] The 806 client library version from the f60gen executable is: 8.0.6.3.0
    [PASS] Checksum of file kpuex.o confirms back port 1227566 has been applied.
    [PASS] DISPLAY variable from the Applications Context file is: :0.0
    Administration Server Node (hpbox):
    [PASS] Database version from dbms_utility is: 9.2.0.3.0
    SUMMARY:
    [ALLPASS] All the technology checks on this node needed for the 11.5.9 Maintenance Pack
    have passed. You may now proceed with next steps in the Oracle
    Applications Release 11.5.9 Maintenance Pack Installation instructions.
    More env info...
    Oracle (Red Hat) Enterprise Linux Rel 4 Upd 6 (uname: 2.6.9-67.0.0.0.1.ELsmp #1 SMP)
    Forms6i Builder 6.0.8.21.3 (Production) (on Linux)
    Already posted this to Metalink forum, but no answer in 1 week.
    Thanks for your help!

    Looks like the CLASSPATH for the server is not set correctly. Does it include the directory where your JAR file resides?
    You say that the JavaDev6i.jar is downloaded the the JInitiator, which surprises me. It looks like you are trying to import/call Java from the server side, which means it is not necessary to load the JAR client side. You only have to include it in the client side JARs if you are using Pluggable Java Components (PJC) which run client side. You are using the Java Importer which creates a PL/SQL wrapper around a server side Java class.
    This might also explain why it does work in client/server mode. Then you might have a different CLASSPATH setup when starting Forms Runtime from within Forms Builder.

  • Exception setting SOAP address to $CHANGE-WHEN-DEPLOY$:

    Am trying to call the Credit Rating Service using the 10.1.2 version of BPEL engine using the JDeveloper Designer. Have no problems calling the Credit Rating Service through the console tester but when my BPEL process called SynchBPELProcess2 calls the credit rating service I get the following error:
    Your test request generated the following exception/fault:
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{summary=exception setting SOAP address to $CHANGE-WHEN-DEPLOY$: no protocol: $CHANGE-WHEN-DEPLOY$; nested exception is:
         java.net.MalformedURLException: no protocol: $CHANGE-WHEN-DEPLOY$}}
    Is there some additional configuration that needs to be done to get around this or am I missing a step somewhere. Ran into this while going step by step with the Order booking tutorial and so decided to try with a separate project.
    BPEL File Attached below:
    <!--
    // Oracle JDeveloper BPEL Designer
    // Created: Tue Apr 12 18:57:43 GMT+05:30 2005
    // Author: 121401
    // Purpose: Synchronous BPEL Process
    -->
    <process name="SynchBPELProcess2" targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ns1="http://services.otn.com" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/SynchBPELProcess2" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:SynchBPELProcess2" myRole="SynchBPELProcess2Provider"/>
    <partnerLink name="CreditRatingService" partnerLinkType="ns1:CreditRatingService" partnerRole="CreditRatingServiceProvider"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:SynchBPELProcess2RequestMessage"/><!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="outputVariable" messageType="client:SynchBPELProcess2ResponseMessage"/>
    <variable name="invokeCR_process_InputVariable" messageType="ns1:CreditRatingServiceRequestMessage"/>
    <variable name="invokeCR_process_OutputVariable" messageType="ns1:CreditRatingServiceResponseMessage"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in SynchBPELProcess2.wsdl
    -->
    <receive name="receiveInput" partnerLink="client" portType="client:SynchBPELProcess2" operation="process" variable="inputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:SynchBPELProcess2ProcessRequest/client:input"/>
    <to variable="invokeCR_process_InputVariable" part="payload" query="/ns1:ssn"/>
    </copy>
    </assign>
    <invoke name="invokeCR" partnerLink="CreditRatingService" portType="ns1:CreditRatingService" operation="process" inputVariable="invokeCR_process_InputVariable" outputVariable="invokeCR_process_OutputVariable"/>
    <reply name="replyOutput" partnerLink="client" portType="client:SynchBPELProcess2" operation="process" variable="outputVariable"/>
    <assign name="Assign_2">
    <copy>
    <from variable="invokeCR_process_OutputVariable" part="payload" query="/ns1:rating"/>
    <to variable="outputVariable" part="payload" query="/client:SynchBPELProcess2ProcessResponse/client:result"/>
    </copy>
    </assign>
    </sequence>
    </process>
    WSDL Attached below :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="SynchBPELProcess2"
    targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/SynchBPELProcess2"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/SynchBPELProcess2"
                   xmlns="http://www.w3.org/2001/XMLSchema">
                   <element name="SynchBPELProcess2ProcessRequest">
                        <complexType>
                             <sequence>
                                  <element name="input" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="SynchBPELProcess2ProcessResponse">
                        <complexType>
                             <sequence>
                                  <element name="result" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="SynchBPELProcess2RequestMessage">
              <part name="payload" element="client:SynchBPELProcess2ProcessRequest"/>
         </message>
         <message name="SynchBPELProcess2ResponseMessage">
              <part name="payload" element="client:SynchBPELProcess2ProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the SynchBPELProcess2 BPEL process -->
         <portType name="SynchBPELProcess2">
              <operation name="process">
                   <input message="client:SynchBPELProcess2RequestMessage" />
                   <output message="client:SynchBPELProcess2ResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="SynchBPELProcess2">
              <plnk:role name="SynchBPELProcess2Provider">
                   <plnk:portType name="client:SynchBPELProcess2"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>

    Lasts monday I downloaded a version (10.1.2 release, not preview/beta 3) which has the same filename and file size of the 10.1.2 GA release which is available right now.
    I don't think the problem is in the PM, because i can run bpelc/obant to build my processes. however when i build them with the Eclipse plugin, it won't change the location of the wsdl (keep saying $CHANGE_WHEN_DEPLOY$).

  • Accessing ora:getpreference inside xslt map

    Hi
    I need to access preferences values of the BPEL Suitcase Descriptor using ora:getpreference inside xslt map. I tried but it dosent work in xslt. Could any one please advise as to what is the way to access preferences values from inside a xslt.
    Thanks
    Buddhadev

    is the bpws:getVariableData() function also not usable inside an XSL Mapper?
    JDeveloper allows it. There is no error at compile and deploy times. It seens to be odd that those functions are there, but we cannot use them. Could any one explain this behavior?
    I got the following error when trying to use ora:getPreference() or bpws:getVariableData():
    (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/
    I need to call these functions to build a request from a variety of sources: process input, deployment descriptor preferences, variables, etc.... The real use case is more than one-to-one mapping/transformation.
    If these functions are not usable inside an XSL Mapper, JDeveloper should not show them as available options.
    Edited by: user9520923 on Sep 16, 2008 1:36 PM
    Edited by: user9520923 on Sep 16, 2008 2:02 PM

Maybe you are looking for

  • Unhidden files are not revealed in Finder search

    When I use the Finder "Search" window, my Library folder, System folder and folders therein are not revealed, even though I can manually locate them though the Finder's tree. As far as I can tell, these files are not hidden and do not have special se

  • Hi Guys....I am facing decrypting a binary file which is encrypted

    I am facing decrypting a binary file which is encrypted in C++ code. They use FULL RSA Service provider wiht MD5 , TripleDES algorithms....i did the same in java to decrypt the file..but i am getting padding exception javax.crypto.BadPaddingException

  • Correct depreciation value in report

    Hi, In AR18 simulation report, depreciation areas other than book 1 &2 are not giving correct value. Depreciation values are shown from the year end which is incorrect, since acquisition happened in period 5. Books 1 & 2 in the report shows depreciat

  • Usage of SLDCHECK transaction

    Hi Gurus, I have recently installed a Solution manager 4.0and ECC 6 systems. Also, the SLD has been centrally defined on Solution manager box on both the boxes. I have been able to retrieve/ view data(both java and abap) of SLD view landscape tab of

  • Need Help with PSE 5.0

    I re-installed PSE 5.0 (VISTA Home Edition) and at the completion of the installation I receive a "Successful Install" message. However, when attempting to open the program... it is taking over 20 minutes and never opens. I have removed and reinstall