Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread pannar
how to move this thread to users list? I am new to this forum. Please suggest. the next time i will post a message from there. -- View this message in context: http://old.nabble.com/net-start-%22Apache-tomcat%22-is-not-working-on-java-build-tp27860190p27864306.html Sent from the Tomcat - Dev ma

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread Mark Thomas
On 11/03/2010 11:09, pannar wrote: Because ANT is a command file; you need to CALL that too. PLEASE tell me how?? As you have been told mulitple times now: THIS QUESTION BELONGS ON THE USERS LIST. Please move this thread there. Mark ---

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread pannar
>>Because ANT is a command file; you need to CALL that too. PLEASE tell me how?? The following command line in the build.bat file is executed well e:\ant\bin\ant all -logger org.apache.tools.ant.listener.MailLogger -propertyfile MailLogger.properties >>build.log ant is the batch file which

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread sebb
On 11/03/2010, pannar wrote: > > Thanks! unfortunately, it didn't work. In fact no command is working after > the second line below Because ANT is a command file; you need to CALL that too. > ECHO start building > > e:\ant\bin\ant all -logger org.apache.tools.ant.listener.MailLogger > -prope

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread Konstantin Kolinko
It must be CALL e:\ant\bin\ant.bat all -logger org.apache.tools.ant.listener.MailLogger (...) Please read http://tomcat.apache.org/lists.html and ask such questions on the users@ list. - To unsubscribe, e-mail: dev-unsubscr...@to

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread pannar
Thanks! unfortunately, it didn't work. In fact no command is working after the second line below ECHO start building e:\ant\bin\ant all -logger org.apache.tools.ant.listener.MailLogger -propertyfile MailLogger.properties >>build.log call e:\build\startTomcat.bat -- View this message in context:

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread sebb
On 11/03/2010, pannar wrote: > > Anybody, please suggest me how to resolve this issue. > > There will be a workaround, if i know how to call one batch file from > build.bat file, my problem will be resolved. > > anybody knows how to call a batch file inside another batch file? On Windows: CA

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread pannar
Anybody, please suggest me how to resolve this issue. There will be a workaround, if i know how to call one batch file from build.bat file, my problem will be resolved. anybody knows how to call a batch file inside another batch file? -- View this message in context: http://old.nabble.com/net

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread pannar
>>Add 'pause' before net start call. Yes i did add the pause as you suggested. Earlier it was was after the net start call. Both of them didn't work >>Perhaps your build spawns some processes that are still active and are holding some locks. You must be right.. I also feeling the same. Actually

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread Mladen Turk
On 03/11/2010 08:50 AM, pannar wrote: Boss, Hilarious :) what do you say? What you have described should work. You call the net stop, do some task and then call net start. Unless your task modifies the tomcat service files it should work. Add 'pause' before net start call. Perhaps your

Re: net start "Apache tomcat" is not working on java build

2010-03-11 Thread pannar
If this is not worked out, could you please suggest me how to call other batch file(startTomcat.bat) from build.bat file I have startTomcat.bat file which works perfectly net stop "Apache Tomcat 6" net start "Apache Tomcat 6" -- View this message in context: http://old.nabble.com/net-start-%2

Re: net start "Apache tomcat" is not working on java build

2010-03-10 Thread pannar
Boss, If the space is the problem, then how come the net stop "Apache Tomcat 6" command line worked?? Can't we use the net start after the build? Please help me,as i really need to fix this issue if not possible, how to call another bat file from one bat file. Another bat file, let me use net st

Re: net start "Apache tomcat" is not working on java build

2010-03-10 Thread Mladen Turk
And please next time use the users list for such questions. On 03/11/2010 08:31 AM, pannar wrote: Hi, I have built the automated script used to compile the java classes and sends Regards -- ^TM - To unsubscribe, e-mail: dev

Re: net start "Apache tomcat" is not working on java build

2010-03-10 Thread Mladen Turk
On 03/11/2010 08:31 AM, pannar wrote: Hi, #BUT HERE It is Failed to execute, whats wrong?? ECHO. ECHO Starting Tomcat 6 net start "Apache Tomcat 6" pause Try with real service name without spaces (It should be Tomcat6) Ant is probably messing up with your cmd line Regards -- ^TM --

net start "Apache tomcat" is not working on java build

2010-03-10 Thread pannar
Hi, I have built the automated script used to compile the java classes and sends an email result.It is working fine but after build , i really wanted to start the tomcat from build.bat file, seems like it doesn't work, My build.bat file. @echo on ECHO. ECHO. ECHO. ECHO