Thursday, April 4, 2013

Oracle AIA 11.1.1.6 Installation issues


Here are couple of issues that I faced recently during the AIA Foundation Pack installation.


Issues :
A) Node Manager was not working properly and installation failed , below are the steps I took to make NM working for AIA installation

1. Change Node Manager properties
Update nodemanager.properties to enable weblogic to support start/stop during AIA installation
Open the nodemanager.properties

C:\Oracle\Mid\wlserver_10.3\common\nodemanager
change following properties :
StopScriptEnabled=true
StartScriptEnabled=true

2. set the nodemanager username and password
WebLogic Console ->Domain->Security
like weblogic/welcome1

Make sure you have also placed boot.properties with user/password in managed server security folder as well.

3. After making these changes I started getting below error :
java.net.BindException: Address already in use: JVM_Bind

I searched all the process and was not able to find any instance of Oracle Weblogic Node Manager running.

After searching more I found :
Oracle Enterprise Pack for Eclipse NodeManager service running




I had to kill this to resolve this issue.

B). Just when I thought I am good to go , during re-installation Installer gave error for MetaData

"MDS already populdated with AIA metadata, please clean up before install"

I had to follow below steps to clean the Metadata:

1. Start wlst -> C:\Oracle\Mid\Oracle_SOA1\common\bin
    wlst.cmd
2. connect()
3. deleteMetadata('soa-infra', 'soa_server1','/apps/AIAMetaData/**')

C) After these settings the installation went smooth.

Just make sure following things :
- Admin + managed server are up and running
- Node manager is up and running , or start from oracle home location like :
  C:\Oracle\Mid\wlserver_10.3\server\bin\startNodeManager.cmd

- Increase JTA timeout to atleast 120 sec
- I used these settings for 4 GB memory laptop -XX:PermSize=512m -XX:MaxPermSize=512m

You can test the installation using the URL :
localhost:8001/AIA


D) Post installation ,
1. update Jdeveloper,  download the AIA plugin from update center
Help -> updates -> add AIA plugin

2. Add AIA.jar to Jdeveloper
Tools, Preferences, SOA and add <JDEV_HOME>/jdeveloper/lib/aia.jar

3. Add   Freemarker 2.3.15 or higher needed by AIA Service Constructor.
- Download Freemarker template engine from http://www.freemarker.org.
- Put freemarker.jar (extracted from the downloaded zip file) in the jdeveloper/jdev/lib folder.

Ref :
http://docs.oracle.com/cd/E17904_01/doc.1111/e17949/toc.htm
http://biemond.blogspot.com/2011/04/easy-wy-to-start-your-weblogic-servers.html
http://docs.oracle.com/cd/E21764_01/doc.1111/e17949/uninstall.htm#CHDEGDGA

Cheers !!

No comments:

Post a Comment