Show us your jboss.jcml file. adn tell us what version of everything.

Did you include the driver in the jdbcProvider mbean?

david jencks

On 2001.07.28 01:22:48 -0400 ivan wrote:
> Dear All,
> 
> I have a informix jdbc driver on hand now. But, it only for jdbc1.x.
> I would like to configure jdbc.jcml to use the function of connection
> pooling. I am sure that I set the configuration, including db URL,
> username, and password, correctly. However, Jboss can't connect to
> informix database even i can load the driver. 
> 
> The following exception thrown:
> [InformixDB01] java.lang.NullPointerException
> [InformixDB01]  at org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(
> XAPoolDataSource.java:165)
> [InformixDB01]  at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLo
> ader.java:330)
> [InformixDB01]  at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
> java:93)
> [InformixDB01]  at java.lang.reflect.Method.invoke(Native Method)
> [InformixDB01]  at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1628)
> [InformixDB01]  at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1523)
> [InformixDB01]  at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
> [InformixDB01]  at java.lang.reflect.Method.invoke(Native Method)
> [InformixDB01]  at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1628)
> [InformixDB01]  at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1523)
> [InformixDB01]  at org.jboss.Main.<init>(Main.java:203)
> [InformixDB01]  at org.jboss.Main$1.run(Main.java:107)
> [InformixDB01]  at java.security.AccessController.doPrivileged(Native
> Method)
> [InformixDB01]  at org.jboss.Main.main(Main.java:103)
> [Service Control] Could not start DefaultDomain:service=XADataSource,name=Inform
> ixDB01
> [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)
> 
> Can anyone tell me how to solve this problems? 
> 
> Thanks a lot!!!
> 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=big5" http-equiv=Content-Type>
> <META content="MSHTML 5.00.2920.0" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT size=2>Dear All,</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT size=2>I have a informix jdbc driver on hand now. But, it only
> for 
> jdbc1.x.</FONT></DIV>
> <DIV><FONT size=2>I would like to configure jdbc.jcml to use the function
> of 
> connection pooling. I am sure that I set the configuration, including db
> URL, 
> username, and password, correctly. However, Jboss can't connect to
> informix 
> database even i can load the driver. </FONT></DIV>
> <DIV><FONT size=2></FONT>&nbsp;</DIV>
> <DIV><FONT size=2>The following exception thrown:</FONT></DIV>
> <DIV><FONT size=2>[InformixDB01] 
> java.lang.NullPointerException<BR>[InformixDB01]&nbsp; at 
> 
>org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(<BR>XAPoolDataSource.java:165)<BR>[InformixDB01]&nbsp;
> 
> at 
> 
>org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLo<BR>ader.java:330)<BR>[InformixDB01]&nbsp;
> 
> at 
> 
>org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.<BR>java:93)<BR>[InformixDB01]&nbsp;
> 
> at java.lang.reflect.Method.invoke(Native Method)<BR>[InformixDB01]&nbsp;
> at 
> 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl<BR>.java:1628)<BR>[InformixDB01]&nbsp;
> 
> at 
> 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl<BR>.java:1523)<BR>[InformixDB01]&nbsp;
> 
> at 
> org.jboss.util.ServiceControl.start(ServiceControl.java:97)<BR>[InformixDB01]&nbsp;
> 
> at java.lang.reflect.Method.invoke(Native Method)<BR>[InformixDB01]&nbsp;
> at 
> 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl<BR>.java:1628)<BR>[InformixDB01]&nbsp;
> 
> at 
> 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl<BR>.java:1523)<BR>[InformixDB01]&nbsp;
> 
> at org.jboss.Main.&lt;init&gt;(Main.java:203)<BR>[InformixDB01]&nbsp; at 
> org.jboss.Main$1.run(Main.java:107)<BR>[InformixDB01]&nbsp; at 
> java.security.AccessController.doPrivileged(Native 
> Method)<BR>[InformixDB01]&nbsp; at 
> org.jboss.Main.main(Main.java:103)<BR>[Service Control] Could not start 
> DefaultDomain:service=XADataSource,name=Inform<BR>ixDB01<BR>[Service
> Control] 
> java.lang.NullPointerException<BR>[Service 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> 
>org.opentools.minerva.jdbc.xa.XAPoolDataSource.getCon<BR>nection(XAPoolDataSource.java:165)<BR>[Service
> 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> 
>org.jboss.jdbc.XADataSourceLoader.startService(XAData<BR>SourceLoader.java:330)<BR>[Service
> 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> org.jboss.util.ServiceMBeanSupport.start(ServiceMBean<BR>Support.java:93)<BR>[Service
> 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> java.lang.reflect.Method.invoke(Native Method)<BR>[Service 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe<BR>rverImpl.java:1628)<BR>[Service
> 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe<BR>rverImpl.java:1523)<BR>[Service
> 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> org.jboss.util.ServiceControl.start(ServiceControl.ja<BR>va:97)<BR>[Service
> 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> java.lang.reflect.Method.invoke(Native Method)<BR>[Service 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe<BR>rverImpl.java:1628)<BR>[Service
> 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe<BR>rverImpl.java:1523)<BR>[Service
> 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> org.jboss.Main.&lt;init&gt;(Main.java:203)<BR>[Service 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> org.jboss.Main$1.run(Main.java:107)<BR>[Service 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> java.security.AccessController.doPrivileged(Native
> Me<BR>thod)<BR>[Service 
> Control]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
> org.jboss.Main.main(Main.java:103)</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT size=2>Can anyone tell me how to solve this problems?
> </FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT size=2>Thanks a lot!!!</FONT></DIV>
> <DIV>&nbsp;</DIV></BODY></HTML>
> 

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

Reply via email to