To invoke a java Program from non-java Clients

I need to develop a program in java which will be invoked using some non java client. For example: for the time being my java application will be invoked by tandem. Also, a huge volume of transactions can be expected to come in and these need to be processed at high speed(response time of 5 seconds or so). Any suggestions ?

By Tandem..I mean a non-java client...
We need to look at possible architectures for implementing the payment module of the an application. We can think of the payment module as a Java process that does the following � 1. validate the card and some other stuff....
The payment module should be able to support non java clients...
Take the case when a customer swipes a card at a store.... Another process (call it the router) determines if the transaction info needs to be sent to my java program... If yes , the router invokes my payment module. The router can vary from store to store ... So my Payment module will be invoked by non java clients... As part of deciding on the architecture we need to decide on the protocol used for communication � http/tcp/iiop etc.
Also, we need to decide on the various options for implementing the payment module.... It can be webservices, EJB Session Beans etc... But the key point is ,.....performance.... A huge volume of transactions can be expected to come in and these need to be processed at high speed(response time of 5 seconds or so).

Similar Messages

  • Regarding Conversion Of ABAP program from non unicode to uni code

    Hi Can you please let me know the procedure for converssion of non unicode to unicode?
    Thanks in advance,
    zubera

    Hi
    The Link will be helpful to you.
    Re: Upgrade 4.6 to ECC - What are the responsibilites
    regarding Unicode influence in Standard programs
    Very good document:
    http://www.doag.org/pub/docs/sig/sap/2004-03/Buhlinger_Maxi_Version.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d37d1ad9-0b01-0010-ed9f-bc3222312dd8
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/589d18d9-0b01-0010-ac8a-8a22852061a2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f8e316d9-0b01-0010-8e95-829a58c1511a
    You need to use the transaction UCCHECK.
    The report documentation is here
    ABAP Unicode Scan Tool UCCHECK
    You can use transaction UCCHECK to examine a Unicode program set for syntax errors without having to set the program attribute "Unicode checks active" for every individual program. From the list of Unicode syntax errors, you can go directly to the affected programs and remove the errors. It is also possible to automatically create transport requests and set the Unicode program attribute for a program set.
    Some application-specific checks, which draw your attention to program points that are not Unicode-compatible, are also integrated.
    Selection of Objects:
    The program objects can be selected according to object name, object type, author (TADIR), package, and original system. For the Unicode syntax check, only object types for which an independent syntax check can be carried out are appropriate. The following object types are possibilities:
    PROG Report
    CLAS Class
    FUGR Function groups
    FUGX Function group (with customer include, customer area)
    FUGS Function group (with customer include, SAP area)
    LDBA Logical Database
    CNTX Context
    TYPE Type pool
    INTF Interface
    Only Examine Programs with Non-Activated Unicode Flag
    By default, the system only displays program objects that have not yet set the Unicode attribute. If you want to use UCCHECK to process program objects that have already set the attribute, you can deactivate this option.
    Only Objects with TADIR Entry
    By default, the system only displays program objects with a TADIR entry. If you want to examine programs that don't have a TADIR entry, for example locally generated programs without a package, you can deactivate this option.
    Exclude Packages $*
    By default, the system does not display program objects that are in a local, non-transportable package. If you want to examine programs that are in such a package, you can deactivate this option.
    Display Modified SAP Programs Also
    By default, SAP programs are not checked in customer systems. If you also want to check SAP programs that were modified in a customer system (see transaction SE95), you can activate this option.
    Maximum Number of Programs:
    To avoid timeouts or unexpectedly long waiting times, the maximum number of program objects is preset to 50. If you want to examine more objects, you must increase the maximum number or run a SAMT scan (general program set processing). The latter also has the advantage that the data is stored persistently. Proceed as follows:
    - Call transaction SAMT
    - Create task with program RSUNISCAN_FINAL, subroutine SAMT_SEARCH
    For further information refer to documentation for transaction SAMT.
    Displaying Points that Cannot Be Analyzed Statically
    If you choose this option, you get an overview of the program points, where a static check for Unicode syntax errors is not possible. This can be the case if, for example, parameters or field symbols are not typed or you are accessing a field or structure with variable length/offset. At these points the system only tests at runtime whether the code is sufficient for the stricter Unicode tests. If possible, you should assign types to the variables used, otherwise you must check runtime behavior after the Unicode attribute has been set.
    To be able to differentiate between your own and foreign code (for example when using standard includes or generated includes), there is a selection option for the includes to be displayed. By default, the system excludes the standard includes of the view maintenance LSVIM* from the display, because they cause a large number of messages that are not relevant for the Unicode conversion. It is recommended that you also exclude the generated function group-specific includes of the view maintenance (usually L<function group name>F00 and L<function group name>I00) from the display.
    Similarly to the process in the extended syntax check, you can hide the warning using the pseudo comment ("#EC *).
    Applikation-Specific Checks
    These checks indicate program points that represent a public interface but are not Unicode-compatible. Under Unicode, the corresponding interfaces change according to the referenced documentation and must be adapted appropriately.
    View Maintenance
    Parts of the view maintenance generated in older releases are not Unicode-compatible. The relevant parts can be regenerated with a service report.
    UPLOAD/DOWNLOAD
    The function modules UPLOAD, DOWNLOAD or WS_UPLOAD and WS_DOWNLOAD are obsolete and cannot run under Unicode. Refer to the documentation for these modules to find out which routines serve as replacements.
    Regards
    Anji

  • Calling web-service from non-SAP client

    Hi,
    Could anyone here help me with the code with which we can call the non-SAP service in java from a java client.
    I have the wsdl and service deployed on the server.
    Regards,
    Manoj

    Hi Eduardo,
    We are trying to consume a non-SAP webservice (https based) which uses a certificate issued by the non-SAP web service provider for authentication.
    We tried consuming the web service using the Web Dynpro Java's Adaptive WebService Model method. We configured the Logical Destinations with X.509 client certificate authentication and have added the certificate to the WebServicesSecurity keystore.
    However, when we run the application, we get the 'Peer certificate rejected by ChainVerifier' error.
    Could you guide us on how to resolve the same ? If possible would you also provide the step-by-step details of how to create the EJB application that you did to achine this ?
    Any help is greatly appreciated.
    Thanks.
    Melwyn.

  • Invoking a SyncAsync Process from a Web Client

    I implemented a SyncAsync pattern as documented on the BEA website which allowed me to invoke an async process from a stateless process.
    This works as a syncasync wsdl gets generated and is used by the stateless invoker process to form a web service control to invoke the async process.
    What i would like to do now is call the async process via its syncasync wsdl from a web client. Does anyone know how to create a web service client from the syncasync wsdl which I can use from a web client ?

    Hello,
    Here is the code I use:
    Properties props = new Properties();
    Locator locator = null;
    props.put("orabpel.platform", "ias_10g" );
    props.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory" );
    props.put("java.naming.provider.url","opmn:ormi://host:port/orabpel" );
    props.put("java.naming.security.principal", "adminuser" );
    props.put("java.naming.security.credentials", "mdp" );
    String securityCredentials = "adminuser";
    String selectedDomain = "default";
    locator = new Locator(selectedDomain,securityCredentials,props);
    IBPELProcessHandle procs[] = locator.listProcesses();
    The error is:
    Exception in thread "main" java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: com.oracle.bpel.client.BPELProcessHandle; local class incompatible: stream classdesc serialVersionUID = 5429682712928177644, local class serialVersionUID = 8176841433835717563
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:82)
    at com.oracle.bpel.client.Locator.listProcesses(Locator.java:309)
    Thanks for help.
    Edited by: 857737 on 14 sept. 2012 10:00

  • To check the difference between 2 programs from 2 different clients

    standard program which you can use to compare difference between sources codes of 2 different programs

    Hi,
    use remote comparision to compare the program with two different clients..or use TCODE-SE39
    Regards,
    Nagaraj

  • Can't run programs from non-admin account: redux

    Background: I have years of experience with PCs, very little with Macs. I work with children in a group home. The tech support people who set up this iMac (OS X 10.2) have long since departed, and no one in the organization has any clue as to what changes they made to this system, and I'm sure that those tech people made some changes. For example, in admin accounts other than "root," either there is no access to the Utilities folder or the folder has been well hidden.
    The Problem: The boys in this home will use a non-admin account. The programs I have installed for them will run under admin accounts but not under the "boys" account, which is non-admin. The system tells me that the account does not have enough access privileges to run the programs. (Program that had been installed before I got access to this iMac will run under the "boys" account.)
    In discussions on this forum several months ago, I thought the answers I got here had helped me solve the problem. Then, for administrative reasons, I did not touch the iMac until last week. What I thought had been solved is not solved.
    From "root," using the "Capabilities" option in the Accounts folder, I have added to the "Add other applications..." section the programs I want "boys" to have access to. But this doesn't work. When I log in to "boys," access is denied: insufficient access privileges.
    If I give up on this system, the boys will not be able to use this iMac, and that would be a shame.

    I realize that it sounds like I ignored all the previous advice before I drafted this latest post. But the first thing I did when I returned to the iMac was to look at the posts.
    I didn't touch the system for six months. I was waiting for approval from administration to upgrade the OS. By the time I got the approval, upgrading was no longer an option -- according to the manager of the local Genius Bar. This system is not capable of running 10.5, and Apple will no longer sell 10.4. I can find 10.4 on the Net, but those are private sellers and the price is too high.
    Now that I've got that out of the way, the current task: I have no idea why, but the gains I accomplished six months ago have disappeared. The "boys" account can run none of the software I installed. No one else has touched the system. (I live alone.)
    I logged on as "root" and went to Accounts. Using 10.2's Capabilities function, I tried to check all the boxes for "boys." But when I close the screen and then re-open it, the system has unchecked "Open all System Preferences"; "Change Password"; and access to "Utilities."
    At this point I cannot create new folders under "boys." "boys" can run software that was installed before I got the machine, but that's all.
    I have to assume that I inadvertently did something that wiped out my previous gains. But I ain't got a clue.

  • Can't run programs from non-admin account

    I'm new to the Mac and rusty with -- but not new to -- UNIX. I'm working with an iMac running OS X 10.2. I have installed several programs in a non-admin account (called "boys"), but they will not run from that account. The "get info" screen tells me that the "boys" account is the owner of the program. Read/write permission is enabled. When I try to run the programs, I get this error message: "The operation could not be completed because you do not have enough access privileges." I have installed the same programs in an admin account, and the programs run just fine from that account. I'd like to get this working so that the boys in the "boys" account can actually use the system. I have "inherited" this system from prior users. Programs that were on the system when I got my hands on it do run -- for the most part -- from "boys."
    iMac Mac OS X (10.2.x)
    iMac   Mac OS X (10.2.x)  

    Thanks for the reply, Ken. My various unsuccessful attempts to solve this problem led me to create a folder named "Programs." (I know, my PC roots are showing.) I did this for two reasons: 1) I hoped that this would give me more control over what was happening; and 2) I wanted to give the children with whom I am working an easy way to find the programs that I want them to use. When I use < cd /users/boys > and then do an ls- l, I see the Programs folder. An ls -l on that folder shows all the program I have loaded and indicates that the "x" permission is applied to owner, group and others. Moreover, I assumed (incorrectly, perhaps) that installing the programs using the "boys" non-admin account would make them the "owner" of the programs and that "x" permission would follow. Well, ls -l indicates that they are the owners and that they do have execute permission. I can only guess that the prior users of this system -- and nobody in this organization seems to know where they are -- did something that requires more than Advil to overcome.
    J...
    iMac Mac OS X (10.2.x)
    iMac Mac OS X (10.2.x)

  • Wondering how we can invoke static method g() from non-static method d()

    class A {
    final int x;
    A() {
    x = 1;
    int f() {
    return d(this,this);
    int d(A a1, A a2) {
    int i = a1.x;
    g(a1);
    int j = a2.x;
    return j - i;
    static void g(A a) {
    // uses reflection to change a.x to 2
    }

    public class A {
         final int x;
         A() {
              x = 1;
         int f() throws IllegalArgumentException, SecurityException, IllegalAccessException, NoSuchFieldException {
              return d(this,this);
         int d(A a1, A a2) throws IllegalArgumentException, SecurityException, IllegalAccessException, NoSuchFieldException {
              int i = a1.x;
              g(a1);
              int j = a2.x;
              return j - i;
         static void g(A a) throws IllegalArgumentException, SecurityException, IllegalAccessException, NoSuchFieldException {
              // uses reflection to change a.x to 2
              //a.getClass().getField("x").setInt(a, 5);
              a.getClass().getDeclaredField("x").setInt(a, 5);
         public static void main(String[] args) throws IllegalArgumentException, SecurityException, IllegalAccessException, NoSuchFieldException{
              A a = new A();
              System.out.println(a.f());
    throws this exception:
    Exception in thread "main" java.lang.IllegalAccessException: Can not set final int field A.x to (int)5
         at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:55)
         at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:79)
         at sun.reflect.UnsafeQualifiedIntegerFieldAccessorImpl.setInt(UnsafeQualifiedIntegerFieldAccessorImpl.java:114)
         at java.lang.reflect.Field.setInt(Field.java:802)
         at A.g(A.java:22)
         at A.d(A.java:13)
         at A.f(A.java:9)
         at A.main(A.java:27)

  • Calling JCO RFC Server program from JCO RFC client

    Hi,
    I have an RFC registered server program which implements JCO.Server.  It seems to be working fine, when called from SAP.
    For testing purposes, I was trying to write a JCO client program which would take the place of the SAP client.
    This program opens a connection to the RFC server and executes a function e.g.
    JCO.Client client = JCO.createClient("xx.yy.com", "sapgw35", "MYPROGID");
    client.connect();
    client.execute(function);
    The RFC server program receives the call fine, when I test with a simple function which has no table parameters.  However when I tried a more complex function with table parameters, I get an serverExceptionOccurred from the RFC server program:
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: connection closed without message (CM_NO_DATA_RECEIVED)
        at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)
        at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1368)
        at com.sap.mw.jco.JCO$Server.listen(JCO.java:6805)
    I have tried to initialize the repositories in both server and client programs correctly, so that the function is in the cached function list and the table structures in the cached structures list before the function is invoked.  But I am not sure if there is still something I am missing, so any ideas would be welcome.
    Thanks,
    Richard

    JCO example 5 is a very good one for server side programming.
    try the example,somethings you 'd better make clear.
    1) JCO.server
    2) repositories--data mapping
    3) parameters: export import,table...
    further topic:
    1) JCO pool
    2) tRFC,qRFC
    After you have success in Client side programming,try example 5.
    Regards

  • Error in invoking JAX-WS webservice from a clientgen client from WL9.2

    Hi,
    I am getting error while trying to invoke a jax-ws webservice client from an application deployed in weblogic9.2. The client was created from clientgen task using ant and weblogic 9.2 jars. I get the error for data binding for a timestamp field. Now i understand that jax-ws is not comaptible with jax-ws but there must be some way to do that. Any pointers would be helpful. I could not get anything useful so please use thsi post for same and guide me.

    Try this to verify that your process on the SOA Suite is correct:
    Use the tool SoapUI (open source) to execute a request based on the WSDL of your web service. If this is correct your process is working fine. SoapUI acts as a client to call your webservice via Soap.
    If the call is working, then something on the webservice-client-proxy of the third-party is wrong. Try to find out what they send as soap request.
    Regards,
    Marc
    http://orasoa.blogspot.com

  • Copy Distribution model from non changeable client to new system

    Hi EDI-Experts,
    Help me.
    How can I easily copy a distribution model from a nn-changeable client to w new system.
    Example: DEV client 110, Test client 150 (with valid distribution model), new syste, QAE,cleint 200
    How can I transport the distribution model from client 150 of DEV system to 200 of QAE system.
    How does the generation of the partner profiles work then?Anything to consider?
    !! Client 150 of DEV is not changeable !!
    Many thanks
    JW

    Goto Transaction BD64.
    In the Menubar Edit -->Model View --> Distribute
                                                            Transport
    U have the option of distributing ur Model view to another client.
    Hope this helps.
    Regards,
    Mithun
    Edited by: Mithun Shetty on Jul 16, 2008 8:33 PM

  • Invoking C programs from Weblogic

    OS: Solaris8
    Appserver:weblogic 8.1 sp2
    JRE:JRE1.4.1_05
    Issue: While invoking C executable programs from java The server hangs intermittently in Production. Here are the Thread Dump and Code
    Solution is highly appreciated
    Thread Dump
    ===========
    Full thread dump Java HotSpot(TM) Server VM (1.4.1_05-b01 mixed mode):
    "Thread-22933" daemon prio=5 tid=0xe9b9e8 nid=0x8699 runnable [e6701000..e67019bc]
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:191)
         at java.lang.UNIXProcess$DeferredCloseInputStream.read(UNIXProcess.java:219)
         at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:408)
         at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:448)
         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
         - locked <f1eef700> (a java.io.InputStreamReader)
         at java.io.InputStreamReader.read(InputStreamReader.java:167)
         at java.io.BufferedReader.fill(BufferedReader.java:136)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         - locked <f1eef700> (a java.io.InputStreamReader)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at com.fedex.meteor.util.RunAsync$OutErrReader.run(RunAsync.java:153)
         at java.lang.Thread.run(Thread.java:536)
    "Thread-22934" daemon prio=5 tid=0x1b3b28 nid=0x8698 runnable [e6801000..e68019bc]
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:191)
         at java.lang.UNIXProcess$DeferredCloseInputStream.read(UNIXProcess.java:219)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
         - locked <f1ef57f0> (a java.io.BufferedInputStream)
         at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:408)
         at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:448)
         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
         - locked <f1ef5868> (a java.io.InputStreamReader)
         at java.io.InputStreamReader.read(InputStreamReader.java:167)
         at java.io.BufferedReader.fill(BufferedReader.java:136)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         - locked <f1ef5868> (a java.io.InputStreamReader)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at com.fedex.meteor.util.RunAsync$OutErrReader.run(RunAsync.java:153)
         at java.lang.Thread.run(Thread.java:536)
    "process reaper" daemon prio=5 tid=0xe7e3f8 nid=0x8697 runnable [e6901000..e69019bc]
         at java.lang.UNIXProcess.waitForProcessExit(Native Method)
         at java.lang.UNIXProcess.access$1000(UNIXProcess.java:20)
         at java.lang.UNIXProcess$3.run(UNIXProcess.java:84)
    "ExecuteThread: '5' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0xcfb2a8 nid=0x41 in Object.wait() [e6a01000..e6a019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f17bb610> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f17bb610> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '4' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0xa0d458 nid=0x40 in Object.wait() [e6b01000..e6b019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f17bb690> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f17bb690> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '3' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0xa6e4f0 nid=0x3f in Object.wait() [e6c01000..e6c019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f17bb710> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f17bb710> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '2' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0xd412e8 nid=0x3e in Object.wait() [e6d01000..e6d019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f17bb790> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f17bb790> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '1' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0xf5e5e8 nid=0x3d in Object.wait() [e6e01000..e6e019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f17bb810> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f17bb810> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '0' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x10f2c58 nid=0x3c in Object.wait() [e6f01000..e6f019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f17bb890> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f17bb890> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0x2df4c8 nid=0x3b waiting for monitor entry [e7001000..e70019bc]
         at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:91)
         - waiting to lock <f149b368> (a java.lang.String)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    "ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0xa0ca98 nid=0x3a in Object.wait() [e7101000..e71019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f1499358> (a [Lweblogic.socket.PosixSocketInfo$FdStruct;)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:95)
         - locked <f1499358> (a [Lweblogic.socket.PosixSocketInfo$FdStruct;)
         - locked <f149b368> (a java.lang.String)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0x888688 nid=0x39 waiting for monitor entry [e7201000..e72019bc]
         at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:91)
         - waiting to lock <f149b368> (a java.lang.String)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    "ListenThread.Default" prio=5 tid=0x391fe0 nid=0x38 runnable [e7301000..e73019bc]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <f14a1588> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:24)
         at weblogic.t3.srvr.ListenThread.accept(ListenThread.java:739)
         at weblogic.t3.srvr.ListenThread.run(ListenThread.java:292)
    "Thread-6" daemon prio=5 tid=0xe85358 nid=0x37 in Object.wait() [e7781000..e77819bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f133ce00> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <f133ce00> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "ExecuteThread: '0' for queue: 'JMS.TimerTreePool'" daemon prio=5 tid=0xe85810 nid=0x36 in Object.wait() [e7881000..e78819bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f13cb200> (a weblogic.jms.backend.BETimerTree)
         at weblogic.jms.backend.BETimerTree.execute(BETimerTree.java:146)
         - locked <f13cb200> (a weblogic.jms.backend.BETimerTree)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    "Thread-5" prio=5 tid=0xf901a0 nid=0x35 in Object.wait() [e8201000..e82019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f12da390> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <f12da390> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "weblogic.health.CoreHealthMonitor" daemon prio=5 tid=0x56f560 nid=0x34 waiting on condition [e8401000..e84019bc]
         at java.lang.Thread.sleep(Native Method)
         at weblogic.t3.srvr.CoreHealthMonitorThread.run(CoreHealthMonitorThread.java:127)
    "Thread-4" prio=5 tid=0x250aa0 nid=0x33 in Object.wait() [e8501000..e85019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f1023e90> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <f1023e90> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "VDE Transaction Processor Thread" prio=2 tid=0x67c288 nid=0x31 in Object.wait() [e8601000..e86019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0f07f98> (a com.octetstring.vde.backend.standard.TransactionProcessor)
         at java.lang.Object.wait(Object.java:426)
         at com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(TransactionProcessor.java:356)
         - locked <f0f07f98> (a com.octetstring.vde.backend.standard.TransactionProcessor)
         at com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionProcessor.java:212)
    "ExecuteThread: '2' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x4e9be0 nid=0x30 in Object.wait() [e8701000..e87019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7c9e8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7c9e8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '1' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x375dd0 nid=0x2f in Object.wait() [e8801000..e88019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7ca68> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7ca68> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '0' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x375c38 nid=0x2e in Object.wait() [e8901000..e89019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7cae8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7cae8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '1' for queue: 'weblogic.admin.HTTP'" daemon prio=5 tid=0x501998 nid=0x2d in Object.wait() [e8a01000..e8a019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7cb68> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7cb68> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'" daemon prio=5 tid=0x3756a0 nid=0x2c in Object.wait() [e8b01000..e8b019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7cbe8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7cbe8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "weblogic.security.SpinnerRandomSource" daemon prio=5 tid=0x500068 nid=0x2b in Object.wait() [e8c01000..e8c019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7ccb0> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.security.SpinnerRandomBitsSource.run(SpinnerRandomBitsSource.java:60)
         - locked <f0e7ccb0> (a java.lang.Object)
         at java.lang.Thread.run(Thread.java:536)
    "weblogic.time.TimeEventGenerator" daemon prio=9 tid=0x2a6a48 nid=0x2a in Object.wait() [e8d01000..e8d019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7cd20> (a weblogic.time.common.internal.TimeTable)
         at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:271)
         - locked <f0e7cd20> (a weblogic.time.common.internal.TimeTable)
         at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:118)
         at java.lang.Thread.run(Thread.java:536)
    "ExecuteThread: '4' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x79dd30 nid=0x29 in Object.wait() [e8e01000..e8e019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7cd98> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7cd98> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '3' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x2bb1a0 nid=0x28 in Object.wait() [e8f01000..e8f019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7ce18> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7ce18> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '2' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x2f7df0 nid=0x27 in Object.wait() [e9001000..e90019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7ce98> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7ce98> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '1' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x2f7a40 nid=0x26 in Object.wait() [e9101000..e91019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7cf18> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7cf18> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '0' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x2f6e90 nid=0x25 in Object.wait() [e9201000..e92019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7cf98> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7cf98> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '24' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x2f62e0 nid=0x24 in Object.wait() [e9301000..e93019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7d018> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7d018> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '23' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x2f5760 nid=0x23 in Object.wait() [e9401000..e94019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7d098> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7d098> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '22' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x79a978 nid=0x22 in Object.wait() [e9501000..e95019bc]
         at java.lang.Object.wait(Native Method)
         - waiting on <f0e7d118> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:426)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
         - locked <f0e7d118> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
    "ExecuteThread: '21' for queue: 'weblogic.kernel.Default'" daemon prio=5 tid=0x293028 nid=0x21 runnable [e9600000..e96019bc]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at oracle.net.ns.Packet.receive(Unknown Source)
         at oracle.net.ns.DataPacket.receive(Unknown Source)
         at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:931)
         at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:375)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
         - locked <f1aed700> (a oracle.jdbc.ttc7.TTC7Protocol)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2149)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2032)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2894)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
         - locked <f1ef9ab0> (a oracle.jdbc.driver.OracleCallableStatement)
         - locked <f1aec400> (a oracle.jdbc.driver.OracleConnection)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:684)
         - locked <f1ef9ab0> (a oracle.jdbc.driver.OracleCallableStatement)
         - locked <f1aec400> (a oracle.jdbc.driver.OracleConnection)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:68)
         at com.fedex.meteor.ejb.sessions.updatebeans.updatesession.UpdateSessionBean.getFirstLogin(UpdateSessionBean.java:1243)
         at com.fedex.meteor.ejb.sessions.updatebeans.updatesession.UpdateSessionBean_zsi8w_EOImpl.getFirstLogin(UpdateSessionBean_zsi8w_EOImpl.java:3114)
         at com.fedex.meteor.servlet.MaintenanceUpdateServlet.modifyLogOutTimeCard(MaintenanceUpdateServlet.java:2594)
         at com.fedex.meteor.servlet.MaintenanceUpdateServlet.doPost(MaintenanceUpdateServlet.java:477)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    =================================================
    CODE
    =====
    import java.io.File;
    import java.io.InputStream;
    import java.io.IOException;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import org.apache.log4j.Logger;
    import com.fedex.meteor.data.*;
    public class RunAsync {
    //=============
    // Logger
    //=============
    private static final Logger m_logger = Logger.getLogger(RunAsync.class);
    //==============================
    // Class Variables
    //==============================
    private static final String CLASSNAME = "RunAsync:";
    private StringBuffer errorMessage = null;
    Process pro = null;
    InputStream error = null;
    InputStream output = null;
    public RunAsync()
    logDebug(" Instantiating RunAsync!!");
    public void executeCall(String args[]) throws Exception{
    errorMessage = new StringBuffer();
    try {
    boolean status = false;
    if (args.length > 1) {
    String prg = "";
    for(int i =0;i<args.length;i++)
    prg = prg+" "+args;
    logDebug(" C Command: "+prg);
    pro = Runtime.getRuntime().exec(args);
    else {
    logDebug(" C Command: "+args[0]);
    pro = Runtime.getRuntime().exec(args[0]);
    error = pro.getErrorStream();
    output = pro.getInputStream();
    Thread err = new Thread(new OutErrReader(error));
    Thread out = new Thread(new OutDebugReader(output));
    out.start();
    err.start();
    int exitValue = pro.waitFor();
    logDebug(" Program's exit value:"+exitValue);
    if(exitValue!=0)
    logError("IOException: "+errorMessage);
    throw new Exception("Process has failed: "+errorMessage);
    catch(java.io.IOException e) {
    logError("IOException");
    reset(pro,output,error);
    throw new IOException(CLASSNAME+" Process failed : "+e.getMessage());
    catch(java.lang.InterruptedException e) {
    logError("InterruptedException");
    reset(pro,output,error);
    throw new InterruptedException(CLASSNAME+" Process failed: "+e.getMessage());
    finally
    reset(pro,output,error);
    public void executeCallWithEnvironment(String[] args,String[] env) throws Exception{
    errorMessage = new StringBuffer();
    try {
    boolean status = false;
    logDebug(" C Commandd: "+args[0]);
    logDebug(" Environment:"+env[0]);
    pro = Runtime.getRuntime().exec(args);
    error = pro.getErrorStream();
    output = pro.getInputStream();
    Thread err = new Thread(new OutErrReader(error));
    Thread out = new Thread(new OutDebugReader(output));
    out.start();
    err.start();
    int exitValue = pro.waitFor();
    logDebug(" Program's exit value:"+exitValue);
    if(exitValue!=0)
    logError("IOException: "+errorMessage);
    throw new Exception("Process has failed: "+errorMessage);
    catch(java.io.IOException e) {
    logError("IOException");
    reset(pro,output,error);
    throw new IOException(CLASSNAME+" Process failed : "+e.getMessage());
    catch(java.lang.InterruptedException e) {
    e.printStackTrace();
    logError("InterruptedException");
    reset(pro,output,error);
    throw new InterruptedException(CLASSNAME+" Process failed: "+e.getMessage());
    finally
    reset(pro,output,error);
    * This method closes the database connection before the bean is garbage
    * collected.
    protected void finalize()
    throws Throwable
    logDebug("finalize() is being called: ");
    reset(pro,output,error);
    private void reset(Process process,InputStream output, InputStream error)
    try
    if(error != null)
    error.close();
    if(output != null)
    output.close();
    if(process != null)
    logDebug("Sub Process is being destroyed after usage!");
    process.destroy();
    process = null;
    }catch(Exception ex)
    logError("Error in resetting the Process"+ex.getMessage());
    process = null;
    class OutErrReader implements Runnable {
    InputStream is;
    public OutErrReader(InputStream is) {
    this.is = is;
    public void run() {
    try {
    BufferedReader in = new BufferedReader(new InputStreamReader(is));
    String temp = null;
    while((temp = in.readLine()) != null) {
    logError(temp);
    errorMessage.append(temp+"\n");
    is.close();
    catch(Exception e) {
    logError(e.getMessage());
    if(errorMessage != null)
    errorMessage.append(e.getMessage());
    class OutDebugReader implements Runnable {
    InputStream is;
    public OutDebugReader(InputStream is) {
    this.is = is;
    public void run() {
    try {
    BufferedReader in = new BufferedReader(new InputStreamReader(is));
    String temp = null;
    while((temp = in.readLine()) != null) {
    logDebug(temp);
    is.close();
    catch(Exception e) {
    logError(e.getMessage());
    //======================
    // Logging Methods
    //======================
    // Method: logError()
    * This method will log error messages using the log4J API.
    protected static void logError(String strMessage)
    getLogger().error(CLASSNAME+"Error: [" + strMessage + "]");
    // Method: logWarning()
    * This method will log warning messages using the log4J API.
    protected static void logWarning(String strMessage)
    getLogger().warn(CLASSNAME+"Warning: [" + strMessage + "]");
    // Method: logInfo()
    * This method will log informational messages using the log4J API.
    protected static void logInfo(String strMessage)
    getLogger().info(CLASSNAME+strMessage);
    // Method: logDebug()
    * This method will log informational messages using the log4J API.
    protected static void logDebug(String strMessage)
    getLogger().debug(CLASSNAME+strMessage);
    // Method: getLogger()
    * This method will log informational messages using the log4J API.
    protected static Logger getLogger()
    return m_logger;

    ]Hey
    Can u please tell me how to invoke a C function using BPEL....I mean how can i build a webservice using my C function.I appreciate ur help
    Swethaa...

  • Trying to invoking Concurrent Program from BPEL (How to change Resp n WSDL)

    Hi,
    I am trying to invoke a concurrent program from my BPEL process using Oracle Apps adapter. When i am using this adapter, it is not showing the required concurrent program in open interface folder. It showing only few but not one which i am trying to invoke. Can anybody explain me what is the issue with my apps adapter.
    I am using apps schema for adapter.
    Please explain me the below Queries.
    1. Is apps schema enough to configure and get the required concurrent program for adapters?.
    2. After creating apps adapter, in wsdl file it is showing apps user as : SYSTEM and Responsibility as : System Administrator. How can i change this responsibility to the required responsibility whihc can run my concurrent program.
    I am not sure about system administrator responsibility can able to run the required concurrent program.
    Regards,
    Rs.

    First of all does this scenario occur again.
    "Works first/second time. Later gives this error."
    After you restart the SOA server are you able to reproduce this scenario?
    As already pointed out and from the error message, database connection is reset.
    If you find this error again, try this out.
    em -> home / oc4j_soa -> Administration -> JDBC Resources
    Use the "Test Connection" option for the Connection Pool that you are using for your database JNDI.
    It comes back and say "Connection to "XYZCP" established successfully." it is good to use.
    Run the BPEL process again and once you find the error, come back and test the connection.
    If it comes back with Error, diagnose based on the error message received.
    Cheers
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • Invoke External programs from inside App Server

    hi,
    How can I invoke an external program from a session bean (or from an MDB)?
    Can I use Runtime.exec() directly from a bean?
    If so, are there any security considerations?
    thanks,
    Sundar

    I found this article rather helpful:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Java client for Adep dataservice fill and syncFill

    Iam trying to invoke Adep Data services from a java client, but unable to get any help. I would like to invoke fill and syncFill operations from a java client both for load testing and to develop  a separate java mobile client application taht wroks with Adep. I tried the following, but does not work from client:
                    DataMessage msg = new DataMessage();        
                    msg.setTimestamp(System.currentTimeMillis());        
                    msg.setDestination(destinationId);        
                    msg.setOperation(DataMessage.FILL_OPERATION); 
                    MessageBroker.getMessageBroker(null).getService("data-service").serviceMessage(msg);
    Can you please point me in the right direction.
    Thanks
    Vijay

    Hi Vijay,
    At this time, Java, iOS and HTML5/JS clients do not support Data Management Service (DMS). Only Flex based clients support Data Management. That said:
    1. From server side, you can invoke Data Management using the DataServiceTransaction (DST) API to invoke fill etc. methods.See the following section of the LCDS guide for an example: http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Developing/WS4 ba8596dc6a25eff5473e3781271fa38d0b-7fff.html
    2. You could write a remoting destination that exposes methods that internally use DST to invoke fill etc. methods. And you can invoke this remoting destination from the various clients.
    Rohit

Maybe you are looking for

  • Creating a windows user in Active Directory

    I am trying to create a user in Active Directory that can log on as any other Windows user, but when I try to log into Windows, I get the following error message: "The local policy of this system does not allow you to logon interactively". Are there

  • How to track changes in Customer master

    Hi , in VD03 for a Customer, when looked for changes made. Enviornment -> Account changes -> All fields. and then selected All changes, it shows me number of entries, in New column it says deleted, I am wondering about why this happened and wanted to

  • Z Report of Transaction ME28.(Release Purchase Order)

    Dear all,                I want to make Z Report for the Transaction ME28 (Release Purchase Order). I am facing problem of GUI status in my Z Report. Actually Report is not displaying like ME28. and all the menu and function keys are also not coming

  • Could not start disp+work.exe dispatcher on IDES4.7

    could not start disp+work.exe dispatcher on IDES4.7 Messageserver is running All services of oracle r running

  • Balancing fields in MM postings

    Hi all of you, We have balancing fields Business area, PCtr and Segment. In every accounting document we have to fill the balancing fields. It is working fine in FI postings. When coming to MM postings, like in P.O -> GR -> IR there is no possible to