users@glassfish.java.net

Simple issue: Cannot batch asadmin calls in Windows batch file?

From: <glassfish_at_javadesktop.org>
Date: Thu, 04 Feb 2010 15:55:48 PST

I'm trying to do something very simple like this in a batch file

asadmin start-domain domain1
asadmin deploy C:\dumb\dumb1.war
asadmin deploy C:\dumb\dumb2.war

But my batchfile calls never get past any asadmin call. In other words, whatever the first line in the batchfile is that has an asadmin call, that's the last line of the batchfile that gets executed.

Is there a way to get around this?
[Message sent by forum member 'wes371' (colleyw_at_uah.edu)]

http://forums.java.net/jive/thread.jspa?messageID=384889