Is the Sybase driver's jar in JBoss' lib/ext directory?
Other than that, my only advice would be to write a small program that
just connects to your Sybase database using the same URL, username and
password.
Halim Yahia wrote:
> hi,
> i use jboss2.2 with tomcat. Jboss use 2 datasources : 1 for orcale
> and 1 for sybase databases.
>
> in my jboss.jcml i put :
>
> <!-- JDBC -->
> <mbean code="org.jboss.jdbc.JdbcProvider"
> name="DefaultDomain:service=JdbcProvider">
> <attribute
> name="Drivers">com.sybase.jdbc2.jdbc.SybDrive,oracle.jdbc.driver.OracleDrive
> r</attribute>
> </mbean>
> <!-- Oracle datasource -->
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=OracleDS">
>
> <attribute name="PoolName">OracleDS</attribute>
> <attribute
> name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
> l</attribute>
>
> <attribute name="URL">jdbc:oracle:thin:@<ourserver></attribute>
> <attribute name="JDBCUser">alogin</attribute>
> <attribute name="Password">apwd</attribute>
> <attribute name="Blocking">true</attribute>
> </mbean>
>
> <!-- Sybase datasource -->
> <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=SybaseDS">
> <attribute name="PoolName">SybaseDS</attribute>
> <attribute
> name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
> l</attribute>
>
> <attribute name="URL">jdbc:sybase:Tds:<ourserver></attribute>
> <attribute name="TimestampUsed">false</attribute>
> <attribute name="JDBCUser">alogin</attribute>
> <attribute name="Password">apwd</attribute>
> <attribute name="Blocking">true</attribute>
> </mbean>
>
> When launching jboss, i got messages from console :
> [JDBC provider] Starting
> [JDBC provider] Started
> [WebprodDS] Starting
> [WebprodDS] XA Connection pool WebprodDS bound to java:/WebprodDS
> [WebprodDS] Started
> [SybaseDS] Starting
> [SybaseDS] XA Connection pool SybaseDS bound to java:/SybaseDS
>
> and it stops here : jboss never return !
> with jboss2.0 i didn't have this problem.
>
> thanks for help
> ________________________________________
> Halim YAHIA
>
> SELF TRADE
> 18 QUAI DU POINT DU JOUR
> 92659 BOULOGNE BILLANCOURT CEDEX
>
> Tel: +33 (0)1 46 09 48 55
> Fax: +33 (0)1 46 09 53 90
> e-mail: [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user