Hi George,
Thanks for the reply. The batch file includes the
following :
java -classpath
%AS_POINTBASE%\server\lib\pbserver42RE.jar
com.pointbase.net.netServer /port:9092.
There is a no option of running it as background
process on windows in the syntax.Hence it keeps on
listening to the mentioned port.
Any help in making the server runas a background
process will be appreciated
Thanks,
-Amol
--- George McKinney <[EMAIL PROTECTED]> wrote:
> ----- Original Message -----
> From: "amol desai" <[EMAIL PROTECTED]>
> To: "Ant Users List" <[EMAIL PROTECTED]>
> Sent: Saturday, September 07, 2002 9:52 AM
> Subject: Starting server
>
>
> >
> > Hi,
> >
> > I am using exec to run the pointbase server as
> > follows
> >
> > <exec executable="cmd" >
> > <arg line="/c
> ${db.root}/server/StartServer.bat"/>
> > </exec>
> >
> > After the execution of above statements, pointbase
> > server starts .(server started message is
> dispalyed).
> >
> > The build does not continue. I want the build to
> be
> > continued after starting the server.
> >
>
> My guess is that StartServer.bat never returns. Does
> the batch file include
> something like:
>
> start Server.exe
>
> (notice that "start" is the command and Server.exe
> is the program to run)
> I think that that is the Windows "run the following
> program in the
> background" syntax - I may be wrong, but that's the
> idea. If it doesn't
> include that, the batch file will wait for the exe
> to return - which ISN'T
> what you want.
>
>
> George McKinney
> [EMAIL PROTECTED]
>
>
=========================================================
> An experienced developer knows that it is seldom
> wise to
> prefix a demonstration with anything more predictive
> than
> "Watch this" - unless there is a good test suite in
> place.
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>