ADFSolution

Monday, October 26, 2015

Could not initialize JCA container Error.

Hello Friends today i am sharing how to resolve error Could not initialize JCA container.


When connecting to any configuration in Oracle Application Adapter, i was getting error message is...................................................................................................................................................... 










java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.iwaysoftware.iwrepository.rdbms.oracle.OracleRepository.open(OracleRepository.java:141)
        at com.iwaysoftware.iwrepository.IWRepositoryFactory.getRepo(IWRepositoryFactory.java:286)
        at com.iwaysoftware.iwrepository.IWRepositoryFactory.getRepository(IWRepositoryFactory.java:111)
        at com.iwaysoftware.af.container.IWAFRepositoryStorage.<init>(IWAFRepositoryStorage.java:101)
        at com.iwaysoftware.af.container.IWAFRepositoryStorage.<init>(IWAFRepositoryStorage.java:75)
        at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createStorage(IWAFManagedConnectionFactory.java:535)
        at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:188)
        at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:35)
        at com.ibi.afjca.cci.IWAFConnectionFactory.getConnection(IWAFConnectionFactory.java:114)
        at com.iwaysoftware.iwae.common.JCATransport.initJCA(JCATransport.java:99)
        at com.iwaysoftware.iwae.common.JCATransport.<init>(JCATransport.java:87)
        at com.iwaysoftware.iwae.common.AdapterClient.<init>(AdapterClient.java:85)
        at com.ibi.bse.ConfigWorker.run(ConfigWorker.java:41)
        at java.lang.Thread.run(Unknown Source)
java.lang.IllegalStateException: Failed to obtain repository. Exception logged.
        at com.iwaysoftware.af.container.IWAFRepositoryStorage.<init>(IWAFRepositoryStorage.java:104)
        at com.iwaysoftware.af.container.IWAFRepositoryStorage.<init>(IWAFRepositoryStorage.java:75)
        at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createStorage(IWAFManagedConnectionFactory.java:535)
        at com.ibi.afjca.spi.IWAFManagedConnectionFactory.createManagedConnection(IWAFManagedConnectionFactory.java:188)
        at com.ibi.afjca.spi.IWAFConnectionManager.allocateConnection(IWAFConnectionManager.java:35)
        at com.ibi.afjca.cci.IWAFConnectionFactory.getConnection(IWAFConnectionFactory.java:114)
        at com.iwaysoftware.iwae.common.JCATransport.initJCA(JCATransport.java:99)
        at com.iwaysoftware.iwae.common.JCATransport.<init>(JCATransport.java:87)
        at com.iwaysoftware.iwae.common.AdapterClient.<init>(AdapterClient.java:85)
        at com.ibi.bse.ConfigWorker.run(ConfigWorker.java:41)


The Solution is:



1.                      E:\Oracle\<Middleware Home>\bin through Command Prompt and    
                          Run setDomainEnv.cmd. 

2.                       Don't close Command Prompt.

3.                      E:\Oracle\Middleware\Oracle_SOA1\soa\thirdparty\ApplicationAdapters\tools\iwae\bin

                         on same Command Prompt and Run ae.bat.

SAP_Adapter, Application Adapter Issue.

Hello Friends today i am sharing how to resolve error SAP_Adapter, Application Adapter Issue.


 Yesterday i was working on Oracle Application Adapter 11g. While connecting i got an error as below:

oracle.i18n.text.converter.CharacterConverterOGS.getInstance(IN)Oracle/i18n/text/converter/Character Converter;







Solution Of the Error is:

1. Stop the Application Explorer.
2. Goto <Middleware Home>\Oracle_SOA1\soa\thirdparty\ApplicationAdapters\lib.
3. Delete ojdbc14.jar.