Invoking COM objects from Weblogic EJB

Hi,
I am searching the BEA site on how best to call COM objects from
a EJB deployed in Weblogic. I find rmi over iiop, articles on ObjectBridge
which are confusing. Is there a sample where a COM method is called
from EJB server ( I only see example the other way round)
Thanks,
Harish.

http://www.weblogic.com/docs51/examples/com/examples.com.ServerSideDLLClient.html
This shows use the WebLogic COM compiler to generate and RMI wrapper
around a COM DLL and invoking it remotely. Unfortunately, the example
appears to be a little out-of-date (e.g., it is using the old RMI Naming
style of doing the lookup)...
Be forewarned, WebLogic COM is not supported in WebLogic 6.0 (due to the
inavailability of a Microsoft 1.3 JVM implementation).
Harish wrote:
JIntegra is fine, but I want to know if anybody tried WebLogic-COM.
(Is this the right forum?)
Actually I tried out the 'beeper' sample but still have many doubts.
Robert Patrick <[email protected]> wrote:
JIntegra by Linar (http://www.linar.com).
Harish wrote:
Hi,
I am searching the BEA site on how best to call COMobjects from
a EJB deployed in Weblogic. I find rmi over iiop, articleson ObjectBridge
which are confusing. Is there a sample where a COM methodis called
from EJB server ( I only see example the other way round)
Thanks,
Harish.

Similar Messages

  • Instantiating COM objects from within the java code in WLS

    is there a way to use COM objects from servlets or ejb's,
    with JVM, not with JView.
    thanks,
    ali.

    Sun has released a beta product - its a COM bridge that you can use
    to connect a Java2 JVM to a COM object with. I havent tried it yet
    but I probably will soon.
    Brad
    "Michael Girdley" <[email protected]> wrote in message news:39b86deb$[email protected]..
    >
    >
    No, at the current time we only support COM integration when using the
    Microsoft JVM. The Jintegra product from Linar is good.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Ali Ozgun" <[email protected]> wrote in message
    news:[email protected]..
    is there a way to use COM objects from servlets or ejb's,
    with JVM, not with JView.
    thanks,
    ali.

  • How can I call a COM object from a PL/SQL CODE

    Hi everyone,
    Does anyone know how to call a COM object from a stored procedure in oracle.
    a sample of code
    please help,
    Hilaire

    Are you familiar with external procedures? Basically, you can expose functions exported by a shared library (i.e. a DLL on Windows) to the Oracle database. My assumption is that you'd probably need to write a wrapper DLL around the COM object, since I believe you can only pass fundamental data types back and forth (i.e. no object references). You'd expose the method(s) of that wrapper DLL to the database via external procedures.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • How to call a COM object from an Oracle Form?

    Hi All,
    Pls advice. How to call a COM object from an Oracle Form?
    Thanks.

    try asking the "Form" forum

  • How to access COM+ Objects From JSP

    Friends,
    We have a requirement to access COM+ objects from JSP. Please guide me on this.
    Thanks in advance.
    Tarani

    Sanyam wrote:
    if there is any .dll extension file, how can we read that file in labview?
    You can use Call Library Function node to call that dll file and use it in LabVIEW. Read the help and you will get more details.

  • How to invoke COM DLL from Forte

    Is there a sample available for C wrapper for COM Methods ?

    Talking to a COM object from Forte is possible if the COM object uses apartment model threading. Anything else and you will have problems.
    Refer to the "Integrating with windows and macintosh" manual and the chapter on OLE integration. COM is just OLE with extras. DCOM is just COM/OLE with remote support. Microsoft likes to put fancy names on old tech.
    You will need to use the olegen program supplied with forte to generate a forte supplier plan that wraps the COM object. Then you can use the forte objects just like a COM object.
    Be aware though that COM has a number of limitations that you must be carefull of. You MUST talk to the COM object using the same thread that you created the COM object in. Don't initialise in the Init method and then call it from somewhere else (Service object Init methods are run from a different thread).
    It is useally safest to single thread all access to the object.

  • Returning more than one value/object from an EJB method

    Hi,
    I have the follong method in the remote interface of my EJB:
    void createSomeObject( MyObject obj1, List returnList1, Map returnMap1);
    Since i want to return a List (returnList1) and a Map(returnMap1) from my EJB method "createSomeObjects", i am passing these as parameters thinking they will be passed by reference and the client(servlet) gets the changes the EJB made to these objects.
    But it doesn't seem to be working, the EJB is filling the List and Map objects and the servlet doesn't get it (pass by value problem).
    My understading is that, all parameters to an EJBs are passed by value(because they are remote calls, the RMI thing), let me know if this right.
    Is there any workaround apart from the following alternative?
    Alternatives:
    1. Wrap "List list1" and "Map map1" in another model and return this instead of passing them as parameters.
    Thanks
    Vasu

    My understading is that, all parameters to an EJBs
    are passed by value(because they are remote calls,
    the RMI thing), let me know if this right.Yes, that is correct - which you should know from your introduction to J2EE reading.
    Is there any workaround apart from the following
    alternative?
    Alternatives:
    1. Wrap "List list1" and "Map map1" in another model
    and return this instead of passing them as
    parameters.No.

  • How register COM object from java?

    Hi!
    In my user home directory I have myCOM.dll. My sign applet use this myCOM.dll. But before use this dll I must register it (by use regsvr32).When myCOM.dll will be success register my applet can work. The problem is that I can not get answer from regsvr3 (is myCOM.dll are successed registered or not, or is user has a grants to register COM object and so on.)
    Again, my java applet can work ONLY when myCOM.dll is registered.
    How I can register myCOM.dll from java applet and if registered is not success exit from java applet?

    I must not have been clear. I am not asking how to access a COM object using Java, we already have tools to do that.
    The question is whether there is a way to define a COM interface using Java. I want to code my COM object in Java. Right now we are using PowerBuilder to code COM objects. I would rather use Java.

  • How to creat COM object from dll file?

    Hi,
    I tried to read about this topyc, but I didn't found eny example that creat
    COM object. I downloaded jacob.jar
    then I writed:
    ActiveXComponent ax = new ActiveXComponent("C:/MyJava/deploy/SMSCom.dll");
    Object SMSObj = ax.getObject();
    I get error (I put jacob.jar with all athers jars, I don't know way this erre)
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: no jacob in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at com.jacob.com.Dispatch.<clinit>(Dispatch.java)file name: SMSCom.dll
    object name: SMSSender
    In VB this is the code:
    Object SMSObj = CreateObject("SMSCom.SMSSender");
    SMSObj.password = pass;
    SMSObj.Username = name;
    SMSObj.Source = phone;Thanks

    In Eclipse:
    1- To include jacob.jar for compile / run:
    Choose the Java perspective, then in the Package Explorer right-click on the project and choose Properties.
    Select Java Build Path from the left pane then the Librairies pane from the right.
    Click on Add External Jars button and select the jacob.jar file then click Open then Ok.
    2- To make jacob.dll and SMSCom.dll "visible" for run:
    Open your Debug (or Run) Java application configuration (the one for your project's main class).
    Select the Environment pane then click on Select button.
    Select Path and click on Ok button.
    Then re-select Path and click on Edit button.
    Add the two appropriate folders for jacob.dll and SMSCom.dll in the Path and click on Ok then Apply.
    Regards

  • Calling COM object from an Applet

    Hi,
    Can an applet communicate with Microsoft COM object?
    Thanx

    Check out some software called JIntegra (commercial). Also, I think there used to be some sun stuff... but it got dropped... and then got picked up again... but I don't know what the status is on it.

  • 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...

  • Invoking BPEL process from Servlet : ejb/collaxa/system/DeliveryBean error

    Hi All,
    My requirement is as below:
    Servlet will receive the delimited HTTP request and convert it into XML. The xml payload will be used to invoke the BPEL Process deployed on Weblogic 10.3 (SOA-INFRA) using Idelivery Class Method.
    The problem I am facing is :
    that while servlet calls the BPEL process it gives "ejb/collaxa/system/DeliveryBean" not created error. javax.naming.exception. The name "ejb" is reloved but subcontext "collaxa/system/DeliveryBean" not resolved.
    Please let me know whether I am missing any step.
    This is urgent. Please suggest.
    Thanks.

    Please make sure that your bpel connectivity properties are correct.
    This error ll come only if host bpel pm server is not visible to your servlet.
    So please make sure all your parameters are correct.
    example, server IP / host name, port number,
    Properties props = new Properties();
    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://server_name/IP_Address:Port_NO:Instance_name/orabpel");
    props.put("java.naming.security.principal", "oc4jadmin");
    props.put("java.naming.security.credentials", "welcome1");
    Locator locator = new Locator("default","welcome1",props);
    Regards
    Rajesh

  • Oracle AQ and XA from WebLogic EJB and Conn pool

    Hi,
    Currently, I am deploying WebLogic server 6.1 sp1.
    Recently, I have tried to use a connection created from
    the WebLogic pool in order to create a queue connection to Oracle AQ
    (9.0.1). The
    error message I got is as follows:
    "JMS-112: Connection is invalid"
    What I have noticed is that the instance returned from the connection pool
    is of
    type "weblogic.jdbc.rmi.SerialConnection",
    but Oracle AQ expects type "oracle.jdbc.driver.OracleConnection".
    Is there any solution or work-around for this problem?
    Further I want to use Oracle AQ JMS in a distributed XA transaction so I
    have to get the connection from an XA pool don't I (so that the TM knows to
    enlist it in the transaction).
    Unfortunaltey because Oracle AQ internally explicitely checks that the JDBC
    Connection is an instance of oracle.jdbc.driver.OracleConnection (which is
    a concrete class not an interface!) and we appear to get a
    weblogic.jdbc.rmi.SerialConnection then it seems using AQ JMS is not
    possible in an XA transaction.
    Now this isn't WebLogic's fault, I think it's Oracle's for having a shonky
    JMS implementation. There's plenty of other weaknesses (read non JMS
    compliant) in Oralce AQ and it appears that AQ JMS is more of a "JMS-like"
    interface to Oracle's queuing rather than a genuine attempt to provide a
    compliant implementation.
    I think you have to go to Oracle Containers for J2EE to get a real JMS
    implementation from them...
    Has anyone else got AQ to work in an XA transaction?
    --malcolm

    I am able to connect and message to Oracle AQ using an XA Datasource using the getVendorConnection method on the Weblogic connection wrapper (WLConnection).
    This, however, seems to be memory leaking quite badly. I've followed the Weblogic documentation (which says that you should not call close() on the Vendor connection).
    I've also tried closing the vendorConnection object and nulling out the reference that the WLConnection holds. This slows the leak, but it appears that the WLConnections are never being released.
    Has anyone else had any success doing this?
    Dom.

  • Calling a webservice from weblogic EJB Application

    Hello,
    I have a webservice running on IIS server. I created a simple java client program to call the webservice and it works fine. However, when I wrapped the same java client program as a EJB Application, I am unable to call the webservice.
    I get the following error:
    ####<Apr 3, 2007 1:59:30 AM CDT> <Info> <WebService> <CASEJBServer> <ExecuteThread: '24' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
    And
    "java.io.FileNotFoundException: Response: '401: Unauthorized' for url: XXXXXX"
    Could you please give some simple steps as what are the JAR Files required to be included in the Weblogic Server's classpath to call the webservice.
    Thanks.

    To start off you need to make sure that your client api is in the classpath, either in your ejb or your ear or the server classpath.
    The other concern I would have is that it seems you are just not authorized to access the URL.
    - Does the WSDL require credentials? So in other words when you go to the URL are you allowed to access the WSDL without athenticating.
    - How does your Impl get created?
    MyServiceImpl service = new MyServiceImpl()
    If you are using the empty constructor then what is the wsdl endpoint in your jar file since that is the wsdl it will use. If the endpoint is localhost/xxx/xxx then you will have issues since that means your not deployed on localhost. What url is at the endpoint? Do you have access to the url from your server?
    If you are using "new MyServiceImpl(url);" then again is the wsdl locked down because in this case you will need to do somthing like http://username:[email protected]/xxx?wsdl
    Hope this helps.
    -Jesus

  • Invoke web services from weblogic integration workflow

    I have a workflow that gets kicked off on receviving an XML/SOAP message. I need
    to invoke/call a webservice from the workflow and pass this message which in turn
    will process the request/message.
    Is there a way to do this from the workflow or do I need to write a java class/EJB
    that will do this for me and just call this class/EJB from the workflow.
    I know there is a webservice plugin for WLI but I dont seem to be able to find
    it. I'm currently running BEA platform 7 with sp2.
    Any help or pointers will be appreciated.
    Thanks.

    To add to what Jon said, and the links he has provided, if what you want to play is text, then you'll need UCCX Premium with the optional Nuance TTS server.  However, if what you want to play is audio, then you'll just need to make sure it's in the proper codec/format for what your UCCX is configured for: either G711 or G279.
    Play Text To Speech Example (assume that your HTTP response has been parsed via XML steps, and your text is in a String variable):
    Play Prompt (--Triggering Contact--, TTS[http_response_text])
    Play Remote HTTP Audio Example:
    Play Prompt (--Triggering Contact--, URL[http://myserver.local/uccx/prompt1.wav])
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

Maybe you are looking for

  • HT1414 Screen is black, but phone is on.  Restore did not work.

    Help!    After downloading io7 the screen on my phone goes black even though it is still on and I can hear messages coming in.    I did a system restore on it, but that has not resolved the problem.  

  • Font will not work on my new MacBook Pro

    I recently upgraded from an older macbook pro to a newer one. I had a font on the old computer (avenir) and cannot get it to work on my new computer. specifically the problem is with adobe photoshop cs5. i used to use the font with adobe photoshop cs

  • Upon Order TECO Error encountered "no material number transferred"

    Hi Experts, Can help me with this error message upon order TECO? "no material number transferred". I cannot proceed. Please let me know where to look into that caused the error message. Thank you very much.

  • CS6 Screen mode options

    Hey, I'm trying to find an option (if there is one) to change the Standard Screen Mode background to transparent like in Photoshop CS5 and earlier. I do like working in full screen mode with a dark grey background but miss being able to flick back to

  • Add MS Excel File to MS Word Document in Office 2008 for Mac

    I am preparing a large Word Document that has multiple Excel Spreadsheets as part of the document. (in the form of an appendix at the end). What I would like to be able to do is add the Excel files to the Word doc and then turn the combined file into