ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <>
Subject AW: starting weblogic 6.1 server
Date Wed, 29 Oct 2003 18:02:28 GMT
Hi Mark,

you can nest <env/> elements in the java task.
This shold be OK.

-----Urspr√ľngliche Nachricht-----
Von: Mark Lybarger []
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
    <property name=""
location="${java.library.path}:/bea/weblogic/lib:/bea/weblogic/bin" />
    <java jvm="java" classname="weblogic.Server" fork="yes"
      <jvmarg value="-hotspot"/>
      <jvmarg value="-ms64m" />
      <jvmarg value="-mx64m" />

	  <env key="PATH"
      <sysproperty key="PATH"

      <sysproperty key="java.library.path"
path="${}" />
      <sysproperty key="weblogic.Domain" value="${isac.domain}" />
      <sysproperty key="weblogic.Name" value="${}" />
      <sysproperty key="bea.home" file="${bea.home}" />
      <sysproperty key=""
value="${}" />
        <path refid="weblogic.classpath" />

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!


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

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message