[prev in list] [next in list] [prev in thread] [next in thread]
List: ant-user
Subject: RE: Ant-WebLogic problem
From: "Karr, David" <david.karr () wamu ! net>
Date: 2006-11-30 15:42:54
Message-ID: 0C260F619E428642BFA6380177C3ADF3046D4458 () exmsea005 ! us ! wamu ! net
[Download RAW message or body]
You might try setting the "verbose" property on "wlserver" to "true".
It also might be useful, instead of using "wlserver", to use "wlconfig"
and nest a "query" element for the "Server" bean, and either print or
verify one or more of the bean properties.
If you're still having trouble, you should file a BEA support case.
> -----Original Message-----
> From: Pieter Temmerman [mailto:pieter.temmerman@gmail.com]
> Sent: Wednesday, November 29, 2006 8:57 AM
> To: user@ant.apache.org
> Subject: Ant-WebLogic problem
>
> Hi Guys,
>
> Please excuse me if this is not the proper mailing list to
> post my message:
>
> I am trying to connect to my WebLogic 9.2 server through Ant.
> This is my build.xml snippet: (wlserver is a weblogic ant task)
>
> <project name="test" default="verify">
> <target name="verify">
> <wlserver action="connect" host="127.0.0.1" domainname="wl_server"
> servername="examplesServer" port="7001" failonerror="true" timeout="5"
> username="weblogic" password="weblogic" /> </target> </project>
>
> When I run Ant with this build.xml file I get BUILD
> SUCCESSFUL as a result, seems fine right?
> However, if I change my server information into something
> erronious (ie; change port, change username, ...) and execute
> Ant, then again I get BUILD SUCCESSFUL. (even when I shutdown
> the WebLogic server I get a positive result) This is not
> really what I want..I want to be able to detect if the server
> details were wrong, by trying to make a connection to it.
>
> Any help is kindly appreciated.
>
> Thanks in advance!
>
> Pieter
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic