This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to start Galssfish when Computer start

 
dinesh thalis
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Sparg
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a post about making GlassFish 3 start as a service, Maybe this will work with 2.1?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic