Sun Java System Application Server 8 as a Windows service?

Home

General J2EE: Sun Java System Application Server 8 as a Windows service?

  1. I am running Sun Java System Application Server 8 on Windows XP.

    I want to run the app server as a Windows service.

    How can I do this?

    I looked at Sun's documentation. I could not find any information about using the app server as a Windows service.
  2. Aren't there utilities out there that allow you to launch an exe or a batch file from a service? I think that would be the most straightforward solution. I have not seen anything Sun's documentation indicating that their app server has native support for running as a Windows Service.
  3. Aren't there utilities out there that allow you to launch an exe or a batch file from a service?
    There's an open source utility called the Java Service Wrapper

    http://wrapper.tanukisoftware.org/doc/english/introduction.html
    I have not seen anything Sun's documentation indicating that their app server has native support for running as a Windows Service.
    It is a shame that Sun does not provide this basic functionality.

    Also, I am disappointed that Sun's web site provides no information about this issue.
  4. Link1:

    http://swforum.sun.com/jive/thread.jspa?threadID=45900&tstart=0

    Link2:

    http://forum.java.sun.com/thread.jsp?forum=136&thread=507317
  5. I received a reply from Paul Ko at Sun Microsystems.

    Paul is the product line manager for Sun's Java application server.

    [quote]

     Sean,

     To run the AppServer as a Windows service, you need to use 3rd party
     software to enable this. The AppServer is designed to run as a
     Windows application, not as a service. You can do a Google search to
     find a suitable 3rd party software to fulfill you needs.
     Unfortunately, we do not publish which 3rd party software can be used
     to do this -- as a policy, we don't endorse any particular vendor.

     Best,

     Paul

    [/quote]
  6. That's sound pretty official. Too bad; it makes it pretty hard to use the server for anything serious on Windows. Then again, Sun probably assumes if you want to do something serious, you should host it on Solaris ...
  7. I have solved the problem, see my website at http://localhost/wa/pro/sjsas/sjsas.html.

    Enjoy,
    Ambrus
  8. I have solved the problem, see my website at http://localhost/wa/pro/sjsas/sjsas.html.Enjoy, Ambrus
    What is the correct URL?
  9. I have solved the problem, see my website at http://localhost/wa/pro/sjsas/sjsas.html.Enjoy, Ambrus
    What is the correct URL?
    There's a link to the proper URL at the bottom of this forum page:

    http://swforum.sun.com/jive/thread.jspa?messageID=141676
  10. Sun JSAS 8.1 2005Q1[ Go to top ]

    I downloaded Sun Java System Application Server 8.1 2005Q1 Platform Edition from java.sun.com and installed the software on Windows XP Professional.

    The software does not register application server as a Windows service. I studied Sun's documentation and I cannot find any discussion about running the application server as a Windows service.

    I am disappointed that Sun did not provide this feature.