Hi guys,I'm using Mobicents JAIN SLEE in my applications, and i need to connect my application to an external Database.For what I've read, i need to use Mobicents JAIN SLEE JDBC RA right?
I've read the user guide ( http://docs.jboss.org/mobicents/jain-slee/2.5.0.FINAL/resources/jdbc/user-guide/en-US/html_single/ ) , but I've a few questions:1- Where do i specify the ip, port, and JDBC connector to user (in my case I need postgreSQL) ? I've read somewhere in a post here that I need to configure an xml (deploy-config.xml) inside the "output" jar. Is that right ?
<config-property>
<config-property-name>DATASOURCE_JNDI_NAME</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>java:DefaultDS</config-property-value>
</config-property>this.jdbcRA = (JdbcResourceAdaptorSbbInterface) contextExt.getResourceAdaptorInterface( JdbcResourceAdaptorSbbInterface.RATYPE_ID, raEntityLinkName);But i'm not quite sure what to put in RATYPE_ID and raEntityLinkName
public static final ResourceAdaptorTypeID RATYPE_ID = new ResourceAdaptorTypeID( "JDBCResourceAdaptorType", "org.mobicents", "1.0");
<resource-adaptor-type-binding> <resource-adaptor-type-ref> <resource-adaptor-type-name> JDBCResourceAdaptorType </resource-adaptor-type-name> <resource-adaptor-type-vendor> org.mobicents </resource-adaptor-type-vendor> <resource-adaptor-type-version> 1.0 </resource-adaptor-type-version> </resource-adaptor-type-ref> <activity-context-interface-factory-name> slee/ra/jdbc/1.0/acifactory </activity-context-interface-factory-name> <resource-adaptor-entity-binding> <resource-adaptor-object-name> slee/ra/jdbc/1.0/sbbinterface </resource-adaptor-object-name> <resource-adaptor-entity-link> JDBCRA </resource-adaptor-entity-link> </resource-adaptor-entity-binding> </resource-adaptor-type-binding>
3- I've also read somewhere in another topic that there is also something realated to the ***-ds.xml located in $JBOSS_HOME/docs/examples/jca.
[Sachin] These are few examples avialable which you can use for your specific requirement.
--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.