apigee, a better way to API!
Rakesh Chaudhary wrote:
The console pops up a error message
apigee, a better way to API!
What constraints you to use a third party tool (e.g. JavaService)? Customer/teacher? Why? your proud?
Gab, my lead has given me the constraint,because I have to create the service and get it running on different machines,so if we are using wrapper than I think we have to copy the wrapper specific files on all of the machines.
Thats what he is not expecting..me to do !!!
Rakesh Chaudhary wrote:
Duc I used Java Wrapper for creating the service.It works fine for the first time i.e
If I run the AppName.bat file and than create or rather run InstallAppName.bat.
The service gets created.And runs fine.
After I reboot the system,The service starts but doesn't perform the tasks!!
“Everything should be as simple as it is, but not simpler.” Albert Einstein
Rakesh Chaudhary wrote:Hey Duc,
I give a IP of the system on which the service is running and a request to start some kind of exe on it for
example mspaint or notepad or things like that.
In my case the browser takes the IP and request parameter and doesn't open the console but the exe is started as a process in the processes section of the Task Manager.
I mean to say it starts a process but doesn't launch the notepad window !
I have a feeling that its because of some kind of minor error somewhere.
“Everything should be as simple as it is, but not simpler.” Albert Einstein
Properly the solution for you is not to install the process as a windows service, but add it to the user loggon script, so that it will start when a user logs on the system
Rakesh Chaudhary wrote:Hi,
Only problem here is I can't stop the process of the exe being started.
“Everything should be as simple as it is, but not simpler.” Albert Einstein
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|