ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vikramjit singh" <vikramjit.si...@mphasis.com>
Subject RE: WLS not starting using wlrun task
Date Thu, 17 Oct 2002 04:49:33 GMT
I cud not start WLS 7.0 using wlrun task but thank to another post on
running WLS7.0 using java task am able to run it...
Seems like a problem in WLRUN task..

cheers
vikram.

-----Original Message-----
From: vikramjit singh [mailto:vikramjit.singh@mphasis.com]
Sent: Friday, October 17, 2003 10:00 AM
To: Ant
Subject: FW: WLS not starting using wlrun task


Hi all,

Am posting my question again, any help will be appreciated.

vikram.

Thanks i put the policy tag and now that problem has gone...
but now its not able to find the config.xml coz its going to the wrong
directory..

<property name="BEA_HOME" value="D:/BEA" />
<property name="WL_HOME" value="${BEA_HOME}/weblogic700" />

   <target name="run_weblogic" >
     <wlrun taskname="myserver"
           classpath="${WL_HOME}/lib/weblogic.jar;"
           name="myserver"
           domain="mydomain"
           home="${WL_HOME}"
           beahome="${BEA_HOME}"
           policy="${WL_HOME}/server/lib/weblogic.policy"/>
   </target>

      BUILD FAILED
      file:D:/genius/Swing/CustomerProfileNew/build.xml:40: Server config
file D:\BEA\weblogic700\config\mydomain\config.xml not found.

I dont know why its trying to look in config\mydomain.. it should look in
d:\bea\weblogic700\server\bin\config.xml



-----Original Message-----
From: Claudio Corsi [mailto:ccorsi@progress.com]
Sent: Wednesday, October 15, 2003 5:52 PM
To: Ant Users List
Subject: Re: WLS not starting using wlrun task



You need to include the "policy" attribute that will tell weblogic where
your policy file is located.

vikramjit singh wrote:

>Hi,
>
>I am trying to start WLS 7.0 from my build script.
>My build.xml is in D:\genius\Swing\CustomerProfile and WLS is in D:\BEA
>
>But i am getting the following error:
>
>      BUILD FAILED
>      file:D:/genius/Swing/CustomerProfile/build.xml:39: Security policy
>lib/weblogic.policy was not found.
>         at
>org.apache.tools.ant.taskdefs.optional.ejb.WLRun.findSecurityPolicyFile(WLR
u
>n.java:207)
>         at
>org.apache.tools.ant.taskdefs.optional.ejb.WLRun.executeWLS6(WLRun.java:214
)
>         at
>org.apache.tools.ant.taskdefs.optional.ejb.WLRun.execute(WLRun.java:188)
>         at org.apache.tools.ant.Task.perform(Task.java:319)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:336)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>         at org.apache.tools.ant.Main.runBuild(Main.java:610)
>         at org.apache.tools.ant.Main.start(Main.java:196)
>         at org.apache.tools.ant.Main.main(Main.java:235)
>
>This is what i have..
><property name="JAVA_HOME" value="D:/JBuilder8/jdk1.4" />
><property name="BEA_HOME" value="D:/BEA/weblogic700/server/bin" />
><property name="WL_HOME" value="D:/BEA/weblogic700" />
>
>   <target name="run_weblogic" >
>     <wlrun taskname="myserver"
>           classpath="${WL_HOME}/lib/weblogic.jar"
>           name="myserver"
>           domain="mydomain"
>           home="${WL_HOME}"
>           beahome="${BEA_HOME}"/>
>   </target>
>
>vikram.
>
>
>---------------------------------------------------------------------
>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


---------------------------------------------------------------------
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


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


Mime
View raw message