I am putting down some of the issues that we had during the
Issue#1 :- The
No taskdef found for net/sf/antcontrib/antcontrib.properties
In the build files there will be this task definition which looks for this specific task file.
Ant build file- snippet
Copy the ant-contrib.jar from Middleware_HOME/modules/net.sf.antcontrib_184.108.40.206_1-0b2/lib to the ANT_HOME/lib folder .Then Retry, it should go through smoothly.It needs to be in the classpath so that these properties or xml files and dependent class files are available to the ant.
Issue#2 :- During the Deployment phase there are chances that initial ear deployment may time out. In case you face such an issue increase the timeout value in the server. Since time-out is coming in the ear deployment increase the time-out value at the weblogic domain level.
[wlst] Deploying application from
[wlst] You have an edit session in progress, hence WLST will not
[wlst] block for your deployment to complete.
[wlst] Started the Deployment of Application. Please refer to the returned WLSTProgress object or variable LAST to track the status.
[wlst] Activating all your changes, this may take a while ...
[wlst] The edit lock associated with this edit session is released
[wlst] once the activation is completed.
[wlst] Traceback (innermost last):
[wlst] Exception in thread "main" java.lang.IllegalStateException: Traceback (innermost last):
[wlst] File "
[wlst] File "<iostream>", line 376, in activate
[wlst] File "<iostream>", line 1848, in raiseWLSTException
[wlst] WLSTException: Error occured while performing activate : Error while Activating changes. : Timed out waiting for completion
[wlst] Use dumpStack() to view the full stacktrace
Timeout can be configure in 2 ways on Weblogic domain level .Either it can be done from the console or else from backend by editing the configuration file.
a) Edit the config.xml @ Middleware_home\user_projects\domains\SOADomain\config folder
XML Snippet –config.xml
<?xml version='1.0' encoding='UTF-8'?>
b) Configure the value from weblogic console
Select Services > JTA
Select JTA tab
Change the parameter: Timeout Seconds
That’s it for the day. Have fun. :)