I am putting down some of the issues that we had during the
Issue#1 :- The
Error StackTrace
No taskdef found for net/sf/antcontrib/antcontrib.properties
Build failed
In the build files there will be this task definition which looks for this specific task file.
Ant build file- snippet
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
………
…………
</taskdef>
<taskdef resource="net/sf/antcontrib/antlib.xml">
………
…………
</taskdef>
Solution
Copy the ant-contrib.jar from Middleware_HOME/modules/net.sf.antcontrib_1.1.0.0_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.
Error StackTrace
[wlst] Deploying application from
[wlst] <
[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
Solution
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'?>
<domain xmlns="http://xmlns.oracle.com/weblogic/domain"
……………..>
<name>soa_domain</name>
<domain-version>10.3.3.0</domain-version>
<security-configuration>
…………..
</security-configuration>
<jta>
<timeout-seconds>600</timeout-seconds>
</jta>
<server>
…
</server>
</domain>
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. :)
3 comments:
Nice post, you saved me so much time........
I had another issue when installing (trying to install) AIA.
At the very last step, trying to deploy the application, I had a ClassNotFound exception on ADFApplicationLifecycleListener.
I copied all classes from /u01/oracle/mid11r2/oracle_common/modules/features/*.jar
into my DOMAIN/lib folder.
Restarted my domain, and everything worked fine
We tried AIAR1 over 11gPS2 , but it seems its only certified with 11gR1 PS1..
With patch 9717829, AIA 11g R1 is certified for PS2. http://www.deltalounge.net/wpress/2010/07/soa-suite-11g-aia-11g-and-patches/
Post a Comment