How do console apps run in "silent" mode?
i have developed an app that is supposed to run all the time - does such an app qualify to be called a service? This is a console app (no GUI) - it actually takes the place of a middleware system.
Gimbal2: thanks for recommending the Java Service Wrapper - my application is actually quite simple and im not sure if want to add the kind of complexity that comes with the wrapper.
What i would like to know is how i can have my application run in the background ("silent") - this is what i mean ->
when i start my service (on the console) it should first output initialising progress... and once it has started and running i would like the app to run in the background, AND RETURN BACK THE COMMAND PROMPT to the terminal - so another command may be run to stop the application or even exit that terminal. (by the way, is that what is called a "faceless" app?)
Many unix applications have been designed to run like this, i would like similar behaviour of my app.
Thanks.
yes i actually need the program to run even when the user who started it logs out - so yes it should be a service.
DrClap: this service will be deployed on HP unix machines as well as some SOLARIS, and as for now, im still experimenting the program -and thats in Windows!!
so is javaw the only way to run this service in the background and in 'silent' mode?
Faz.
Similar Messages
-
How to install Oracle 10g Database (Silent Mode) on Ms. Windows
Hello,
I need to find out how to run a silent mode installation for Oracle 10g Database. I could perform such an installation for Oracle EX because I could found the installation guidelines.
I need some document to guide me from scratch, how to write response files, etc.
Thanks in advance!!Hi,
this would help;
http://tinyurl.com/ybzvg4v -
How to turn ipad 2 in silent mode?
How to turn ipad 2 in silent mode?
1. Double-click the Home button
2. Swipe Task Bar to the right
3. Tap the speaker to mute your iPad.
http://i1224.photobucket.com/albums/ee374/Diavonex/6d3191ba.jpg -
How to install photoshop CS6 in silent mode with a serial number on Win7?
I have a serial number. Now I have to install photoshop CS6 in silent mode with this serial number in command line. How?
Check the deployment guides in the developer center.
Mylenium -
TS3274 Background apps. How to close apps running in the background.
I just down loaded iOS 7.1. Background apps closer problem. Double clicking home button no longer opens all my running apps. How will I close running background apps? Thank you.
Double-clicking home button should still work. Unless you changed something, perhaps in accessibility settings? Try varying the speed.
But there is an alternative: swipe with 4 or 5 fingers upward off the top, this should get you to the same place. -
How to install authorware player in silent mode
hi, I'm looking to install the authorware player in silent
mode for several computer in an organization, I would like to have
an installer (.exe or .msi) for internet explorer, does anyone
could help me with that? tahnks!There is no MSI (nor .exe) for the Authorware web player.
It's only
available as a .cab. However, of course, you could unpack the
can and
create your own MSI if you have the proper tool (i.e
InstallShield).
Someone (in China?) did that a couple years ago. Searching
the archives
of this group on Google, or perhaps the A'ware Listserve, may
reveal...
Erik
ersatyle wrote:
> hi, I'm looking to install the authorware player in
silent mode for several
> computer in an organization, I would like to have an
installer (.exe or .msi)
> for internet explorer, does anyone could help me with
that? tahnks!
>
Erik Lord
http://www.capemedia.net
Adobe Community Expert - eLearning
http://www.adobe.com/communities/experts/
http://www.awaretips.net -
Authorware Tips! -
Installer command line switches or "How to install Flash Player in silent mode"
Please note that all browser windows must be closed before executing either the installer or uninstaller. The following document describes the different parameters:
Silent install command line argument doesn't work | Flash Player 10.1There is no MSI (nor .exe) for the Authorware web player.
It's only
available as a .cab. However, of course, you could unpack the
can and
create your own MSI if you have the proper tool (i.e
InstallShield).
Someone (in China?) did that a couple years ago. Searching
the archives
of this group on Google, or perhaps the A'ware Listserve, may
reveal...
Erik
ersatyle wrote:
> hi, I'm looking to install the authorware player in
silent mode for several
> computer in an organization, I would like to have an
installer (.exe or .msi)
> for internet explorer, does anyone could help me with
that? tahnks!
>
Erik Lord
http://www.capemedia.net
Adobe Community Expert - eLearning
http://www.adobe.com/communities/experts/
http://www.awaretips.net -
Authorware Tips! -
Is it possible to create an app that overrides silent mode?
I want to create an application that overrides the silent mode on an iPhone but I am not sure if it is possible.
That's a user controlled function.
Not possible. -
How to stop apps running in background
I tried reinstalling MS Office 2011 but cant stop an app running in the background. It needs to stop prior to the install and I cant stop it.
Install Basics for Office 2011
Not only should Safari be quit but all browsers and hidden Microsoft processes like the Microsoft Database daemon and SyncServicesAgent. To disable these applications:
Log Out/In
Log out under the Apple in the Menu bar
Log in and hold down the Shift key (this disables all startup items including the hidden ones)
Restart after installing updater
Note for the MAU and MERP updaters you do NOT have to restart after updating. These are found in the root Library:
/Library/Application Support/Microsoft/
Why Restart?
The Restart after updater will force a file that stores the version info to update. This should happen automatically but sometimes it doesn't. The next updater will fail and you will have to re-install Office. The restart is a quick step that will save time in the long term. -
How to check apps running in background?
Hello Folks,
- How do I check which apps are running in the background at all times?
- How do I stop them from running in the background?
ThanksRead through these links to understand iOS multitasking...
http://support.apple.com/kb/ht4211
http://speirs.org/blog/2012/1/2/misconceptions-about-ios-multitasking.html
http://www.macworld.com/article/1164616/how_ios_multitasking_really_works.html
http://whenwillapple.com/blog/2010/04/19/iphone-os-4-multitasking-explained-agai n/
Note that the vast majority of apps do not run in the background. What you see in the tray after double-clicking the Home button are recently used apps. -
How to print a invoice in silent mode
Dear Developers,
I would like to know how can I push the OK button on Printing windows dialog after SBO_Application.ActivateMenuItem ("520") in code. I'm working on a alternative printing wizard and need help on it.
Thank you in advance.
Cheers,
NghiaNghia,
Please note, you can automatically print invoices when you add them (there is a customizing option when you press the add button you can print out the invoice) our you can use document printing wizard.
This stuff is not easy, but try the following:
Logic:
You should implement a multi-threaded program, which is looking for the operating system actual window, and compares with the SAP B1 Window ID. If differs, then you can send an enter key. (click on default button).
You can build up thread safe procedure with custom code, but i have used there a timer, which starts when you send the printing, and stops when enter has been sent.
Add the following code to your addon variables declare section:
Private Declare Function GetForegroundWindow Lib "user32.dll" () As IntPtr
Dim _timer As New System.Timers.Timer
Dim lCurHwnd As Integer
When you activating the Print Menu, add the following code
' SAP B1 Window ID via Windows API Call
lCurHwnd = GetForegroundWindow()
_timer.Interval = 100
AddHandler _timer.Elapsed, New System.Timers.ElapsedEventHandler(AddressOf Me.Timer1_Elapsed)
_timer.Enabled = True
'RockAndRoll
SBO_Application.ActivateMenuItem("520")
Now impement the timer eventhandler (thread safe, you can send any keys like ENTER which closes the print dialog box and ESC when you would like to cancel
Private Sub Timer1_Elapsed(ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs)
Dim lHwnd As Integer = GetForegroundWindow
If lCurHwnd = lHwnd Then Exit Sub
' Send enter key to Commit the dialog window
System.Windows.Forms.SendKeys.SendWait("{ENTER}")
'Stop timer
_timer.Enabled = False
End Sub
Regards,
J -
How to search apps in the popular mode only
I would like to set my search for Apps to Most popular as a default. The other thing is every time I download an app and go back,I have to start at the beginning of the apps search, **** annoying!
Whoops, spoke to soon. the store was up for a bit and is down again at least from my desktop iTunes.
The IPAD is apparently working -
How to install applications to remote machines in silent mode?
Hi All,
I have the following question and I hope to find a creative solution.
My applications architecture is a client server one.
I would like the server to remotely connect to its clients machines and silently install a client java application for 2 purposes:
1. Install new clients on computers that werent part of the deployment yet. When the server connects to a new clients he needs send the installation file and execute it
2. Updated existed clients (replace jars, configuration files, etc)
My main goal is to do everything in silent mode (without requiring the users to connect the clients and actively install clients application).
Can any of you think of a Java solution for this? I think the first purpose if the harder one so in case I ask my users to install the clients for the first time, how do I silently upgrade their applications when needed?
Tnx,
Urisabre150 wrote:
Scheiner wrote:
My concern with Webstart is that it open windows and require the user to do some steps. Like press one button to agree to an update!
Yes, but when you have 1000 clients it is a lot of work.
I would like to have the upgrade process to be done silently. It is this 'silent' requirement that is suspect. Anything silently installing something is dangerous. Are you one of these people who has Windows automatic updates turned on?
Personally, I am not. but it is good to have the option.
>>
Can webstart run in silent mode? I'm pretty sure it can but I can't be certain and I don't know how to do it since I won't ever use silent upgrades. Read the Webstart documentation.
I can have the server making the client application invoking the URL for the new files (so the user will not have to connect to every client machine and invoke the URL), but how do I do the rest in silent mode?
btw- I can use PsExec to run the installation on new clients (windows only). My main issue now is how to upgrade silently. If you have other ideas than webstart I will be happy to hear. -
Hello:
I am new to Blackberry and am having a problem. I need to know how to put my blackberry into silent mode so that it does not ring audibly. I can's have the phone goping off while I am in court. Can some one please tell me how to put it into silent mode. Thanks.
Solved!
Go to Solution.Find your Profiles icon, or Sounds.
You'll find several options, including Silent.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
ManagedServer entry using silent mode
Folks,
I created a Silent script for WebLogic81sp2 domain creation and everything seems
to be ok.After creating the domain, I will be in the position to edit the startManagedWebLogic.cmd
file manually to add the server name(set SERVER_NAME=ManagedServer).
How can I update this using silent mode?
See my script below, Thanks, Johnson
//////Create the Admin Server
find Server "myserver" as s1;
set s1.Name "AdminServer";
set s1.ListenAddress "localhost";
set s1.ListenPort "10000";
set s1.SSL.Enabled "false";
//set s1.SSL.ListenPort "10001";
set JavaHome "C:\beaplatform\jdk141_05";
set ServerStartMode "dev";
set CreateStartMenu "false";
//////Create the Managed Server
create Server "ManagedServer" as s2;
set s2.ListenAddress "localhost";
set s2.ListenPort "10010";
set s2.SSL.Enabled "false";
//set s2.SSL.ListenPort "10011";
set JavaHome "C:\beaplatform\jdk141_05";
set ServerStartMode "dev";
set CreateStartMenu "false";
Hi
I am getting the below exception any idea?
Error: readTemplate() failed. Do dumpStack() to see details.
Problem invoking WLST – Traceback (innermost last):
File “c:\oracle\silentdomain.py”, line 3, in ?
File “C:\Users\test\AppData\Local\Temp\WLSTOfflineIni1709266438475496258.py
“, line 17, in readTemplate
The template to read must be a jar file containing a valid domain configuration
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleExc
eption(CommandExceptionHandler.java:51)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(W
LScriptContext.java:1538)
at com.oracle.cie.domain.script.jython.WLScriptContext.readTemplate(WLSc
riptContext.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.
jython.WLSTException: com.oracle.cie.domain.script.ScriptException: unable to pa
rse “template-info.xml” from template jar “C:\oracle\wlserver_10.3\common\templates\domains\wls.jar
The template to read must be a jar file containing a valid domain configuration
Maybe you are looking for
-
Mobile Documents Folder Missing in 10.7.3?
I have a 13" MacBook Air and a 27" iMac that I just did the combo update to 10.7.3. Since I have updated, I am missing the mobile documents folder. If I upload a pages document to icloud.com on my iMac and then go to icloud.com on my MacBook Air, i
-
When I go to my email account through Safari, I cannot see all of my messages. It says there are 34 but I can only see 26. However, at the bottom right the arrows to go to the next screen are not highlighted? I also cannot scroll any further dow
-
Printer name with non-ASCII character
Is it possible to name a printer using ISO-8859-1 (or WINLATIN1) characters? Our business system has logical printer names defined, sometimes using Norwegian (and Danish) letters (AE-lig, O-slash and A-ring), which we would like to map to the correct
-
Hi, CALL FUNCTION 'Z_BAPI_LEAVE_DELETE_TAB1' in update task EXPORTING employeenumber = '1989' subtype = '0400' OBJECTID = LOCKINDICATOR = validitybegin = '20050704' validityend
-
OTL need to require user enter a purchase order number
We are using the Projects and Purchasing timecard layout. OTL validates the PO entered, but I need to require that it be entered. Seems OTL doesn't require it and I can't find anything in preferences. I can write a validation rule to enforce it, but