BPEL callbacks silently failing

I've just come back from one of the SOA bootcamp sessions and encountered a problem we (being me and the guy running the lab) couldn't resolve in there.
Software is the standalone SOASuite 10.1.3.1 on top of OLite, and JDev 10.1.3.2. Both using the Java engines they were downloaded with. Machine is a laptop running XP SP2 with 2 gigs of RAM and a further 2 gigs of swap. The firewall is disabled, and the loopback adapter has been installed as per the standard documentation.
One lab was to make a BPEL process OrderBooking.bpel that takes a message representing an order in the Order Booking demo and do various things with it- including three asynchronous calls. The first two are in parallel to two different manufacturers to get prices, the third is to a seperate BPEL process for some human workflow to get manual authorisation of the order.
The problem is that the process hangs at an asynchronous callback- either the human workflow never calls back or one of the price quotation services never calls back. Looking in the flow of the hanging services in the BPEL console, you can see the partner running the callback and finishing, but the caller never gets that message.
In the case of the two parallel calls to two different partnerlinks, it seems that the first one to return will work and the second will never arrive, so it's not a particular link that fails.
In the manual recovery screen, I can see that the messages went to the error hospital. Resubmitting from there has no effect; the messages just stay in the error list. I've pulled all of the logs around the time of the resubmission- since that's a simpler, isolated case than when the whole thing is running- and I can't see very much in there. The output is at
http://gollum.craigshouse.net/stuff/soalogs-15-06-07.htm
since it is too large to sensibly paste here.
When this first started happening, we flushed things out in the BPEL console using "Purge all instances" then did a complete machine restart. Didn't help. Then I tried increasing syncMaxWaitTime to 10 minutes, deleting all other versions of the deployed OrderBooking.bpel, deleting and recreating partnerlinks and invoke/receive nodes and redeploying, still doesn't work.
Can anyone cast some light on this?

I think you entered an order that already exists in the table. The log files shows:
[Caused by: [POL-3220] duplicate keys in unique/primary index]

Similar Messages

  • BPEL server connection failed in Integration Server connect

    I am creating an 'Integration server' in the JDeveloper.
    After furnishing the details (App server name, Host, Port) on testing the connection it gets failed for BPEL process manager server:
    Application Server: OK
    BPEL Process Manager Server: FAILED
    ESB Server: OK
    The BPEL identity service failed to start because of the error: java.io.FileNotFoundException:http://hostname:8888/integration/services/testconnection/BPELConnection
    Any ideas?
    thanks in advance.
    Bin

    Hi Françoise,
    I think Application Server Test uses OPMN Port and for testing BPEL and ESB HTTP port is used.
    Do you use default 8888 HTTP Port Number? When you create a Integration Server Connection it is default value, but maybe you have installed Oracle Application Server on another http port.
    Regards,
    J

  • System Preferences silently fails on relaunch

    hi all..
    I just installed a utility on 10.7.5 called Orbicule Witness. It adds a pane to System Preferences. On reboot following install of the utility I tried to access System Preferences and see the following in a Console App window:
    13-04-01 12:09:19.602 AM System Preferences: dlopen_preflight failed with dlopen_preflight(/Library/PreferencePanes/Witness.prefPane/Contents/MacOS/Witne ss): no suitable image found.  Did find:
              /Library/PreferencePanes/Witness.prefPane/Contents/MacOS/Witness: GC capability mismatch for /Library/PreferencePanes/Witness.prefPane
    and a dialog appears telling me "To use the Witness preferences pane, System Preferences must quit and reopen.". So i press "OK" and it sends the following message to the console:
    13-04-01 12:10:35.219 AM launcher: posix_spawnattr_setbinpref_np failed
    This is consistently reproducible. It seems that System Preferences is trying to relaunch in a fashion that is compatible with the Witness pane, but silently fails for some reason (btw "silently fails" is Concentrated Evil).
    Is there some way to determine why it is failing and fix the problem?
    thanks!

    I have uninstalled it and, of course, the System Preferences loads. Did it twice to make sure. You can also take a shortcut to de-register the Witness pane and, again, System Preferences loads.
    Also tried setting the System Preferences app to 32-bit using Get Info.. that does not work, but I don't see any visual indication that the System Preferences app is actually running in 32-bit mode. Is there some way of telling? If System Preferences cannot run in 32-bit mode then it's probably an OS issue. If it can, and the Witness pane still is not loading, then it seems likely to be app-specific.

  • Server silently fails on messages with a huge To: header; any ideas?

    Our incoming relay (sendmail) occasionally receives messages which were sent to many recipients
    (sometimes it's spam, sometimes valid maillists to which our users have subscribed). The messages
    in question have a To: header which is typically over 6kb in size and over 80 lines long (and since
    several recipients with short names/addresses may be grouped on one line, there's about a hundred
    recipients listed).
    It fails trying to relay these messages to our backend Sun Messaging Server (6.3-6.0.3 x64), and it
    fails silently. I am not definitely sure that this is SMS's flaw and not Sendmails; but perhaps someone
    can shed light on the matter? :)
    SMS's mail.log_current receives such entries (here xxx.xxx.xxx.100 is the relay, xxx.xxx.xxx.73
    is the backend server):
    04-Dec-2008 16:54:44.62 tcp_local    +            O TCP|xxx.xxx.xxx.73|25|xxx.xxx.xxx.100|33728 SMTP
    04-Dec-2008 16:59:44.62 tcp_intranet ims-ms       VE 0 [email protected] rfc822;[email protected] ouruser@ims-ms-daemon relay.domain.ru ([xxx.xxx.xxx.100]) '' Timeout after 5 minutes trying to read SMTP packet
    04-Dec-2008 16:59:44.62 tcp_local    +            C TCP|xxx.xxx.xxx.73|25|xxx.xxx.xxx.100|33728 SMTP Timeout
    after 5 minutes trying to read SMTP packetSendmail logs a broken connection:
    Dec  4 17:01:27 relay sendmail[14689]: [ID 801593 mail.crit] mB47gCN4014672: SYSERR(root): timeout writing message to sunmail.domain.ru.: Broken pipe
    Dec  4 17:01:27 relay sendmail[14689]: [ID 801593 mail.info] mB47gCN4014672: to=<[email protected]>, delay=00:07:01, xdelay=00:06:58, mailer=esmtp, pri=329059, relay=sunmail.domain.ru. [xxx.xxx.xxx.73], dsn=4.0.0, stat=DeferredSniffing the wire gives strange results: The SMTP dialog part seems okay, the message is submitted
    (relayed) only for our local user's address. But the message is not transferred until sendmail dies.
    When the sendmail process dies (due to timeout or by a manual kill), about 3 packets appear in the
    sniffer's output, starting with the usual "Received: from" lines and other header parts. The last packet
    has text from the middle of the To: header, often breaking mid-word. Perhaps it's some buffering error
    in either the sending Sendmail or the receiving Sunmail, or some server TCP-networking/sniffer glitch.
    If I manually edit the queue file (/var/spool/mqueue/qfmB47gCN4014672 for the sample above) and delete
    most of the To: header's lines, the message goes through okay.
    This just does not seem logical - the message header text seems to be compliant (that is, each single
    line is short, although all sub-lines of To: concatenate to a rather large text; but not that extremely large).
    Neither sendmail nor sun mail report any error except networking socket failure.
    MTUs are the same on both servers (1500), and any other large message (i.e. with attachments),
    relays okay.
    Are there any known issues on Sun Messaging Server (or Sendmail for that matter) which look like
    this and ring a bell to a casual reader? :) Perhaps Sieve filters, etc.?
    Since sendmail does successfully receive this message from the internet, and none of our several
    incoming milters break along the way, I don't think it should have a huge problem forwarding it to
    another server (I'll try experimenting though). This is why I think it's possible that Sun mail may be
    at fault.
    # imsimta version
    Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 64bit)
    libimta.so 6.3-6.03 (built 17:15:08, Mar 14 2008; 64bit)
    SunOS sunmail 5.10 Generic_127112-07 i86pc i386 i86pc

    Hello all, thanks for your suggestions.
    In short, I debugged with Shane's suggestions. Apparently, tcp_smtp_server didn't get
    a byte for 5 minutes so the read() was locked. At least, there's no specific failing routine
    in Sunmail, so I'm back to research about Sendmail and networking, buffering and so on.
    As I mentioned, when relay's sendmail process is killed, the system spits out about 3
    packets of header data to the network...
    Details follow...
    By "silently failing" i meant that no obvious SMTP error is issued. The connection hangs
    until it's aborted and both servers only complain on that - a failed network connection.
    The resulting problem is that the sendmail relay marks sunmail as "Deferring connections"
    in its hoststatus table, and valid messages are not even attempted for submission. At the
    moment we fixed that brutally but effectively - by removing the hoststatus file for our sunmail
    via cron every minute.
    Concerning Mark's post, these servers are in the same DMZ, on a Cisco 2960G switch
    which caused no specific problems. I mentioned MTU's are the same and standard,
    because a few weeks back we did have LDAP replication problems due to experiments
    with Jumbo frames, but solved them internally (I posted on this in the DSEE forum, also
    asking how to compare LDAPs: [http://forums.sun.com/thread.jspa?threadID=5349017]).
    We use this tandem of relay-backend servers for half a year now (and before we deployed
    Sun Messaging Server, this sendmail relayed mails to our old server for many years).
    So far this (large To:) is the only type of messages I see that cause such behavior; for
    any other large mails the size does not matter, or at least some rejection explanation
    is generated by one of the SMTP engines.
    Shane, thanks for your help over and over ;)
    I tried enabling the options you mentioned, ran "imsimta cnbuild" and reloaded the services.
    Then I fired up the sniffer on the relay server, "tail -f mail.log_current" on the sunmail, and
    submitted a "bad message" from the Sendmail queue.
    In the sniffer the SMTP dialog went ok until submission of message data, where it hung as
    before:
    # ngrep "" tcp port  25 and host sunmail
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      220 sunmail.domain.ru -- Server ESMTP (Sun Java(tm) System Messaging Server 6.
      3-6.03 (built Mar 14 2008; 64bit))..                                      
    T xxx.xxx.xxx.100:53200 -> xxx.xxx.xxx.73:25 [AP]
      EHLO relay.domain.ru..                                                         
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      250-sunmail.domain.ru..250-8BITMIME..250-PIPELINING..250-CHUNKING..250-DSN..25
      0-ENHANCEDSTATUSCODES..250-EXPN..250-HELP..250-XADR..250-XSTA..250-XCIR..25
      0-XGEN..250-XLOOP 4A70E733A15FFE33EF3564BD522B1348..250-STARTTLS..250-ETRN.
      .250-NO-SOLICITING..250 SIZE 20992000..                                   
    T xxx.xxx.xxx.100:53200 -> xxx.xxx.xxx.73:25 [AP]
      MAIL From:<[email protected]> SIZE=200312..                                    
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      250 2.5.0 Address and options OK...                                       
    T xxx.xxx.xxx.100:53200 -> xxx.xxx.xxx.73:25 [AP]
      RCPT To:<[email protected]> NOTIFY=SUCCESS,FAILURE,DELAY..DATA..                
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      250 2.1.5 [email protected] and options OK...                                   
    T xxx.xxx.xxx.73:25 -> xxx.xxx.xxx.100:53200 [AP]
      354 Enter mail, end with a single "."...                                  
    #In the mail.log_current just one line appeared:
    05-Dec-2008 10:51:18.46 tcp_local    +            O TCP|xxx.xxx.xxx.73|25|xxx.xxx.xxx.100|53200 SMTPSince it also mentions tcp_local channel, I decided to enable slave_debug on that as well.
    Rebuilt the configs, and ran msg-stop to see if the processes actually die. When I checked
    the "netstat -an | grep -w 25" and "ps -ef" outputs, there was indeed a tcp_smtp_server
    process running:
    mailsrv 23594   656   0 10:50:08 ?           0:00 /opt/SUNWmsgsr/messaging64/lib/tcp_smtp_serverBoth the sunmail and sendmail relay kept the socket ESTABLISHED. I took a pstack
    of the tcp_smtp_server (below) and killed it with SIGSEGV so I have a core dump if
    needed. Then I started the services and submitted the message from the queue again.
    The SMTP dialog log was actually from tcp_local, and it ended with the lines like these
    (note that even in this detailed log it just died with "network read failed" after 5 minutes,
    I inserted an empty line to make it more visible):
    11:21:18.26: Good address count 1 defer count 0
    11:21:18.26: Copy estimate after address addition is 2
    11:21:18.26: mmc_rrply: Return detailed status information.
    11:21:18.26: mmc_rrply: Returning
    11:21:18.26: Sending    : "250 2.1.5 [email protected] and options OK."
    11:21:18.26: Received   : "DATA"
    11:21:18.26: mmc_waend(0x00749cc0) called.
    11:21:18.26:   Copy estimate is 2
    11:21:18.26:   Queue area size 35152252, temp area size 2785988
    11:21:18.26:   8788063 blocks of effective free queue space available; setting disk limit accordingly.
    11:21:18.26:   1392994 blocks of free temporary space available; setting disk limit accordingly.
    11:21:18.26: Sending    : "354 Enter mail, end with a single "."."
    11:26:18.27: os_smtp_read: [9] network read failed with error 145
    11:26:18.27:     Error: Connection timed out
    11:26:18.27:   Generating V records for all addresses on channel ims-ms                          .
    11:26:18.27: mmc_flatten_address: Flattening address tree into a list.
    11:26:18.27:   Tree prior to flattening:
    11:26:18.27: Level/Node/Left/Right Address
    11:26:18.27: 0/0x0072ea30/0x00000000/0x00866050
    11:26:18.27: 1/0x00866050/0x00751ef8/0x00751ef8 ouruser@ims-ms-daemon
    11:26:18.27: Zero address: 0x00751ef8
    11:26:18.27: smtpc_enqueue returning a status of 137 (Timeout)
    11:26:18.27: SMTP routine failure from SMTPC_ENQUEUE
    11:26:18.27: pmt_close: [9] status 0Apparently, tcp_smtp_server didn't get a byte for 5 minutes so a read() call was locked
    and perhaps this is what didn't allow stop-msg to kill this process...
    At least, there's no specific failing routine in Sunmail, so I'm back to research about
    Sendmail and networking, buffering and so on. As I mentioned, when relay's sendmail
    process is killed, the system spits out about 3 packets of header data to the network...
    The pstack output for a waiting tcp_smtp_server process follows, for completeness sake:
    23594:  /opt/SUNWmsgsr/messaging64/lib/tcp_smtp_server
    -----------------  lwp# 1 / thread# 1  --------------------
    fffffd7ffd830007 lwp_park (0, 0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a1a9 _cond_wait () + 59
    fffffd7ffd82a1d6 cond_wait () + 26
    fffffd7ffd82a219 pthread_cond_wait () + 9
    fffffd7ffededf3e dispatcher_initialize () + 66e
    0000000000404078 main () + 768
    00000000004036fc ???????? ()
    -----------------  lwp# 2 / thread# 2  --------------------
    fffffd7ffd830007 lwp_park (0, fffffd7ffc5fdda0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a012 cond_wait_common () + 1c2
    fffffd7ffd82a286 _cond_timedwait () + 56
    fffffd7ffd82a310 cond_timedwait () + 30
    fffffd7ffd82a359 pthread_cond_timedwait () + 9
    fffffd7ffd520ff4 PR_WaitCondVar () + 264
    fffffd7ffd529854 PR_Sleep () + 74
    fffffd7ffd62d5d8 LockPoller () + 88
    fffffd7ffd5289e7 _pt_root () + f7
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 3 / thread# 3  --------------------
    fffffd7ffd830007 lwp_park (0, fffffd7ffc3fdda0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a012 cond_wait_common () + 1c2
    fffffd7ffd82a286 _cond_timedwait () + 56
    fffffd7ffd82a310 cond_timedwait () + 30
    fffffd7ffd82a359 pthread_cond_timedwait () + 9
    fffffd7ffd520ff4 PR_WaitCondVar () + 264
    fffffd7ffd529854 PR_Sleep () + 74
    fffffd7ffd62d5d8 LockPoller () + 88
    fffffd7ffd5289e7 _pt_root () + f7
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 4 / thread# 4  --------------------
    fffffd7ffd830007 lwp_park (0, 0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a1a9 _cond_wait () + 59
    fffffd7ffd82a1d6 cond_wait () + 26
    fffffd7ffd82a219 pthread_cond_wait () + 9
    fffffd7ffedf5fe8 pmt_refresh_stats () + d8
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 5 / thread# 5  --------------------
    fffffd7ffedecf10 dispatcher_read(), exit value = 0x0000000000000000
            ** zombie (exited, not detached, not yet joined) **
    -----------------  lwp# 6 / thread# 6  --------------------
    fffffd7ffd830007 lwp_park (0, fffffd7ffc1fded0, 0)
    fffffd7ffd829c14 cond_wait_queue () + 44
    fffffd7ffd82a012 cond_wait_common () + 1c2
    fffffd7ffd82a286 _cond_timedwait () + 56
    fffffd7ffd82a310 cond_timedwait () + 30
    fffffd7ffd82a359 pthread_cond_timedwait () + 9
    fffffd7ffeded829 dispatcher_housekeeping () + 1e9
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 14 / thread# 14  --------------------
    fffffd7ffd83319a lwp_wait (d, fffffd7ffbdfdf24)
    fffffd7ffd82c9de _thrp_join () + 3e
    fffffd7ffd82cbbc pthread_join () + 1c
    fffffd7ffedece66 dispatcher_joiner () + 36
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()
    -----------------  lwp# 13 / thread# 13  --------------------
    fffffd7ffd832caa pollsys  (fffffd7ffc1b9860, 1, fffffd7ffc1b97a0, 0)
    fffffd7ffd7d9dc2 poll () + 52
    fffffd7ffee6d7e8 pmt_recvfrom () + 868
    0000000000405a3f os_smtp_read () + 1ff
    0000000000404e3d smtp_get () + 9d
    fffffd7ffec0fda7 big_smtp_read () + 797
    fffffd7ffec36798 data () + a28
    fffffd7ffec460ad smtpc_enqueue () + f9d
    0000000000405343 tcp_smtp_slave () + 223
    00000000004038a4 tcp_smtp_slave_pre () + 54
    fffffd7ffedeccbc dispatcher_newtcp () + 46c
    fffffd7ffd82fd5b _thr_setup () + 5b
    fffffd7ffd82ff90 _lwp_start ()

  • Bpel callbacks(human task)

    Hi,
    i have a human task assigned to sequential list of users(2 users).On outcome updated by 1st user,i need to manipulate the task before it is routed to 2nd user.I thought the bpel callbacks would be helpful...but i could not..
    By default,the onAssigned callback is called when 1st user updates the outcome and routed to 2nd user..But it is late when we want to manipulate the task in onAssigned callback,bcoz it is already been assigned...
    OnTaskUpdated or OnTaskCompleted is not invoked..
    ...can anybody give some idea???

    Here is the is_config file :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ISConfiguration xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig">
    - <configurations>
    - <configuration realmName="corp" displayName="corp Realm">
    - <provider providerType="JAZN" name="OID" service="Identity">
    <connection url="ldap://172.18.172.71:389" binddn="cn=orcladmin" password="KvrRqlQCeHrPqC60eG26eQ==" encrypted="true" />
    </provider>
    </configuration>
    </configurations>
    <property name="caseSensitive" value="false" />
    </ISConfiguration>

  • Inverse relationships silently failing with dual queries

    Now this is a really weird one. (2.2.3, 1.3.1_03, w2k)
    I have some test code to do simple queries
    public Project findProjectByName(String name) {
    return (Project) findByName(Project.class, name);
    public User findUserByName(String name) {
    return (User) findByName(User.class, name);
    private Object findByName(Class clazz, String name) {
    Extent extent = pm.getExtent(clazz, true);
    Query query = pm.newQuery(clazz, extent, "this.name == name");
    query.declareParameters("String name");
    Collection results = (Collection) query.execute(name);
    if (results.size() != 1) {
    throw new IllegalStateException("wrong result count " +
    results.size() + " of " + clazz.getName() + ": " +
    name);
    Object result = results.iterator().next();
    query.closeAll();
    return result;
    and some relationships defined
    which has relationships defined as
    <class name="Permission"/>
    <class name="Project" requires-extent="true">
    <field name="permissions">
    <collection element-type="Permission"/>
    <extension vendor-name="kodo" key="inverse"
    value="project"/>
    </field>
    </class>
    <class name="User" requires-extent="true">
    <field name="permissions">
    <collection element-type="Permission"/>
    <extension vendor-name="kodo" key="inverse" value="user"/>
    </field>
    </class>
    and some code which uses it.
    Project itpap = findProjectByName("itpap");
    User geoff = findUserByName("geoff");
    System.out.println("itpap: permissions" + itpap.getPermissions());
    System.out.println("geoff: permissions" + geoff.getPermissions());
    Problem is, it prints out:
    itpap: permissions[com.cisco.apit.itpap.model.Permission@6c6696,
    com.cisco.apit.itpap.model.Permission@431340]
    geoff: permissions[]
    That is, the inverse relationship for the User object seems to be silently
    failing.
    So I tried reversing the order of the find methods, like so:
    User geoff = mm.findUserByName("geoff");
    Project itpap = mm.findProjectByName("itpap");
    System.out.println("itpap: permissions" + itpap.getPermissions());
    System.out.println("geoff: permissions" + geoff.getPermissions());
    Same problem.
    Then, I tried modifying it to:
    Project itpap = findProjectByName("itpap");
    System.out.println("itpap: permissions" + itpap.getPermissions());
    User geoff = findUserByName("geoff");
    System.out.println("geoff: permissions" + geoff.getPermissions());
    And now it works fine, I get
    itpap: permissions[com.cisco.apit.itpap.model.Permission@4247a0,
    com.cisco.apit.itpap.model.Permission@6c6696]
    geoff: permissions[com.cisco.apit.itpap.model.Permission@2bb7e0,
    com.cisco.apit.itpap.model.Permission@6c6696]
    How weird is that? It seems like the syptoms would be best descibed by "if
    you query for two objects separately, then navigating to a related object
    from one of the queried objects breaks any subsequent attempted navigation
    to a related objects for the other".
    Cheers
    Geoff

    Hi Geoff,
    Check out my posts on "2.2.3GA Transparent Navigation of two-way one-to-one relationship failing"
    (March 9th and following.) Sounds like we may be looking at the same bug. I don't know if this has
    been fixed in 2.2.4.
    David
    Geoff Soutter wrote:
    >
    Now this is a really weird one. (2.2.3, 1.3.1_03, w2k)
    I have some test code to do simple queries
    public Project findProjectByName(String name) {
    return (Project) findByName(Project.class, name);
    public User findUserByName(String name) {
    return (User) findByName(User.class, name);
    private Object findByName(Class clazz, String name) {
    Extent extent = pm.getExtent(clazz, true);
    Query query = pm.newQuery(clazz, extent, "this.name == name");
    query.declareParameters("String name");
    Collection results = (Collection) query.execute(name);
    if (results.size() != 1) {
    throw new IllegalStateException("wrong result count " +
    results.size() + " of " + clazz.getName() + ": " +
    name);
    Object result = results.iterator().next();
    query.closeAll();
    return result;
    and some relationships defined
    which has relationships defined as
    <class name="Permission"/>
    <class name="Project" requires-extent="true">
    <field name="permissions">
    <collection element-type="Permission"/>
    <extension vendor-name="kodo" key="inverse"
    value="project"/>
    </field>
    </class>
    <class name="User" requires-extent="true">
    <field name="permissions">
    <collection element-type="Permission"/>
    <extension vendor-name="kodo" key="inverse" value="user"/>
    </field>
    </class>
    and some code which uses it.
    Project itpap = findProjectByName("itpap");
    User geoff = findUserByName("geoff");
    System.out.println("itpap: permissions" + itpap.getPermissions());
    System.out.println("geoff: permissions" + geoff.getPermissions());
    Problem is, it prints out:
    itpap: permissions[com.cisco.apit.itpap.model.Permission@6c6696,
    com.cisco.apit.itpap.model.Permission@431340]
    geoff: permissions[]
    That is, the inverse relationship for the User object seems to be silently
    failing.
    So I tried reversing the order of the find methods, like so:
    User geoff = mm.findUserByName("geoff");
    Project itpap = mm.findProjectByName("itpap");
    System.out.println("itpap: permissions" + itpap.getPermissions());
    System.out.println("geoff: permissions" + geoff.getPermissions());
    Same problem.
    Then, I tried modifying it to:
    Project itpap = findProjectByName("itpap");
    System.out.println("itpap: permissions" + itpap.getPermissions());
    User geoff = findUserByName("geoff");
    System.out.println("geoff: permissions" + geoff.getPermissions());
    And now it works fine, I get
    itpap: permissions[com.cisco.apit.itpap.model.Permission@4247a0,
    com.cisco.apit.itpap.model.Permission@6c6696]
    geoff: permissions[com.cisco.apit.itpap.model.Permission@2bb7e0,
    com.cisco.apit.itpap.model.Permission@6c6696]
    How weird is that? It seems like the syptoms would be best descibed by "if
    you query for two objects separately, then navigating to a related object
    from one of the queried objects breaks any subsequent attempted navigation
    to a related objects for the other".
    Cheers
    Geoff

  • Silently failing to update applications

    Hi Everyone,
    I have upgraded my iPhone 4s to ios 6 (6.0.1 to be precise) a few weeks back and forgot my itunes account password. So, I created a new account, and every since I did this, some of my apps are silently failing to update.
    Basically, when there is an update for some apps, I see the number notification on my "App Store" app. I open this, and go to UPDATES tab and see that I have some apps that need to be updated. I click on the UPDATE ALL button, and it opens the login popup, I enter my login information and it updates some of the apps, but get stuck on others (always same apps).
    After this point, every time I hit UPDATE ALL, it opens the login popup, then says INSTALLING next to each of these stuck apps, then 1-2 seconds later those buttons turn to UPDATE again. And, I am not getting any error or anything like that, nothing other than those button changing to UPDATE.
    Just to give an example, Facebook app got updated fine, but Linkedin, Foursquare and Skype are not updated and they are stuck for some weird reason? If I delete these stuck apps and re-install, they install fine? Right now, I have 5 apps that are waiting to be updated...
    I tried restarting the iphone, logging out and then logging in, etc. But nothing helped!
    This is driving me crazy, and any help / suggestion would be appreciated!
    Thanks

    It's simple. When you download an app it's assigned to the Apple ID used to dowload it. This cannot be changed. When the apps need to be updated you need to used that Apple ID and Password to update them. Your new Apple ID is what is causing your issue. Delete the apps and re-download them with your current Apple ID. I think you said that is somewhere in your post so you already knew the answer, anyway.
    Hope that helps

  • BPEL Process Manager Oracle BPEL Domain Initialization Failed

    I was able to login into BPEL Process Manager without any error. Then I changed one entry in the oc4j-ra.xml file and restarted the BPEL server and started getting the error message.
    Oracle BPEL Domain Initialization Failed
    The Oracle BPEL Domain default did not initialize successfully. The following error was detected during startup. Please contact the Oracle Support
    Team if you are not able to resolve this problem.
    Reported Error:
    Cannot lookup jdbc datasource.
    The process domain was unable to lookup the TX datasource "eis/DB/DBConnection1".
    Please check that the machine hosting the datasource is physically connected to the network. Additionally check that the
    connection pool properties as defined in the application server startup
    properties are valid.
    I put back the original oc4j-ra.xml back in appropriate dir , restarted the BPEL server and database server still getting the same errro message listed above, It's urgent can anybody post the possible solution/suggestion experience.
    Thanks

    I opened the file under
    ./application-deployments/default/DbAdapter/oc4j-ra.xml and it has the following entry
    <connector-factory location="eis/DB/DBConnection1" connector-name="Database Adapter">
    <config-property name="xADataSourceName" value="jdbc/DBConnection1DataSource"/>
    <config-property name="dataSourceName" value="loc/DBConnection1DataSource"/>
    <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="true"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    I opened that file (
    ./connectors/DbAdapter/DbAdapter/META-INF/oc4j-ra.xml) and it has no entry for
    <connector-factory location="eis/DB/DBConnection1" connector-name="Database Adapter">
    <config-property name="xADataSourceName" value="jdbc/DBConnection1DataSource"/>
    <config-property name="dataSourceName" value="loc/DBConnection1DataSource"/>
    <config-property name="platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="true"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    So I entered this and restarted the BPEL PM but still no luck,
    Is anything else I will be looking in that file let me know

  • Callback setup failed while verifying

    Hi there!
    It's the second time I have this kind of problem with a customer. The message is:
    5.1.0 - Unknown address error 550-'Callback setup failed while verifying <[email protected]\n(result of an earlier callout reused).\nThe initial connection, or a HELO or MAIL FROM:<> command was\nrejected. Refusing MAIL FROM:<> does not help fight spam, disregards\nRFC requirements, and stops you from receiving standard bounce\nmessages. This host does not accept mail from domains whose servers\nrefuse bounces.\nUser Not Found!' (delivery attempts: 0)
    Some one heard about it ?
    Regards !

    Hi,
    Yes this sounds a lot like you where using the bounce verification feature. The reply to address is changes, where bounces should get delivered to and which you would accept. However the other MTA is looking at the mail-from which is not accepted since it does not have a valid bounce tag.
    You would need to configure in an Mail flow policy that is catching there sending IP address ( having the right sendergroup attached to it - I would create a new one with there IP address ) and that does not have the checkbox checked for bounce verification. (accept untagged bounces =Yes)
    Best Regards,
    Mark

  • BPEL callbacks and validation...

    Hi...
    Can I use the BPEL callbacks for Human Task runtime validation?
    For example, if user set payload element X with value A or B then I throw an error message and reassign the task for the same user again.
    TIA.

    Hi...
    Ok, I got it. I can do that with the TaskService class.
    Several TaskService methods receive a IWorkflowContext parameter. In the IRoutingSlipCallback I receive a Task parameter. I can't figure out how I can get a WorkflowContext from a Task. I believe that is something simple.
    TIA.

  • Boot Camp 3.1 update silently fails

    Ever since the Boot Camp 3.1 update was released, I've been trying to install it Every time, it silently fails, whether I'm using Software Update, or downloading and installing the package manually from Apple.com. I'm running Boot Camp 3.0 and it's fine, but it puzzles me why I can't get it updated to 3.1.
    Has anyone run into this issue?

    I was having this problem as well - the installer would pause then crash ("aka The Program Needs to Close") every time I tried. In the general category of "Suspect anything not from Apple", I unplugged everything FireWire/USB and uninstalled the driver for my DisplayLink external graphics adapter.
    The bootcamp 3.1 update then installed just fine. (And the DisplayLink driver reinstalled just fine.)
    I expect that Apple hasn't tested their installer with a wide range of third-party drivers and hardware. Get rid of any hardware or drivers you can that are not bog-standard Apple or Microsoft and see what happens.

  • Mac: R26 Adobe Content Viewer Installation Silently Fails

    I'm installing DPS Desktop Tools 26.0.0 and Adobe Content Viewer is silently failing.  In the installation log:
    CustomHooks.dylib: installation succeeded
    CustomHooks.dylib: Call to LSRegisterURL Failed!
    CustomHooks.dylib: About to delay, to allow previous installation to finish.
    [       0] Thu May  2 12:28:31 2013  INFO
    CustomHooks.dylib: Delay complete.
    CustomHooks.dylib: In InstallAirApp()
    CustomHooks.dylib: Installer files are located:
    /Library/Application Support/Adobe/Installers/AdobeDigitalPublishingCS6/ContentViewer/Install Adobe Content Viewer.app/Contents/MacOS/Install Adobe Content Viewer
    [       0] Thu May  2 12:28:35 2013  INFO
    CustomHooks.dylib: installation failed
    Custom action return code: 0
    :: END TIMER :: [Post payload :{A2C5268E-1455-4D84-AAB0-5AB4FE1CD907}] took 31895 milliseconds (31.895 seconds) DTR = 1399.59 KBPS (1.36679 MBPS)
    No operation.  We're done:
    [       0] Thu May  2 12:28:37 2013  INFO
    The more disturbing thing is that the installer claims the installation succeeded, even though the ACV installation failed.  I can install ACV by hand (by running "Install Adobe Content Viewer.app").  This is occurring inside a VMware Fusion VM with Mac OS X 10.8.2 (I'm using a VM because I have to build a distribution from the product of installing the AIR-based DPS Desktop Tools installer.  This has not been an issue with previous revisions of DPS Desktop Tools).
    - Patrick

    We do see this happen occasionally, but chasing down the root cause is difficult. The manual re-install is our suggested workaround at the moment.
    Neil

  • Silent fail with Flashbuilder due to Windows indexing service!

    Hi,
    since I installed Flashbuilder b1 in April I got again and again silent fails.
    I could change by code, but sometimes all changes where ignored. That was very frustrating.
    Last week I switched the index service off, and voila no more problems since then!!!
    It seems to lock some files, that seems to block eclipse somehow.
    You can deativate it for Vista under
    right mouse on Hardisk Partition->Properties
    deselect the the checkbox "Index this drive for faster searching"
    Confirm it for all folder.
    Hope this will help someone!
    Martin Zach

    Hi David,
    you can test it if you like:
    Switch on indexing for your project folder. Within 7 days you will get problems for shure!
    I realized it because I got the problem again, that Flashbuilder stopped to compile my new code and used the old compiled files.
    Then I left for an appointment for about 3 hours. After I returned, I tried it again and then it works! I haven't changed any of my code or configuration.
    Martin

  • BPEL Callback issue in Asynchronous service

    Hi,
    I’m sporadically getting Callback service issue with Asynchronous BPEL service. (SOA version is 11.1.14)
    Appreciate inputs to resolve it.
    The service is working as expected in most cases and is able to make a callback to the parent service, but random few instances give error – “Unable to access endpoint”
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>
    oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://xxxxx.com:14002/soa-infra/services/default/POServices!1.0*soa_2c3cea4d-8791-453c-aed1-0569a86fa268/WorkFlowSvc%23POProcess/WorkFlowSvc
    </summary>
    The endpoint URI opens up in browser, so endpoint exists; and as mentioned above, many instances have completed successfully too.
    The service continues to be in running state and hence the parent process also remains in running state, unlike in success case when both get completed..
    Now, one observation is that the binding port and endpoint location given in code is http uri; not https
    So not sure why the deployed service is pointing to https uri for callback to parent service.
    In success cases, I’m not able to see the endpoint uri for callback, only the message is seen.
    So I’m not able to confirm if it uses the same https uri when it completes successfully..
    -     Could the issue be related to https access/ owsm policy?
    -     How to check the endpoint point uri for async/ callback service in success case? The SOA logs don’t indicate it either, except in error cases (log level is development/ Trace32 fine)

    Hi,
    FabricInvocationException exception mostly occurs when process is trying to connect WS/Partnerlink service which is not accesible.
    I fixed this issue,
    1. After setting external WS certificate(Keystore) information in my weblogic server.
    2. I have made my weblogic url as public, after which wsdl url is accessible to my destination service.
    Hope this would help in fixing your issue.
    Regards,
    Ajay

  • Invoke bpel from java - Failed to create "ejb/collaxa/system/DeliveryBean

    Hi,
    I have a very simple java class to invoke CreditRatingProcess sample:
    String ssn = null;
    if (ssn == null)
    ssn = "123-12-1234";
    String xml =
    "<ssn xmlns=\"http://services.otn.com\">" + ssn + "</ssn>";
    Locator locator = new Locator("default", "oc4jadmin", "localhost");
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", xml);
    NormalizedMessage res =
    deliveryService.request("CreditRatingService", "process", nm);
    Map payload = res.getPayload();
    System.out.println("BPELProcess CreditRatingService executed!<br>");
    System.out.println("Credit Rating is " + payload.get("payload"));
    When I try to execute, I have the following error:
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at docsdemo.bpelapi.BPELProcess.callProcess(BPELProcess.java:84)
         at docsdemo.bpelapi.tests.Test1.<init>(Test1.java:14)
         at docsdemo.bpelapi.tests.Test1.main(Test1.java:18)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at docsdemo.bpelapi.BPELProcess.callProcess(BPELProcess.java:84)
         at docsdemo.bpelapi.tests.Test1.<init>(Test1.java:14)
         at docsdemo.bpelapi.tests.Test1.main(Test1.java:18)
    I use SOA suite 10.1.3 Developer Preview and JDeveloper 10.1.3
    Can you help me?
    Cyryl
    Message was edited by:
    cbalmati
    Message was edited by:
    cbalmati

    Hi,
    Thanks fro your answer. But it does not work ...
    My demo runs on my laptop (SOA10.1.3 DP / JDeveloper 10.1.3)
    This is my code:
    public void test() {
    String xml = "<name xmlns=\"http://samples.otn.com/helloworld\">" + "test" + "</name>";
    Hashtable jndi = null;
    jndi = new Hashtable();
    // Change the PROVIDER_URL to your BPEL PM host...
    jndi.put(Context.PROVIDER_URL, "ormi://localhost/orabpel");
    jndi.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    jndi.put(Context.SECURITY_PRINCIPAL, "admin");
    jndi.put(Context.SECURITY_CREDENTIALS, "welcome");
    jndi.put("dedicated.connection", "true");
    Locator locator = null;
    try {
    locator = new Locator("default","bpel", jndi);
    } catch (ServerException e) {
    e.printStackTrace();
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage( );
    System.out.println(xml);
    nm.addPart("payload" , xml );
    try {
    deliveryService.post("HelloWorld", "initiate", nm);
    } catch (ServerException e) {
    e.printStackTrace();
    } catch (RemoteException e) {
    e.printStackTrace();
    and that's my error:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
         at docsdemo.ui.XMLMessageHelper.test(XMLMessageHelper.java:62)
         at docsdemo.ui.tests.Tests.<init>(Tests.java:15)
         at docsdemo.ui.tests.Tests.main(Tests.java:20)
    I don't understand because I created a simple JSP to invoke helloWorld process (same code), it's works !!
    Any suggestion?
    Cyryl

Maybe you are looking for

  • Missing numbers in Number Range

    Hi all, I have a requirement like this. When I do a standard process I need to generate batches depending on the cuts in the cable. I'm doing this using Number Range. After I get the batches I may save the document or may not save it. Suppose my firs

  • My Nikon D810 NEF/RAW File Size

    I'm wondering if the 72mg file size is normal or is it something I have set up iinadvertantly. My D800 has a 36mg file size. Thanks. BTW, I also cannot read these files in Lightroom 5.5 for Mac. I hope a fix is coming soon!

  • Apple id format for using find my iphone

    Hi, How do i use my existing apple id for setting up the Find My Iphone? the set up screen says to input the apple id as [email protected], ie in an email address format, whereas my apple id is not in the [email protected] format. it is only xxx.

  • Controlling authorization for t-code SQVI.

    Hi, I have created a query using t-code SQVI. I want user to use this query. When i gave authorization of SQVI to user, he is able to modify the query created by me. Also he is able to create new query which is not desirable. Could anybody tell me ho

  • Sales order - Incompletion Log

    Hi All, I want to generate/create incompletion log programatically for sales order based on some conditions. The incompletion log procedure will not help me since this is basically for some condition. For example, I want to create incompletion log fo