Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Starting up WebLogic with Ant Task

2 views
Skip to first unread message

chok....@gmail.com

unread,
Dec 19, 2006, 1:17:08 AM12/19/06
to
Hi all,

I tried out the examples from the weblogic edocs on starting servers
with ant task. It doesn't seem to work properly for me. This is how
my very simple ant task look like:

<project name="wlsAdminTask" default="connect-server" basedir=".">

<property name="wlsHome" value="/apps/bea/weblogic81"/>
<property name="wlsHost" value="127.0.0.1"/>
<property name="wlsPort" value="7001"/>
<property name="wlsUserid" value="weblogic"/>
<property name="wlsPassword" value="weblogic"/>
<property name="wlsDomainDir"
value="/apps/bea/user_projects/domains/reitzDomain"/>

<target name="start-server">
<echo message="Starting WebLogic Server..."/>
<wlserver weblogichome="${wlsHome}"
servername="reitzAdmin"
domainname="reitzDomain"
dir="${wlsDomainDir}"
host="${wlsHost}"
port="${wlsPort}"
action="startup"/>
<echo message="WebLogic Server started"/>
</target>
</project>

The following is the output after running the target:

Apache Ant version 1.5.3 compiled on August 13 2003
Buildfile: build.xml
Detected Java version: 1.4 in: /apps/bea/jdk142_08/jre
Detected OS: Linux
parsing buildfile build.xml with URI =
file:/home/weblogic/chiat/build.xml
Project base dir set to: /home/weblogic/chiat
Build sequence for target `start-server' is [start-server]
Complete build sequence is [start-server, new-server, restart,
force-shutdown, connect-server]

start-server:
[echo] Starting WebLogic Server...
[echo] WebLogic Server started

BUILD SUCCESSFUL
Total time: 0 seconds

While the output indicated that the build was successful, a check
revealed that the server failed to start up.

Can anyone advise me on where i have gone wrong?

Thanks a lot.

0 new messages