Problem: Modified data source port information is not reflected when you deploy mobile business objects (MBOs).
During the second deployment, the endpoint port remains the original value, 4100, rather than 41007.
Solution 1:
The port information is updated and reflected during deployment.
For each JDBC data source, the database vendor's specific JDBC driver may expose its own connection properties. You can specify those properties in an XML configuration file by prefixing the property name with "jdbc:".
For example, the Sybase jConnect™ for JDBC™ driver contains an IS_CLOSED_TEST connection property that you can set. This property can be a SQL query that jConnect sends to the database when the application calls Connection.isClosed(), or "select 1". If the query successfully executes, the connection remains open, and returns false. The jConnect driver also has an "INTERNAL" setting that enables jConnect to remember the state of the connection the last time it was used. This setting prevents the database from being pinged multiple times, especially in an appServer context where the isClosed() check is performed each time a connection is checked into or out of a connection pool. To set the "INTERNAL" property from the Ant script, add:
<property name="jdbc:IS_CLOSED_TEST" value="INTERNAL"/>
See your JDBC driver documentation for information about driver specific connection properties.
In the Unwired Server installation directory, change to this folder:
<UnwiredPlatform-InstallDir>\UnwiredPlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\sql\DataSource\