-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure an embedded RAR #3539
Comments
Have a look at IBM KnowledgeCenter topic https://www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/twlp_jca_config_confact.html |
First, I'll add that it's great to see you created a resource adapter for ethereum. Here is one example of doing that in Liberty, The following is Liberty-specific server configuration for deploying the resource adapter and defining a connection factory instance (also requires the jca-1.6 or jca-1.7 feature),
This will make the following possible (everything after this point is per spec and should be common to all application servers), Direct lookup from application: Injection into web component or ejb component,
Resource reference defined in application deployment descriptor,
which allows lookup as follows, |
Yet another proprietary extension file for OL isn't the way to solve this, it's obviously not portable. The best way to address this issue to add one or more resource defining annotations/DD elements to the connector spec and make this portable. |
We are continuing to have discussion around this issue. |
Almost all other Java EE application servers support custom JNDI binding via some config file, so why not simply add some basic |
That's part of the discussion. Obviously, it's not just "custom JNDI binding", we have to come up with a means to define the ConnectionFactory. All of this is doable, it's just a matter of prioritization. |
Hi there... What is the status of this issue? At my company, we have also 2 JCA ResourceAdaptater targeting the IBM mainframes for CICS & IMS, and some of our customers are requesting for the integration of OpenLiberty with their mainframe. Like @fcorneli mentiioned, we are in favor of an external configuration file as liberty-ra.xml |
@fcorneli Did you succeed in coupling your ResourceAdaptator to OpenLiberty? |
@zosrothko After my initial experiments with OpenLiberty, I gave up on trying... |
As mentioned earlier, this really needs to addressed in the connector spec in order to provide the expected EE app portability. I've opened jakartaee/connectors#125 for this purpose, feel free to comment there. I'm closing this issue as we will implement it as part of any spec update that comes out of that issue. |
We've developed a JCA resource adapter for Ethereum:
https://github.com/e-Contract/ethereum-resource-adapter
and would like to add support for OpenLiberty.
Problem is that we didn't find a way to configure the JNDI binding so far.
For other application servers, this can be done via some configuration file.
See: https://github.com/e-Contract/ethereum-resource-adapter/tree/master/ethereum-rar/src/main/rar/META-INF
How can we configure this for OpenLiberty?
The text was updated successfully, but these errors were encountered: