Hello,
I had reviewed the documentation on creating Windows services to start my XML RPC Servers that Miguel pointed me to from a Support Request. I read it and tried it, but it didn’t seem to do anything.
Here’s what I did:
- Found D:\SoftwareAG\EntireX\bin\RPCservice.bat and copied it to D:\SoftwareAG\EntireX\bin\RPCservice_XML.bat.
- Edited this RPCservice_XML.bat so it now looks like this:
@setlocal
@rem example command script for the EntireX RPC Server Windows Service
@rem $Date: 2011/01/11 12:12:43 $
@rem $Revision: 1.8 $
@rem Copyright (c) 2000-2011 Software AG, All Rights Reserved.
@rem Warning: This computer program is protected by copyright law and international treaties.
@rem Unauthorized reproduction or distribution of this program, or any portion of it, may result
@rem in severe civil and criminal penalties, and will be prosecuted.
@rem
@rem Starts the EntireX Micro Focus RPC Server as Windows Service
@rem call microfocusserver.bat %*
@rem Starts the EntireX C RPC Server as Windows Service
@rem call cserver.bat %*
@rem Starts the EntireX CICS ECI RPC Server as Windows Service
@rem call cicseciserver.bat %*
@rem Starts the EntireX IMS Connect RPC Server as Windows Service
@rem call imsconnectserver.bat %*
@rem Starts the EntireX .Net RPC Server as Windows Service
@rem call dotNetServer.bat %*
@rem Starts the EntireX Java RPC Server as Windows Service
@rem call jrpcserver.bat %*
@rem Starts the EntireX Java RPC Server as Windows Service
call jxmlrpcserver.bat %*
@endlocalj
Note: I had to add the jxmlrpcserver.bat line as it wasn’t already included.
- I copied this RPCservice_XML.bat to D:\EntireX\Services\Development\DOO\CheckAvailabity\ and renamed it as RPCservice_CheckAvailDev.bat.
- I copied it also to D:\EntireX\Services\Development\DOO\ProcessInvoiceResponse\ and to D:\EntireX\Services\Development\DOO\PublishSalesOrder\ and gave them the names RPCservice_ProcessInvoiceDev.bat and RPCservice_PubSalesOrderDev.bat respectively.
- To test these, I deregistered the XML RPC Servers that were executing that I previously started by running jxmlrpcserver.bat under my own id and started these new bat files. All three of these servers started and registered with the Broker.
- To register, I opened a command prompt window, changed directories to D:\SoftwareAG\EntireX\bin\ and entered the following:
rpcservice.exe -install -ext CheckAvailDev -serverlog D:\EntireX\Services\Development\DOO\CheckAvailability\serverlog.txt -trace D:\EntireX\Services\Development\DOO\CheckAvailability\servertrace.txt -script D:\EntireX\Services\Development\DOO\CheckAvailability\RPCservice_CheckAvailDev.bat
Trouble is… it just comes back with the DOS prompt, no confirmation, no error. And no new services appear when I go to services.msc.
Please advise what I am doing wrong here, as this seems to be what the doc says (other than the duplicated rpcservice.exe text which is apparently a paste & paste again of the same text).
Thanks,
Brian