We are using ant in hudson CI tool for starting weblogic server. Part of Ant
script is :

 <target name="start-weblogic">
    <parallel>
        <daemons>
          <exec  dir="${startWeblogicDir}" executable="sh" os="HP-UX"
spawn="false">
             <arg value="-c"/>
             <arg value="startWebLogic.sh"/>
          </exec>
        </daemons>
   </parallel>
 </target>

We use nohup command in the startWeblogic.sh  for recording logs to a file.
When this target is launched, weblogic starts.  But nothing records in log
file. 

if ant script is used like 

<target name="start-weblogic">
    
          <exec  dir="${startWeblogicDir}" executable="sh" os="HP-UX"
spawn="false">
             <arg value="-c"/>
             <arg value="startWebLogic.sh"/>
      
 </target>

logs are recorded and ant  hangs.

How can I start weblogic server either start weblogic without ant hangs and
record logs to file.
-- 
View this message in context: 
http://www.nabble.com/Ant-spawn-problem-tp15709532p15709532.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to