Can not config the connection pool of mssql DB with jdriver of weblogic,show java.lang.NullPointerException Hi,my friends ! I am a beginner of jboss and I want to use mssql server as my database ,but when I follow the steps of the jboss docus to config the jboss, it show me a exception : java.lang.NullPointerException, I cannot find the reasons , any advices make me appreciate ,thanks !!My configurations are below: 1. Envionment Info: Container: JBoss-2.2.1_Tomcat-3.2.1 Java version: 1.3.0,Sun Microsystems Inc. Java VM: Java HotSpot(TM) Client VM 1.3.0-C,Sun Microsystems Inc. System: Windows 2000 5.0,x86 DataBase: MSSQL SERVER 2000 2. jdbc driver: I put the weblogic.jar into the director of D:\JBoss-2.2.1_Tomcat-3.2.1\jboss\lib\ext and config the jboss.jcml ,look below: <mbean code="org.jboss.jdbc.JdbcProvider" name="DefaultDomain:service=JdbcProvider"> <attribute name="Drivers">weblogic.jdbc.mssqlserver4.Driver,oracle.jdbc.driver.OracleDriver,org.gjt.mm.mysql.Driver,org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver</attribute> </mbean> Note : First I downloaded the jdriver of weblogic : mssqlserver4v70rel510sp8.zip and put it into the director and config the jboss.jcml like up , then start my jboss server ,but the server give me the info of “could not load the driver”,then I put the weblogic.jar and it is ok. 3. connection pool And then I continue to config the jboss.jcml and please look below: <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=SQLServerPool"> <attribute name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute> <attribute name="PoolName">SQLServerPool</attribute> <attribute name="URL">jdbc:weblogic:mssqlserver4:mouse@localhost:1433</attribute> <attribute name="JDBCUser">mouse</attribute> <attribute name="Password">99999999</attribute> </mbean> 4. Then I delete the jboss-auto.jcml file.(when I config MySQL server,must delete it then it is ok ) 5. the results are below when I finish the config and start the jboss. 。。。。。。 [JDBC provider] Initializing [JDBC provider] Loaded JDBC-driver:weblogic.jdbc.mssqlserver4.Driver [JDBC provider] Loaded JDBC-driver:oracle.jdbc.driver.OracleDriver [JDBC provider] Loaded JDBC-driver:org.gjt.mm.mysql.Driver [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JDBC provider] Initialized [SQLServerPool] Initializing [SQLServerPool] Initialized 。。。。。。 [JDBC provider] Starting [JDBC provider] Started [SQLServerPool] Starting [SQLServerPool] XA Connection pool SQLServerPool bound to java:/SQLServerPool [SQLServerPool] Stopped [SQLServerPool] java.lang.NullPointerException [SQLServerPool] at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getCon nection(XAPoolDataSource.java:165) [SQLServerPool] at org.jboss.jdbc.XADataSourceLoader.startService(XAData SourceLoader.java:330) [SQLServerPool] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBean Support.java:93) [SQLServerPool] at java.lang.reflect.Method.invoke(Native Method) [SQLServerPool] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [SQLServerPool] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [SQLServerPool] at org.jboss.util.ServiceControl.start(ServiceControl.ja va:97) [SQLServerPool] at java.lang.reflect.Method.invoke(Native Method) [SQLServerPool] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [SQLServerPool] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [SQLServerPool] at org.jboss.Main.<init>(Main.java:203) [SQLServerPool] at org.jboss.Main$1.run(Main.java:107) [SQLServerPool] at java.security.AccessController.doPrivileged(Native Me thod) [SQLServerPool] at org.jboss.Main.main(Main.java:103) [Service Control] Could not start DefaultDomain:service=XADataSource,name=SQLSer verPool [Service Control] java.lang.NullPointerException [Service Control] at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getCon nection(XAPoolDataSource.java:165) [Service Control] at org.jboss.jdbc.XADataSourceLoader.startService(XAData SourceLoader.java:330) [Service Control] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBean Support.java:93) [Service Control] at java.lang.reflect.Method.invoke(Native Method) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [Service Control] at org.jboss.util.ServiceControl.start(ServiceControl.ja va:97) [Service Control] at java.lang.reflect.Method.invoke(Native Method) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1628) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe rverImpl.java:1523) [Service Control] at org.jboss.Main.<init>(Main.java:203) [Service Control] at org.jboss.Main$1.run(Main.java:107) [Service Control] at java.security.AccessController.doPrivileged(Native Me thod) [Service Control] at org.jboss.Main.main(Main.java:103) 。。。。。。 _________________________________________________________ Do You Yahoo!? 登录免费雅虎电邮! http://mail.yahoo.com.cn <font color=#6666FF>无聊?郁闷?高兴?没理由?都来聊天吧!</font>—— 雅虎全新聊天室! http://cn.chat.yahoo.com/c/roomlist.html _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user