File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes How to start Galssfish when Computer start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "How to start Galssfish when Computer start" Watch "How to start Galssfish when Computer start" New topic
Author

How to start Galssfish when Computer start

dinesh thalis
Ranch Hand

Joined: Nov 19, 2008
Posts: 39
I'm using Glassfish v2.1 server in windows xp machine. I want to run Glassfish server when computer start(Windows XP). Without out putting my bat script into widows start up(C:\Documents and Settings\ABC\Start Menu\Programs\Startup). Below show my .bat script.

run.bat
-----------------
cd C:\Glassfish\bin
asadmin start-domain domain1
pause
---------------

Thank You
Cesar Coz
Ranch Hand

Joined: Aug 19, 2010
Posts: 31
i guess your glassfish is not installed as a service in your computer right ?

then you can use the 'Scheduled Tasks' utility on windows.. it's on your 'control panel' and schedule the activity to start on windows startup.


Cesar Coz.
Tim Sparg
Ranch Hand

Joined: Dec 29, 2006
Posts: 40
I wrote a post about making GlassFish 3 start as a service, Maybe this will work with 2.1?


There is no insanity so devastating in man's life as utter sanity
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to start Galssfish when Computer start
 
Similar Threads
Whizlabs installation problem
Help needed with Java EE SDK 6 installation on Windows XP
bat file to Start and Stop mysql?
problem of brackets running file bat
Could not able to run first script