If you are starting with jboss, you might consider using a more recent,
supported, version such as 2.4.4

You have the wrong (nonexistent in 2.2.2) class for XADataSourceImpl. 
Check the other two examples, and don't copy configuration from one version
of jboss to another without checking it very carefully.

david jencks

On 2002.03.14 23:54:25 -0500 leon wrote:
> Hi 
> 
>     I am a newer using jboss. I have some problem that cann't load the
> oracle jdbc driver. after I copy the classes12.zip to the path of
> jboss/lib/ext 
> , then run the jboss, some problem happened: the output is below. I guess
> jboss could find the classes12.zip file.
> 
> [JDBC provider] Could not load driver:
> oracle.jdbc.driver.OracleDriver
> 
>     I change the the name of classes12.zip to oracle.jar
> but it doesn't matter.I am completed confused. Can anybody help me? I am
> very preciate for your help.
> 
> The version of jboss is JBoss-2.2.2_Tomcat-3.2.2.
> My jdbc configuration in the file of jboss.jmcl is below.
> 
>   <!-- JDBC -->
>   <mbean code="org.jboss.jdbc.JdbcProvider"
> name="DefaultDomain:service=JdbcProvider">
>      <attribute name="Drivers">
>      org.hsql.jdbcDriver,
>      org.enhydra.instantdb.jdbc.idbDriver,
>      oracle.jdbc.driver.OracleDriver
>      </attribute>
>   </mbean>
> 
>   <mbean code="org.jboss.jdbc.HypersonicDatabase"
> name="DefaultDomain:service=Hypersonic">
>     <attribute name="Port">1476</attribute>
>     <attribute name="Silent">true</attribute>
>     <attribute name="Database">default</attribute>
>     <attribute name="Trace">false</attribute>
>   </mbean>
> 
>   <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=InstantDB">
>     <attribute name="PoolName">InstantDB</attribute>
>     <attribute 
>name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
>     <attribute name="Properties"></attribute>
>     <attribute name="URL">jdbc:idb:../conf/default/instantdb.properties</attribute>
>     <attribute name="GCMinIdleTime">1200000</attribute>
>     <attribute name="JDBCUser" />
>     <attribute name="MaxSize">10</attribute>
>     <attribute name="Password" />
>     <attribute name="GCEnabled">false</attribute>
>     <attribute name="InvalidateOnError">false</attribute>
>     <attribute name="TimestampUsed">false</attribute>
>     <attribute name="Blocking">true</attribute>
>     <attribute name="GCInterval">120000</attribute>
>     <attribute name="IdleTimeout">1800000</attribute>
>     <attribute name="IdleTimeoutEnabled">false</attribute>
>     <attribute name="LoggingEnabled">false</attribute>
>     <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
>     <attribute name="MinSize">0</attribute>
>   </mbean>
> 
>   <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=DefaultDS">
>     <attribute name="PoolName">DefaultDS</attribute>
>     <attribute 
>name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</attribute>
>     <attribute name="Properties"></attribute>
>     <attribute name="URL">jdbc:HypersonicSQL:hsql://localhost:1476</attribute>
>     <attribute name="GCMinIdleTime">1200000</attribute>
>     <attribute name="JDBCUser">sa</attribute>
>     <attribute name="MaxSize">10</attribute>
>     <attribute name="Password" />
>     <attribute name="GCEnabled">false</attribute>
>     <attribute name="InvalidateOnError">false</attribute>
>     <attribute name="TimestampUsed">false</attribute>
>     <attribute name="Blocking">true</attribute>
>     <attribute name="GCInterval">120000</attribute>
>     <attribute name="IdleTimeout">1800000</attribute>
>     <attribute name="IdleTimeoutEnabled">false</attribute>
>     <attribute name="LoggingEnabled">false</attribute>
>     <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
>     <attribute name="MinSize">0</attribute>
>   </mbean>
> 
>   <mbean code="org.jboss.jdbc.XADataSourceLoader"
> name="DefaultDomain:service=XADataSource,name=ClraOracleDS">
>     <attribute name="PoolName">ClraOracleDS</attribute>
>     <attribute name="DataSourceClass">
>     org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute>
>     <attribute name="URL">jdbc:oracle:thin:@pc:1521:pc</attribute>
>     <attribute name="JDBCUser">muze</attribute>
>     <attribute name="Password">muz3</attribute>
>     <attribute name="MaxSize">20</attribute>
>     <attribute name="MinSize">0</attribute>
>   </mbean>
> 
> 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=gb2312" http-equiv=Content-Type>
> <META content="MSHTML 5.00.2920.0" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT size=2><FONT color=#000000 face=arial,sans-serif size=-1>Hi 
> </FONT></FONT></DIV>
> <DIV><FONT color=#000000><BR><FONT size=2><FONT
> face=Arial>&nbsp;&nbsp;&nbsp; I 
> am a newer using jboss. I have some problem that cann't load the oracle
> jdbc 
> driver. after I copy the classes12.zip to the path of jboss/lib/ext <BR>,
> then 
> run the jboss, some problem happened: the output is below. I guess jboss
> could 
> find the classes12.zip file.<BR><BR><FONT 
> color=#800000></FONT></FONT></FONT><FONT color=#ff0000><FONT face=Arial 
> size=2>[JDBC provider] Could not load 
> driver:<BR>oracle.jdbc.driver.OracleDriver<BR></FONT><BR></FONT><FONT
> face=Arial 
> size=2>&nbsp;&nbsp;&nbsp; I change the the name of classes12.zip to 
> oracle.jar<BR>but it doesn't matter.I am completed confused. Can anybody
> help 
> me? I am very preciate for your help.<BR><BR>The version of jboss is 
> JBoss-2.2.2_Tomcat-3.2.2.</FONT></FONT></DIV>
> <DIV><FONT size=2>My jdbc configuration in the file of jboss.jmcl is 
> below.</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT size=2>&nbsp; &lt;!-- JDBC --&gt;<BR>&nbsp; &lt;mbean 
> code="org.jboss.jdbc.JdbcProvider" 
> name="DefaultDomain:service=JdbcProvider"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="Drivers"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
> org.hsql.jdbcDriver,<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
> org.enhydra.instantdb.jdbc.idbDriver,<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
> oracle.jdbc.driver.OracleDriver<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
> &lt;/attribute&gt;<BR>&nbsp; &lt;/mbean&gt;</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT size=2>&nbsp; &lt;mbean code="org.jboss.jdbc.HypersonicDatabase"
> 
> name="DefaultDomain:service=Hypersonic"&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute 
> name="Port"&gt;1476&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;attribute
> 
> name="Silent"&gt;true&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute 
> name="Database"&gt;default&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute 
> name="Trace"&gt;false&lt;/attribute&gt;<BR>&nbsp;
> &lt;/mbean&gt;</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT size=2>&nbsp; &lt;mbean code="org.jboss.jdbc.XADataSourceLoader"
> 
> name="DefaultDomain:service=XADataSource,name=InstantDB"&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="PoolName"&gt;InstantDB&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute 
> 
>name="DataSourceClass"&gt;org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="Properties"&gt;&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> 
>name="URL"&gt;jdbc:idb:../conf/default/instantdb.properties&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="GCMinIdleTime"&gt;1200000&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute name="JDBCUser" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;attribute 
> name="MaxSize"&gt;10&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute 
> name="Password" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;attribute 
> name="GCEnabled"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute 
> name="InvalidateOnError"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="TimestampUsed"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute name="Blocking"&gt;true&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="GCInterval"&gt;120000&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute 
> name="IdleTimeout"&gt;1800000&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute 
> name="IdleTimeoutEnabled"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="LoggingEnabled"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute 
> name="MaxIdleTimeoutPercent"&gt;1.0&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="MinSize"&gt;0&lt;/attribute&gt;<BR>&nbsp; 
> &lt;/mbean&gt;</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT size=2>&nbsp; &lt;mbean code="org.jboss.jdbc.XADataSourceLoader"
> 
> name="DefaultDomain:service=XADataSource,name=DefaultDS"&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="PoolName"&gt;DefaultDS&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute 
> 
>name="DataSourceClass"&gt;org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="Properties"&gt;&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> 
>name="URL"&gt;jdbc:HypersonicSQL:hsql://localhost:1476&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="GCMinIdleTime"&gt;1200000&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute name="JDBCUser"&gt;sa&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="MaxSize"&gt;10&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="Password" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;attribute 
> name="GCEnabled"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> &lt;attribute 
> name="InvalidateOnError"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="TimestampUsed"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute name="Blocking"&gt;true&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="GCInterval"&gt;120000&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute 
> name="IdleTimeout"&gt;1800000&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute 
> name="IdleTimeoutEnabled"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="LoggingEnabled"&gt;false&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute 
> name="MaxIdleTimeoutPercent"&gt;1.0&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="MinSize"&gt;0&lt;/attribute&gt;<BR>&nbsp; 
> &lt;/mbean&gt;</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT size=2>&nbsp; &lt;mbean code="org.jboss.jdbc.XADataSourceLoader"
> 
> name="DefaultDomain:service=XADataSource,name=ClraOracleDS"&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="PoolName"&gt;ClraOracleDS&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp; 
> &lt;attribute name="DataSourceClass"&gt;<BR>&nbsp;&nbsp;&nbsp; 
> 
>org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute 
> name="URL"&gt;jdbc:oracle:thin:@pc:1521:pc&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="JDBCUser"&gt;muze&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="Password"&gt;muz3&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="MaxSize"&gt;20&lt;/attribute&gt;<BR>&nbsp;&nbsp;&nbsp;
> 
> &lt;attribute name="MinSize"&gt;0&lt;/attribute&gt;<BR>&nbsp; 
> &lt;/mbean&gt;<BR></FONT></DIV>
> <DIV>&nbsp;</DIV></BODY></HTML>
> 

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

Reply via email to