Tuxedo calls via WLST

Hi Todd, All
Can you please advise me if it is possible to run Tuxedo calls (pass FML to Tuxedo services and get an answer) via Weblogic Administration console or especially via WLST API?
Thanks in advance!
Andrew

Hi Andrew,
Although I haven't tried it, you may be able to call Tuxedo services from WLST by creating your own custom WLST commands. If you check out the WLST documentation it describes how to create you own custom commands which are implemented in Python. Python can call Java, which in turn should be able to call Tuxedo via WTC. But I can't say I've tried it. The real issue is in what context do the custom commands execute, i.e., inside the server or outside the server. If they run inside the server, then it should work, but if they run outside the server then you'd have to use Jolt instead of WTC.
Regards,
Todd Little
Oracle Tuxedo Chief Architect
Edited by: Todd Little on Mar 4, 2009 11:42 AM

Similar Messages

  • Trying to connect to a WebLogic Admin server via WLST

    I am trying to write a script that will connect to a Admin Server via WLST using a stored config file. I have the written the following:
    import os
    HASCONFIGFILE = os.path.isfile("/beadev/wls10/data/UserConfigInfo/configfile.secure")
    HASKEYFILE = os.path.isfile("/beadev/wls10/data/UserConfigInfo/keyfile.secure")
    if HASCONFIGFILE:
    CONFIGFILE = "/beadev/wls10/data/UserConfigInfo/configfile.secure"
    print "INFO: CONFIGFILE = %s" % CONFIGFILE
    if HASKEYFILE:
    KEYFILE = "/beadev/wls10/data/UserConfigInfo/keyfile.secure"
    print "INFO: KEYFILE = %s" % KEYFILE
    connect(userConfigFile=CONFIGFILE, userKeyFIle=KEYFILE, url='t3://165.79.164.14:21001')
    else:
    print "ERROR:Unable to obtain authentication parameters."
    exit()
    else:
    print "Unable to find user config and keyfiles."
    exit()
    connect(userConfigFile='/beadev/wls10/data/UserConfigInfo/configfile.secure', userKeyFIle='/beadev/wls10/data/UserConfigInfo/keyfile.secure', url='t3://165.79.164.14:21001')
    How ever when I run the script, I get the following WLSTException:
    beaadmin@moorea:/home/beaadmin/bin/scripts/wlst> java weblogic.WLST findFile.py
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    INFO: CONFIGFILE = /beadev/wls10/data/UserConfigInfo/configfile.secure
    INFO: KEYFILE = /beadev/wls10/data/UserConfigInfo/keyfile.secure
    This Exception occurred at Fri Jul 24 13:10:47 PDT 2009.
    weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:78)
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:94)
    at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:87)
    at weblogic.security.UserConfigFileManager.getUandP(UserConfigFileManager.java:537)
    at weblogic.security.UserConfigFileManager.retrieveUandPValues(UserConfigFileManager.java:518)
    at weblogic.security.UserConfigFileManager.getUsernameAndPassword(UserConfigFileManager.java:179)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:130)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:121)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    at org.python.core.PyMethod.__call__(PyMethod.java:96)
    at org.python.core.PyObject.__call__(PyObject.java:248)
    at org.python.core.PyObject.invoke(PyObject.java:2016)
    at org.python.pycode._pyx6.connect$1(<iostream>:16)
    at org.python.pycode._pyx6.call_function(<iostream>)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyTableCode.call(PyTableCode.java:404)
    at org.python.core.PyFunction.__call__(PyFunction.java:184)
    at org.python.pycode._pyx18.f$0(/home/beaadmin/bin/scripts/wlst/findFile.py:13)
    at org.python.pycode._pyx18.call_function(/home/beaadmin/bin/scripts/wlst/findFile.py)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyCode.call(PyCode.java:14)
    at org.python.core.Py.runCode(Py.java:1135)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
    at weblogic.management.scripting.WLST.main(WLST.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at weblogic.WLST.main(WLST.java:29)
    Caused by: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
    at com.rsa.jsafe.JA_PKCS5Padding.a(Unknown Source)
    at com.rsa.jsafe.JG_BlockCipher.decryptFinal(Unknown Source)
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:68)
    ... 33 more
    Problem invoking WLST - Traceback (innermost last):
    File "/home/beaadmin/bin/scripts/wlst/findFile.py", line 13, in ?
    File "<iostream>", line 22, in connect
    WLSTException: 'Error occured while performing connect : Error connecting to the servercom.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte. Use dumpStack() to view the full stacktrace'
    Any ideas why this is not working or what 'Could not perform unpadding: invalid pad byte.' means?

    Nope, that wasn't me and bless me if I'm wrong but I'm generating this error because I have a non-encrypted string where I need an encrypted string. By that I mean the following line 'CONFIGFILE = "/beadev/wls10/data/UserConfigInfo/configfile.secure" Has a non encrypted string '/beadev/wls10/data/UserConfigInfo/' concatenated to the encrypted file configfile.secure? I wonder if it would just be easier to 'cd' into the directory where the config files live and run the connect from there, either way I have something to go on, thanks for that link.

  • Can a Weblogic ejb access a remote non-tuxedo orb via iiop?

    Hi, A few years back I had a java client using the Weblogic Enterprise CORBA client
    call a remote non Tuxedo ORB via rmi-iiop. Now I am wondering whether I can have
    a Weblogic ejb call a remote non tuxedo ORB via rmi-iiop. From the documentation
    all that I can find is how to call into Websphere with an idl client, and how
    to use rmi-iiop to a remote, I am assuming, Websphere server. The only reference
    I can find is at http://e-docs.bea.com/wls/docs70/faq/server.html#287901, but
    it does not detail how the client finds the object.
    In my java client example I had a string ior which I passed to string_to_object().
    This returns an "object" that when I invoke a method of, the CORBA client miniorb
    would then send via IIOP to the remote orb. I implemented something similar in
    an ejb (using a string ior and calling string_to_object) and compiled it with
    my stubs. When I run it, it appears that it works fine until the actual _invoke()
    where it calls calls out via iiop and I get the following exception: org.omg.CORBA.COMM_FAILURE:
    minor code: 1398079491 completed: No at com.sun.corba.se.internal.iiop.IIOPConnection.send(IIOPConnection.java:987)
    at com.sun.corba.se.internal.iiop.IIOPOutputStream.invoke(IIOPOutputStream.java:76)
    at com.sun.corba.se.internal.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:91)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:158)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:198)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:459) at com.unisys.otm.InteropTest._OTMSvcStub.sayHello(_OTMSvcStub.java:37)
    at com.unisys.otm.WOTest.HelloBean.sayHello(HelloBean.java:71) at com.unisys.otm.WOTest.HelloBean_3p5ifg_EOImpl.sayHello(HelloBean_3p5ifg_EOImpl.java:77)
    It would be helpful to know where I can look up the minor code to determine if
    there is a meaningful explanation. I am assuming that it is not getting out to
    the network, because the destination machine shows no request being received.
    If anyone has had experience with this and could offer me some insight, I would
    appreciate it.

    "elizabeth roush" <[email protected]> writes:
    [snip]
    see my response on interest.wtc
    andy

  • Is there a software in which I can hook up my iPhone 4s to my computer and send and receive text messages and calls (via headset) through my computer?

    Is there a software in which I can hook up my iPhone 4s to my computer and send and receive text messages and calls (via headset) through my computer? Whether it's free or cost money, can someone please give me a name of a program or software that allows me to do this? I can't seem to find anything like this for the iPhone.

    No.

  • Tuxedo calls procedure and Application Level Service Failure

    hello ,professors all!
    My Tuxedo Service just call an procedure exists in oracle9i, i am sure that the procedure runs ok in oracle9i individually, when it was called by my tuxedo service , it is not ok by first time ,and runs out tp application level Service failure error .But strangely it is ok by second time!
    who can explan it to me and show me a way to solve the difficult problem?
    i spend a lot time wondering the answer!
    Edited by: user9086437 on 2010-9-29 下午9:57

    There are many possible reasons why a database procedure might fail the first time it is executed and succeed after that.
    You should check the Tuxedo ULOG and Oracle database logs for any messages that may point to the problem.
    If there is a LIBTUX_CAT:6205 or LIBTUX_CAT:6206 message in the userlog file then you need to add a tx_open() call to your server's tpsvrinit() or tpsvrthrinit() function.
    If there is an OPENINFO string for the group where your server is running then you are using XA transaction management and should not be connecting to the database in your application code; if there is not an OPENINFO string for the group where your server is running then you need to connect to the database in your application.
    If you set the environment variable
    TMTRACE=*:ulog:dye
    for the server where the failure is happening then Tuxedo will write a trace record of each Tuxedo call and each XA call to the ULOG file. This can be helpful in determining why the failure is happening on the first call, especially if Tuxedo is handling transaction management using XA.
    I hope some of this is of help in debugging the problem.
    Ed

  • JNI_CreateJavaVM hangs in DLL called via Adobe plug-in

    We have a plugin that works in Adobe Acrobat and Adobe Reader. The plugin is written in VS2008 VC++ and calls into a DLL that we have written.
    The DLL in turn uses JNI and calls into some Java code. We've tested the DLL and calls into Java separately and that works OK.
    But when it is called via the plugin in Acrobat it is failing. It seems to die immediately during the JNI initialization in that case. There is a method called JNI_CreateJavaVM where it hangs.
    Do you have any idea why that might happen? Is there something protected that would not permit a dll within the scope of Acrobat to call into Java code?

    Hi Leonard,
    Can you please let me know the URL and any other contact information for opening a formal case with Adobe developer support group that can help with this issue?
    I appreciate your time and consideration.
    Thanks,
    Snehal.
    Snehal Sao | Senior Software Engineer | Formtek | 2190 Meridian Park Blvd | Suite G | Concord, CA 94520
    p. 925.459.0490 | f. 925.459.0487 | e. [email protected] | url: http://www.formtek.com/
    This electronic message transmission contains information, which may be confidential. The information is intended for the use of the individual or entity named above. If you are not the intended recipient, and have received this electronic transmission in error, please notify sender then delete immediately.

  • Adobe PDF files will not display when called via a link in page (FF 4.01)

    adobe PDF files will not display when called via a link in page.
    This happens when testing new web page from DWeaver CS5 - all other browser tests are OK (IE9, Safari5.05, Chrome etc.)

    [moved to the Adobe Reader (desktop) forum]

  • How to set a cookie in the browser from an html page called via an Iview

    How to set a cookie in the browser from an html page called via an Iview
    Hello all,
    I have an issue which is causing problems. I have a snap survey (html form with submit and cookie setting) which is embedded in a url iview.
    Although the submit and the form work fine, the portal will not allow the cookie to be set it seems.
    Is there a way to allow cookies to be set from an embedded page in a url iview??
    You will make my day if you know!
    System: EP7 SP13
    Kind regards
    Alex

    Hi,
    Check this:
    http://www.oracle.com/technology/products/ias/portal/html/same_cookie_domain_with_pdkv2.html
    Cookie Basics
    Web browsers have built in rules for receiving and sending cookies. When a browser makes a request to a web server and the web server returns cookies with the response, the browser will only accept a cookie if the domain associated with the cookie matches that of the original request. Similarly, when a browser makes a subsequent request, it will only send those cookies whose domain matches that of the target web server.
    These rules are designed to ensure that information encoded in cookies is only "seen" by the web server(s) that the originator of the cookie intended. These rules also ensure that the cookie cannot be corrupted or imitated by another server. By default, the domain associated with a cookie exactly matches that of the server that created it. However, it is possible to modify the domain at the time the cookie is created. Relaxing the cookie domain increases the scope of the cookie's visibility making it available to a wider "audience" of web servers.
    For example, if a cookie is created by a.us.oracle.com, it's domain will usually be set to a.us.oracle.com. This means that the browser will only send the cookie to a.us.oracle.com. It will never send it to any other servers. However, if at the time of creation, the domain of the cookie is set to .us.oracle.com, the browser will send the cookie to any server whose domain falls within .us.oracle.com. such as portal.us.oracle.com, provider.us.oracle.com, app.us.oracle.com etc
    Regards,
    Praveen Gudapati

  • My BB Torch can't make a call via VIBER

    Dear Team,
    Kindly assist me, when did i try to make call (Viber to Viber) via my BB device I can't able to do this. Majority says BB isn't support voice call on VIBER. Is there any future upgradation are coming in BB IOS or any other version is required? which's allow to make voice call in BB or if any setting is required then please let me know.
    Note: I've new version of Viber, and have Black Berry Torch 9800 IOS: 6
    Regards,
    Ahsan Syed

    Hello Ahsanjafri.
    Viber works if calling via WiFi or 3G considering that the two must have installed the same application on devices..
    To this I add other application that Viber for BlackBerry is in its development phase still not as automated as IOS.
    Regards...
    Kudos **Do not forget to give those people who help and advise you regarding your questions, as well give the answer like**
    @ gutijose14
    BBM Channels  PIN: C0007093A
    Do not forget to give LIKE    Those people who help you and advise you about your doubts.  if the review has been SOLVED** # 4LL  #ÉliteRoad  Make a backup of your BlackBerry
    BlackBerry Protect and  BlackBerry Link constantly.  #ichooseBlackBerry10 Gutijose14 Forums Veteran I

  • Want to make phone calls via bluetooth on my iPhone from iPad

    I can link my Garmin GPS to my iPhone via Bluetooth and make or receive phone calls.
    I would like an iPas app that provides the sametype functionality including:
    Make calls
    Receive calls
    Look uphone numbers
    Is this possible?  Using what app?

    There are a couple of Apps out there that will allow you to use a Google Voice phone number to make and recieve calls via the iPad. I'm not sure exactly what you are trying to do. If you are trying to replicate the Garmin / iPhone setup I don't think that is possible.
    Google Voice  setup - gvconnect and talkatone. (wifi)
    Skype - I think that you can make phone calls via Skype and Wifi.
    I don't have a clue as if it is possible to make a phone call over 3G via the iPad.
    Paul

  • Calling custom wlst command in embedded mode

    Hi,
    Please give any idea how to call custom wlst command (Oracle Access Manager related wlst command) in embedded mode.
    can we call /Oracle_IAM/common/bin/wlst.sh using java weblogic.WLST ?
    thanks

    thanks for quick reply
    i have to write a script which will register a OAM agent and create OAM Server (OAM related WLST custom command), all command comes under Fusinn Middleware product and for executing that command we have to run the wlst.sh file from <Oracle_Common>/common/bin, here if i run help('oam') command it shows all oam related command but when i run the wlst using java weblogic.WLST then it does not show any oam command because this call wlst from /WL_Home/common/bin, so i want to call that custom oam related wlst command by using java weblogic.WLST so that i can call my .py script as java weblogic.WLST *.py or in java class using WLSTInterpreter.

  • Service Call via RFC

    Hi all.
    I am currently starting with WDA and facing some problems in calling BAPI via RFC.
    We have a "plain" WAS without SD or other modules. Our data is distributed over multiple R/3 systems.
    When I try to implement a Service Call to the BAPI BAPI_CUSTOMER_GETLIST via RFC I got the error message that this FM is not available in the current system (WAS).
    Does anyone has experience in how to get this working?
    What is the best practice here?
    - Building wrapper on WAS which calls the FM via RFC on the other system?
    - Installing missing modules on WAS ?
    Any comment would be appreciated.
    Cheers,
    Sascha

    Hi again.
    To shorten development time we considered the following solution:
    We are generating web service proxy classes on the WAS for the BAPIs of the R/3 system we want to use. Afterwards we are generating wrapper function modules which will use these proxies. So we do not have to import all missing structrues cause these are generated automatically during proxy generation.
    I tested this already with BAPI_CUSTOMER_GETDETAIL2. Calling the wrapping fm which calls the service proxy works fine from se80. I do get a result via the service.
    Then i generated a service call for my WEBDynpro component using the wizard in WDA.
    Silly is that the generated code is not compilable cause of missing ,. Anyway after correcting I tried to run my webdynpro application and when the fm gets called via the generated service method I receive the following message:
    CODE           SOAP:111
    ERRORTEXT     Unallowed RFC-XML Tag (SOAP_EINVALDOC)
    Any ideas?
    Why is it working when i call the fm directly but not when calling it from my webdynpro app?
    Thanks in advance
    Sascha
    Message was edited by: Sascha Dingeldey
    Message was edited by: Sascha Dingeldey

  • How to Debug Functional Module called via RFC?

    Hi Experts,
         Please, can someone explain to me how to debug functional module that is called via RFC? Thanks in advance.
      Best Regards,
    Aleksandar

    Hi Laxman,
       First of all thank you very much for giving attention to my post. Ok, I am trying to debug function module in RM-CA (FICA), function module is called by CRM system (via RFC) and in addition all this chain is triggered by WebClient.
         I have user that can login on the CRM as well as on RM-CA (ECC 6.0) system, but those users are different (unfortunately I do not have administration permission so I can’t change profiles of my users but I can ask for it). I can without any problem debug calls that come from WebClient, so setting an external break point in CRM system I can catch whatever I want but when process comes to point where actually call to back-end (RM-CA) takes place I simply can’t get into functional module, that resides on RM-CA side. Actually what happens is that processing continues as was chosen ‘NEXT STEP’ (F6).
         To resume, two systems and two different users. Where XCM user should be created? (on RM-CA system or CRM). Should I change something in Menu option Utilities -> Settings -> ABAP Editor tab -> Debugging tab, in field users?  If you need any additional info please tell me.
      Thanks again for your support.
    Aleksandar

  • OSB & WLST: changing operational settings for a proxy service via WLST

    Hi all,
    we are trying to change the operational settings for a proxy service via WLST.
    In details we would like to change the "Logs" level (Monitoring section).
    We have a lot of deployed services and our 'deployer people' need an automatic way (via WLST for example) for doing that instead of using the OSB console.
    Thanks in advance
    ferp

    Hi,
    OSB is the Oracle Service Bus. Oracle Service Bus is a configuration-based, policy-driven enterprise service bus.
    The OSB is deployed into an Oracle WebLogic Server instance.
    OSB uses also WLST functionality provided by WebLogic Server.
    Best regards
    ferp

  • Receiving calls via Skype Online Number

    I understand that I pay £10 for 3 months to set this up.
    I understand that callers pay for a local call (so long as they're close to that local number)
    I do NOT understand if I pay to receive each call and if so, how much?

    davidlawrenceee wrote:
    I understand that I pay £10 for 3 months to set this up.
    I understand that callers pay for a local call (so long as they're close to that local number)
    I do NOT understand if I pay to receive each call and if so, how much?
    Please don't post the same question(s) multiple times.  Thanks! 
    I answered this in your other post at: http://community.skype.com/t5/Online-Number/How-much-to-receive-calls-via-Skype-Online-Number/m-p/97...
    Patrick
    Location/Ubicacion: Arizona USA
    Time Zone/Hora Local: UTC/GMT -7
    If this message has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.
    Si esto mensaje le ha ayudado, por favor haga clic en "Aceptar como solución". Si encuentra un mensaje útil, por favor "Da Kudos" al final del mensaje, por lo que esta información puede beneficiar a otros.
    I am not a Skype employee. No soy un empleado de Skype.

Maybe you are looking for

  • Display Image in Bex Report

    Hi All, I have a requirement where the client wants to dsiplay the image of a particular characteristics in the Bex report. For example, they have a charaacteristic Material, and they have the images of all the materials. The requirement is to displa

  • Problem: Sharing session between two different Web browser & Web Appn'

    I�m facing a strange scenario here and would appreciate any inputs which could resolve this issue. I have two webapplications (EAR�s) on two different machine and different WebSphere application server. I have �WebAppA� [on machine A, WAS A] which op

  • Microsoft Livecam HD-3000 issues, tried re-install...

    Hey there, I have Windows 7 64-bit and Skype 7.0.102 My HD-3000 Webcam was working fine before and now isn't working at all. Skype is picking it up, but when I press the camera button or try to go into the options to choose the webcam, it just keeps

  • Search help - how to further restrict its values

    Hi, I have a question here regarding search helps and I hope you all could provide me with some useful pointers. There is a select-option of the type bkpf-blart (document type) in the selection screen. I have a problem with retrieving the data proper

  • Upgrading to FCP 6.05

    I am trying to upgrade to FCP 6.05. I have a registered licensed copy...but can't seem to find the update. I am currently running FCP 6.0 When I go to the Final Cut Pro 6 Release Notes page...there is no link and or any other info. http://www.apple.c