service

Liferay : Service Manager

Hi, Can any one help me in understanding the functionality of ServiceManager in Liferay? Regards Vishal G ...

domain vs. controller vs service - Grails: querying for property

Hi, folllowing scenario to query for list of items from domain: class A { SortedSet items } Second line is code to be used in GSP A1) domain and namedQuery static namedQueries = { filteredListItems { params -> ... } } A.filteredListItems(params) A2) domain methode def filteredListItems = { params -> ...

Running windows service to watch service running grow memory (leak)

I have checked all posts here, but can't find a solution for me so far. I did setup a small service that should only watch if my other services I want to monitor runs, and if not, start it again and place a message in the application eventlog. The service itself works great, well nothing special :), but when I start the service it use a...

AccessViolationException - Trying to print

Hi All, I am trying to print a report from Reporting Services, the approach I am taking is: Render the report to get the Byte[] Create a file in the client (Something.pdf) Load that file in Read Mode to a FileStream Then I try to make a call to the procedures described in http://support.microsoft.com/kb/322091/en-us If you in method S...

How do I make a Python script (installed as a service) survive a logout?

I followed the instructions in this answer about writing a Python script to be used as a service. I placed my looping code in def main(). I installed the service with python my_script.py install. I was able to Start and Stop the service through services.msc in Windows XP. It's a logging program that is intended to write logs as long as...

what is the difference between Serializing and encoding?

what is the difference between Serializing and encoding? and when should i use each in a web service? ...

Android Service - Cannot access location

Hello Experts, I am new to Android ... so just exploring ... I created an application that starts a service. This service has to access the Location. I am currently unable to do so ... I have given permission to my Manifest file .. I think the issue is that the application has the permission, but the Service does not ! What happens i...

Getting a Windows Service to run as a Network Service.

I have done some work developing a Windows Service and have had some success in doing so. I notice that some services run as the user Network Service. I wondered what the difference of behaviour is when running as this service. The service I am developing tracks logins and logouts and so it would be beneficial to try and have the serv...

Synchronizing a service with a timer

I'm trying to write a service in c# that should be run on a given interval (a timeout) from a given date. If the date is in the future the service should wait to start until the date time is reached. Example: If I set a timeout to be 1 hour from 21:00:00 I want the program to run every hour If I set a timeout to be 1 hour from 3999....

android widget and localservice bind

I writing player, it has main activity that runs localservice. I can't find how bind localservice to widget. When i trying to bind it like in activity it fails. Plz help me. Adding #1 How can I contact with background service when? http://www.developer.com/ws/data/article.php/10944_3843561_1/Handling-Lengthy-Operations-with-Android-App...

Embeddable commenting systems comparison?

I need embeddable commenting system for web site where I can control posts. I want to delete posts I don't want to see and think that you can't do that if you use FB embeddable comments. There is DISQUS, FB comments and many more solutions. What do you think is best? For me controlling comments, deletion of unwanted ones and banning use...

Service starting a process wont show GUI C#

Hey, I am trying to get a service to start my program but it isn't showing the GUI. The process starts but nothing is shown. I have tried enabling 'Allow service to interact with desktop' but that still isn't working. My program is a computer locking device to stop unauthorised users from accessing the computer. I am running windows 7 wi...

What's the fastest way to register a java-application (or maybe a bat executing the app) as a Windows service?

What's the fastest way to register a java-application (or maybe a bat executing the app) as a Windows service? Update 1: It has to be free for companies to execute :) Either by using a third party app or following a guide. ...

Windows Task Scheduler will run app only once

So my situation is that I am running an app on the Windows Task Scheduler. This app is run once a day at 1pm. the app does some queries and transfers data to an FTP site. All that is working great except on the weekends when i am not here the app is run and the GUI is still displayed for me to review. This seems to make it stop running o...

callback in wcf window service

I've created a test winform application with a test button which access a wcf window service. i want to callback to client at certain condition from window service. I've configure my window service as you depicted in your example but even then when i debug the code it doesn't step in to call back funcyion and application went to dealoc...

Strategies for calling synchronous service calls asynchronously in C#.

With business logic encapsulated behind synchronous service calls e.g.: interface IFooService { Foo GetFooById(int id); int SaveFoo(Foo foo); } What is the best way to extend/use these service calls in an asynchronous fashion? At present I've created a simple AsyncUtils class: public static class AsyncUtils { public stat...

Why are my ServiceConnection methods never executed?

Hi, this is the class that calls my Service: public class TicketList extends ListActivity { private ArrayList<Tickets> alTickets = new ArrayList<Tickets>(); private boolean listCreated = false; private static Drawable background = null; private Resources res; private Tickets ticket = null; private TicketConnector localService; /** *...

Windows application or service to communicate with another service on remote desktop

Hi, I need to write an application in C# that has to communicate with a service on a remote desktop. I would like to know if it will be better to write an application that sends information to a local service which in turn communicates with the remote service or would it be better for the application itself to communicate with the remot...

Queuing Intent for IntentService from within IntentService

Is it possible, with an IntentService, to send another intent to the IntentService from within the IntentService? For example, say my IntentService is processing an Intent which has it write a bunch of data to the database. During this time, several other Intents to write other data may [or may not] have been queued up in the IntentSer...

List users in a datagrid, using WCF + RIA with Silverlight 4

How to list all registered users from a RIA Service? I tried to expose they by using a IQueryable (from a Domain Class Service), but got the error "The entity type 'User' is exposed by multiple DomainService types." My first clue is that the user is already exposed, but found nothing in code and there is nothing related to 'User' in 'Da...