users@glassfish.java.net

Re: Windows services with appservService.exe wrapper dont work when more then 1 is configured

From: Alex Sherwin <alex.sherwin_at_acadiasoft.com>
Date: Thu, 05 Feb 2009 11:51:29 -0500

Thanks for this tip, this helped me resolve the issue.

Somehow in the nightmare of a batch script with quotes, slash and space
escaping from hell for creating the service... the the domain name wasnt
getting inserted correctly in the start-domain command.


glassfish_at_javadesktop.org wrote:
> Alex,
>
> To diagnose issues with glassfish windows services, I edit asadmin.bat and on the end of the second to last line "the java call line" I redirect the output to a file with > c:\temp\whatever.txt
>
> Then when I start the service and it fails, I can see what its expecting. I'm currently using services for one DAS and two nodeagents (3 total services) on the same machine with no issues.
>
> Just remember to remove the redirect when you're done as it does sometimes cause the java processes to hang.
>
> HTH,
>
> Andrew
> [Message sent by forum member 'areplogle' (areplogle)]
>
> http://forums.java.net/jive/thread.jspa?messageID=330328
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>
>