Wednesday, October 27, 2010

Resolution of Exception in thread "main" java.lang.NoSuchMethodError, oracle.fabric.composite.model.CompositeModel.getFolder()Ljava/lang/String;

Tools: JDeveloper11., SOA Suite Enterprise Manager 11g (
When deploying SOA Composite from JDeveloper I was having error.

Exception in thread "main" java.lang.NoSuchMethodError: oracle.fabric.composite.model.CompositeModel.getFolder()Ljava/lang/String;
at oracle.soa.scac.ValidateComposite.loadComposite(
at oracle.soa.scac.ValidateComposite.doValidation(
at oracle.soa.scac.ValidateComposite.main(

It is because; the ORACLE_HOME does not have the updated fabric-runtime.jar file

How to fix this issue, you need to copy the folder “oracle.soa.fabric_11.1.1” from your SOA installation to your ORACLE_HOME

Copy the folder “oracle.soa.fabric_11.1.1”, you will find this folder in your installation directory of SOA, in my case the folder location was C:\Oracle\Middleware1\Oracle_SOA1\soa\modules

Paste this folder to there, where you have your ORACLE_HOME, in my case I have pasted this folder to C:\Oracle\11gR1PS2\jdeveloper\soa\modules, while pasting you will be asked to replace the folder, so replace and copy it. Before doing this you need to close your JDeveloper.

Hope it will work


No comments:

Post a Comment