[
https://issues.redhat.com/browse/WFLY-14438?page=com.atlassian.jira.plugi...
]
Sergio Samayoa updated WFLY-14438:
----------------------------------
Description:
Install a 3rd party RAR which includes its jar dependencies, the classes inside that rar
are inaccesible to client code.
FWIW this is how is done in Websphere Liberty:
{code:java}
<resourceAdapter id="IMSTMRA"
location="C:/ims-test/IBM/IMS/ICO15/V14110/JCA15/ims14110.rar">
<properties.IMSTMRA logFileSize="1048576"
logFilename="/temp/IMSTMRA-log.log" logNumberOfFiles="5"
traceFileSize="1048576" traceFilename="/temp/IMSTMRA-trace.log"
traceNumberOfFiles="5"/>
</resourceAdapter>
<connectionFactory jndiName="/j2c/openLegacyIMS"
type="javax.resource.cci.ConnectionFactory"> <properties.IMSTMRA
dataStoreName="IVP1" hostName="192.86.32.238"
passWord="LEGACY" portNumber="9999" traceLevel="3"
userName="DEMO001"/>
<connectionManager connectionTimeout="5s" maxPoolSize="5"/>
</connectionFactory>
<enterpriseApplication id="IMSTestEAR" location="IMSTestEAR.ear"
name="IMSTestEAR"> <classloader classProviderRef="IMSTMRA"
/></enterpriseApplication>
{code}
was:
Install a 3rd party RAR which includes its jar dependencies, the classes inside that rar
are inaccesible to client code.
FWIW this is how is done in Websphere Liberty:
{code:java}
<connectionFactory jndiName="/j2c/openLegacyIMS"
type="javax.resource.cci.ConnectionFactory">
<connectionFactory jndiName="/j2c/openLegacyIMS"
type="javax.resource.cci.ConnectionFactory"> <properties.IMSTMRA
dataStoreName="IVP1" hostName="192.86.32.238"
passWord="LEGACY" portNumber="9999" traceLevel="3"
userName="DEMO001"/>
<connectionManager connectionTimeout="5s" maxPoolSize="5"/>
</connectionFactory>
<enterpriseApplication id="IMSTestEAR" location="IMSTestEAR.ear"
name="IMSTestEAR"> <classloader classProviderRef="IMSTMRA"
/></enterpriseApplication>
{code}
RAR classes not accesible from application code
-----------------------------------------------
Key: WFLY-14438
URL:
https://issues.redhat.com/browse/WFLY-14438
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 20.0.1.Final, 21.0.2.Final
Reporter: Sergio Samayoa
Assignee: Tomasz Adamski
Priority: Major
Install a 3rd party RAR which includes its jar dependencies, the classes inside that rar
are inaccesible to client code.
FWIW this is how is done in Websphere Liberty:
{code:java}
<resourceAdapter id="IMSTMRA"
location="C:/ims-test/IBM/IMS/ICO15/V14110/JCA15/ims14110.rar">
<properties.IMSTMRA logFileSize="1048576"
logFilename="/temp/IMSTMRA-log.log" logNumberOfFiles="5"
traceFileSize="1048576" traceFilename="/temp/IMSTMRA-trace.log"
traceNumberOfFiles="5"/>
</resourceAdapter>
<connectionFactory jndiName="/j2c/openLegacyIMS"
type="javax.resource.cci.ConnectionFactory"> <properties.IMSTMRA
dataStoreName="IVP1" hostName="192.86.32.238"
passWord="LEGACY" portNumber="9999" traceLevel="3"
userName="DEMO001"/>
<connectionManager connectionTimeout="5s" maxPoolSize="5"/>
</connectionFactory>
<enterpriseApplication id="IMSTestEAR" location="IMSTestEAR.ear"
name="IMSTestEAR"> <classloader classProviderRef="IMSTMRA"
/></enterpriseApplication>
{code}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)