Registering tnameserv as a windows service

Hi,
Could anyone help me on registering and starting tnameserv as a windows service.
Any help would be very very helpful.
Regards,
Hayath

Here is code I have written to do this. It is deployed using the wrapper utility (see http://wrapper.tanukisoftware.org), and I am including the wrapper config file that I use. You need to have the tnameserv.exe executable and tools.jar available - I simply deploy them in the same directory as the jar file I build form the cod below.
This may not be very elegant, but it works, and is in use on a daily basis in live newspaper publishing sites that use our software, so it works well.
Here is the code, which I provide as is with no liabilities etc.:
import java.io.*;
public class corbaasservice {
public static void main(String arguments[]) {
try {
String tnameservpath = "./tnameserv.exe";
if (arguments.length > 0) tnameservpath=arguments[0];
startCorbaThread(tnameservpath);
catch (Exception e) {
e.printStackTrace();
static SetantaThread setanta;
private static void startCorbaThread(String tnameservpath) throws IOException {
setanta = new SetantaThread(tnameservpath);
setanta.start();
class shutdowncorbaasservice extends Thread {
private SetantaThread setanta;
public shutdowncorbaasservice(SetantaThread s) {
setanta = s;
public void run() {
try {
Process tnameservProcess = setanta.getTnameservProcess();
tnameservProcess.destroy();
System.out.println("CORBA As Service interrupted");
catch (Exception e) {
e.printStackTrace();
// we do this to make it possible to start the program as a Windows Service without problems
// using a separate thread, prevents the service manager locking up if the startup time is too long
class SetantaThread extends Thread {
private String tnameservPath;
private Process tnameservProcess;
public SetantaThread(String path) {;
tnameservPath = path;
tnameservProcess = null;
public Process getTnameservProcess() { return tnameservProcess; }
public void run() {
int status = 0;
try {
System.out.println("CORBA As Service starting");
Runtime.getRuntime().addShutdownHook(new shutdowncorbaasservice(this));
tnameservProcess = Runtime.getRuntime().exec(tnameservPath);
status = tnameservProcess.waitFor();
catch (Exception e) {
e.printStackTrace();
finally {
System.out.println("CORBA As Service exiting with status: "+status);
Here is the wrapper configuration file I use. You can install the service by running the wrapper progam with this config file:.
wrapper.java.command=java
wrapper.java.maxmemory=128
wrapper.java.mainclass=com.silveregg.wrapper.WrapperSimpleApp
wrapper.app.parameter.1=corbaasservice
wrapper.java.classpath.1=./corbaasservice.jar
wrapper.java.classpath.2=./wrapper.jar
wrapper.java.classpath.3=./tools.jar
wrapper.java.library.path=.
wrapper.port=1777
wrapper.startup.timeout=300
wrapper.ping.timeout=300
wrapper.shutdown.timeout=300
wrapper.disable_shutdown_hook=TRUE
wrapper.request_thread_dump_on_failed_jvm_exit=TRUE
wrapper.ntservice.name=CORBAServices
wrapper.ntservice.displayname=CORBA Services
wrapper.ntservice.description=Provide CORBA Services for Java Applications
wrapper.ntservice.starttype=AUTO_START
wrapper.ntservice.process_priority=NORMAL
Hope this helps,
Colin Manning
Setanta-Media Limited

Similar Messages

  • How to register DI RfcSvr as an Windows service

    Every time I must manully start DI RfcSvr program on windows. I want to know how to register it as a Windows service?
    I try to run below command:
    ntscmgr install SAPRFCService -b "D:\Business Objects\BusinessObjects Data Services\bin\rfcsvr.exe" -p "-a DI_SOURCE -g HOST_NAME -x gateway_name"
    It successfully register the command to NT service but It can not start. The error message in Event Manager is:
    Event ID 7009, Timeout (30000 milliseconds) waiting for the SAPRFCService service to connect. I though this is caused by no return code returned by program rfcsvr.exe.
    Anybody has good idea?
    TIA

    Hi,
    I'm in the same situation, I need to know if it's possible to record DI RFCSVR as a Windows service or not.
    When I try to start the service, I get the same error
    Event ID 7009, Time (30000 milliseconds) waiting for <name Service> of service to connect.
    I have searched without success guides.
    Any suggestions.

  • How to register an instance as a windows service in SJWS 7

    Hi all,
    I need to backup my sites config and restore them on another machine.
    I found out that I could simply copy over the folders under the config-store and it'll work, I can see & even start my sites from the other machine through the Admin GUI.
    However, I need to register these sites as Windows Service in order to enable them to be started automatically upon server reboot. In the past, the SJWS 6.1 has ntregister.exe which I could use to do this, but this exe file is no longer there for version 7, does anyone has any idea how I can register an instance as a Windows Service in SJWS 7u4?
    Thanks in advance!
    Regards,
    DM

    hi Javahardcore,
    Thanks, it's the command I've been searching for (it's not listed under the CLI Reference Manual so I couldn't found it).
    However it failed when I tried it with the following error msg:
    ADMIN3577: Service creation and deletion is not supported on this platformI'm running Windows Server 2003 R2 and I've just upgraded the SJWS from 7u4 to 7u5, any idea whether that might be the issue?
    Can you share with me under which config did you managed to get the command working? Thanks!

  • RFCEXEC running as a windows service

    Hello,
       Is it possible to run rfcexec.exe from the RFC SDK as a Windows service (other than being launched by srvany.exe, for example) ? Thanks in advance for your input.
    Peter DOUGHERTY

    If you have Visual studio installed, create a windows service project with all the parameters, see the following example:
    Shell (rfcexec.exe -a  XXXXXX  -g xxxxx -x sapgw01)
    Compile it as exe file.
    use SAP provided ntscmgr program to register this as a windows service.
    This is working great in my environment.
    Thanks,

  • 10.3 registering Admin and Managed server as windows service.

    I have not found anything in the new documentation on how to do this which left me wondering if there is a reason it was omitted? I found procedures from the 8.1 docs but would rather have something more up to date. I'm installing on win 2003 server. Thank you.
    Edit: I found the installSvc.cmd script in the %wlshome%\server\bin directory and tried it. According to instructions you set SERVER_NAME and then call the script. It seems to install the services ok but when I start them they stop immediately with no specific errors in event viewer.

    Dear,
    I assume you now have at least 3 windows services:
    -node manager service
    -adminserver service
    -1 or more service for your managed servers (which start after adminserver service)
    All of them start on system startup.
    My question: If let's say one managed server crashes, is it then automatically restarted by the nodemanager? Since the managed server is not started by node manager itself, I guess the answer is no. If so, what is the usage of having nodemanager running as a service?
    Thanks.

  • Problem in executing client application as windows service

    Hi
    I have a client program that sends client ip address to server.
    My Requirement is to run this client program as windows service.
    For this, i have created a jar and after that i have created a .exe file.
    now using sc command in DOS i was created a service named as ClientService
    But when i am trying to start this service like other services, it is giving error saying that "The Service did not respond to the start in a timely fashion"
    Please help me in this issue

    1.Can i lock my mobile phone from J2Me Application.In J2ME you can not.
    2.How can i register J2ME application as service,means
    it started when mobile start and continously Run on my
    mobile. can these problem have a solution ,if yes then
    how..I haven't seen any device that lets you run a J2ME app at start up as a service like windowsNT. May be you can do the above two things if you dig more in to Symbian OS programming.
    Good luck
    Manas

  • Windows services no longer working after 10.4.9 update

    Hi there
    I have updated our server from 10.4.8 to 10.4.9 and since the update our windows services won't start. I go in to server admin and press the start button. the windows server begins to start up and then stops. I have downloaded the combo update directly from the apple site and reinstalled this and still no luck. Does anyone know of any way to get Windows up and running or if I need to delete any files to get it going. the only other service currently running is Apple file services. We have print services but I have disabled this to see if it solves the problem.
    Thanks in advance
    gavin
    checking the server log for Windows file service log it says:
    [2007/03/21 08:19:55, 2] /SourceCache/samba/samba-100.7/samba/source/lib/tallocmsg.c:registermsg_poolusage(57)
    Registered MSGREQ_POOLUSAGE
    [2007/03/21 08:19:55, 2] /SourceCache/samba/samba-100.7/samba/source/lib/dmallocmsg.c:registerdmallocmsgs(71)
    Registered MSGREQ_DMALLOCMARK and LOG_CHANGED
    [2007/03/21 08:19:55, 0] /SourceCache/samba/samba-100.7/samba/source/tdb/tdbutil.c:tdb_log(725)
    tdb(/etc/samba/lock/share_info.tdb): tdb_lock spinlock failed on list 103 ltype=3
    [2007/03/21 08:19:55, 0] /SourceCache/samba/samba-100.7/samba/source/tdb/tdbutil.c:tdb_log(725)
    tdb(/etc/samba/lock/share_info.tdb): tdb_lock spinlock failed on list 103 ltype=1
    [2007/03/21 08:19:55, 0] /SourceCache/samba/samba-100.7/samba/source/tdb/tdbutil.c:tdb_log(725)
    tdb(/etc/samba/lock/share_info.tdb): tdb_lock spinlock failed on list 0 ltype=3
    [2007/03/21 08:19:55, 0] /SourceCache/samba/samba-100.7/samba/source/tdb/tdbutil.c:tdb_log(725)
    tdb(/etc/samba/lock/share_info.tdb): tdb_lock spinlock failed on list 103 ltype=3
    [2007/03/21 08:19:55, 0] /SourceCache/samba/samba-100.7/samba/source/tdb/tdbutil.c:tdb_log(725)
    tdb(/etc/samba/lock/share_info.tdb): tdb_unlock: count is 0
    [2007/03/21 08:19:55, 0] /SourceCache/samba/samba-100.7/samba/source/tdb/tdbutil.c:tdb_log(725)
    tdb(/etc/samba/lock/printing/printers.tdb): tdb_lock spinlock failed on list 1493 ltype=3
    [2007/03/21 08:19:55, 0] /SourceCache/samba/samba-100.7/samba/source/printing/printing.c:printbackendinit(195)
    printbackendinit: Failed to open printer printers database

    Well there is:
    /private/var/servermgrd/servermgrd_smb.loc
    an
    /private/etc/smb.conf
    I would think that he was referring to one of these files.
    Generally when windows does not start loading the default smb.conf file resolves the issue in my experence. You can create a new share point to make sure the default gets updated with the current settings.
    xserve 2006 Mac OS X (10.4.9)

  • OracleOraDb10g_home1TNSListener  service is not showing windows service

    Hi,
    I have just installed the oracle 10g(10.1.0) with sample database. I am trying to connect the database from client I got TNS : No listener , SO I have checked in the database I am wondering that the OracleOraDb10g_home1TNSListener service was not available in the controlpanel-services window.
    I am trying to start manually using lsnrctl but no luck.
    Any one who knows what could be the problem??? or How to enable the service in contorl panel service of windows??
    Thanks,
    Priya.

    How is this thread different from your other thread?
    How register a LISTENER in WIndows 2003 server.

  • Error:Registered login failed for shared services...

    Hi All
    while i was configuring the Calc Manager after foundation services ,the window display the error:Registered login failed for shared services....
    I try to use the correct user name and password for it .check the installation guide for Hyperion version is 11.1.2 .do not know where to look for correct information to make this configuration work.
    Any help would be very useful .
    Thanks

    Which is the process connecting using machine account?
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Starting a class as a Windows Service??

    I�ve developed a server which has a startup class. What is the best way for me to install this class as a windows service that start up automatically at computer startup??
    please help... I�m dying here
    thanx Iceland

    You could create a BAT script that starts your Java program and then use the program SRVANY.EXE to register the BAT-file as a Service.
    SRVANY is on the Resource Kit.
    Perhaps you can use http://www.firedaemon.com/ instead.
    /rolex

  • SPUserCodeV4(Windows Service) what account to run this service

    Hi I'm getting the feared:
    The server farm account should not be used for other services.
    Service:
    SPUserCodeV4(Windows Service)
    Any recommendations on what account type i can use for this service? Just a normal domain user?
    My windows service (SharePoint User Code Host) is actually disabled. Not needed here.
    br
    Bjorn

    It is best practice to use unique service accounts for each service app.  Service accounts are just domain user accounts that are registered in SharePoint as service accounts in order to manage their password changes.
    Start here: 
    http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=237
    I trust that answers your question...
    Thanks
    C
    http://www.cjvandyk.com/blog |
    LinkedIn | Facebook |
    Twitter | Quix Utilities for SharePoint |
    SharePoint Admin Nav Console (SPANC)

  • SAPCCM4X.03 Windows Service stops after 3 sec.

    Hi!
    I would like to set up the SAPCCM4X agent on the satellite system.
    The installation with the commando >sapccm4x -R pf=... endes without any errors.
    The problem is that the appropriate SAPCCM4X.03 Windows Service stops after 3 sec.
    The output on the CMD console is:
    INFO: trying to register service SAPCCM4X.03 at Windows Service Control Manager
    starttype of service:             manual/[auto] :
    DomainName\UserName  or [<LocalSystem account>] :
    INFO: Agent is running (no actual pid, but actual shared memory!)
    WARNING: Service SAPCCM4X.03 already stopped. But agent is running!
    WARNING: The following service is registered but could not be started
    SAPCCM4X.03  
    (command ["E:\usr\sap\SC3\SYS\exe\run\sapccm4x.exe" -Service
    pf=E:\usr\sap\SC3\SYS\profile\SC3_DVEBMGS03_VMSAP01]   user <LocalSystem account>)
    INFO: Updated config file E:\usr\sap\SC3\DVEBMGS03\log\sapccm4x\csmconf.
    EXITING with code 0
    How can I solve this problem?
    Thank you
    Ju00FCrgen

    Hello Jürgen,
    WARNING: Service SAPCCM4X.03 already stopped. But agent is running!
    you could try to clean up the part of the shared memory used by the agent:
    sapccm4x pf=<instance profile> -initshm
    Maybe the agent starts afterwards.
    Regards, Michael

  • BizTalk 2013 R2: SB-Messaging Windows Service Bus On Premise 1.1 (Not Windows Azure)

    Let me preface this by saying that I have been able to connect to the destination Service Bus Topics and Queue using traditional .NET methods (e.g. System.ServiceBus.Messaging namespace) and the applications using those components are running fine on the
    same local VM.  This uses the connection string that is provided from GET-SBAuthorizationRule.
    Development Environment:
    Windows Server 2012
    SQL Server 2014
    BizTalk 2013 R2
    Local VM that is not on the Domain (but can connect to computers on the network)
    I am trying to create a simple BizTalk 2013 R2 Messaging Solution that will use the SB-Messaging adapter features with Windows Service Bus On-Premise.  My solution is using a Static One-Way Send Port to send messages to an existing topic on with Windows
    Service Bus 1.1 using the SB-Messaging Adapter.  After using the programmatic approach, the configurations were not as intuitive, but I believe I am close to the resolution.  I have tried several combinations of key data but I am still not able to
    connect.  This seems like I am missing something small that is causing the problem but I am at a loss for the moment.  The error I receive is below:
    A message sent to adapter "SB-Messaging" on send port "SBSendPort" with URI "sb://<SERVERNAME>/NsServiceBus/collateraltopic" is suspended.
    Error details: System.UnauthorizedAccessException: The token provider was unable to provide a security token while accessing 'https://<SERVERNAME>:7355/WRAPv0.9/'. Token provider returned message: '<Error><Code>400</Code><Detail>Namespace cannot be resolved 'https://<SERVERNAME>:7355/WRAPv0.9/'.TrackingId:6bcd22e8-1741-41fc-a84c-9aa3f7146ab5_GUS2522512,TimeStamp:6/30/2014 8:35:35 PM</Detail></Error>'. ---> System.IdentityModel.Tokens.SecurityTokenException: The token provider was unable to provide a security token while accessing 'https://<SERVERNAME>:7355/WRAPv0.9/'. Token provider returned message: '<Error><Code>400</Code><Detail>Namespace cannot be resolved 'https://<SERVERNAME>:7355/WRAPv0.9/'.TrackingId:6bcd22e8-1741-41fc-a84c-9aa3f7146ab5_GUS2522512,TimeStamp:6/30/2014 8:35:35 PM</Detail></Error>'. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
    at Microsoft.ServiceBus.TokenProviderHelper.TokenRequestAsyncResult.<GetAsyncSteps>b__8(TokenRequestAsyncResult thisPtr, IAsyncResult r)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
    --- End of inner exception stack trace ---
    Server stack trace:
    Exception rethrown at [0]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(TokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
    --- End of inner exception stack trace ---
    Server stack trace:
    at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(TokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationToken(String appliesTo, String action)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationHeader(String action)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessageInternal(String action, Object body, Boolean includeToken, String parentLinkId, RetryPolicy policy, TrackingContext trackingContext)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.GetOverheadSize()
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender..ctor(String path, SbmpMessagingFactory messagingFactory, SbmpMessageCreator messageCreator, RetryPolicy retryPolicy)
    at Microsoft.ServiceBus.Messaging.Sbmp.CreateSenderLinkSettings..ctor(SbmpMessagingFactory messagingFactory, String entityName, Nullable`1 entityType, String transferDestinationEntityName, RetryPolicy retryolicy)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessagingFactory.OnBeginCreateMessageSender(String transferDestinationEntityName, String viaEntityName, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.Messaging.MessagingFactory.CreateMessageSenderAsyncResult.<GetAsyncSteps>b__52(CreateMessageSenderAsyncResult thisPtr, TimeSpan t, AsyncCallback c, Object s)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.Start()
    Exception rethrown at [0]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
    at Microsoft.ServiceBus.Messaging.OpenOnceManager.<>c__DisplayClass4`1.<Begin>b__3(IAsyncResult r, T& output)
    at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.OperationComplete(IAsyncResult result)
    at Microsoft.ServiceBus.Common.AsyncResult.SyncContinue(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.BeginOperation()
    at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.OpenComplete(IAsyncResult result)
    at Microsoft.ServiceBus.Common.AsyncResult.SyncContinue(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1..ctor(OpenOnceManager openOnceManager, TimeSpan openTimeout, AsyncCallback callback, Object state, Func`3 beginOperation, EndOperation`1 endOperation)
    at Microsoft.ServiceBus.Messaging.OpenOnceManager.Begin[T](AsyncCallback callback, Object state, Func`3 beginOperation, Func`2 endOperation)
    at Microsoft.ServiceBus.Messaging.MessagingFactory.BeginCreateMessageSender(String transferDestinationEntityPath, String viaEntityPath, Boolean tryPairSender, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.Messaging.Channels.ServiceBusOutputChannel.OpenMessagingFactoryAndMessageSenderAsyncResult.CreateFactoryComplete(IAsyncResult result)
    at Microsoft.ServiceBus.Common.AsyncResult.SyncContinue(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.Channels.ServiceBusOutputChannel.OpenMessagingFactoryAndMessageSenderAsyncResult..ctor(ServiceBusOutputChannel outputChannel, TimeSpan timeout, AsyncCallback callback, Object state)
    at Microsoft.ServiceBus.Messaging.Channels.ServiceBusOutputChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open()
    at Microsoft.BizTalk.Adapter.SBMessaging.SBMessagingOutputChannelFactory.OnCreateChannel(EndpointAddress address, Uri via)
    at System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
    at System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
    at System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverOutput.CreateInnerChannelBinder(EndpointAddress to, Uri via)
    at System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
    at System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
    at System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
    at System.ServiceModel.ChannelFactory`1.CreateChannel()
    at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.GetChannel[TChannel](IBaseMessage bizTalkMessage, ChannelFactory`1& cachedFactory)
    at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendMessage(IBaseMessage bizTalkMessage)
    MessageId: {28428716-88C2-437B-953F-D471DA00C5A6}
    InstanceID: {18C48B89-D9C0-47A8-ADF0-0CA62746FBB1}
    Below are my Send Port Adapter Configurations:
    URI is blacked out
    /Namespace/Topic/ are next in the path
    Can someone confirm that the Issuer Name is the Namespace and the Issuer Key is the Primary Key from the get-SBAuthorizationRule?  I also tried Shared Access Signature (SAS) but that service was connecting to a default port and do not believe that is
    how I need to connect.
    Also, there is nothing on the Properties Tab as I do not have anything custom for the initial step.
    Any and all help is appreciated.

    Glenn,
    Thank you very much for the response, I will go down this route in further detail.  A couple of quick questions for you to help further my understanding.
    Where is the SAS limitation documented?  I am sure I glossed over it and it did not register, but your help in where to look next time will be helpful.
    Also, can I change the default Port for which it is listening on the BizTalk Server or the Service Bus Location?  The connection string I get from get-SBAuthorization Rule is as follows:
    Endpoint=sb://{ServiceBusLocation}/NsServiceBus;StsEndpoint=https://{ServiceBusLocation}:7355/NsServiceBus;RuntimePort=7354;ManagementPort=7355;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey={KeyValue}
    The exception I get is:
    A message sent to adapter "SB-Messaging" on send port "SBSendPort" with URI "sb://<ServiceBusLocation>/NsServiceBus/collateraltopic" is suspended.
    Error details: System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://<ServiceBusLocation>:9354/. The connection attempt lasted for a time span of 00:00:04.0250873. TCP error code 10061: No connection could be made because the target machine actively refused it <IPAddress>:9354. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
    at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
    at System.ServiceModel.Channels.SocketConnectionInitiator.ConnectAsyncResult.OnConnect(IAsyncResult result)
    --- End of inner exception stack trace ---
    It looks like it is going to 9354 for the authentication when the Service Bus is configured for
    7355.  I believe I have opened the ports on both ends but do not think it will matter since it looks like it is sending the
    request to a different location.
    Thank you

  • WCF and Windows service

    Hello. Please, can somebody advise me? I create WCF library that realizes endpoint net-pipe for job with external WCF.I placed lib in Windows Service. But I dont know how to make data exchange from library without usage of WCF client-server mechanism.
    How can I put or get data from running WCF service? for example I want to register WCF errors in Eventlog or give parameters to service for transfer them for clients connected to WCF. Thanks a lot

    Thanks.
    In my project i need to create Silverlight or WPF client for industrial monitoring in my plant  in the real time. For this I would like to use duplex channel in  wcf service on the my OPC client
    I have two objects in my Windows Service project. One object is OPC client and database client. If i create this object in code - everything works good. Another object is WCF service library with net.pipe binding for external connection to this service.
    Ok. I define in my code:
    // window service class   
     public partial class SyncSiemensService : ServiceBase
            private OpcServiceClass opcServer = new OpcServiceClass();
            public SyncSiemensService()
                InitializeComponent();
            protected override void OnStart(string[] args)
                      // OPC client- database client object
                      opcServer.Start();
                     // WCF interface for external communication
                     // with this windows service
                      using (ServiceHost host = new ServiceHost(typeof(DuplexPipeWcfService)))
                                     host.Open();
                                     eventLog.WriteEntry("<Bla-Bla-Bla", EventLogEntryType.Information);
    WCF service
            [OperationContract(IsOneWay = true)]
            void GetActValuesFromLine(string line);
    string line - external data FOR opc object
    and his callback
        public interface IDuplexPipeWcfServiceCallback
            [OperationContract(IsOneWay = true)]
            void ActualValuesUpdate(WcfDuplexActualValues value);
    but "WcfDuplexActualValues value" in mine occurrence - data from OPC object for external connection in WCF. And now i dont know, how retrieve data from opc object without usage client-service communication between OPC object and WCF service library.

  • Restart of DSEE 7 service disables other windows service

    Hello,
    I am using DSEE 7.0 ZIP Distribution. I have registered the DSEE 7 as an windows service.
    1) Through Windows service manager when i restart the DSEE 7, restart happening correctly.
    2) When i restart my custom c++ services (used in our project), This custom services should stop & start other 10 services.
    Custom service is able to stop all 10 services. But it could not able to start the services. All the 10 services are moved to the "Disabled" state.
    3) Through Windows service manager when i again restart the DSEE 7, all the 10 services get started automatically.
    Kindly provide me a solution in order to solve this problem
    Regards,
    Srini

    How can I get machine information(win 9x/win NT) and
    the details of service pack installed on the machine
    using java? I have got all the relevant machine
    properties using system class(System.getProperties())
    but could not get service pack details using the
    same. Is there any other way to get all the
    information?Question: this is all Windows-specific stuff. Why in heck do you use Java for that? It's like using pliers to remove a screw. Yes, it may work, but there are no less elegant ways.

Maybe you are looking for

  • My iPad is telling me that Facebook app is loaded but no app is there. How do I get it back?

    I changed over from an iPad 2 to iPad Air through the use of iCloud. My Facebook app is listed on my settings page as if the app exists but their is no icon to tap to enter the app. It will not allow me to delete it off the settings page but I can al

  • Dynamic table column creation

    Hi All, I am trying to create a table where the number of columns is equal to the number of entries in an output table in my context. How do I go about creating columns dynamically dependant on the number of entries in a table? Kind regards Seb

  • CD-RW is marked 'read only' by hard disk utility

    I want to scratch the contents of a CD-RW or DVD-RW using tht hard disk utility. But this is impossible, the software indicates 'read only'. Even for a new CD the utility says 'read only'. But in the finder the information for the CD is 'read and wri

  • Super-impose an image over two columns

    Hello, I know how to create a two columns within a page using <div>. However, what is the best way to create a structure such that the image is super-imposed over the two columns and float the text around the image, which is on a different level (see

  • Sneak Preview SAP NetWeaver 2004s  istalation problem

    Hy there, I have an error on installing Sneak Preview SAP NetWeaver 2004s (ABAP) The last lines in XCMDOUT.LOG are ERROR 2006-04-19 08:46:28 The dbmcli call for action PARAM_INIT_INST failed. Check the logfile XCMDOUT.LOG. ERROR 2006-04-19 08:46:28 T