PREFIX ORACLE_SEM_FS_NS timeout via Jena Adapter

Hi,
I am executing SPARQL via Jena Adapter and would like to specify timeout.
I use PREFIX ORACLE_SEM_FS_NS: <http://oracle.com/semtech#timeout=5> , according the the sem dev guide Jena examples, but the timeout value has no effect at all.
For some heavy queries QueryExecution->execSelect() never returns
I found this thread - Re: Query IDs in ORACLE_SEM_FS_NS : 32 or 64 bits? , which discuss the similar subject. I tried to add qid to the prefix, but that did not help. I don't use Joseki endpoint nor OracleQueryMgtServlet to manage(kill) long queries. Maybe I will provide the latter function in the future, but I would like to start with that users specify the timeout and query would interrupt itself if not ready.
So, is there anything else I have to do in Java/Jena code or somewhere else?
Thanks, best regards
Jürgen
After some more testing it turns that the problem with timeout is related to certain type of queries only. Normally the timeout works.
But when LET statement is used in some way, then timeout does not occur and it seems the query simply hangs:
This query works and times out (if timeout value is set short enough):
SELECT DISTINCT
?HR_Zone
(count(?e) AS ?major_count)
WHERE {
?e rdf:type r:ST_Episode .
OPTIONAL
?e r:isClassifiedAs rn:major_st_episode .
OPTIONAL{
?e r:mappedHRZone ?zone .
?zone r:index ?HR_Zone
GROUP BY ?HR_Zone
This query does not finsih (in boundaries of my patients) and does not time out:
SELECT DISTINCT
?HR_Zone
(count(?e) AS ?major_count)
WHERE {
?e rdf:type r:ST_Episode .
OPTIONAL
?e r:isClassifiedAs rn:major_st_episode .
LET( ?emajor := ?e )
OPTIONAL{
?e r:mappedHRZone ?zone .
?zone r:index ?HR_Zone
GROUP BY ?HR_Zone
However, one might think that LET is not supported - but without ARQ functions it works. This query works and times out (with short timeout value)
SELECT DISTINCT
?emajor ?HR_Zone
WHERE {
?e rdf:type r:ST_Episode .
OPTIONAL
?e r:isClassifiedAs rn:major_st_episode .
LET( ?emajor := ?e )
OPTIONAL{
?e r:mappedHRZone ?zone .
?zone r:index ?HR_Zone
Edited by: user8793616 on 2010-sep-29 04:51

Hi Jurgen,
The timeout pragma is most effective when used with SPARQL 1.0 queries, since they are supported natively. Once you start using ARQ features - which are not available in Oracle so they are processed in the mid-tier - timeout becomes less reliable.
Cheers,
Vladimir

Similar Messages

  • Jena adapter 2

    Hi,
    I was trying to connect to an oracle instance yesterday via the jena adapter 2. The connection seemed to work and i then tried to store some n3 data into the database.
    For that reason I followed the code samples, that came with the adapters readme. But then I get a ClassNotFoundException for the OracleSemThingie inside eclipse, saying it can't find one of the jena classes... jena.jar is as well in the classpath as the other required jars are. Any clues for that problem?
    Another question, that I have, is: what is the best way to store n3 data via jena adapter in an oracle database?
    best regards,
    udo

    Hi,
    yes, I'm sorry I didn't do it in the first post...
    Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/hpl/jena/sparql/engine/main/StageBasic
         at oracle.spatial.rdf.client.jena.GraphOracleSem.<init>(GraphOracleSem.java:733)
         at oracle.spatial.rdf.client.jena.GraphOracleSem.<init>(GraphOracleSem.java:545)
         at oracle.spatial.rdf.client.jena.GraphOracleSem.<init>(GraphOracleSem.java:450)
    The exception comes up from this line:
              GraphOracleSem graph = new GraphOracleSem(oracle, modelName);
    I've got jena.jar 2.5.6 in the classpath, as well as arq.jar, commons-logging-1.1.1, icu4j_3_4, log4j-1.2.12, sdordfclient, concurrent, iri, xercesImpl, ojdbc5.
    I don't need Pellet.

  • How to do a count(*) with Jena Adapter?

    Hi, I am trying to do a count(*). I know it's not part of the SPARQL 1.0 standard, but it is supported in ARQ, and presumably by the Jena Adapter too then?
    Other examples I have been able to find do an iteration over the resultset to get a count, but that is not acceptable since I have millions of triples. In my tests it took 15 seconds to return the count by using iteration. Oracle Semantic is advertised as scaling to "hundreds of millions of triples"; so how do I do a simple count(*) aggregation?
    Below is the code I tried. It works with a regular jena default model, returning the expected result of "2", but the result is empty if I use the Oracle Jena adapter.
    import oracle.spatial.rdf.client.jena.ModelOracleSem;
    import oracle.spatial.rdf.client.jena.Oracle;
    import com.hp.hpl.jena.graph.Node;
    import com.hp.hpl.jena.graph.Triple;
    import com.hp.hpl.jena.query.Query;
    import com.hp.hpl.jena.query.QueryExecution;
    import com.hp.hpl.jena.query.QueryExecutionFactory;
    import com.hp.hpl.jena.query.QueryFactory;
    import com.hp.hpl.jena.query.ResultSet;
    import com.hp.hpl.jena.query.ResultSetFormatter;
    import com.hp.hpl.jena.rdf.model.Model;
    public class OracleJenaAdapterCountTest {
         public static void main(String[] args) throws Exception {
              String szJdbcURL = "jdbc:oracle:thin:@dragon12:1521:mydb";
              String szUser = "mydb";
              String szPasswd = "yeahright";
              String szModelName = "kp_mydb_model";
              Oracle oracle = new Oracle(szJdbcURL, szUser, szPasswd);
              Model model = ModelOracleSem.createOracleSemModel(oracle,
              szModelName);
              // this one works
              //Model model = ModelFactory.createDefaultModel();
              model.getGraph().add(
                        Triple.create(Node.createURI("http://example.com/John"),
                                  Node.createURI("http://example.com/fatherOf"),
                                  Node.createURI("http://example.com/Mary")));
              model.getGraph().add(
                        Triple.create(Node.createURI("http://example.com/John"),
                                  Node.createURI("http://example.com/fatherOf"),
                                  Node.createURI("http://example.com/Bob")));
              Query query = QueryFactory
                        .create("select (count(*) as ?count) {?f <http://example.com/fatherOf> ?k .}");
              QueryExecution qexec = QueryExecutionFactory.create(query, model);
              ResultSet results = qexec.execSelect();
              ResultSetFormatter.out(System.out, results, query);
              model.close();
              oracle.dispose();
    }

    Hi,
    Which version of Jena/Jena Adapter are you using?
    I am a bit surprised that your query did not throw out an exception. I need to set Syntax.syntaxARQ
    in the query creation, as follows. (Without it, I got com.hp.hpl.jena.query.QueryParseException when
    executing the same code.)
    Query query = QueryFactory
    .create("select (count(*) as ?count) {?f <http://example.com/fatherOf> ?k .}",
    Syntax.syntaxARQ);
    Once I have the above change, I did get the right count.
    | count |
    =========
    | 2 |
    The above query is not the most efficient one in terms of getting the count. Because we have to select out all projection and send the data from the database to the Java client. If you are using the latest Jena Adapter, you can use the count_only which will instruct the underlying query to return the count directly from the database.
    Query query = QueryFactory
    .create("PREFIX ORACLE_SEM_FS_NS: <http://oracle.com/semtech#count_only> select ?count {?f <http://example.com/fatherOf> ?k .}",
    Syntax.syntaxARQ);
    Cheers,
    Zhe Wu

  • Error while invoking the ABAP Proxy via SOAP Adapter

    Hi,
    My scenario involves SOAP Client invoking a webservice hosted in PI which in turn invokes the ABAP Proxy asyncronously.
    SOAP Client -> PI -> ECC (ABAP Proxy) . This works fine.
    Next , I have exposed the ECC Service Interface as webservice using SOA Manager transaction. Now, once the service is created using SOAManager, i replaced the XI Adapter with SOAP Adapter and provided the target URL as the URL provided by the SOAManager.
    SOAP Client -> PI -> ECC (ABAP Proxy via SOAP Adapter)
    With this approach, i am encountering the below error message
    2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    Any ideas on the above errror message? Any pointers or inputs will be appreciated.
    Thanks,
    Vinayak Kamath

    > 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    > 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    This is a generic error message which does not have any information about the error which has occurred.
    Do you see any error messages in the SOAP client?
    Regards
    Stefan

  • How to Send Appointment via mail adapter

    Hi Guys,
         I need to send the appointment and vTodo via mail adapter, any way i need to develop a mail adapter module. Till now i have finished this part,and i can send normal mail even normal mail with attachment. But i don't know how to send appointment via mail adapter.
    This is payload content of appointment which got from Exchange server to gmail:
    _=_NextPart_001_01C71EC0.97A011C6
    Content-Type: text/plain;
        charset="GB2312"
    Content-Transfer-Encoding: quoted-printable
    When: 2007=C4=EA6=D4=C227=C8=D5=D0=C7=C6=DA=C8=FD 3:30 =CF=C2=CE=E7-4:00 = =CF=C2=CE=E7 (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi.
    Where: China
    ~*~*~**
    This is calendar content
    _=_NextPart_001_01C71EC0.97A011C6
    Content-class: urn:content-classes:calendarmessage
    Content-Type: text/calendar;
        method=REQUEST;
        name="meeting.ics"
    Content-Transfer-Encoding: 8bit
    BEGIN:VCALENDAR
    METHOD:REQUEST
    PRODID:Microsoft CDO for Microsoft Exchange
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:(GMT+01.00) Sarajevo/Warsaw/Zagreb
    X-MICROSOFT-CDO-TZID:21
    BEGIN:STANDARD
    DTSTART:20070112T140000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0100
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:20070112T140000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0200
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20061213T141132Z
    DTSTART;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T140000
    SUMMARY:This is calendar test
    UID:040000008200E00074C5B7101A82E0080000000030D51864C81EC701000000000000000
    010000000CA9F127EA8947844BC4DD47F269BDEA9
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky":MAILTO:rocky@***.com
    ORGANIZER;CN="Xu":MAILTO:rocky@**.com;roc*@gmail.com
    LOCATION:Shanghai
    DTEND;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T160000
    DESCRIPTION:This is calendar content\N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20061213T141132Z
    LAST-MODIFIED:20061213T141133Z
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    X-MICROSOFT-CDO-BUSYSTATUS:BUSY
    X-MICROSOFT-CDO-INSTTYPE:0
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    X-MICROSOFT-CDO-OWNERAPPTID:367904726
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20061213T141132Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20061213T141132Z
    END:VEVENT
    END:VCALENDAR
    _=_NextPart_001_01C71EC0.97A011C6--
    My question is
      1. How to generate this kind of payload in mail adapter module?
      2. It is possible to send appointment via mail adapter?
    Following i can get from other system, even using mail package check or not using mail package check.
    BEGIN:VCALENDAR
    METHOD:REQUEST
    PRODID:Microsoft CDO for Microsoft Exchange
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:(GMT+08.00) Kuala Lumpur/Singapore
    X-MICROSOFT-CDO-TZID:21
    BEGIN:STANDARD
    DTSTART:16010101T000000
    TZOFFSETFROM:+0800
    TZOFFSETTO:+0800
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:16010101T000000
    TZOFFSETFROM:+0800
    TZOFFSETTO:+0800
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20070608T025852Z
    DTSTART;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T110000
    SUMMARY:This is meeting request with attachment
    UID:040000008200E00074C5B7101A82E0080000000000A9BD0BA7A9C701000000000000000
    010000000C5E16D144D1612498C0EF7E2115EFEC4
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky
    ":MAILTO:roc*@**
    ORGANIZER;CN="Xu,y":MAILTO:roc*@**
    LOCATION:India labs
    DTEND;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T113000
    DESCRIPTION:This is content!  &#60;&#60;shanghai.txt&#62;&#62; \N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20070608T025925Z
    LAST-MODIFIED:20070618T033505Z
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    X-MICROSOFT-CDO-BUSYSTATUS:BUSY
    X-MICROSOFT-CDO-INSTTYPE:0
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    ATTACH:CID:008501c7b159$a9d41d3b$_CDOEX
    X-MICROSOFT-CDO-OWNERAPPTID:1468557271
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20070608T025852Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20070608T025852Z
    END:VEVENT
    END:VCALENDAR
    Thanks & regards
    Rocky

    Hi
    have a look at this
    You can use Java/ABAP proxies to do this job for you..
    Java Proxy >> will read the mail(with the attachments) with the help of Java APIs and send the message into XI ABAP Proxy >> for this you will have to first convert the attachment into a message and then you can proceed in the regular fashion.
    Not all adapters can process attachments, I'm not sure why you are having trouble with using module processor in the mail adapter. Just check if the service pack that you are using supports this feature.
    If you are on WAS 6.10 and above you can achieve this and there is an excellent weblog by Thomas Jung on this topic at
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    reading Pdf Through mail easly done with Java Proxy, which will read the mail(with the attachments) with Java APIs and send the message into XI and then map with the Target ABAP proxy structure .
    Thanks

  • Is it possible to connect a USB pen drive to ipad 3 via and adapter?

    Is it possible, via an adapter, to connect and access documents on a USB pen drive on an iPad3?

    Technically, you  can use the camera connection kit to attach certain USB drives to the iPad. That said, the ONLY thing your iPad will see are photos or movies that are named with 8 characters and located in a DCIM folder.
    So technically you can attach a USB, however it does not work for documents, only photos or videos.
    There are some wireless drives out there, the Seagate GoFlex and the iDrive and some others, but definitely with the Seagate it's often just that you can read from or pull from the drive, you can't put your document back onto the drive to get it off the iPad.

  • Connecting kurzweil sp88 to GB I want to connect my Kurzweil sp88 to GB. The Kurzweil has a baffling array of buttons and possible MIDI channels. It also has the old style MIDI plug ins. I've got the MIDI out connected to my MacBook Pro via USB adapter.

    I have my Kurzweil connected to my MacBook Pro via an adapter (old style MIDI from Kurzweil to USB adapter connecting to Mac). The Kurzweil has a baffling array of buttons and possible MIDI channels. Can anyone please tell me which of the channels I should use? Also, should I leave the MIDI In cable out of the Kurzweil? Thanks for as detailed an answer as possible. If you like you can respond directly to me at [email protected]

    First of all I do not own this keyboard. But a quick look at the manual (found on the internet) says that when first powered up the SP88 is in Internal Sounds mode. Meaning you hear the sounds selected when playing the keyboard. It also stated that the default Midi Transmit Channel is Midi Channel #1.
    Looks like you would need to go to the SP88 Keyboard's MIDI SETUP and simply select LOCAL OFF. Now the keyboard should be ready to transmit Midi Out only and no internal sounds should be heard.
    Next you may or may not need to do this but you might need to go into the Utilities Folder found in your Applications Folder on your Mac and double click AUDIO MIDI SETUP the keyboard Icon. Figure #1 below.
    Next you need to make a physical connection from the Midi Out of the SP88 to the Midi In on your Midi Interface. Figure #3 below. You may need to Click on Add Device first. Figure #2 below.
    In the examples shown below I have a Yamaha Electronic Drum Kit that is Midi Out only... not USB out. I had to plug a Midi cable from the Midi Out Port on the back of my Drum Module to the Midi In Port on the back of my Motu 828 Audio Inferface which is connected to my Mac. Next I created the Audio Interface and Drum Module "Devices" as mentioned above.
    I then double clicked on the Drum Module and made my Midi Out Selections. Figure #4 Below. And once it was setup and the icons closed I used my mouse to draw a virtual cable connection from the Drum Module Out to the Audio Interface In. Figure #3 below. This is how I got my Midi Devices to talk to one another.
    Once you have made your setup as I have outlined create a MIDI Instrument Track in Garageband, select an instrument for example a Piano then Record Enable that track in Garageband and see if you now hear what you are playing. In this example the SP88 is a Midi Controller only and you will only hear sounds selected in Garageband which is what you want.
    Keep in midi your setup may be different than mine. You can keep your SP88 Keyboard on the default Midi Channel #1. That would be a good place to start. Garageband receives Midi on all channels.

  • Late Macbook Pro 2011 won't charge via MagSafe adapter.

    My friends Macbook Pro 2011 same as mine wont charge the battery via MagSafe adapter. The battery is good and the adapter also, ive checked them on my Mac. The problem is that on her Mac it won't charge. I've change the MagSafe adapter on her computer and it didn't work still no charge, no green light on the L shaped adapter. Can it be the Logic Board?

    Resetting SMC could solve the problem.
    Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support

  • How to receive acknowledgement from Vendor via SOAP adapter.

    Hello Experts, my outbound scenerio is R3>PI->Vendor via the URL given by vendor. From PI i'm sending my POs via SOAP adapter and in the conversion parameters I choose the check box "Do not Use SOAP Envelope" My message reached the vendor. Now vendor sends back a functional acknowledgement indicating the message had been received and processed. Below is the entire XML file content.
    <MessageAcknowledgment>
        <AckLocation>Medical</AckLocation>
        <AckRefNum>98712345</AckRefNum>
        <AckNote>200-Accepted</AckNote>
    </MessageAcknowledgment>
    Can anyone let me know how to receive the above message? What setup do i need to do?
    Thanks,
    Edited by: XISearch on Jan 10, 2011 3:05 PM

    >>> Can anyone let me know how to receive the above message? What setup do i need to do?
    Solution: You need to create a synchronous scenario.
    Might be at R3 side proxy  sender  and vendor side Reciever Soap
    Basically PROXY <------> SOAP
    Map the proxy request message to soap(vendor) request message  as REQUEST MAPPING
    and
    Map the SOAP (Vendor) response message to proxy response as RESPONSE MAPPING
    and in the backend parse the response.
    If you need more details, Please let us know.

  • Can I project Adobe Viewer by plugging my ipad2 to a projector via VGA adapter?

    Can I project Adobe Viewer by plugging my ipad2 to a projector via VGA adapter?

    Whatever is on the ipad is what will be on the screen.
    Bob

  • Does the "new iPad" output better picture quality to an HDTV (via HDMI adapter) than the previous iPads? Or is it pretty much the same?

    I'm currently using the iPad 2 to review photos and I also mirror it to an HDTV (via HDMI adapter). Does the "new iPad" output a better picture quality using the same connection method? This is mainly in reference to mirroring and not for watching movies/video.

    Wundrbr3d-
    I expect that video will be higher resolution since there is also a new HDMI adapter available for the iPad 3.  I do not know if it is required for a lower resolution source, but probably is for higher resolution.
    Fred

  • HT4644 How do I get an image on a Samsung TV via HDMI adapter and cable.  Currently get only a static imgae of desktop and gray grainy screen for everything else.

    How do get an image on a Samsung HD TV via HDMI adapter and cable?
    Currently get a static image of the desktop and then a grainy gray picture.

    If it's like mine, I used another post's advice. Go to system preferences, then display and click on "mirror". Then in system preferences go to sound and click on "HDMI".  I did this while I was connected to my Samsung TV and it worked then.

  • Jena adapter and glassfish

    I have been trying to get the Jena adapter , joseki and glassfish to work with 11g.
    No success so far. Glassfish just throws an error because somewhere in the code there is a cast to (OracleConnection) that is incorrect.
    My glassfish connection pool is setup using oracle.jdbc.pool.OracleDataSource.
    Has anyone got any ideas ?
    trace:
    WARN [httpSSLWorkerThread-8080-1] (Configuration.java:115) - Failed to build dataset from description (service name: updat
    e/service): caught: open: the connection from the datasource is not of OracleConnection type
    com.hp.hpl.jena.assembler.exceptions.AssemblerException: caught: open: the connection from the datasource is not of OracleConnection type
    doing:
    root: file:///export/apps/phil/glassfish/domains/domain1/config/joseki-config.ttl#oracle with type: http://www.oracle.com/2009/05/orardf/jena-joseki-ns#Da
    taset assembler class: class oracle.spatial.rdf.client.jena.assembler.OracleDatasetAssembler
    at com.hp.hpl.jena.assembler.assemblers.AssemblerGroup$PlainAssemblerGroup.openBySpecificType(AssemblerGroup.java:126)
    at com.hp.hpl.jena.assembler.assemblers.AssemblerGroup$PlainAssemblerGroup.open(AssemblerGroup.java:105)
    at com.hp.hpl.jena.assembler.assemblers.AssemblerGroup$ExpandingAssemblerGroup.open(AssemblerGroup.java:69)
    at com.hp.hpl.jena.assembler.assemblers.AssemblerBase.open(AssemblerBase.java:37)
    at com.hp.hpl.jena.assembler.assemblers.AssemblerBase.open(AssemblerBase.java:34)
    UPDATE: I believe this is because glassfish wraps its connections, so I'd need to create a new data source that gets the physical OracleConnection for me.
    As discussed here: http://forums.sun.com/thread.jspa?threadID=5100748
    Edited by: user2570981 on 12-Mar-2010 08:30

    Hi, I managed to get Joseki working on Tomcat 6 with just this META-INF/context.xml file (no <resource-ref> section in web.xml needed):
    <?xml version="1.0" encoding="UTF-8"?>
    <Context>
    <Resource name="OracleSemDS"
         auth="Container"
         type="oracle.jdbc.pool.OracleDataSource"
         factory="oracle.jdbc.pool.OracleDataSourceFactory"
         user="rdfuser"
         password="rdfuser"
         driverClassName="oracle.jdbc.driver.OracleDriver"
         url="jdbc:oracle:thin:@ec2-184-72-150-221:1521:tseval"
         validationQuery="select 1 from dual"
         maxActive="10"
         maxIdle="2"/>
    </Context>
    However, it took a patched version of the sdordfclient.jar to get it working, the problem being that, in accordance with the J2EE spec, Tomcat (and Glassfish as well, I believe) puts the datasource in the "java:comp/env" JNDI namespace. The sdordfclient.jar has code responsible for finding that datasource but looks for it under simply "OracleSemDS".
    your context.xml file looks good, I'll bet if you dig around, you'll find that "java:comp/env/OracleSemDS" is bound in Tomcat, you just need a sdordfclient.jar that is looking for it there.

  • Invoking PL/SQL function (via DB Adapter) with in parameter (BPEL newbie)

    Hi!
    Using: JDeveloper: 10.1.3.3.0, OAS: 10.1.3
    I'm new to BPEL, and now I have a simple problem:
    anyway to pass in parameter value with PL/SQL function call via DB Adapter?
    PL/SQL function like this:
    >>
    create or replace function f_test_bpel (p_in in number)
    return number
    is
    begin
    return p_in;
    end;
    >>
    For example (audit part of invoke in BPEL Console. Output always null :( ):
    >>
    Invoke_F_TEST_BPEL
    [2008/01/10 15:51:39] Invoked 2-way operation "F_TEST_BPEL" on partner "F_TEST_BPEL".less
    - <messages>
    - <Invoke_1_F_TEST_BPEL_InputVariable>
    - <part name="InputParameters" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/MYDB/F_TEST_BPEL/">
    <P_IN>7</P_IN>
    </InputParameters>
    </part>
    </Invoke_1_F_TEST_BPEL_InputVariable>
    - <Invoke_1_F_TEST_BPEL_OutputVariable>
    - <part name="OutputParameters" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/MYDB/F_TEST_BPEL/">
    <F_TEST_BPEL>
    </F_TEST_BPEL>
    </OutputParameters>
    </part>
    <part name="response-headers" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    </part>
    </Invoke_1_F_TEST_BPEL_OutputVariable>
    </messages
    >>
    Regards

    Adding more to what 'Arcturus' has put across :
    1) You can check your input & output arguments to a PL/SQL function/procedure using an assign activity, in which you tend to assign a source variable to a target variable.
    Here, you can check to see, if the input & output to the DB Adapter are correct, if not, you can always recreate the adapter.
    2) You can also check the schema of the PL/SQL function, to check if it has the right inputs & outputs.
    It'd be a .xsd file in the format of <SCHEMA_NAME-OF-FUNCTION.xsd> viz. SCOTT_EMPDETAILS.xsd

  • How to sent importet RAW files into the cloud? The files was importet from Canon EOS via camera adapter to the iPad. The Files was stored in the folder importet. But the files does not sync with photostream.

    How to sent importet RAW files into the cloud? The files was importet from Canon EOS via camera adapter to the iPad. The Files was stored in the folder importet. But the files does not sync with photostream.

    Welcome to the Apple community.
    Only photos taken on the iOS device and after photo stream was enabled will be added to photo stream.

Maybe you are looking for

  • Insert Icon and Insert Menu javascript out of memory error message

    Every time I hit the insert menu to insert a table, photo, etc, I get an error message that says Javascript out of memory.  This happens when I try to insert a table using the table icons too.  How can I fix this?

  • Unable to open any form in R12 after getting FRM 92050 error

    Hi gurus, i have some problem opening form i can switch between responsibilites but one trying to open it doesnt show any change ex: system adminstrator -->concurrent request no change earlier i was getting FRM-92050 error for which i followed this d

  • Cancelled Excise invoices

    Hi, Where can we see that whether a particular Excise Invoice is cancelled? Thanks in advance Girish

  • Video Chat

    what can't I seem to start a video chat anywhere on my Nexus.  Seems this was a well-advertised feature of this phone and now I can't seem to find any way to do it or any icon that will initiate a video chat

  • JEditorPane HTMLEditorkit Image align left

    Hi, I am developing a HTML Editor with JEditorPane and HTMLEditorKit. Apart from the many other difficulties, the HTMLEditorKit doesn't show a text next to an image correctly. I set an Image alignment to left and hopped, the text would be displayed t