Tpcall return with tperrno=8 (TUXEDO - WLS)

Greetings,
I'm trying to connect a tuxedo client to WLS exported service (EJB) but
I'm getting always a tpcall return with tperrno=8.
In atmi.h is referred by: #define TPEPERM 8
However, I haven't my configured any authentication defined!!
Can anyone help me trace the error? I put below all the configurations I
think that matters.
Thanks,
Pedro Salazar.
This is log message in my server receiving a connection from my client.
======================================================================
####<Apr 1, 2004 12:48:24 AM WEST> <Info> <WTC> <firewire> <ms_1>
<Thread-8> <<WLS Kernel>> <> <BEA-180086> <Accepted Connection from
remote domain LDOM1.>
=======================================================================
This is a log message in tuxedo establishing a connection:
===================================================================
004824.firewire!WSH.6576.16384.0: 04-01-2004: Tuxedo Version 8.1
004824.firewire!WSH.6576.16384.0: WSNAT_CAT:1030: INFO: Work Station
Handler joining application
004824.firewire!GWTDOMAIN.6572.16384.0: LIBGWT_CAT:1129: INFO:
Connection established with domain (domainid=<RDOM1>)
====================================================================
I put below my configuration files.
This is my configuration of my WTC:
=======================================
<WTCServer Name="WTC01" Targets="ms_1">
<WTCLocalTuxDom AccessPoint="RDOM1" AccessPointId="RDOM1"
NWAddr="//localhost:3200" Name="WTCLocalTuxDom-1080681989679"/>
<WTCRemoteTuxDom AccessPoint="LDOM1" AccessPointId="LDOM1"
LocalAccessPoint="RDOM1" NWAddr="//localhost:3100"
Name="WTCRemoteTuxDom-1080682068919"/>
<WTCImport LocalAccessPoint="RDOM1"
Name="WTCImport-1080682135407" RemoteAccessPointList="LDOM1"
RemoteName="TOUPPER" ResourceName="TOUPPER"/>
<WTCExport
EJBName="pt.ptinovacao.nginpro.uif.tuxedo.ejb.interfaces.AccessTuxedoHome"
LocalAccessPoint="RDOM1" Name="WTCExport-1080682173825"
RemoteName="TOLOWER" ResourceName="TOLOWER"/>
</WTCServer>
=======================================
This is my dmconfig configuration:
====================================
*DM_RESOURCES
*DM_LOCAL_DOMAINS
LDOM1
GWGRP=GROUPGW1
TYPE=TDOMAIN
DOMAINID=LDOM1
*DM_REMOTE_DOMAINS
RDOM1
TYPE=TDOMAIN
DOMAINID=RDOM1
*DM_TDOMAIN
#dominio tuxedo local
LDOM1 NWADDR="//localhost:3100"
#weblogic
RDOM1 NWADDR="//localhost:3200"
*DM_LOCAL_SERVICES
TOUPPER LDOM=LDOM1
*DM_REMOTE_SERVICES
TOLOWER RDOM=RDOM1
=======================================
This is my ubbconfig configuration:
========================================
*RESOURCES
IPCKEY 113456
DOMAINID simpapp
MASTER simple
MAXACCESSERS 50
MAXSERVERS 20
MAXSERVICES 1000
MODEL SHM
LDBAL N
PERM 0777
*MACHINES
firewire
LMID=simple
APPDIR="/home/tuxapp1"
TUXCONFIG="/home/tuxapp1/tuxconfig"
TUXDIR="/opt/bea/tuxedo8.1"
MAXWSCLIENTS=10
MAXACCESSERS=30
*GROUPS
GROUP1
LMID=simple GRPNO=1 OPENINFO=NONE
GROUP2
LMID=simple GRPNO=10 OPENINFO=NONE
GROUPGWADM
LMID=simple GRPNO=20 OPENINFO=NONE
GROUPGW1
LMID=simple GRPNO=30 OPENINFO=NONE
*SERVERS
DEFAULT:
CLOPT="-A"
simpserv SRVGRP=GROUP1 SRVID=1
WSL SRVGRP=GROUP2 SRVID=10
CLOPT="-A -- -n //localhost:3000"
DMADM SRVGRP=GROUPGWADM SRVID=20
GWADM SRVGRP=GROUPGW1 SRVID=30
GWTDOMAIN SRVGRP=GROUPGW1 SRVID=40
*SERVICES
TOUPPER
=========================================

Hi Pedro Salazar,
For Tperrno=6, my question is: Are you using the WTC sample from BEA? if so, the EJB name in you WTC configuration should be "tuxedo.services.TOLOWERHome", which in your configuration file is as following:
pt.ptinovacao.nginpro.uif.tuxedo.ejb.interfaces.AccessTuxedoHome
That's probably why you get no entry error.
I am getting the same error with "tperrno=8" when I try to connect to WLS from Tuxedo. But I fixed it exactly as you said " add one user in realm as the same name as Remote Access Point ID", then it works fine. Thanks for your hints
Actually I tried this on one machine for WLS and TUXEDO, it works fine, no need to create a user in realm. I got this error when I seperated WLS and TUXEDO into two different physical machine.
Thanks,
James Yu
[email protected]

Similar Messages

  • WSNAT_CAT:1042: ERROR: tpcall() call failed, tperrno = 14

    Hi,
    I have a Workstation client, which has 3 main tuxedo calls
    1) tpbegin(0,0)
    2) tpcall(SvcName, (char *)sendbf, 0,(char **)&rcvbf, &rcvlen, TPNOTRAN);
    3) tpabort(0)
    Here when i do a tpcall to a service with TPNOTRAN option, the specified service is called and it performs the desired operation. But since i am calling tpabort after tpcall, the whole transaction should roll back. But this is not happening.
    I changed the tpcall option to others like TPNOCHANGE, TPNOTIME etc. On this change i am getting an error on TPCALL saying "TPETRAN - error starting transaction". When i check my ULOG on server side i get the following error message - WSNAT_CAT:1042: ERROR: tpcall() call failed, tperrno = 14.
    Whats should i do to stop this error?
    Any help appreciated.
    Thanks
    Prashanth

    When tpcall() is invoked with the TPNOTRAN flag, the call is made outside of
    any transaction that may be in effect, and this call is not affected by the
    rollback of that transaction. Therefore, it is proper behavior for the
    effects of the tpcall(..., TPNOTRAN) to persist even after the tpabort().
    Your second problem with WSNAT_CAT:1042 means that the WSH encountered an
    error while starting the transaction on behalf of the workstation client.
    There are many possible causes, but the most likely cause is that the WSL is
    in a group that is not associated with a TMS server. Please look at your
    TUXCONFIG file and verify that there is a TMSNAME parameter specified in the
    *GROUPS section for the group that the WSL is in.  Also verify that the TMS
    servers for this group have been booted.
    <Prashanth Dattatri> wrote in message news:[email protected]..
    Hi,
    I have a Workstation client, which has 3 main tuxedo calls
    1) tpbegin(0,0)
    2) tpcall(SvcName, (char *)sendbf, 0,(char **)&rcvbf, &rcvlen, TPNOTRAN);
    3) tpabort(0)
    Here when i do a tpcall to a service with TPNOTRAN option, the specified
    service is called and it performs the desired operation. But since i am
    calling tpabort after tpcall, the whole transaction should roll back. But
    this is not happening.
    I changed the tpcall option to others like TPNOCHANGE, TPNOTIME etc. On
    this change i am getting an error on TPCALL saying "TPETRAN - error
    starting transaction". When i check my ULOG on server side i get the
    following error message - WSNAT_CAT:1042: ERROR: tpcall() call failed,
    tperrno = 14.
    Whats should i do to stop this error?
    Any help appreciated.
    Thanks
    Prashanth

  • What's happened with appkey in Tuxedo 7.1/8.0?

    Does anyone know what's happened with appkey in Tuxedo 7.1/8.0?
    We are using the custom authentication service which checks
    the user name and password against the table of registered users
    and returns the user ID as follows:
    tpreturn( TPSUCCESS, userID, NULL, 0, 0);
    In application services we extract this user ID from
    svcinfo->appkey.
    Our applications based on this scheme run pretty happily under
    Tuxedo 6.5/Jolt 1.1 vol.3, but doesn't do so under
    Tuxedo 7.1/Jolt 1.2.1 (patch level 100) as well as Tuxedo 8.0.
    Instead svcinfo->appkey is always set to 0x80000000 whatever
    value is returned by the authentication service.

    Of course, I've set SECURITY to USER_AUTH, and defined AUTHSVC
    as "AUTHSVC". The C-function implementing the AUTHSVC service
    is called on establishing a new session.
    Please note that I take applications that are in operation
    for several years now (in fact, they run on our production
    machine at this very moment).
    I just recompile/configure/boot them under Tuxedo 7.1/8.0 and,
    to my surprise, they don't work.
    What's more interesting, the initial release of Tuxedo 7.1 does
    not have this bug. The problem arises only after applying
    the patch (#100). Tuxedo 8.0 does not work as expected from
    the very beginning.
    In patchlev.txt I've noticed two lines related to appkey:
    038. CR042563 update appkey after a call to impersonate_user (jolt)
    048. CR044066 Incorrect appkey passed when interoperating from Tuxedo 7.1 to
    6.5 (jolt)
    It looks as if the problem was introduced with one of these
    fixes.
    Maybe I should mention that we run Tuxedo applications under
    Windows 2000.
    Scott Orshan <[email protected]> wrote:
    What do you have set for your SECURITY level, and have you defined
    AUTHSVC?
    Victor Miroshnichenko wrote:
    Does anyone know what's happened with appkey in Tuxedo 7.1/8.0?
    We are using the custom authentication service which checks
    the user name and password against the table of registered users
    and returns the user ID as follows:
    tpreturn( TPSUCCESS, userID, NULL, 0, 0);
    In application services we extract this user ID from
    svcinfo->appkey.
    Our applications based on this scheme run pretty happily under
    Tuxedo 6.5/Jolt 1.1 vol.3, but doesn't do so under
    Tuxedo 7.1/Jolt 1.2.1 (patch level 100) as well as Tuxedo 8.0.
    Instead svcinfo->appkey is always set to 0x80000000 whatever
    value is returned by the authentication service.

  • Tpinit fails randomly with tperrno=8

    Hi I have a TUXEDO 7.1 Multithreaded application.
    tpinit is failing randomly with tperrno=8.
    The ULOG error message for failures is LIBTUX_CAT:6251,
    it is quite interesting because the SECURITY is set to NONE in
    ubbconfig and TPINIT->password is set to an empty string.
    most of the time tpinit() succeeds. and fails randomly.
    I would appreciate if anybody can give any input on this.
    Thanks

    Prakash Pati:
    Hi I have a TUXEDO 7.1 Multithreaded application.
    tpinit is failing randomly with tperrno=8.
    The ULOG error message for failures is LIBTUX_CAT:6251,
    it is quite interesting because the SECURITY is set to NONE in
    ubbconfig and TPINIT->password is set to an empty string.
    most of the time tpinit() succeeds. and fails randomly.
    I would appreciate if anybody can give any input on this.
    ThanksA stray pointer clobbering memory used by Tuxedo libraries perhaps?
    best regards,
    Joerg Lenneis
    email: [email protected]

  • How can i make a soft return with pages shift enter does not work!

    how can i make a soft return with pages shift plus enter does not work!!

    On full keyboards with a numeric keypad, the key above the right shift is "return" & the one on the numeric section is "enter." On a Mac (or Apple IIgs ) they do have separate functions. On the "mini" keyboards, both names are on the same key, but "enter" is written in smaller letters. I'll have to check to see how that works on another Mac later today.

  • TS3899 Having trouble accessing my email account thru the mail app, after entering the account information in the settings page, hotmail returns with the error message " The user name or password for Hotmail is incorrect

    Having trouble accessing my email account thru the mail app, after entering the account information in the settings page, hotmail returns with the error message " The user name or password for Hotmail is incorrect". Help

    Hotmail is having problems:
    http://bostinno.streetwise.co/2013/08/15/hotmail-outage-hotmail-is-down-for-user s-still-photos/
    http://www.engadget.com/2013/08/14/outlook-outage/
    http://www.infoworld.com/d/applications/microsofts-skydrive-outlookcom-are-down- some-users-224940
    http://mashable.com/2013/08/14/outlook-down/
    http://techcrunch.com/2013/08/14/microsoft-acknowledges-outlook-com-messenger-sk ydrive-outages/

  • Credit memo for returns with multiple reference deliveries

    Hi Experts,
    I have few credit memos for returns with multilple return orders and return deliveries in document flow.
    I want to find out where do we configure this setting in which there will be single credit memo for multiple deliveries.
    And how system decides the common factors in deliveries for this credit memo?
    Please guide.
    -Chetan Barokar.

    Hi,
    In copy control settings of delivery document to billing document you can maintained the requirement routine Data VBRK/VBRP as 03 - Single invoice for an item category, as theinvoice spliting will be control from copy control.
    with regards
    Vivek.

  • Blue Screen Crash - returning with magnified screen

    Somethings up with my G5 PowerPc. Its been working well for ages - but now suddenly it crashes unexpectably [often when using Safari or photoshop]. The curser stops moving, the screen goes blue for about 10 seconds - returns highly magnified - and then stops again, turns blue for a second time and then returns with the original magnification. What's going on ? It can do it again and again and again - and then not for a bit ?
    Could it have anything to do with the fact the Mac also keeps looking for a bluetooth mouse - which I don't use as I am a wcom pen user?
    Is it dying??
    Thanks
    timbo656

    Hi timbo656, and a warm welcome to the forums!
    Have you blown the dust out of it lately?
    Get Temperature Monitor - 4.51 to see if it's heat related...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19994
    And/or iStat Pro...
    http://www.islayer.com/apps/istatpro/
    If you have any temps in the 70°C/160°F range, that's likely it.
    Boot off your original G5 Install Disk while holding down Option/alt key to select AHT, then run the extended Apple Hardware Test. Some models have a separate AHT CD.

  • Free of goods returns with out main item

    Hi.. All
    Free goods returns with out Main item
    created sale order with Shoes 5 Pair qnty
    and free of goods are  pair Soxs are 3
    Now one pair Damaged now i want to send returns only For Free of goods Here no main item

    """"No seller is creating  billing with free of goods with main items
    now i am going to create Return order main item is coming as well as Free of goods items also coming to RO
    Now i want to return only free of goods only one pair
    i cant delete main item Right""""
    Have you tested this? what was the problem in  deleting the item??
    Have you activated the complete reference in your VTAA controls??
    Phanikumar

  • Return with credit only approval

    Hi,
    I have customized the workflow Order Flow - Return with Approval, for few orders which are credit only and must be approved in approval notification.
    For these order no notification came and now they are in booked status and no credit memo is created, what should I do to so the notification should come again ?
    The workflow is completed , weather I should re run workflow?
    thanks,
    /Zubair

    Hi John,
    For the user who has created the RMA, what are his profile option settings at site, responsibility and user level for the profile option OM: Notification Approver?
    I assume you have already checked this but it's worth checking that the notification is being routed to whom you expect it to be routed !
    Regards,
    Jon

  • Sales returns with free goods

    Hi All,
    We are trying create sales returns with Invoice. But system is not copying the free goods item. I have checked relevant item category determination and Copy controls, everything is looking fine for me.
    Please let know if any other settings are required.
    I am getting below meeage.
    Item category for item 000021 cannot be determined
    Item 000021 is not copied from the refer
    document.
    Thanks.

    Hi radha
    Say you have created a creditmemo with G2 document type and you are getting a item category of G2N , so check the item category TANN is available or not with G2 doctype and item category G2N  in VOV4 .Check in copy control wheather the item category is available or not in VTLA  . I suppose it is not there that is the reason you were getting error.
    Maintain item category data at copy control VTLA then your problem will be solved
    Regards
    Srinath

  • Inclusive Free Goods Return with Reference

    Hi Gurus!
    Could you help me with my question below
    We are tring to create a sales order return with reference to a billing document. This billing document has two items where one is a standard item and the other is a inclusive free goods item.
    Example:
    1            AAA

    Hi
    When you have creating the sales order  with reference to billing document the items will be copied into the return order without any changes
    You can check the controls in the copy control VTAF
    Regards
    Damu

  • Carriage Return with the text in xdofx

    Hi
    I have to insert a carriage return with in a text I tried <?xdoxslt:chr(10)?>
    e.g <?xdofx:if x>'0' then 'Approved. Thank you.' else 'Disapprov.Thank you. ' end if?>
    so the output should be
    Approved
    Thank You
    I need carriage return between Approved and Thank You
    Thanks

    Use this:
    <?xdoxslt:ifelse(x>0, concat('Approved', xdoxslt:chr(10), 'Thank you.'), concat('Disapprov. ', xdoxslt:chr(10), 'Thank You.'))?>
    I tried this and it works
    <?xdoxslt:ifelse(10>9, concat('Approved', xdoxslt:chr(10), 'Thank you.'), concat('Disapprov. ', xdoxslt:chr(10), 'Thank You.'))?>
    Thanks,
    Bipuser

  • ORDERS05 - Create a Return with reference to a Sales Order

    Hi all,
    I'm trying to create a return with reference to a sales order via IDOC ORDERS05. I'm indicating referenced Sales Order number into segment E1EDK02; indicating qualifier (QUALFR = 002) and Sales order number (BELNR). By this way, I create a Customer Return but without reference.
    Which fields or segment have to be filled in order to create it correctly?
    Thanks
    Marí

    Correct...
    You need something like:
    *Get the pricing cond number.
    select single knumv from vbak into cond
      where vbeln = '0000080347'.
    if sy-subrc = 0.
    Get the pricing record which are by line item.
      select * from konv into table konv_tbl where knumv = cond.
    Loop thru them one line at a time.
      loop at konv_tbl.
       bapi_cond-itm_number = '000010'.
        bapi_cond-cond_st_no = konv_tbl-stunr.
        bapi_cond-cond_count = konv_tbl-zaehk.
    CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
      EXPORTING
        RETURN_HEADER_IN               = bapi_hdr
       BUSINESS_OBJECT               = 'BUS2102'
        CONVERT                        = 'X'
      IMPORTING
        SALESDOCUMENT                 = bapi_salesdoc
       RETURN                        = BAPI_RET
      TABLES
        RETURN                        = bapi_ret_tbl
        RETURN_ITEMS_IN                = bapi_itm
        RETURN_ITEMS_INX               = bapi_itm_out
        RETURN_PARTNERS                = bapi_prtnr
        RETURN_SCHEDULES_IN            = bapi_schd_lin
        RETURN_CONDITIONS_IN           = bapi_cond.  "pricing
      ORDER_TEXT                    = bapi_text.

  • Customer Returns with Excise Duties.

    Hi all,
    Can any one explain the steps for Customer Returns with Excise Duties.
    I have sold the Material to customer from Manufacturing Plat to customer.
    Sales Orderm - VA01
    Outbound delivery- VL01N
    Pro forma -  JEX
    Excise Invoice - J1IIN
    Invoice - VF01
    Now customer wants to return the goods with the same Excise Invoice issued from Plant.
    Return Order - VA01
    Inbound Delivery - VL01N
    Now what are the steps to capture the Excise Details..........?
    We are using one more transaction (=/BEV1/SR0) here to keep the goods in to Unrestricted or Blocked stock and it will create Credit memo request automatically.
    so please guide me is this step need to be done before Excise details are captured ?
    It is very urgent to me. please send me the steps for the above mentioned scenario.
    Thanking you.
    Regards
    Jaya

    hi
    create return order in VA01 with order type RE with reference to billing (assign order reason)
    create delivery in VL01N and do PGR
    go to VA02 and remove billing block
    create billing document in VF01 with reference to return order.
    DO EXCISE JV MAIN MENU IN T.CODE J1IH
    SELECT ADDITIONAL EXCISE TAB
    ENTER DELIVERY DOCUMENT NUMBER
    SELECT DETAILS ICON IN THE EXTREEM LEFT OF THE APPLICATION TOOL BAR
    ENTER MATERIAL NUMBER, QUANTITY AND EXCISE DUTY
    SELECT DETERMINE G/L ACCOUNTS AND PRESS CONTINUE AND SAVE IT
    EXTRACT RG23APART2 IN J2I5
    IN PRINT RG23APART2 U CAN C THE OUTPUT
    NOTE MAINTAIN NUMBER RANGES FOR RG23APART2.

Maybe you are looking for

  • Performance tuning in oracle 10g

    Hi Guys i hope all are well,Have a nice day Today i have discuss with some performance tuning issue recently , i joined the new project that project improve the efficiency of the applicaton. in this environment oracle plsql langauage are used , so if

  • Can I search for keywords in the bookmarks only?

    For example, I have a 400 page document. There are a ton of headers which I have bookmarked each, and many have the same name - I may have 13 headers with the word "selections", yet the word "selections"  may be repeated within the document 700 tmes.

  • Facetime doesn't work in Germany

    Hallo, Since Four days my facetime doesn't work with ipad2, iphone5 and 5s in Germany. Has anybody the Same Problem. I think it Might be a Problem at Apple side, because I haven't change Anthony at my devices and Internet Connection. Thanks for Reply

  • VS 2006Error:error It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.

    hi - i had to restore from an older version of my application and i am receiving this error on build" "error It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a

  • Dynamically load different versions of client jar

    Hello, My application needs to simultaneously support different versions of an RMI app. How to dynamically load the proper version of the client jar to connect with the same version of the server. Say Server versions are sv1.0, sv 1.1, sv 2.0 and cli