Can we start JavaWebStart Application as Windows service

Hi,
Can we have JavaWebStart application as windows service?
Thanks
LeoSun

Hi LeoSun,
I dont exactly how to start this is as a window service, but if your requirement is just to start your application when the machine boots,
then you can create a shortcut for ur webstart app, using the jnlp tag <shortcut>
then add this shortcut to your windows startup folder.

Similar Messages

  • How i can Start OC4J Instance as window service

    hi ,
    How i can Start OC4J Instance as window service ?
    Regards
    Omar

    Omar,
    check
    http://www.taltech.com/TALtech_web/support/sw_tricks/NTService.htm
    Frank

  • How to run application as Windows Service

    I have developed an appl using Java Swing. I want to run the application as Windows Service. How can I do that? Along with that, I also want to start Tomcat Server as a separate Windows service. Kindly Suggest some solutino to this!!

    There is a version of Tomcat that runs as a service. (1.4 for windows?)
    As for your own app, there are several free service launchers around (Google for java service etc.) Not sure about a service with a user interface though - services are usually headless. You may have to paritiotn your app into a headless service and a user interface app which communicaes by RMI, sockets or some other RPC mechanism.

  • Can't Start Tomcat 5 as a Service

    Can't Start Tomcat 5 as a Service on XP, when I do
    tomcat5\bin\net start tomcat5
    I get "NET" is not recognized as an internal or external command
    where's that net command coming from? java or XP
    thanks

    You are trying to start the program called tomcat\bin\net which does not exist. The net command belongs to Windows. Just issuing "net start tomcat" or "net start tomcat5" should work from any directory.
    Or just go through the Control Panel->Administrative Tools->Services dialog to start and stop Tomcat as a service.

  • Start and Stop a Windows Service From Java

    Is there any way to start and stop a Windows service from Java? The only post I found on it (http://forum.java.sun.com/thread.jspa?threadID=647509) had a link to one of the many aps that allow Java programs to be services, which is not what I am interested in doing.
    I am attempting to get data from performance counters from the Windows Performance Monitor into a Java ap without using JNI. I can get the data from C++ or a .net language pretty easily and was going to create a service that would listen for socket requests and feed back the data. However, I'd like to start and stop that service when my java code starts and stops. Is this possible? Would it make more sense to just use a .exe and Runtime.exec()?

    If it's only to start or stop a service then you could use the net command without any need for JNI.import java.io.*;
    public class MsWinSvc {
        static final String CMD_START = "cmd /c net start \"";
        static final String CMD_STOP = "cmd /c net stop \"";
        public static int startService(String serviceName) throws Exception {
            return execCmd(CMD_START + serviceName + "\"");
        public static int stopService(String serviceName) throws Exception {
            return execCmd(CMD_STOP + serviceName + "\"");
        static int execCmd(String cmdLine) throws Exception {
            Process process = Runtime.getRuntime().exec(cmdLine);
            StreamPumper outPumper = new StreamPumper(process.getInputStream(), System.out);
            StreamPumper errPumper = new StreamPumper(process.getErrorStream(), System.err);
            outPumper.start();
            errPumper.start();
            process.waitFor();
            outPumper.join();
            errPumper.join();
            return process.exitValue();
        static class StreamPumper extends Thread {       
            private InputStream is;
            private PrintStream os;
            public StreamPumper(InputStream is, PrintStream os) {
                this.is = is;
                this.os = os;
            public void run() {
                try {
                    BufferedReader br = new BufferedReader(new InputStreamReader(is));
                    String line;
                    while ((line = br.readLine()) != null)
                        os.println(line);
                catch (Exception e) {
                    e.printStackTrace();
    }Regards

  • ColdFusion 9 Application Server windows service not being created

    I've done multiple installs of CF9, both 32 and 64-bit versions, on Windows 2003 servers and the ColdFusion 9 Application Server windows service isn't being displayed in the Services console.  If I go into the registry under HKLM\System\CCS\Services - I see the key for CF9 App Server was created, but "Description" is the only subkey value that was created.  The .Net Service, ODBC Server, Search Server, Solr Service windows services are being fully created properly.
    Can anyone shed some light on why the Application Server service isn't getting registered properly and any possible fixes?
    TIA

    fargo75 wrote: Can anyone shed some light on why the Application Server service isn't getting registered properly and any possible fixes?
    TIA
    Did you check out the ColdFusion Installation Log for any relevant failures?
    Any possible firewall or security settings not allowing the ColdFusion installer creating what it needs to create?

  • Installer instal labview application as window service

    Dear NI
    I want to make an installer which installs labview application as windows service.
    Currently i am using third party tool to do this. Is it possible with labview application builder.
    regards

    It should be possible also with installer builder. You should automate described steps (put some entries into the registry and call executable from MS ResKit). Resourse kit should be deployed with same installer (not sure if there "silent" install possible, otherwise read ResKit documentation and license agreement). Alternatively you can build installer with third party tool - in this case you will have more "freedom". In the past I have done this with Inno Setup - works without problems.
    Andrey.

  • Can't start VC application in Portal 7.3 tc~wd4vc~launcher error

    Hello,
    we are trying out visual composer 7.30 with Portal. After developing in VC and deploying to portal I can't start the application. In the log-files there is the following message:
    Application sap.com/tr-gruppe_impl cannot be started. Reason: it has hard reference to application sap.com/tcwd4vclauncher, which is not active on the server because  application is not deployed. Probably refering application sap.com/tr-gruppe_impl declares runtime but no deploy-time dependency to the referred application which is wrong. Deploy the component sap.com/tcwd4vclauncher or contact owners of application sap.com/tr-gruppe_impl to check their references..
    I have read several threads that tcwd4vclauncher doesn't exist in portal 7.30, but these threads don't offer or describe a solution which fits my problem.
    Do I have to deploy the missing component? If, yes where can I get it?
    Please, does anybody have met the same problem and solved it?
    Thanks in advance,
    Kind regards,
    Lu

    Hi Lu,
    Please make sure the WDEXTENSIONS.sca, BI-WDEXT.sca files are deployed on your system.
    Regards,
    Natty

  • I can't start Illustrator CC on Windows 8.1 64bit.

    I can't start Illustrator CC on Windows 8.1 64bit.

    I've installed some apps (Photoshop, InDesign, Flash, Dreamweaver, Acrobat, Muse) from Cloud and they work correctly. When I try to run Illustrator there's an infromation on screen (error raport) that Illustrator can't work 'cos of system operation language (cannot run with Unicode).
    I don't know what to do in this case?
    My system is Windows 8.1 64bit.
    Language is Polish, could it be bacause of that?
    Regards

  • Problem in executing client application as windows service

    Hi
    I have a client program that sends client ip address to server.
    My Requirement is to run this client program as windows service.
    For this, i have created a jar and after that i have created a .exe file.
    now using sc command in DOS i was created a service named as ClientService
    But when i am trying to start this service like other services, it is giving error saying that "The Service did not respond to the start in a timely fashion"
    Please help me in this issue

    1.Can i lock my mobile phone from J2Me Application.In J2ME you can not.
    2.How can i register J2ME application as service,means
    it started when mobile start and continously Run on my
    mobile. can these problem have a solution ,if yes then
    how..I haven't seen any device that lets you run a J2ME app at start up as a service like windowsNT. May be you can do the above two things if you dig more in to Symbian OS programming.
    Good luck
    Manas

  • Can´t start the application

    Hello friends!
    After installing NetWeaver 7.02 I wanted to start a WebDynproABAP application. I activated WebDynpro like shown in the tutorial "Step by Step Configuration for Running Web Dynpro in SAP NetWeaver 7.01 SR1 SP3 ABAP Trial Version". But When I start the application I don´t get the login-popup like shown on page 8 of the tutorial. I get only the first yellow bordered Window with the links "logon" and "change password" but the buttons do nothing.... I can´t fill in the username and password....
    Can anybody help me find out the problem? I thaught it was a problem while the installation - so I installed it all again - nothing changed.
    Please help me!
    Thanks
    Martin

    there are 3 Errors in the sapmmc:
    1. Process type RD - Message S10 - Communications data: Service initialization failed
    2. Process type D2 - Message BS5 - SAP Basis System: Buffer synchronization has not been called for too long
    3. Process type U3 - Message BY4 - Database: Database error -8007  with PRE access to table WBCROSSGT  
    DSR: Transaction: E80269E124F7F1B1B4B7000C294D1C08
    Root: 000C294D1C081EE19AA04658118B74B7
    Connection: 00000000000000000000000000000000
    Counter: 0000000000
    How can I solve this?
    Edited by: Martin Tilenius on Mar 8, 2012 11:37 AM

  • Can't start managed server in Oracle Service Bus 10gR3

    Using Windows 2003 Enterprise.
    Standard install of OSB 10gR3 - only changes from standard are that I also installed the samples, otherwise, it's default install the whole way.
    My windows machine name is the same as a name entry in the HOSTS file, as follows
    127.0.0.1 localhost
    xxx.xxx.xxx.xxx osb-strat
    yyy.yyy.yyy.yyy osb-other
    I eventually want to setup a domain across 2 machines with 2 servers, one on each, hence the two entries.
    For the life of me, I cannot start a managed server for OSB, I keep seeing
    ####<Feb 27, 2009 10:54:11 PM CST> <Critical> <WebLogicServer> <osb-strat> <Strategic> <Main Thread> <<WLS Kernel>> <> <> <1235737451969> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
         at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    I did manage it once, but then I had problems seeing the second machines Node Manager - I have figured that out, but during my screwing around, I lost how to get the primary machines service to boot - I have not even attempted to boot the server on the second, remote machine!
    I have tried creating the domain using the Config wizard and creating the server/machine using the config wizard.
    I have tried creating an empty domain using the Config wizard then using the Admin Console to create the machine and server.
    I have tried editing the boot.properties in C:\bea\user_projects\domains\TheDomain\servers\Strategic\data\nodemanager
    I have tried setting the listening address to the Hostname of the server, blank, to the IP address.
    I have tried configuring the service to not do host name validation.
    I do see, in the startup logs, that it notes that the hostname resolves to both the external IP and 127.0.0.1
    I have tried re-installing (multiple times) hoping to have a fresh start.
    I have even setup a Snapshot, post installation so I can re-start configuration from the very start.
    I am at my wits end.
    Surely, it can't be that hard to setup a vanilla server and boot it?
    Any suggestions, maybe even a step by step creation of a single server (other than the admin server for the domain), that boots, starting immediately after installation?
    Any assistance would be greatly appreciated.
    ...Lyall

    We also use a boot.properties in ${domain.home}, which may only be for Admin server, but worth checking anyway. Also, I often receive the boot.properties message you're seeing when there's other problems upstream, and I've found the message to be quite misleading at times. For example, if I have a problem with an LDAPAuthenticator or any other security mechanism I'll often see the boot.properties message eventhough the problem has nothing to do with that file.

  • Can not Start Oracle Application Server ORB process

    I have just installed Oracle Application Server (OAS) on my
    machine running Windows NT 4.0 Workstation. When I logon to the
    OAS manager and tried to start ORB, I got below error message:
    Please wait while the command is being processed on host ssoh_x
    YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
    Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
    Starting ORB processes...Returning filename D:
    \orant\orb\admin\.event
    waiting for ORB to be ready...
    YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
    Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
    ORB is not responding. Please restart manually...
    I have tried to re-install OAS for the second time. But I still
    got the same problem.
    I plan to use the OAS, together with Oracle Internet Commerce
    Server (ICS) to develop an e-commerce project. I am yet to
    download and install the ICS. I don't have any Oracle databases
    installed in my machine. I'm using MS SQL Server 7.0 instead.
    Please advised me on how to configure the ORB so that I'll be
    able to start the application server.
    null

    Hi,
    Sock Hoon (guest) wrote:
    : I have just installed Oracle Application Server (OAS) on my
    : machine running Windows NT 4.0 Workstation. When I logon to the
    OAS don't run on Win NT with installed service pack 4.
    Go back to service pack 3 or apply patch from Developer 6.0 to
    OAS.
    : OAS manager and tried to start ORB, I got below error message:
    : Please wait while the command is being processed on host ssoh_x
    : YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
    : Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
    : Starting ORB processes...Returning filename D:
    : \orant\orb\admin\.event
    : waiting for ORB to be ready...
    : YOT-11034, Unable to make address: IP://ssoh_x.jgfhome:2649.
    : Error: YT::EXCEPTION::BADPARAM::NOSUCHADDR
    : ORB is not responding. Please restart manually...
    : I have tried to re-install OAS for the second time. But I still
    : got the same problem.
    : I plan to use the OAS, together with Oracle Internet Commerce
    : Server (ICS) to develop an e-commerce project. I am yet to
    : download and install the ICS. I don't have any Oracle databases
    : installed in my machine. I'm using MS SQL Server 7.0 instead.
    : Please advised me on how to configure the ORB so that I'll be
    : able to start the application server.
    Best regards Andrew
    null

  • Which solution is better for schedules task? Console application or windows service?

    I have a "MULTI-LEVEL" XML file that I will be getting on daily basis and I want to accomplish following tasks:
    1) I have to read and parse the "MULTI-LEVEL" XML data
    2) Then I have to set or create some kind of .net service (c#) that read the xml and parse the data once a day (daily)?
    3) Now I have SOAP service from other software where I want to feed this XML data to. The schedules service will compare the XML data with software data and update (or add) based on the comparision.
    For this task, I come to conclusion that there are 2 best ways to do this:
    1) Create a console application and use windows task scheduler to run it everyday
    2) Create a windows service that runs in the background
    Which is a better way (or reliable)  solution to do this task? Please advise

    There are several things to keep in mind when writing an app that is designed to run without a user logged in. One of the most common mistakes is requiring some sort of user input.  Since the task will run without user intervention you don't want
    any sort of calls to Console.ReadLine, MessageBox.Show, etc.  They will cause the task to freeze and eventually need to be terminated.  You also don't want to rely on any sort of desktop apps running since a user may or may not be logged on at the
    time.
    Also be aware that a task can be scheduled to run under any user context.  As such you either need to ensure it runs under an account with sufficient privileges or that your app needs no special privileges.  You mentioned you tried to run it from
    bin\debug but you most likely have your project under your Documents directory.  Only you would have permissions to that folder and therefore will run into issues if the task is run under a different context.  You also mentioned you put it in the
    C:\ but users don't have write privileges to that folder and therefore if you tried to write a file out it would fail. If you need to read/write files then you should pick a common location that all users have access to or at least the one that will run the
    scheduled task. Be aware that, by default, Task Scheduler will not run a task elevated. You need to check the option to run elevated when you configure the user to run the task under.
    One of the key things to ensure you do with a task is verify it is working properly as a normal app.  You should also ensure that you have good logging so that if it does fail you can trace down the failure more easily.  One common thing that people
    tend to do in console apps is put a try-catch around the main function and display a message if an unhandled exception occurs. This is going to cause problems in a task.  Simply log the exception and rethrow it so Task Scheduler will flag the run as a
    failure.
    If you still cannot figure out why your task is failing then please add some logging and then tell us what code is being run at the time and what the failure is.

  • How to start OC4J as a Windows service?

    I installed OC4J standalone version 10.1.3.4.0 so I can configure Apache FOP. The startup/shutdown process is manual and my Windows customers are not liking it at all. Is there a way to make it a Windows service so it starts automatically when the system boots? Otherwise, the system has to stay logged in and the command window that started the process needs to remain open. Windows folks don't like this.
    Thanks,
    Denise

    I had an example here of doing this, way back when I was a young lad:
    [http://radio.weblogs.com/0132383/stories/2004/04/28/oc4jAsAWindowsService.html|http://radio.weblogs.com/0132383/stories/2004/04/28/oc4jAsAWindowsService.html]
    Don't know if the utility even exists any more but there's likely to be something else that has taken its place if not.
    -steve-

Maybe you are looking for

  • HT1848 Where is the "transfer purchases" option in iTunes for Windows 8.1 (desktop)?

    This article says I should use the "File Menu" on my PC's iTunes application. Unfortunately, no one revised these instructions after someone else redesigned the interface.

  • Ise node is not reachable after upgrading 1.2

                       Hi, I was using beta version of ISE with 1.2.834 code. and now the official release came out so I upgraded it. after that, the ISE is not communicating with AD, and when I go to download logs, It says node is not reachable even tho

  • Pagination in CS3

    I've encountered a problem that I just have to believe there's a solution to, but can't seem to find it. I've built a 20-page tabloid-style publication.  I have the document setup in 20 individual facing pages, so it reads in the proper order for bui

  • Where are my Photoshop Raw presets stored?

    I need to format my HDD and dont wanna lose all my raw presets, where do I find them physically, or how do I export all of them? THANK YOU! P.S. In case you dont know which presets do I mean here's a screenshot:

  • How to make a periodic background job to specific duration time.

    Hi, all Is it possible to make a periodic back ground job to specific time? (ie, run job hourly from 08:00 to 19:00, everday) I don't define backgorund job to offline time of legacy server. Thanks