Wednesday, April 30, 2014

Oracle SOA Suite 11g / What I'm doing now!

Well, like always I end up entering a blog post on this site when I change jobs. Now I'm in Calgary and working with Oracle Fusion and Middleware technologies.

I had this error when I ran my first app:

Non Recoverable System Fault :
BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getcreditValidationSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. validationForCC:getcreditValidation [ getcreditValidation_ptt::getcreditValidationSelect(getcreditValidationSelect_inputParameters,CreditcardinfoCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element The JCA Binding Component is unable to startup the Resource Adapter specified in the element: location='eis/DB/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '' element in weblogic-ra.xml has not been set to eis/DB/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.

and I found this solution:

SOA11g: "Exception occured when binding was invoked. Exception occured during invocation of JCA binding:" with DbAdapter
Error1:
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory. You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.

Error2:
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'ReadSelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services 2.1.2.v20101206r8635): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot acquire data source [jdbc/localDB]. Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.localDB'. Resolved 'jdbc'; remaining name 'localDB'. You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.

Requirement:
In SOA 11g i had requirement to access a different database. As regular i have created the datasource with the required details and added it to the DatabaseAdapters in outbound connection pool
 

When i started using Dbadapter as part of my process I encountered with the above two (Error1 and Error2) error messages.

Issue and Resolution:

The weblogic-ra.xml file has to be updated with the details of the database as it gets the connection details from this file which solved the issue in my case.

Goto $SOA_HOME/soa/connectors/DbAdapter.rar

Open this archive and edit META-INF/weblogic-ra.xml

Add the new connection instance with the details as below
 
The solution is modifying the .rar file for DbAdapter manually.. but it worked.
Thursday, April 12, 2012

Taking screenshot in Samsung Galaxy Ace

Hello to all long time no see. Here I will post how to take a screenshot in my phone.

You go to the screen you want to take a picture of and press

Back button + home button

and voila!!



Thursday, March 31, 2011

Checking in

Haven't done much. Working with SAP has been interesting and even though it is new to me it seems I have gotten the hang of it.


Ing. Og Jamir Ramos Juraidini

Saturday, March 27, 2010

Sharepoint

Well, I found a job in Guadalajara let's see how that goes. I have a three months to prove that I'm worthy and then we'll see if I stay. I just need to see if it's what I want and what I want to do.

I've used Sharepoint and wondered at it's office productivity marvels but I haven't actually looked at the guts. This is going to be a good opportunity to.
Sunday, March 21, 2010

F#

Well, I wasn't aware that there was this new programming language it seems to be very interesting. Here take a look at this and you'll love it if you're like me:

Luca Bolagnase and F# "Great Explication"

Micrsoft F# Site
Saturday, March 13, 2010

Long time no see..

Well, it's been a while since I've posted. I haven't because I've been away from the techs... I've been managing my restaurant and well I have relaxing. Now it's the time to come back and do something.
Wednesday, December 3, 2008

UML Certified Professional (IBM Exam)

I'm a UML expert now! So watch out world... I'm going at you with boxes and stick figures!!