We're migrating an application from weblogic to Jboss AS 7; We've some configuration files stored in a directory(axsconfig) as shown below structure. So,they can be accessed by the ear file in the weblogic domain..
In jboss; where do we need to place the axsconfig directory to be accessed by the ear??
weblogic domain
|----axsconfig(Directory having Configuration Files used by the resource adapter of the earfile.ear)
|----ear
|---- earfile.ear
and the ra.xml of the resource adapter is accessing in the below format
<resourceadapter>
<resourceadapter-class>com.eds.opat.ecom.jca.inbound.ra.EComJCAInbound</resourceadapter-class>
<config-property>
<config-property-name>ConnectionAdapterConfiguration</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>
<![CDATA[<?xml version="1.0" standalone="no"?>
<ConnectionAdapterConfig>
<Connector>
<connector-name>EComAsynchConnectionAdapterImpl</connector-name>
<connector-class>com.eds.opat.ecom.jca.inbound.ra.EComAsynchConnectionAdapterImpl</connector-class>
<Connection>
<ConfigFile>axsconfig/MSW2EmailHostAdapter.xml</ConfigFile>
</Connection>
</Connector>
'
'
'
'
</ConnectionAdapterConfig>
]]>
</config-property-value>
</config-property>
'
'
'
<resourceadapter>
Now, to access the same axsconfig directory without any NullPointerExcpetion; Where do we need to place it in Jboss domain???
Thanks in advance,
Murthy Majeti