Hi

Which is the real URl syntax in the jboss.cml file for a Weblogic Type
Driver 4 based
connection pool - beacuse I have a troublesome situation namely that the
BINDING of the SQL SERVERPOOL HANGS the JBOSS initialization process.


Note that the driver signature in the weblogic.jar file is
weblogic.jdbc.mssqlserver4.Driver
( i have put the jar in the lib/ext dir )and
 <attribute
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,webl
ogic.jdbc.mssqlserver4.Driver</attribute>

###################### JBOSS JCML (w/TOMCAT) ######################

<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=SQLServerPool">
   <attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l</attribute>
   <attribute name="PoolName">SQLServerPool</attribute>

........
   <attribute
name="URL">jdbc:weblogic:mssqlserver4:vnserverdb@localhost:1433</attribute>
                                       ^^^ where is this JBOSS advised order
coming from - is it NOT supposed to be
                                              relevant to the signature of
the driver class ?? ^^^^^
   ..........
 </mbean>

   then  the JDBC driver is indeed loaded up AND the  [SQLServerPool] is
Initialized ...........
   ........ JBOSS 2.2.1.  with Tomcat ...................
   [JDBC provider] Loaded JDBC-driver:weblogic.jdbc.mssqlserver4.Driver
<<<<<<<<<<<<<< OK
   .............................
   [SQLServerPool] Initializing
   [SQLServerPool] Initialized
<<<<<<<<<<<<<<<<<<< OK
   .....................................................
   ...................... BUT
...........................................................
   the SQL BINDING does not happen - it just HANGS in there:

   [JDBC provider] Starting
   [JDBC provider] Started
   [Hypersonic] ..........
   [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
   ...........
   #[DefaultDS] Starting
   [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
   [DefaultDS] Started
   [SQLServerPool] Starting
   [SQLServerPool] XA Connection pool SQLServerPool bound to
java:/SQLServerPool              ??????????????????
   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT HANGS HERE
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


   and in strandardjaws.xml I have :

##################  in STANDARDJAWS.XML #####################
<?xml version="1.0" encoding="UTF-8"?>
<jaws>
        <datasource>java:/SQLServerPool</datasource>
        <type-mapping>MS SQLSERVER</type-mapping>
        <!--datasource>java:/DefaultDS</datasource-->  commented OUT
        <!--type-mapping>Hypersonic SQL</type-mapping--> commented OUT

............................................................................
.........

        I did not modif. jboss.conf because the JBOSS documentation  for 2.2.1 says
I shouldn't put anything
        in there ...


    Any ideas anybody, please ?
    Do I need to declare smth else in other config. files ??
    (APART from jboss.jcml AND standardjaws.xml ???)
    is JBOSS_AUTO.JCML involved in this ?

    TiA

    Val   N.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.251 / Virus Database: 124 - Release Date: 26/04/2001


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to