Wednesday, January 14, 2015

Oracle's SOA Applications Adapter (SOAAppsAdapter) Update Issue




Bloody Hell. This SOAAppsAdapter thingy is so bloody tedious.

So I have SOA Composites having AqAdapter as partner to listen to Business Events.

The config for this AqAdapter however is not in EM Console, instead it is in Weblogic Console - > Deployment -> OracleAppsAdapter. Yes funny thing is It is known as "OracleAppsAdapter". So confusing.

So I changed the JDBC reference inside this OracleAppsAdapter config. Next I "update" OracleAppsAdapter. However, the pending Business Events were still not picked up by the AqAdapter.

What's wrong?

Ok. We just have to restart the SOA Composite! I do not know why, perhaps the current instances were still holding the "cache" of the AqAdapter. Something like that I guess.

If you know why, appreciate your feedback in this. Thank you.



Wednesday, January 7, 2015

Eclipse Build, M2Eclipse and Maven Build



Maven exists for quite many years already, I think close to 8 years?

But I only started dealing with Maven few months back.

I have this Maven project in my STS(Spring Tool Suite). The project is using Maven Resource Filtering and also the project also needs to generate java web service proxy classes based on a wsdl.

So what happened is somehow the Eclipse Build will not copy the file under resources folder to the target classes folder. In the end I have to specifically run Maven Build (with goals: clean compile package) to make that works.

If I only ran Maven Clean, it will not help. Instead it will screw up the project by deleting many things from the target folder and no auto geneate.

If you know the way to have Eclipse default Build to understand Maven build process. Please let me know. Thank you.