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 starting weblogic 6.1 server
Date Wed, 29 Oct 2003 17:29:29 GMT
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;${weblogic.server}\
bin"/>
      <sysproperty key="PATH"
path="${ORACLE_HOME}\bin;${weblogic.server}\bin\oci901_8;${weblogic.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


Mime
View raw message