<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Sybase datasource config: New missing/unsatisfied dependencies
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/kagopiee">Gopinath Arumugam</a> in <i>Datasource Configuration</i> - <a href="http://community.jboss.org/message/644171#644171">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi All,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I am stuck with this issue for almost 3 days and I had gone through quite a lot of posts regarding this " missing/unsatisfied dependencies " issue.</p><p>And finally I came here for expertise solution.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Hence I post it very briefly by writing down my standalone.xml, module.xml & logs.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong style=": ; color: #ff0000; text-decoration: underline;">standalone.xml:</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> <subsystem xmlns="urn:jboss:domain:datasources:1.0"></p><p>            <datasources></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>                <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="H2DS" enabled="true"></p><p>                    <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url></p><p>                    <driver>h2</driver>                    </p><p>                    <security></p><p>                        <user-name>sa</user-name></p><p>                        <password>sa</password></p><p>                    </security></p><p>                </datasource></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>                <datasource jndi-name="java:jboss/datasources/SybaseDS" pool-name="SybaseDS" enabled="true"></p><p>                    <connection-url></p><p>                        jdbc:sybase:Tds:localhost:10553</p><p>                    </connection-url></p><p>                    <driver>sybaseDriver</driver></p><p>                    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation></p><p>                    <pool></p><p>                        <min-pool-size>5</min-pool-size></p><p>                        <max-pool-size>100</max-pool-size></p><p>                        <prefill>true</prefill></p><p>                    </pool></p><p>                    <security></p><p>                        <user-name>chomo</user-name></p><p>                        <password>king</password></p><p>                    </security></p><p>                </datasource></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>                <drivers></p><p>                    <driver name="h2" module="com.h2database.h2"></p><p>                        <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class></p><p>                    </driver></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>                    <driver name="sybaseDriver" module="com.sybaseDS.sybase"></p><p>                        <span style="color: #ff0000;"><driver-class>com.sybase.jdbc4.jdbc.SybDriver</driver-class></span></p><p><span style="color: #ff0000;">                        <xa-datasource-class>com.sybase.jdbc4.jdbc.SybDriver</xa-datasource-class></span></p><p>                    </driver></p><p>                </drivers></p><p>            </datasources></p><p></subsystem></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="color: #ff0000; text-decoration: underline;"><strong>modules.xml:</strong></span></p><p>     </p><p>     Location:     D:\JBOSS\jboss-as-7.1.0.Beta1b\modules\<span style="color: #ff0000;">com\sybaseDS\sybase</span>\main</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><module xmlns="urn:jboss:module:1.1" name="<span style="color: #ff0000;">com.sybaseDS.sybase</span>"></p><p>  <resources></p><p>    <resource-root path="jconn4.jar"/></p><p>  </resources></p><p>  <dependencies></p><p>    <module name="javax.api"/></p><p>    <module name="javax.transaction.api"/></p><p>    <module name="jboss-as-connector-7.1.0.Beta1b"/></p><p>  </dependencies></p><p></module></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="color: #ff0000;">jconn4.jar is jdbc4 compliant.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="color: #ff0000; text-decoration: underline;"><strong>Logs:</strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>21:31:35,273 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]</p><p>21:31:35,389 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory D:\JBOSS\jboss-as-7.1.0.Beta1b\standalone\deployments</p><p>21:31:35,395 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report</p><p>JBAS014775:    New missing/unsatisfied dependencies:</p><p>      service jboss.jdbc-driver.sybaseDriver (missing) dependents: [service jboss.data-source.java:jboss/datasources/SybaseDS]</p><p>..........................</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>21:07:29,617 INFO  [org.jboss.as.server.deployment] Stopped deployment jboss-annotations-api_1.1_spec-1.0.0.Final.jar in 37ms<br/>21:07:29,617 INFO  [org.jboss.as.server.deployment] Stopped deployment javax.inject-1.jar in 36ms<br/>21:07:29,617 INFO  [org.jboss.as.server.deployment] Stopped deployment Helloworld_servelet.jar in 37ms<br/>21:07:29,633 INFO  [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery manager<br/>21:07:29,617 INFO  [org.jboss.as.server.deployment] Stopped deployment WebApps.war in 36ms<br/>21:07:29,633 INFO  [org.jboss.as.server.deployment] Stopped deployment WebAppsEAR.ear in 44ms<br/><span style="color: #ff0000;">21:07:29,633 INFO  [org.jboss.as.controller] JBAS014774: Service status reportJBAS014776:    Newly corrected services:</span><br/><span style="color: #ff0000;">      service jboss.jdbc-driver.sybaseDriver (new available)</span></p><p>21:07:29,633 INFO  [org.jboss.as] JBoss AS 7.1.0.Beta1b "Tesla" stopped in 30ms<br/>Terminate batch job (Y/N)?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Please do reply with your suggestions.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Regards,</p><p>Gopinath.K.A.</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/644171#644171">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Datasource Configuration at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>