Questions tagged [service]
A Service is a long-running executable that performs specific functions and which is designed not to require user intervention.
22,601
questions
0
votes
1
answer
31
views
Flutter How to print in debug consloe after killing the app
I know in flutter we can debug and print in the console even if the app is not running to test things in the background or other purposes , and i test it before but i forgot how to do it ,
it was a ...
0
votes
0
answers
10
views
Service specific error code 1 using tomcat 8 as a windows service
I have installed Tomcat v8.5.73 as a windows service using the following command:
CATALINA_HOME/bin> tomcat8 //IS//Tomcat8 --DisplayName="MyService"
But when I try to start the service ...
0
votes
1
answer
18
views
How to send a service/component property to a vanilla JS file in Angular?
In an Angular project, I've got a third party library I'm trying out, but it needs some tweaks to work how I want it to. In one of the library's JS files, I need the ability to dynamically construct a ...
0
votes
0
answers
27
views
how to handle opencv error with a non-exception code base
I have a non-exception grpc service code base which uses “error code return” strategy to deals with all kinds of errors(when an error happens(not all, only the unhandleable ones), it causes a chain ...
0
votes
0
answers
42
views
Best way to use bussiness logics in CQRS pattern (with service classes)
Currently, I am using the CQRS pattern structure in my project. I do not use DDD mechanisms in my project. Huge business logic was written in the CQRS handlers.
Now my client wants to use these ...
0
votes
0
answers
9
views
service is not starting of zabbix server
I am installing Zabbix firewall on RHEL8 but after starting the service of Zabbix server above error is coming. can someone guide me on how to remove this error?
thanks
image has been attached
-1
votes
1
answer
26
views
How do I pass the id from the addNewFriendClick to my onClickUpdate?
I have a friend form that has a button to add friend via ajax call (addNewFriendClick). Once added it should output the id and then using that id the same button (onClickUpdate) should allow to update ...
-4
votes
0
answers
39
views
Why isn't my console displaying anything? [closed]
Underneath is my driver
private static void menu() throws SQLException, IOException{
// TODO Auto-generated method stub
System.out.println("Welcome to the beginning of your Pokemon ...
0
votes
0
answers
8
views
Windows service slowing down when cpu is high
I need to run a python script as a windows service and to do so I used Pyinstaller to package the app into a single executable file and NSSM to load the new service. This all works fine, but when the ...
0
votes
0
answers
43
views
How to log username of the user trying to stop a service in windows
I have made the service to not stop when using services.msc or cmd or task manager by changing descriptors of the service and restricting access, but I want to log details of user who tries to stop ...
-3
votes
0
answers
22
views
How to disable end task option for a service in task manager
I am testing out GoLang in windows and wrote a code to create a service and trying to make it like SentinelAgent, which cannot be stopped by user by cmd, task manager or services.ms. So, we were ...
0
votes
0
answers
27
views
Android SMS receiver call twice
I would like to notify the incoming sms message. I implemented the BroadcastReceiver for SMS receiver. And I also implemented the service for BOOT_COMPLETED action. Because the receiver cannot be ...
-1
votes
0
answers
15
views
Access Service methods in Activity and Fragment using Application Class in Android
Access Service methods in Activity and Fragment using Application Class in Android
I am trying following code to Access Service methods in Activity and Fragment
Application Class
public class ...
0
votes
1
answer
35
views
scope issue with named pipes
I have an app that has two components. One is a C# console app that will run as a service in production. The other component is the UI which is a WPF app that runs as a system tray app. This article ...
-2
votes
1
answer
17
views
Nagios - adding spaces/tabs/newline Between arguments of Service Check Command
For more readability I would like to add spaces around the arguments in a service's check command. Running a nagios check outputs an error as it seems to want everything on one likeso:
One line ...
0
votes
0
answers
21
views
How to save all log of service in stead of overwrite it
I made a python script when a vm restart
This is how I did
[Unit]
Description=DDos Service
After=multi-user.target
[Service]
Type=idle
WorkingDirectory=/home/aol
ExecStart=/usr/bin/python3 -u /home/...
0
votes
2
answers
32
views
Code is running but I am not in that component - Angular
I set an interval in the admin component to check for new messages.
but when I logged out then I noticed that the interval method is still running.
setInterval(() => {
this.service.checkNew();
},...
0
votes
1
answer
46
views
Figure out which desktop is active at the moment from the Win service
I have a Win service running under the SYSTEM account. In case the user logs out from the system, the service should detect this and restart particular application on the logon desktop (and stop ...
0
votes
0
answers
17
views
Windows Service Not working on server returns Error 1064
I have this windows service that runs periodically and it is working fine on the local computer when I install it on a Server it returns an error saying Windows Could Not Start the service on Local ...
-1
votes
1
answer
25
views
Windows Service - Is it possible to update some variables while the service is running?
I'm creating a FileSystemWatcher Windows Service, connected to a Windows Forms Application.
Through my Windows Forms Application I am sending the path which needs to be monitored by the ...
0
votes
0
answers
50
views
What does it mean to provide a static reference in the context of a Java Program?
Let's say I'm working on a class called ItemService and I am asked to create those methods inside ItemService which I understand:
public void addItem(String param1, String param2)
public Item getItem(...
0
votes
0
answers
26
views
Symfony inject EntityManager to abstract class
i'm trying to call an utility class from a scope of a controller action.
As there will be also later another utility classes for other entites that shares some of the same dependencies, i will them ...
0
votes
0
answers
25
views
Pass data of the same component between different Screens in Angular 13
I have one input query component, which handles data request. This input component will be used in two different components locations (in screen A and in screen B).
When the input query is finished, ...
-1
votes
0
answers
25
views
Systemd Timeouts for Reload Operation
i have written a Script to gracefully restart some Web-App.
The Script takes 11-12 min to execute because it has to wait a certain drain period.
I added the Script as "ExecReload" into the ...
0
votes
0
answers
16
views
Not able to start service when app is in background
I want to start service to play mp3 url when push notification is received but when app in background or idle service doesn't start due to android restriction policy here is my code so doing with ...
-1
votes
0
answers
70
views
How can I avoid NTDLL making worker threads?
I am working on a Windows service application using VS Community Edition 2019 and C++. For realtime reasons, I want to keep the number of threads as low as possible. Regrettably, ntdll.dll is creating ...
-2
votes
1
answer
19
views
How many ways to perform task which will take long time in android?
Different ways in android to perform tasks which will take long time.
0
votes
0
answers
26
views
azure cognitive services tts python language="ar-SY" get error : 'latin-1' codec can't encode characters in position :Body ( )is not valid Latin-1
Coding with Python and using azure cognitive services text to speech. I have Arabic text, and I want to generate the corresponding mp3 speech audio :
input_text="هذا المحتوى مجاني، لذلك لدعم ...
0
votes
0
answers
9
views
Is there a conventional way to add services to the database as used by getservbyname()?
I have many services in my project, and I'd like each project to add it's name to the services database so that functions such as getservbyname() recognize my services.
Here is an example:
I create a ...
-1
votes
0
answers
18
views
how to call a service method in a non Activity (Servicemanager)class in android [duplicate]
I have a service like this
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import androidx.annotation.Nullable;
public class CommonService extends Service {
...
-2
votes
0
answers
14
views
Choosing a proper, free service provider for ML solution [closed]
I am looking for the experience-based suggestion on which solution provider would be good to build, deploy and use ML model Python-based.
I want to build, test and deploy a quite simple ML model (let'...
0
votes
1
answer
43
views
Create windows service from process
I want to create a windows service from a long running process. I'm able to create the service but I cannot execute it in any way.
I've also tries a very simple timeout.exe process with the same ...
0
votes
1
answer
16
views
Display single service map for two serverless microservices instrumented with AWS Xray
I have use-case where the Producer Java lambda publishes messages to SQS and Consumer Nodejs consumes them. Producer side of X-ray is enabled in serverless.yml; displays a Service map with all AWS ...
-1
votes
1
answer
34
views
Json format with field name in angular
So I have this service with dummy data, and i wanted to add a field name called 'soeid' to this dummy list but it returns error
Error:
src/app/roaster-load/UploadService/upload.service.ts:10:3 - error ...
0
votes
0
answers
10
views
Windows service .net core
I am having trouble in starting the windows service as an automatic service from an installer. The windows service is not a complete .net framework specific as its a .net core windows form. the ...
-2
votes
1
answer
27
views
Backgroud location updates issue or kill after some time
Hello all i am working on tracking app. i am getting the update location and save in realm Database.
This is my code
Geolocation.getCurrentPosition(
position => {
var speed = JSON....
0
votes
0
answers
18
views
Single domain for Azure Blob and Servcice App
I have a blog on WordPress, which I have converted into ASP.NET Core. I am using Azure Service App. As it's a blog, so it has a lot of images, around 4GB of images. For now, I have placed these images ...
3
votes
0
answers
29
views
Embed service worker in application JS
Now service worker is called with:
navigator.serviceWorker.register('/js/sw.js')
.then(function (swReg) {
Can I call it like that:
var sw = //paste here all sw.js file's code;
navigator....
0
votes
0
answers
10
views
Using SC.exe post installUtil
I am trying to understand what is the correct way to uninstall a service.
According to Microsoft here, there are two ways to uninstall a service:
// Using installutil
installutil -u <yourproject>...
0
votes
0
answers
10
views
how to stop SqlToosResourcesProviderServices
I'm using node.js, brew services and mysql -u root -p to start the server.. everything turns off when I command it to except my activity monitor (mac os) says SqlToolsResourcesProviderServices is ...
0
votes
2
answers
17
views
What are the reason when a stopped windows service starts automatically?
What are the reason when a stopped windows service starts automatically?
I know only few which are
When service start-up mode is automatic and someone re-start the server then service will also get ...
-1
votes
2
answers
51
views
Continually Running Background Service on latest version android 11 and 12
I googled a lot and search also on a over stack flow i did not get any proper solution for Continously location update when mobile on background mode.
I have also use workmanager Periodic
request ...
0
votes
1
answer
27
views
The service APIs should not be bundled with the implementations.; creating "Ghost" implementation
I am working on the following Nifi controller service bundle:
nifi-controllers-bundle
nifi-controllers
nifi-controllers-api
nifi-controllers-nar
nifi-controllers-api-nar
I have a custom controller ...
0
votes
0
answers
10
views
Testing/using a WCF service from Jenkins
The core of our system requires a WCF service to be either installed or launched in interactive mode. The latter is currently the preferred way for debugging purposes.
The problem I am having is that ...
0
votes
0
answers
17
views
Why I cannot restart smbd service?
I'm trying to install samba on my Ubuntu for accessing my folder also in Windows.
I already installed samba using apt install samba, but when I type that command the error occurs and the error log is ...
0
votes
0
answers
102
views
Error when starting docker container with docker-compose: failed to create shim task: OCI runtime create failed
I have a certain code developed using Docker, and Docker-compose. When I want to start the images that I have build using:
sudo docker-compose -f docker-services-dev.yml up -d
I get the following ...
0
votes
0
answers
16
views
Service messenger code should be on activity or in viewmodel? MVVM android
i have a bound service who recieves data from a messenger my question is if this code (for example)
val msg: Message = Message.obtain(null, 1, 0, 0,peso)
try {
...
0
votes
1
answer
14
views
problems starting service that runs a bash script that in turn runs a python script
I have the following service file, enable, and start files located in /home/pi/poolboy/service:
[Unit]
Description=Pool Boy
After=network-online.target
[Service]
ExecStart=/home/pi/poolboy/start
...
0
votes
0
answers
22
views
The unit tests are not clear or not working for the functions I wrote
These are the 2 functions in the "recipe.service.ts" file:
setRecipes(recipes: Recipe[]) {
this.recipes = recipes;
this.recipesChanged.next(this.recipes.slice());
}
getRecipes() {
...
0
votes
1
answer
19
views
I am using wix3.6 Instance Transform feature. My requirement is to spit the output in 2 different folder based upon instance transform id selected
I am using wix3.6 Instance Transform feature. My requirement is to spit the output in 2 different folder based upon instance TRANSFERCATEGORY property provided via command prompt. I am not getting ...