service

Lightweight query server

I'm looking for some service server that is extremely simple and lightweight. It's supposed to be used by administration scripts or simple apps to query for information that is available only as root on other server. I don't need high-throughput, stateful processing, etc. Only blocking, synchronous queries required. Preferably no HTTP s...

Android: Wakelock & handling orientation change

I'm using Wakelock in my application to prevent the phone from sleeping when the app is visible. The problem comes when there is an orientation change and the system destroys and re-creates the app in landscape mode. If the wakelock timer has expired in the background the system takes the release of wakelock as an opportunity to switch ...

WCF service level variable - C#

Hello there, My WCF Service is hosted in Windows Service and I have added some keys in the appSettings section of Windows Service app.config. Now, I want these keys to be available at more than one code file in WCF Library. Is there any way I can define WCF Service level variable, so that I can avoid - ConfigurationSettings.AppSetti...

Need an app config file opinion here.....

I know that app config is used to provide environmental type of values for process variables. And it is very much key/value oriented. But I have a process (windows service) that uses a skeleton xml template file to produce a fuller version of that file after processesing. What about the idea of including that 'skeleton xml' in the app ...

How to check if exe is running on terminal session from the server

I'm creating a update program that will copy over updated .exe files. It needs to check if any of the .exes are running in a terminal session. If the .exes are running it will kill them. This will be a service that is running on the server with admin rights. The code needs to be in Delphi any one have any thoughts on this? ...

Is it possible to use Seam in a JBoss timed service?

I've started to write some new JBoss timed service that was meant to use some existing seam components. But it seems that I can't access these components because of non-existing contexts. Is it possible to use them other than in the typical situation with JSF? A little snippet to demonstrate what I want to do... @Service public class M...

Permissions problem when starting .NET app from .NET service as a different user?

Hello, I'm trying to start a .NET application under a different user from a .NET service. The idea is to create a sandboxed hosting application in windows. In the service, I programatically created the user in windows, create a folder for that user, and download the host .exe from a server into that folder. I then I run the host .exe us...

Authorization & User info in a Service Layer (.NET application)

Hello programmers, I am currently working with an enterprise application in a .NET environment (n-layered) and I would like to know the best way to manage authentication / authorization + data filtering in my BussinessLayer (BL). We will use that BL from several interfaces (ASP.NET applications and WebServices) and I think that my Servi...

How to check web application status written in Flash/Flex?

I have a typical web application that communicates in the following way: SWF file makes service calls to Java services (Remote object, over BlazeDS on Tomcat), which in turn communicates to database. How do I implement a status check service (hosted on another domain) that will check if the ENTIRE app is up and running? Ideally, I'd m...

Change Thread Session ID Windows C++

How could I start a thread in a different session? I need to start a thread in the interactive session (session 1) from a service in the non-interactive session (session 0). I have done this with a process before by using SetTokenInFormation and DuplicateTokenEx and then passing this to CreateProcessAsUser. I was hoping I could do the sa...

Create a windows service in vb6

Is it possible to create a windows service in vb6? if yes, how? ...

Running Jetty 7 as Windows Service

Did Jetty 7 drop support to run as a service using Java Service Wrapper? What options do I have now? ...

Which is better in this case - sync or async web service?

I'm setting up a web service in Axis2 whose job it will be to take a bunch of XML and put it on to a queue to be processed later. I understand its possible to set up a client to invoke a synchronous web service asynchronously by creating a using an "invokeNonBlocking" operation on the "Call" instance. (ref http://onjava.com/pub/a/onjava...

Python win32 service

Hey guys, I am fairly new to python, and have no experience with writing services for windows. I have tried to hack together a windows service based on afew tutorials i have found out there. I need this service to constantly monitor a directory for changes and when it sees a change it runs a script. Here is what i have so far: import ...

WCF sending the same exception even if the service endpoint address is valid

Hi, I'm running into a really strange problem with WCF. I need to implement some recovery behavior for WCF service if not reachable endpoint IP address received or service can not bind. The flow is simple if the application fail on exception on service creation it terminate it and request from user another IP address and perform anothe...

How does a Windows service differ from a standard exe?

What's the difference between a Windows service and a standard exe? ...

Using SSIS Web Service Task with WCF

Hello, I am using SQL Server 2008 SSIS for importing data to the DB and .Net 3.5 SP1 for Creating the WCF service. In the import task I am trying to use the Web Service Task to report to a WCF service. At first I encountered a problem with the WCF WSDL, the Web Service task couldn't get their code generated from the metadata exposed by...

Memory Leak In C# Windows Service For Sending Emails

This seems to be a pretty popular problem/question these days but I cannot seem to find a solution to the problem. I have created a simple windows service in c# for sending out emails. The app works great except for it's memory usage. The front end of the app is web based and the service is queued by a text file being created in a direc...

Browser settings online service, to help users get settings right?

For a web site (software-as-a-service application) that is used by lots of non-geek users, I am looking for a web site to refer users to if I detect they have their browser settings wrong (e.g. popups disabled, real old version of Adobe Reader, etc). I'd like this site to: run some kind of browser check operation to figure out what th...

wcf service SecurityNegotiationException

Hi all, I am running a Simple Service on my Server with WCF; the service is hosted in WebDev.WebServer.exe (local). When I call the Service local I get the following exception: Unhandled Exception: System.ServiceModel.Security.SecurityNegotiationException: Secure channel cannot be opene d because security negotiation with the remote ...