Questions tagged [service]
A Service is a long-running executable that performs specific functions and which is designed not to require user intervention.
23,156
questions
-1
votes
0
answers
11
views
How to remove the word "Question" in a survey in Service Now?
I am currently developing in Service Now and I face a problem while creating a survey. Everything is just fine with the options what the answers and questions are but the word "Question" ...
1
vote
1
answer
29
views
How to run an executable from a Windows Service Written in C#?
I attempted to execute wsl.exe with a specific Linux command within my Windows Service written in C#. However, each time I encounter the error message (in my log file):The file cannot be accessed by ...
0
votes
0
answers
30
views
Different ports in kubernetes
I am trying to understand the difference between different ports in kubernetes visually. This is the visual sketch which I could understand;
Whenever, a traffic comes to service at port, it sends ...
0
votes
0
answers
48
views
The component didn't catch the updated error message from the service
export class Component implements OnInit {
error$: Observable<string>;
constructor(
private errorService: ErrorHandlerService
) {
this.errorService.errorPublic.subscribe((...
0
votes
0
answers
18
views
Istio on GKE is not working (Connection refused)
I'm currently try to setup a Istio on my GKE cluster for some test. But I don't know why my setup is not working... When I try to use http port to check my service nothing appear Connection refused. ...
0
votes
0
answers
6
views
Why is data provider class in for api platform ignored?
I did all as is described here https://api-platform.com/docs/v2.6/core/data-providers/ but when i call my endpoint, data provider class is ignorder
My Class
namespace App\DataProvider;
use ...
0
votes
0
answers
15
views
Restrict input request size of a .NET webservice
I have an IIS app that hosts webservices. Each service performs a different set of tasks. One of the service supports uploading files and I have set httpRuntime maxRequestLength and ...
-1
votes
0
answers
19
views
Create node service on server
Recently i've been trying to set up a server with node in my cloud server with OS ubuntu 18, i tried with upstart, but in ubuntu 18 i think it is not possible because the service system switched to ...
0
votes
0
answers
25
views
C# windows service network credentials
i developed a windows service in C# using VS 2019 its task get ip address and send it in txt file to local drive of my computer, until now its run perfect.
but when i execute this windows service to ...
-1
votes
0
answers
25
views
How can i fix NullPointerException when calling a method runned by service?
I have an application to calculate prayer times. The final Fajr prayer time is set using the getFajrFinalTime() method in PrayersTimes.java. The current time is calculated and equated with the final ...
0
votes
1
answer
61
views
How to create TIMER in a Windows Service (C#) that waits the main method ends
experts!
I'm developing a Windows Service in C#. My problem is my service restarting the timer before the previous operation ends.
For example:
timer.Interval = 60000;
timer.Elapsed += new ...
1
vote
0
answers
13
views
Check if RabbitMQ service program is running/connected to RPC Queue
Background
I am developing a service program in c# that will take a request from a c# aspx .net web app, process the request and send progress messages back to the web app. That basics of this ...
-1
votes
0
answers
48
views
Service manager in .NET [closed]
I want to make a service manager in .NET that controls the background services on my server. I want to start, schedule, list all services, all running services, end schedules services or change their ...
-1
votes
0
answers
21
views
Endless service in android 11 without auto launch or extra background permission
Actually i'm working on a application like Truecaller and Whoscall that's why i want to setup foreground service.
and i got good code Git Repo robertohuertasm but it not work After mobile Boot (...
0
votes
0
answers
28
views
Powershell Stop Service with timeout function
I would like to use a function to stop a service and kill it if necessarry:
function StopService([string] $name) {
$Time = Get-Date
$svc = Get-Service -Name $name
$timespan = New-Object -TypeName ...
-1
votes
0
answers
14
views
How can I queue requests for specific methods in a Service in WCF?
This question is part theoretical I guess.
For context, I'm working on a project where we cant change too much.
The situation is this: To help with performance, it was suggested that we queue up the ...
1
vote
0
answers
42
views
How to run service when application goes background?
I hope this message finds you well. I am seeking guidance on implementing a foreground service in my application with the following requirements:
Periodically download data from an API (e.g., every 15 ...
1
vote
1
answer
59
views
Facing issues with Spring Boot's @Cacheable and @CachePut - cache is always empty
I'm trying to build a simple Java SB application that reads a text file with lines of data such as:
{"id":"15887","customer_id":"528","load_amount":&...
1
vote
0
answers
27
views
Timer running in background in flutter [closed]
I'm try to handling timer running in background and show this timer in drawer notification
So i was try using flutter-background-service
But this package throw exception from flutter-background-...
0
votes
2
answers
47
views
Can't update user on the server but works on localhost using Laravel
I'm working on an API and a lot of it works great, but for some reason I cannot update the members.
This is the route:
Route::prefix('member')->group(function () {
Route::post('login', [App\...
0
votes
0
answers
66
views
Accessibility Service is not receiving onKeyEvent on physical devices, but is receiving fine on emulators
I'm trying to create an Accessibility service where I'm trying to receive the key events.
This is my service.java:
public class testService extends AccessibilityService {
@Override
public ...
0
votes
0
answers
35
views
What is a good way to use modules that have related entities?
I've been coding for some time and always looking for improvement! That's why I am learning about how to structure my modules in code well.
And now I am facing a dilema based on my experience with ...
0
votes
0
answers
16
views
Install app in Windows docker which runs multiple services
I'm trying to dockerize an application which runs multiple services when installed and if the connection to the central server has been seen from one of these services, it will download and install ...
0
votes
3
answers
80
views
Service in Angular is instantiated twice when extending the service with another service
In my Angular project, I have a setup with multiple services. One service has some functions for which I want to restrict access, so that it can only be used from one specific other service.
To ...
0
votes
2
answers
93
views
Pass Function from Service file to components
I am relatively new to angular and struggling to pass a function to components. I have a function that is currently stored in a service file that needs to be passed to a lot of component files, and ...
0
votes
0
answers
27
views
How to run background service running even if application process stopped in Android 10?
I need to run a service that will be alive after I close application. The service will be started from launcher activity. How can I disable this service from the launcher activity?
This is my Service ...
0
votes
0
answers
19
views
android 12 + aidl + hal server + app client
Is there any architecture to create a hal service and aidl in android 12?
architecture or steps to create aidl service from hals in android 12.
suggest any blogs to understand the aidl architecture ...
1
vote
1
answer
25
views
How to Redirect from Android MainActivity to an already running Foreground service with full screen intent
I am developing an Alarm application, when the alarm fires up it launches a full screen intent with foreground service.
If the user goes to home, then tries to open the app I want him to get ...
0
votes
0
answers
35
views
Capture messages from protected websocket with puppeteer
I simply cannot just capture the websocket messages with puppeteer when the websocket is marked with a gear icon in the developer tools.
The chrome or the puppeteer dev tools can show the messages on ...
0
votes
0
answers
141
views
Run an exe from inside a Windows Service with elevated privileges
I have a Windows Service created with Delphi. Please, how can I run an exe, in the token of the logged user (interactive), as another admin user, with elevated privileges? Is it even possible? Of ...
0
votes
1
answer
67
views
How to access applicationtypename specified in applicationmanifest in c#code
How do I access ApplicationTypeName specified in the applicationmanifest in c#code at runtime
I tried var applicationTypeName = FabricRuntime.GetActivationContext().ApplicationTypeName; var ...
0
votes
0
answers
29
views
Webscraping with selenium cannot import "Service" from
So supposedly webdriver is not installed because the most recent error call back is in line 2 and that's where I tried to install webdriver, here is the error.
Traceback (most recent call last):
...
0
votes
0
answers
27
views
How to programmatically connect to a service using C#?
I am building an ETL process using SSIS to call data from a report API and load the data into a SQL database. I am running into issues with the initial steps where I call the service using a C# Script ...
0
votes
1
answer
42
views
Starting a service without having a launcher activity in android
I have service where i need to trigger a simple notification without needing a launcher activity so basically an app without activity , but for some reason it is not working cause i also tried to run ...
-1
votes
0
answers
12
views
My location is null with the service turned off
/**
@file ServicioEscuharBeacons.java
@brief Este archivo contiene la implementación del servicio para escuchar beacons.
*/
/**
@brief Servicio para escuchar beacons BLE (Bluetooth Low Energy).
*/
...
0
votes
1
answer
24
views
A service and a listener defined in a non-default module do not work when the Ballerina program runs
I have a Ballerina package where there is a rest API and a listener defined in another module in the package. The package structure and the Ballerina code are as follows.
restapi % tree
.
├── ...
0
votes
1
answer
61
views
Delphi Windows Service as Scheduler for run Jobs under multiple User (Server or Saas)
I've written a service in Delphi that is a simple scheduler for jobs, for example running a query or running a UI software or checking for freezes, etc.
Everything works on a single PC, but I need to ...
1
vote
1
answer
47
views
flutter: get variable type of widget.[variable]
I'm new on flutter, then sorry if my question is basic. The class TelaDados is called inside the class TelaPrecos and it has two attributes, one of them is numeroSerie.
Inside the class _TelaDados i ...
0
votes
0
answers
19
views
Systemctl service restarts if depend service restarts
I created a systemctl service which initializes an application and prepares dependencies (processing values) for the application's web interface. The web interface is done via nginx. s-prepare.service ...
0
votes
1
answer
21
views
Dynamically generate a service file in openbmc
I need to implement the BIOS update functionality in the openbmc's phosphor-software-manager. In the following code snippet, versionId is a variable that can change dynamically. How can I dynamically ...
0
votes
1
answer
39
views
Android 11: android.app.RemoteServiceException: Bad notification for startForeground
Trying to start foreground service as per the code :
final Notification.Builder notificationBuilder;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
final NotificationChannel channel = new ...
1
vote
1
answer
25
views
Return record from Ballerina resource function
Please consider the following Ballerina service.
import ballerina/http;
public type Tool readonly & record {|
string name;
string api_path;
ToolInput[] inputs;
|};
public type ...
0
votes
1
answer
44
views
How can I make nats:Listener use a custom ConnectionConfiguration object in Ballerina?
I am using the code provided on the official project page at https://ballerina.io/learn/by-example/nats-basic-sub/.
The code looks like this:
import ballerina/log;
import ballerinax/nats;
...
0
votes
0
answers
9
views
JobScheduler not scheduling service in every minute
I want to schedule a job starting within 1 minute and continue on same interval. I have tried as below but not working.
public static void scheduleJob(Context context) {
ComponentName ...
0
votes
0
answers
33
views
Dynamically changing the introspect endpoint URL based on HTTP request params
I have a rest API and secured it with OAuth2 bearer token.
@http:ServiceConfig {
cors: {
allowOrigins: [config:CORS_ORIGIN],
maxAge: 84900
},
auth: [
{
...
-1
votes
0
answers
25
views
javax.ws.rs.core.Response.readEntity returning MismatchedInputException
I'm trying to read the response from an API. But I'm getting this error:
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type [package].ResponseDTO '...
0
votes
0
answers
34
views
Force PrintDocumentAdapter.onLayout() call when advancedPrintOptionsActivity made changes
This looks to me as a bug in the Android printing subsystem but I'd like to know if somebody has a workaround.
Suppose we have a PrintService installed that advertises an advancedPrintOptionsActivity ...
0
votes
0
answers
52
views
My grpc server is having slower response after a few hours
enter image description here
I added one line log to monitor Perform function and it seems runtime is always around 1ms. However, after a few hours grpc logger shows the response time is very high. It ...
0
votes
1
answer
25
views
ng-mocks - how to create a mock of a service, outside of a Component test bed context?
I know how to work with mocked services injected into a Component, if I am testing the Component. But if I am testing a Service that injects a SubService, I only need
const testedService = new Service(...
0
votes
0
answers
3
views
FTPSVC setting itself to Disabled - Windows Server 2019
What would cause a service (FTPSVC) to disable itself? I cannot find any group policy that would be setting this. Looking at the event viewer for ID# 7040, I see it is being disabled by SYSTEM. It ...