A Tuxedo server hangs at tmboot with Tuxedo 12.1.3, but works fine with 10.0

We have been running a Tuxedo server with pretty much the same logic in the sample code below in our systems for years on AIX (OS level 6100) with Tuxedo 10-32 bit. We are upgrading to Tuxedo 12.1.3 (12cr2) now. The code is compiled fine with Tuxedo 12, however, it just hangs at tmboot. We have tried on multiple servers (all AIX), but it hung on all the servers with tmboot. Is there anyone in the forum ran into the same problem?
The source code ForkSrv.c:
#include <unistd.h>
#include <signal.h>
#include <atmi.h>
void    doChildProcess();
void    launchChildProcess();
static pid_t m_iChildPid = -1;
/** FUNCTION: tpsvrinit */
int tpsvrinit( int argc, char **argv ) {
  launchChildProcess();
  userlog("Service initilized: (pid=%d)\n", getpid());
/* FUNCTION: killChild
*  DESCRIPTION: send SIGTERM to the child process and wait for it terminates.  */
void killChild() {
  int iChildStatus;
  if (m_iChildPid>0)
    kill(m_iChildPid, SIGTERM);
    userlog("Service (pid=%d) kill child process %d\n",
          getpid(), m_iChildPid);
    wait(&iChildStatus);
    userlog("Service (pid=%d) killed child process %d\n",
          getpid(), m_iChildPid);
/** FUNCTION: tpsvrdone
*  DESCRIPTION: terminate the child process and do other clean ups */
void tpsvrdone(void) {
  killChild();
  userlog("Service done: (pid=%d)\n", getpid());
/*  FUNCTION: ForkSvc
*  DESCRIPTION: service function */
void ForkSvc(TPSVCINFO *tpinfo)
  userlog("Service call: (pid=%d)\n", getpid());
  tpreturn(TPSUCCESS, 0, tpinfo->data, 0, 0);
/*  FUNCTION: launchChildProcess
*  DESCRIPTION: launch the child process. If the child process exists terminate it first.  */
void launchChildProcess()
  m_iChildPid = fork();
  switch (m_iChildPid) {
  case -1:/* error */
    userlog("launchChildProcess: Service failed to fork: (pid=%d)\n", getpid());
    break;
  case 0:/* child */
    doChildProcess();
    exit(0);
    break;
  default:/* parent */
    userlog("launchChildProcess: Child created with pid=%d\n", m_iChildPid);
    break;
/*  FUNCTION: doChildProcess
*  DESCRIPTION: child process routing */
void doChildProcess()
  sleep(100000);
  userlog("doChildProcess: Service child exited: (pid=%d)\n", getpid());
  exit(0);
The Makefile fork.mak:
CC=cc
SERVERS=ForkSrv
server: $(SERVERS)
all:ForkSrv
ForkSrv: ForkSrv.o
        buildserver -t -o ForkSrv -s ForkSvc -f ForkSrv.o
ForkSrv.o:ForkSrv.c
        $(CC) -c -I${TUXDIR}/include -o ForkSrv.o ForkSrv.c

We have a tuxedo service which needs to communicate with a POS device by socket. The parent process provides the tuxedo service. The child process provides the connection management for the device. Unnamed pipe is used for communication between the parent and the child. In the child process, there is no code related to tuxedo. The benefit of that design is the tuxedo server does not need to wait for connection from the device when boots up, and the tuxedo service does not need to wait for connection from the device when the service is called.
The tuxedo server was developed 10 years ago, and worked fine till we upgraded tuxedo from 10 to 12 recently. That means it worked for 10 years, and it worked in tuxedo 6.5, tuxedo 10. But in tuxedo 12, tmboot does not return for this tuxedo server. We have to press CTRL-C and yes to cancel. After cancel, the tuxedo service seems working fine.

Similar Messages

  • My iphone5 wont charge with usb port but works fine with wall plug... Infact computer. Doesn't recognizes the iphone

    Battery not charging with usb port but works fine with wall plug.. So the prob is computer is not detecting the iphone5 . This problem started after upgrading to 6.1.3 version

    Try to see what happens on another computer. If it works on another computer, the issue is not at the iPhone.

  • Superdrive no longer recognizes CD, but works fine with DVD

    my Superdrive seems to have a problem recognizing any type of CD media, but works fine with DVD media.
    I reinstalled Leopard and still the same problem. I also zapped the NVRAM (this is an Intel 2.0 Ghz Mac Mini w/ 2 GB Ram.
    Is there anything else I can do or do I just need to replace the drive?

    Typically when this sort of symptom appears, it relates to a hardware failure, either due to a faulty lens, or dirt. You might try a lens cleaner to ensure it is not the latter.
    Since this is a 2.0GHz mini, it ought to be still under warranty - if that is the case it would be wise to have Apple, or an approved service provider, check it and undertake any necessary repairs.

  • I have a Mac running 10.9.2. My wireless mouse with not scroll in mail but works fine in other applications? Any suggestions?

    I have a Mac running 10.9.2. My apple wireless mouse will not scroll in Mail but works fine in other applications.
    Any suggestions?

    First, see this discussion. If the solution suggested there doesn't work for you, continue.
    If you've installed a Mail plugin called "Mail Unread Menu" and you know how to remove it, please do that, then quit and relaunch Mail. Test. Otherwise, see below.
    Back up all data.
    1. Triple-click anywhere in the line below on this page to select it:  
    ~/Library/Mail/Bundles
    Right-click or control-click the highlighted line and select 
    Services ▹ Open
    from the contextual menu.* A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
    2. Repeat with this line:
    /Library/Mail/Bundles
    This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • TS2972 First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first

    First night I was able to watch 2 TV shows (45 min each) with no problems, but thereafter programs will not stream without constant pause to buffer. Weather conditions are ideal and my internet comes from crappy hugesnet, but worked fine the first night.

    The speed may have been ok at that time and is too inconsistent/too slow overall. interference may have proven to be more of an issue since as well. If using public DNS that will provide Intermittant results
    I'm sure using a hotspot would be fine but it depends on your viewing habits. An HD movie is around 4-5GB. It would also be subject to speed. requirements so best to test to see how it compares.
    You would have to check with your Carrier if hotspot it's enabled then just to into your settings and toggle it ON

  • After updating to iOS 6.0.1 "Yahoo! Server Unavailable" but works fine on iPhone.  Help please!

    after updating to iOS 6.0.1 "Yahoo! Server Unavailable" but works fine on iPhone.  Help please!

    GIve it time. Yahoo has been have persistently random issues in past weeks. If you don't want to wait, you can try deleting and readding your account info.
    The issue is on yahoo's end and all their updates/upgrades.

  • HP ProBook 5220m Fan not working with battery power but work fine with adapter plugged in

    Hi,
    Any one have this issue?
    HP ProBook 5220m (Bios Version F50) Fan not working with battery power but work fine with adapter plugged in.
    This issue was found in my replacement motherboard. the original mother do not have this issue.
    The origianl mother to be replace is due to can't power on after a power failure recovery. I believe was due to power surge killed the motherboard's power controller circuitry.
    Appreciate any one can provide clue for resolving the problem.
    I have tried to install speedfan to try my luck, but it can't any fan in the application to configure. (Bios Version F50) 

    @wheng 
    ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with the Forum's private messaging please click here to learn more.
    Thank you,
    Omar
    I Work for HP

  • Verizon mail deleted from server is not deleted from IPAD2 but works fine on Android

    I have both an Android phone and an IPAD.  This Android (RAZR) and my previous one (Droid2) worked fine.   Mail deleted from the server is also deleted from the phone.  Deleted from phone would delete from server.  Worked great.  On IPAD, when setting up the Verizon mail account, it defaults to POP and I can set it to delete from server when removed from IPAD.  However, mail deleted from the server is not deleted from the IPAD and so I have to remove it manually (a second time).  Why does it work on Android and not on IPAD?  Settings on Android appear to also be for POP.  Can anyone help with this?  It's too hard to believe that with so many people using IPADs, that this is such a problem.   I've read that Verizon isn't supporting IMAP, but how in the world is the Android phone working?
    MrBigHands

    Any mail service POP downloads a copy of the message to the phone. It would then need to be deleted from the device itself. What you are referring to where its deleted in both places is an IMAP type email service.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • Ad page for one site won't display, but works fine with Internet Explorer

    Main page of one site displays fine, but ad page won't. Works fine under Internet explorer. Didn't have problem before.

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove your live.com cookies (save any pending work first) using either of these. While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?

  • Firefox 22 update crashes on startup in server 2008 R2 terminal environment. Downgrading back to 21 works fine though.

    Firefox updated to version 22 and immediately started crashing on startup. Doing a completely clean reinstall does not solve the problem, as soon as the install finishes it immediately crashes. I have since installed version 21 from an old install file and it is working fine, so something with version 22 apparently does not like our Server 2008 R2 terminal environment. The server has the latest OS updates and AV/malware scans are performed routinely.

    We're sorry to hear that your Firefox seems to be crashing when you open it. Please perform the following steps to give us a crash report ID that helps us find out more about the cause of the crash.
    #Press the following shortcut to get a Run window: [Windows] + [R]. This should bring up a window that contains a text field.
    #In that text field, enter %APPDATA% and press Enter. An explorer window should open.
    #From that explorer window, double-click on the ''Mozilla'' folder, then double-click on ''Firefox'' and then on ''Crash reports''. Double-click on ''submitted''.
    #Now, you should see a list of files that contain reports. Go to ''View'' > ''Arrange Icons by'' > ''Modified'' to get the most recent files at the top of the window.
    #Open the most recent 5 files with a text editor and copy the IDs.
    #Paste each ID with '''bp-''' into the reply window on the forums.
    Thanks in advance!
    You can find more information and troubleshooting steps in the [[Firefox crashes]] article.

  • Changed to a new BT Hub 4 but safari stopped working; message - "505 internal server error", yet internet and wifi on non appled devices working fine?

    Upgraded home router to the new BT Hub 4. Working fine for mail, but Safari cannot be accessed to bring up web browsing or any web sites. Message instead is "505 Internal Server Error" and then the IP address is listed in the search bar. Only effects my Apple devices, my other pc's using different browsers are working fine? Any suggestions please?

    i have managed to fix this myself, now very happy. i have googled so much on this issue but could not find anything, found this site and posted before i looked around. i found a post about somone with the same issue with an i phone. some one posted this link
    http://bt.custhelp.com/app/answers/detail/a_id/44328/c/
    carried this out and it now works fine.

  • Select query hangs on Oracle 9i but works fine in Oracle 8i

    Hi Guys,
    For a recap of what happened:
    Migrated from Oracle 8i to 9i for a customer, all queries and statements are working fine, except for this particular query. If i run the same query on 8i it works like a charm.
    In 9i, if i remove even one field from the query, it works else it just hangs.
    Any idea, any one???
    **Added 2:09PM: When i removed some ltrim and rtrim that i believe not necessary, the query works fine, is there any field length limitation in Oracle 9i???
    Below is the query:
    set pagesize 100;
    set linesize 1024;
    set heading off;
    set echo off;
    spool scb_xfer_hdr_npsx;
    select ltrim(rtrim(to_char(hdr_srl_no,'99'))) || ';' ||
    'P' || ';' || rtrim(ltrim(payment_type))|| ';'|| ';' ||
    ltrim(rtrim(our_ref_no))|| ';'|| 'MY;KUL;' ||
         rtrim(ltrim(debit_account_no))||';'||
    rtrim(ltrim(to_char(scb_batch_date,'YYYY/MM/DD'))) || ';'|| ';' ||
    rtrim(ltrim(payee_name_1))|| ';'|| ';' ||
    rtrim(ltrim(address_1))|| ';'||
    rtrim(ltrim(address_2))|| ';'||
    rtrim(ltrim(address_3))|| ';'|| ';' ||
    rtrim(ltrim(payee_name_11))|| ';' ||
    rtrim(ltrim(address_11))|| ';'||
    rtrim(ltrim(address_21))|| ';'||
    rtrim(ltrim(address_31))|| ';'|| ';' ||
         rtrim(ltrim(payee_bank_code)) || ';' || ';' ||
         rtrim(ltrim(payee_account_no)) || ';' ||
         rtrim(ltrim(our_ref_no2)) || ';' || ';' ||
         rtrim(ltrim(our_ref_no2)) || ';' || ';' || ';' || ';' ||
    rtrim(ltrim(payment_currency))|| ';'||
    rtrim(ltrim(to_char(payment_amount,'9999999999.99')))|| ';'||
         'C;P;;' || rtrim(ltrim(payee_bank_name))|| ';' ||
         'KL;;' ||
         rtrim(ltrim(delivery_method)) || ';' ||
         rtrim(ltrim(delivery_by)) || ';' ||
         rtrim(ltrim(counter_pickup_location))
    from scb_xfer_hdr_npsx
    order by hdr_srl_no;
    select distinct 'T;' || ltrim(rtrim(to_char(total_payments))) || ';' ||
         ltrim(rtrim(to_char(total_pay_amount,'9999999999.99')))
    from scb_xfer_hdr_npsx;
    spool off;
    spool scb_xfer_dtl_npsx;
    select ltrim(rtrim(to_char(srl_no,'99'))) || ';' || 'I' || ';' ||
         ltrim(rtrim(doc_no)) || ';' || ltrim(rtrim(to_char(doc_date,'yyyy/mm/dd'))) || ';' ||
         ltrim(rtrim(doc_description)) || ';' ||
         ltrim(rtrim(to_char(doc_amount,'9999999999.99')))
    from scb_xfer_dtl_npsx
    order by srl_no;
    spool off;
    set echo on;
    exit;
    Message was edited by:
    Logesh

    Hi,
    are you still on a 32bit kernel on AIX?
    How are the Form4.5 connected, are they on the same box, or are they using the forms GUI?
    What about the statistics, how do you collect them? Is the database set to the COST based optimizer?
    Do you use dbms_utility.analyze_schema, or this:
    exec dbms_stats.gather_schema_stats( -
    ownname => '$OWNER', -
    estimate_percent => 10, -
    granularity => 'ALL', -
    method_opt => 'FOR ALL COLUMNS SIZE 75', -
    degree => NULL , -
    options => 'GATHER $GATH', -
    cascade => TRUE -
    What does it mean the SQL hangs? Can you cancel the query? Do you have to kill the session? Do you use any diagnostic tools like TOAD to trace the session, see what it is doing? Usually if this is a performance/tuning issue, you will see the session is not dead, but you will see advancing reads.
    Regards,
    Richard.

  • Why won't Words With Friends open in Firefox but works fine with IE?

    The game "Words with Friends" worked fine until firefox update and Words with Friends new version. Now it will not open. Tried all the support suggestions to no avail. Then I tried it through IE and it works fine.

    -> Update Firefox to the latest version 10
    * [[Installing Firefox on Windows]]
    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[Troubleshooting extensions and themes]]
    Check and tell if its working.
    May not be related to your problem but some of your Firefox Plugins are out-dated
    * Update All your Firefox Plugins -> [https://www.mozilla.org/en-US/plugincheck/]
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

  • Hyperlink NOT working in "X" but work fine with 9.5.0

    Hi,
    we create PDF Documents with Office 2010 SP1 (32bit) on Windows 7 SP1 (x64) and we use absolut Hyperlinks within Word 2010.
    All the Links are working fine within the word document.
    Now the users can´t use the hyperlink within the pdf if they use Adobe Reader X.
    Other users who still are using Adobe Reader 9.5.0 does´nt have any problems at all.
    The hyperlinks are about 205 characters long.
    So please Adobe, before you will publish a new Reader Version please fix your problems within Reader X.
    Does anyone have a solution here?

    See:
    * http://kb.mozillazine.org/Links_to_local_pages_do_not_work
    Note that Firefox can't handle PowerPoint files like IE can, so you would still have to open such a file in PowerPoint or a PP viewer program.
    *http://www.microsoft.com/download/en/details.aspx?id=13

  • Gasbuddy web site not working properly with firefox, but working fine with explorer

    I've noticed when I load the web site gasbuddy.com, it is not working properly. It does load, just not performing like it should. When I try using gasbuddy.com on explorer 9, it works fine. I've already tried working in safe mode and that didn't solve the problem with gasbudy.com. Any suggestions as to how to fix the problem? I did do some prior investigating, and I'm very cautious about removing my cookies. It seems when I do that procedure, I lose too much info on certain web sites----weather.com, weatherunderground, etc. Just not sure how to remove cookies to solve a problem with out causing other problems? Thank you.

    I'm glad we were able to figure it out. Many sites are designed with stretchy columns that work with either full zoom or text-only zoom, but definitely not all of them.

Maybe you are looking for

  • Problem of creating workbook with permanent template?

    Hi all, Iam facing some problem while creating the workbook with permanent template.Let me expalin in detail. I have created 3 queries (ex:Stock) and i have to insert these in one workbook with permanent template.I  had selected the the permanent tem

  • Photoshop CS4.0 download

    http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html#more-5583 link is not working to download Photoshop CS4.0

  • KKS2 can't calculate the variance in the production order

    We have some simi-finished product orders.  All these simi-finished products  were produced in previous period and got receipted into the warehouse. However, for some reason we don't know, there are still some cost balance remain in the orders themse

  • Backend contract as source of supply

    Hi We are using SRM 7 and classic scenario. I have created a contract in ECC with account assignment K and with a free-text. I would like to use that one as source of supply. Do I have to put that in a source list in SRM or can SRM use the contract i

  • Excessive SPAM even with SPAM Filtering configured

    SPAM Filtering is configured and is checking email, however, its not catching SPAM email messages. The header on a sample message came in with SCL:0 and PCL:2. The AntispamReport says SenderIDStatus None. But its SPAM. Wondering if recently others ar