Hallo, I'm trying to make work jboss 2.4.4 with sybase support (using Sybase ASE 11.0.0.3 for linux), but it reports following exception on startup:
================= [INFO,SybaseDS] Starting [INFO,SybaseDS] XA Connection pool SybaseDS bound to java:/SybaseDS [ERROR,SybaseDS] Stopped java.lang.NullPointerException at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(Unknown Source) at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:412) at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103) at java.lang.reflect.Method.invoke(Native Method) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) etc... ================ I've copyied jConn2.jar from jConnnect 5.2 into $JBOSS_HOME/lib/ext, installed all SPs required by jConnect and put following lines into jboss.jcml and standardjaws.xml: === jboss.jcml === <mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider"> <attribute name="Drivers">com.sybase.jdbc2.jdbc.SybDriver,org.hsqldb.jdbcDriver,org.gjt.mm.mysql.Driver</attribute> </mbean> <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=SybaseDS"> <attribute name="PoolName">SybaseDS</attribute> <attribute name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute> <attribute name="Properties"></attribute> <atribute name="URL">jdbc:sybase:Tds:emental:7100/jurDirs</atribute> <attribute name="JDBCUser">sa</attribute> <attribute name="Password"></attribute> <!-- i've also tried <attribute name="Password" /> --> </mbean> ================ == standardjaws.xml == <?xml version="1.0" encoding="UTF-8"?> <jaws> <datasource>java:/SybaseDS</datasource> <type-mapping>Sybase</type-mapping> <debug>false</debug> ====================== I'm 100% percent sure values given in jcml file are correct (isql -Usa -P -SEMENTAL connects successfully from the computer where my JBoss is running), my interface file contains EMENTAL query tcp ether emental 7100 master tcp ether emental 7100 ) so I suppose that JDBC URL given in my jcml file should be correct. Do you have an idea what I'm doing wrong? Thanks a lot, Pavel _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user