ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lybarger <Mark.Lybar...@CBC-Companies.com>
Subject RE: starting weblogic 6.1 server
Date Wed, 29 Oct 2003 21:02:25 GMT
I've tried various versions of the nested <env/> element, and it doesn't
seem to be correctly setting my system path. I've tried setting Path and
PATH as i've read that win2k uses Path as oppose to PATH. No success.

> -----Original Message-----
> From: Antoine Lévy-Lambert [mailto:antoine@antbuild.com]
> Sent: Wednesday, October 29, 2003 1:02 PM
> To: Ant Users List
> Subject: AW: starting weblogic 6.1 server
> 
> 
> Hi Mark,
> 
> you can nest <env/> elements in the java task.
> This shold be OK.
> Cheers,
> Antoine
> 
> -----Urspr√ľngliche Nachricht-----
> Von: Mark Lybarger [mailto:Mark.Lybarger@CBC-Companies.com]
> Gesendet: Mittwoch, 29. Oktober 2003 18:29
> An: Ant Users List (E-mail)
> Betreff: starting weblogic 6.1 server
> 
> 
> I'm trying to use ant to start my weblogic server.  I'm using 
> a type 2? jdbc
> driver which requires binary dll's to be in my path.  
> Normally, this gets
> set via the setEnv.cmd file in my domain directory before running the
> startWeblogic.cmd.  I'm trying to figure out how to set this 
> within a java
> ant task.
> 
> 
>   <target name="start.wl" depends="init" description="Start WebLogic
> server">
>     <property name="weblogic6x.java.library.path"
> location="${java.library.path}:/bea/weblogic/lib:/bea/weblogic/bin" />
>     <java jvm="java" classname="weblogic.Server" fork="yes"
> dir="/bea/weblogic">
>       <jvmarg value="-hotspot"/>
>       <jvmarg value="-ms64m" />
>       <jvmarg value="-mx64m" />
> 
> 	  <env key="PATH"
> path="${ORACLE_HOME}\bin;${weblogic.server}\bin\oci901_8;${web
> logic.server}\
> bin"/>
>       <sysproperty key="PATH"
> path="${ORACLE_HOME}\bin;${weblogic.server}\bin\oci901_8;${web
> logic.server}\
> bin"/>
> 
>       <sysproperty key="java.library.path"
> path="${cactus.weblogic6x.java.library.path}" />
>       <sysproperty key="weblogic.Domain" value="${isac.domain}" />
>       <sysproperty key="weblogic.Name" value="${isac.name}" />
>       <sysproperty key="bea.home" file="${bea.home}" />
>       <sysproperty key="weblogic.management.password"
> value="${weblogic.management.password}" />
>       <classpath>
>         <path refid="weblogic.classpath" />
>       </classpath>
>     </java>
>   </target>
> 
> i have a similar task for starting a domain that doesn't use the jdbc
> driver, and it works fine. i added the env and the 
> sysproperty coresponding
> to what i need to set the path to.  some reason this doesn't 
> seem to set the
> path properly and wl can't see the oci drivers.  any insights 
> into what i'm
> doing wrong would be most appreciated!
> 
> thanks!
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
>  
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003
 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message