Wrap/packaging siebel data adapter

Hello

I try to call the methods of load/save/listCases for my own data adapter siebel data connector. But at runtime, all running the load() following error occurred.


Code snippet (please ignore syntax errors):

Class MyDataAdaptor implements {DataAdaptor}

Load (SecurityToken st, String caseid, ir InterviewRulebase) {}
SiebelDataAdaptor sda = new SiebelDataAdaptor();
return sda.load (st, caseid, ir)
}

}

Error:

Caused by: com.oracle.determinations.interview.engine.exceptions.InterviewEngineException: could not load data from siebel session
* to com.oracle.determinations.web.siebel.SiebelDataAdapter.load(SiebelDataAdapter.java:209) *.
* to my.adaptor.MyDataAdaptor.load(MyDataAdaptor.java:83) *.
* to com.oracle.determinations.web.platform.controller.actions.StartSessionAction.getResource(StartSessionAction.java:74) *.
* more than 20 *.
Caused by: java.lang.NullPointerException
* to com.oracle.determinations.web.siebel.SiebelDataAdapter.verifyConfigForRulebase(SiebelDataAdapter.java:510) *.
* to com.oracle.determinations.web.siebel.SiebelDataAdapter.load(SiebelDataAdapter.java:118) *.
*... more than 22 *.


The caseid is correct IE. < sessionid [rowid] >, < user name >, < context id >, < map id >

Help, please.

Thank you
Lokesh

There was a small bug in the original example posted. The original post has been updated with the fix

Tags: Oracle Applications

Similar Questions

  • Can someone help me please? I bought Photoshop elements 13 and were not able to install it on my computer.  I made attempts at veveral to install it and I lose connection every time.  Since I was on a package of data plan with at &amp; t, I buy e data

    Can someone help me please? I bought Photoshop elements 13 and were not able to install it on my computer.  I made attempts at veveral to install it and I lose connection every time.  Since I was on a package of data plan with at & t, I have buy the data each month.  I consume ALL my data.  To be a better way. Can someone help me please? I bought Photoshop elements 13 and were not able to install it on my computer.  I made attempts at veveral to install it and I lose connection every time.  Since I was on a package of data plan with at & t, I have buy the data each month.  I consume ALL my data.  To be a better way.

    I am well aware I could you bought the disc version. I bought the software Officemax in Vicksburg, MS I thought that the disc was included in the box.

  • How to locate the values returned by the data adapter

    I have a need to internationalise/locate a string which our data adapter returns to the web client to fill out things like the table of inventory for our type of object.

    In other words, I would need to make the location in my Java code on the service side.

    But what I do not know how to do is how do I know what locale, the answer must be returned for.  I don't get the locale information in the query for the data.

    Looks like I found my answer: I can get information from the UserSession returned by the UserSessionService.

    One thing I discovered, is that the user must connect to the web client with the regional settings in place.  If you change the value of & local once the user is connected, the new value takes effect.  You will need to sign out and then sign back in.

  • Data adapter - Code example (DerbyDataAdaptor)

    Hello


    I am trying to create a data adapter to access information from a database using this guide: data - sample Code (DerbyDataAdaptor) adapter

    This link provides references to various code examples, at the following location: examples/interview-engine/data-adapter

    I am unable to find it anywhere!

    I tried to look in file:///C:/Program%20Files%20%28x86%29/Oracle/Policy%20Modeling/examples/.

    The data adapter - examples of Code (DerbyDataAdaptor) document mentions:

    To view the source code of the example of DerbyDataAdaptor, refer to the examples/interview-engine/data-adapter in the Java runtime zip file.

    I don't know where is this Java runtime zip file.

    Please help? "

    Thank you very much.

    Example modules projects are in the download to the OPM. However, the examples for technical issues (like this) are in runtime downloads.

    On the page of downloads of OPA (http://www.oracle.com/technetwork/apps-tech/policy-automation/downloads/index.html) take a look in 'political Oracle of automation for Java runtime components.

    See you soon,.

    Jasmine

  • The charge would be created with the unique package with date id

    Hi all

    Thanks in advance,

    IAM new to ODI, in my process I dnt know below two constaraints how to do, please help me in this regard...

    1. the load would be created with the id of a single lot with the date and
    stamp under the unique number (when the load data from source to target).
    2. HIGHLAND field would have the line number incremented from
    .001 when records are inserted in the table

    30021986 wrote:
    Hello

    Thanks for the reply, my requirement is,
    1.i have field JELN in the target table, in that line number is incremented from de.001 in the table. (Field JELN would have the incremented number line from de.001 when the rows are inserted in the table)

    -> for what I had done using sequenceing odi_sequence craeating, but it will give higher error.
    and the second condition is

    Never use ODI sequence unless you do business with a technology that has no native sequence is
    (eg files). Most of the RDBMS has their own sequence, and you use these alone.
    For oracle, you must use . NEXTVAL in the field mapping. Be sure to run on the target.

    2. when iam loading the data from the source to target a unique batch number must be generated with the date and time stamp (the load would be created with the unique package with date id and + *)
    timestamp in the unique number +) *.

    You can use SYSTIMESTAMP in this area and do not forget to run on the target.

  • Problem in OPM Siebel data model import

    I use OPM 10.2 and havaing a question to import the Siebel data model in to OPM. I also have 10.2 Siebel connector, installed on the desktop.

    In OPM, I don't see the Siebel-> Import Data Model option in the menu.

    Y at - it no configuration changes that need to occur in OPM for this?

    Edited by: SP1D3R MAN on 17/11/2011 18:02

    1. make sure you have the Siebel 10.2.1 Oracel software delivery Cloud connector (formerly E-Devliery), there was a bug with the earlier 10.2 where the policy modeling Plugin did not work.

    2. make sure that the files Oracle.Modeling.Siebel.Exchange.dll, Oracle.Modeling.Siebel.Plugin.dll , there is the subdirectory Plugins Policy Modeling (default location C:\Program Files\Oracle\Policy Modeling\plugins)

    3. make sure that you use Policy Modeling 10.2

    If you manually copy the dll, they can be found in the download connector for siebel in the program files\Oracle\Policy Modeling\plugins\

  • The Siebel data model with attribute mapping rule OPA?

    Hello

    Someone at - it has mapped siebel attribute of data model with the attribute rulefiles (rule of word doc file) (for example, p1, p2, p3... generated automatically)?

    I imported the siebel data model in OPM version 10.2. He created siebeldatmodel.xsrc file. all siebel attribute created with ID, model ID with the same name as the name attribute of siebel. but in the rulebook, we attributte with p1, p2, p3... names etc.

    The problem I am facing at I'm not able to map the attribute siebel generated with attribute (p1, p2, p3) rule book

    Any quick suggestions of experts will be very apperciable.


    Thank you

    There are a few simple rules for text attributes.

    1. unless the attribute belongs to the global level, the attribute must have the text of the entity included in its text. Thus, if the attribute belongs to the 'contact' it must understand that in its text. The possible options are:

    "* the contact work country."

    "the country of work of * the * contact."

    2. you cannot have two attributes with the same public name or the same text. So, you will get an error if you have two attributes with the same text "the country of work.

    Published by: frank.hampshire on July 27, 2011 13:50

    Published by: frank.hampshire on July 27, 2011 13:50

  • Default data adapter error when you deploy a file. War in weblogic

    Hi all

    Newbie here with a few questions regarding the deployment of the OPA 10.1. Really hoping you guys can help...

    (1) I try to deploy a web file - determinations.war unexploded on WebLogic. Thanks to this forum, I have the book "modules folder not found" etc. However, I am now faced with a problem that I can't find any info on. Please see below.

    3672074 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] WARN com.or
    acle.determinations.web.platform.controller.actions.StartSessionAction - couldn't instansate dfau
    lt data adapter
    java.lang.NullPointerException
    in java.io.File. < init > (File.java:194)
    to com.oracle.determinations.web.platform.plugins.data.XDSDataAdaptor. < init >(XDSDataAdaptor.)
    Java: 55).
    at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.createInterv
    iewSession(StartSessionAction.java:173)
    to com.oracle.determinations.web.platform.controller.actions.StartSessionAction.getResource)
    StartSessionAction.java:66)
    at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet (WebDetermin
    ationsServlet.java:67)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.
    Java: 226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.oracle.determinations.web.platform.util.CharsetFilter.doFilter(CharsetFilter.java:46)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletC
    ontext. Java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute (WebAppServletContext.java:2
    140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    I have the following entry in the application.properties file too...
    # XDS data adapter default file path
    #xds.file.path = data

    From that we see that we believe that the code becomes a null pointer because of the following method to the WebDeterminationsServletContext class.

    public String resolveFullPath (String path)
    {
    File f = new File (path);
    return f.isAbsolute ()? f.getAbsolutePath (): this.servletContext.getRealPath (path);
    }


    We believe that the getRealPath (path), highlighted in red, returns null. Any ideas how we can solve this problem?

    (2) the second issue that I am facing is in the ownership of plugins.libraries in the application.properties file. I have the input as

    plugin. Libraries = DataAdaptor.DA;

    which should point to our custom data adapter. However, I get the following error.

    4242994 [ExecuteThread [ASSET]: '2' for the queue: "(self-adjusting) weblogic.kernel.Default"] WARN com.or
    acle.determinations.web.platform.servlet.WebDeterminationsServletContext - cannot find the class: data
    Adaptor.DA
    4243025 [ExecuteThread [ASSET]: '2' for the queue: "(self-adjusting) weblogic.kernel.Default"] WARN com.or
    acle.determinations.interview.engine.local.LocalInterviewEngine - cannot find the class: DataAdaptor.D
    A

    (3) also, does anyone know if it is possible to deploy a web file - determinations.war that contains additional internal application code? What we are trying to do, is provide a single war file that holds not only the code for the determination of the web, but also all the application code that encapsulates the OWD it contains. Right now it just doesn't work. I'm not sure what the conflict is exactly. The only way I seem to be able to get this work is by deploying the code into two separate files of war.

    On these questions, any help would be appreciated stored.

    Thank you
    Taj

    (2) is caused because your data adapter plugin is not installed correctly. The container that contains your plugin should go to the WEB-INF/lib directory, and you must specify the full qualified class name in the plugin.libraries of the application.properties file property.

    If you have not provided a custom data adapter, Web determinations will configure and tie one by default to use instead, which is the base file. If you perform the WebLogic deployment as a war of unxeploded, you must configure the directory default data directory that the plugin will be used by specifying an absolute path that your determinations Web instance has read/write permissions for in the application.properties file xds.file.path property. In your case (1) is mainly caused by (2) because if your data adapter has been loaded correctly by default you do not at all over.

    With regard to the (3) Yes it is probably possible, provided that you do not have library conflicts. How it's done really depends on what are these additional customizations.

  • Custome Error Handling in OWD data adapter Plugin

    Hello

    The determination of Oracle web allows you to customize the error message or exception, while repositories / memorizing interview session data.
    loading the session data for a caseid if certain functional error up, then I can telll the OWD to display my message customized rather than the static message like failed to load caseID "{caseid}. This statistics message is configurable message in message < local > .properties, however my requrement should display the message to dynamically.


    Thank you
    Lokesh

    Published by: 793191 on 09-Sep-2010 02:18

    Lokesh,

    Unfortunately, the only reference that you really have access to the object DataAdapter is the case ID. However, if you write your own data adapter you can change the Id case to contain all the information you need to access the case.

    In your case, where you need the name and address. Instead of:

    http:///startsession//?caseID=ABC123456&user=guest&name=myname&addr=myaddr
    

    You can send

    http:///startsession//?caseID=ABC123456,myname,myaddr
    

    The data adapter will be sent the entire caseID, including the name parameter and address and can then separate in this or that part here.

    Hope that helps

    See you soon
    Frank

  • Error with Service Agreement using the Siebel EAI adapter

    Hi all

    Thanks in advance.

    I am facing following error with Service Agreement using Siebel EAI transaction.

    Error service call "adapter of Siebel EAI', 'Upsert' method in 'Contract Upsert' step. (SBL-RPR-00162) - method 'AssocCurrentRow' of the business component "Internal Division" (integration component "Agreement_Organization Service") for recording with search specification ' [name] = "ABC we ' ' returned the following error:"the selected record has been deleted by another user since it was recovered.  Please continue. (SBL-DAT-00494) "(SBL-EAI-04451)"

    Previously, we used to create agreements with sync transaction EAI with ID "User1" that has "ABC we ' as an organization. Now, we moved the EAI Async transaction. Even if we use "User1" to trigger transaction because it is asynchronous recording of the agreement is created using SADMIN user who has a different organization. To set the good organization, we have added the IC of the IO organization and the sending of the Organization as "ABC we.

    I guess, at the time of the transaction, the Organization "ABC we ' which is defined using IC is removed as siebel tries to define the Organization agree with the SADMIN organization.

    Please help me solve this problem.

    Kind regards

    Vincent

    Hello

    Please consult the following

    Get the error of SBL-DAT-00494 with an organization (Doc ID 2053260.1)

    SBL-DAT-00500 SBL - EAI - 04451 when there is 10000 or more records using the Web Service based on the Siebel EAI or EAI UI (Doc ID 979262.1) adapter

  • error in deployment in the tomcat server data adapter

    Hello

    I created a data plugin where I call Siebel on demand webservice and deployed in tomcat (apache-tomcat-6.0.26\webapps\web-determinations\WEB-INF\classes\plugins) server. I put all the related jars in folders of plugin. Now the problem is when I start the tomcat server he not erred in console, but if I see localhost.log file error is coming

    BASS: StandardWrapper.Throwable
    java.lang.NoClassDefFoundError: org/cmpanies/Beaver/mapping/xml/descriptors/BindXmlDescriptor
    at java.lang.Class.getEnclosingMethod0 (Native Method)
    at java.lang.Class.getEnclosingMethodInfo(Class.java:929)
    at java.lang.Class.isLocalOrAnonymousClass(Class.java:1239)
    at java.lang.Class.getCanonicalName(Class.java:1167)
    at com.oracle.util.reflection.ClassWrapper.getCanonicalName(ClassWrapper.java:189)
    at com.oracle.util.discovery.LocalPluginFinder.findPluginInClass(LocalPluginFinder.java:279)
    at com.oracle.util.discovery.LocalPluginFinder.findPluginsInURLTarget(LocalPluginFinder.java:251)
    at com.oracle.util.discovery.LocalPluginFinder.findPlugins(LocalPluginFinder.java:162)
    at com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:154)
    to com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext. < init > (WebDeterminationsServletContext.java:91)
    at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

    I put the file Beaver - 1.3.1.jar in the plugin folder. Then also same error. I can see the BindXmlDescripto.class file in the jar.
    What could be the reason.

    You must put all the jars in the WEB-INF/lib directory. This should solve your problem.

    The Developers Guide on "Create a Plugin" describes what is happening in the WEB-INF/classes/plugins directory and what is happening in WEB-INF/lib

    See you soon
    Frank

    Published by: frank.hampshire on June 15, 2010 10:55

  • OPA data adapter Plugin importing XML to a session in charge

    Hello

    I am writing a generic plugin that saves the session as XML using SessionUtils.exportSession data. It works fine as I have the session as an argument to the Save method. How can I get the session in the load method to import?

    Code example below.

    see you soon

    Tony

    public String record (SecurityToken token, String caseID, InterviewSession session) {}

    ...

    Session ruleEngineSession = session.getRuleSession ();

    XmlWriter StringWriter = new StringWriter();

    SessionUtils.exportSession (ruleEngineSession, xmlWriter);

    System.out.println ("* DA_save:XML:" + xmlWriter.toString ());

    savedValues.put (caseID, xmlWriter.toString ());

    ...

    }

    public InterviewUserData load (SecurityToken token, String caseID,

    InterviewRulebase modules) {}

    ...

    XmlReader StringReader = new StringReader ((String) savedValues.get (caseID));

    SessionUtils.importSession(???, xmlReader);

    ...

    Hi Tony,.

    You can write a generic import mechanism that crossed the XDS XML and created the InterviewUserData, but fortunately there is an easier way:

    A session = Engine.INSTANCE.createSession (ir.getRulebase ());

    try {}

    SessionUtils.importSession (session, new File(""));

    } catch (IOException ex) {}

    Logger.getLogger (DataAdapter.class.getName ()) .log (Level.SEVERE, null, ex);

    }

    Return DataUtils.toInteractiveUserData (session);

    See you soon

    Ian

  • The process data adapter when DB is down?

    Hi, I'm trying to understand what is happening in an invoke activity that called a DB adapter if the database is out of service. I need to set up some error around the DB handeling are down, but I don't know what condition I should be looking? The process BPEL fails or t - she continue?

    Hello

    The invoke process will be error with the error remotefault.

    This is an unhandled exception. But if you want to have exception manage and want to cancel, and then add the catchBrach in your bezel or main and then add the remoteFault system error and create a faultVar and then perform your operation if not in the scope of the catchBranch.

    Kind regards
    Abdou

  • Installation of OPA 10.4.3 and Siebel 8.2.2.2 authentication problem webservice

    We work with the OPA 10.4.3 and Siebel 8.2.2.2.  We have installed Siebel and OPA.  We followed the procedures to put in all the integration settings.  However, when we try and launch WD smoke Test, the popup shows a 500 error.  After further review, we found that, despite the use of Siebel eai anon services, we receive an authentication error which suggests that the user name and password must be placed in the header of the soap to Siebel message.

    Can someone tell me please the specific documentation of how to solve this problem and make it work?

    Thank you.

    Sam

    Sam,

    Do not transmit the information of name and password of the user when connecting, even with the Siebel eai anon services.

    You must change the file named "siebel-data - adapt .properties in the WEB-INF/classes/configuration of the web application directory.".

    You can find the details of this in the section "change the siebel data - adapt .properties ' of the Oracle policy Automation Connector for Siebel Manual of Installation

  • Siebel 8.1 and OPA 10.3.1: error 'WD Smoke Test' - 'Connection Refused '.

    Hello!

    I'm setting up Siebel 8.1.1.5 with OPA 10.3.1. All the Windows environment, Oracle database backend and use Apache Tomcat 5.0 to run any OPA.

    Followed the instructions through and with the Web Service tweak outbound and two symbolic URLS to specify correct host Apache and port, some things work.

    However, when I hit the 'WD Smoke Test' button I get an error in the window for the determination of the sea which opens:

    An error occurred when loading the case ID ', SADMIN, 0-1, AdminSmokeTest'.
    This error has been recorded and is available in the application logs.

    No error is reported in the journal on the Siebel EAI server file, but I see the following on the Tomcat server:

    874517 [http-8080-1] ERROR com.oracle.determinations.web.platform.controller.actions.StartSessionAction - errors in result of Transaction for case ID [, SADMIN, 0-1, AdminSmokeTest]:
    874517 [http-8080-1] ERROR com.oracle.determinations.web.platform.controller.actions.StartSessionAction - failed to load data: java.net.ConnectException: connection refused: connect
    874517 [http-8080-1] ERROR com.oracle.determinations.web.platform.servlet.WebDeterminationsServletUtility - com.oracle.determinations.web.platform.exceptions.error.FailedToLoadCaseError: could not load case:, SADMIN, 0-1, AdminSmokeTest
    com.oracle.determinations.web.platform.exceptions.error.FailedToLoadCaseError: could not load case:, SADMIN, 0-1, AdminSmokeTest

    I checked:

    -The EAI URL .properties for siebel-WD-embedded and siebel-web-determinations, all worked very well for the OPA server host
    -J' have also checked and checked the values of username and password in both .properties files
    -The definitions of Web Service starting, only change the host and port
    -The symbolic URL, by changing only the host and port
    -The rest was implemented using business 'policy of automation Install '.
    -The 'DS' smoke tests will work perfectly
    -The button "Launch WD" works very well 'Sessions' view, after selecting the map of "AdminSmokeTest".

    Any thoughts where to start?

    Thank you!

    mroshaw

    I am officially a doughnut - I went back to check and I had not updated the siebel data - adapt .properties for the siebel-web-determination purposes. DOH!

    Everything works now - excellent! :)

Maybe you are looking for

  • When I re - get the server settings, boxes I unchecked reappear checked, then how do I save my changes?

    Happens if I go in and out of the settings of the account/settings/Server tools in the same session of TB, or leaving and restarting TB.

  • Can't connect to yahoo mail with Mozzilla

    Before installing Mozzilla, I was able to sign on to Yahoo Mail. Now, when I try to log in, I hit the sign in and nothing happens. If I use IE, then it works fine. I tried to clear cookies and cache and still nothing happens

  • Omen of HP: HP Omen control lighting does not

    Today I started having a problem where when I try and change the color of my keyboard via the software HP Omen, it has no effect on the keyboard. Initially, my keyboard was glued to a magenta color, until I bios updated and turned my back to the Red

  • Watchdog PXI

    I would like information on the PXI-8108 watchdog. Namely, it is a body independent piece of hardware? If so what can be done if it fires? Also, is there voltage on the PXI-8108 locking system? Phillip mark

  • Find the minimum value of the table in time...

    Firstly that it is not "find the min value in the table. It is: I have a table that changes its values at each iteration, and I want to compare the new values with previous values and make a new array with the minimum values... In C++, it would be li