Re: [JBoss-user] jboss 2.4.4 and mysql: Unknown Source
Hi, Dennis I had the same problem to start MySQL(3.23.47) with Jboss 2.4.4-Tomcat4.0.1. I did config the jboss.jcml under Jboss-2.4.4_Tomcat-4.0.1/jboss/conf/catalina. The changes are as follow: 1. org.hsqldb.jdbcDriver, org.gjt.mm.mysql.Driver 2. add one more mbean MySQLDS org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:mysql://localhost:3306/test 10 0 Any suggestion will be really appreciated. Regards, Christine Dennis Keller wrote: > Pavel - > > I had similar problems when I was starting out with JBoss. Turns out > that I was configuration the wrong jboss.jcml file. If you're running > jboss with catalina built-in, then you need to be editing the jboss.jcml > file under JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/catalina. Be sure you're > not editing the jboss.jcml file under > JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/default (as I was). > > Dennis > > On Thu, 2002-02-14 at 07:58, Pavel Kolesnikov wrote: > > Hallo, > > > > I've tried to configure Jboss 2.4.4 to use MySQL database. > > > > Unfortunatelly I found only JBoss 3.0 configuration on Jboss site, so > > I tried some directions found on the web with Google. > > > > So I've changed JdbcProvider mbean in jboss.jcml to: > > > >> name="DefaultDomain:service=JdbcProvider"> > > name="Drivers">org.hsqldb.jdbcDriver,org.gjt.mm.mysql.Driver > > > > > > ... and added following mbean: > > > > > name="DefaultDomain:service=XADataSource,name=mySQLDS"> > > mySQLDS > > > name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl > > > > jdbc:mysql:/localhost/test > > 120 > > root > > 10 > > *** > > > > > > standardjaws.xml starts with following few lines: > > > > > > java:/mySQLDS > > mySQL > > false > > > > When I'm starting JBoss, I'm getting following message in its logfile: > > [16:44:19,979,mySQLDS] Starting > > [16:44:20,253,mySQLDS] XA Connection pool mySQLDS bound to java:/mySQLDS > > [16:44:20,719,mySQLDS] 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) > > at >org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967) > > at $Proxy0.start(Unknown Source) > > ... > > > > Could anyone of more experienced JBoss users tell me what could be wrong? > > Sorry if this problem seems to be too stupid, I'm real JBoss newbie. > > > > Thanks a lot > > > > Pavel > > > > > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Jia (Christine) Li 524N ICT Building Department of Computer Science University of Calgary ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 2.4.4 and mysql: Unknown Source
Pavel - I had similar problems when I was starting out with JBoss. Turns out that I was configuration the wrong jboss.jcml file. If you're running jboss with catalina built-in, then you need to be editing the jboss.jcml file under JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/catalina. Be sure you're not editing the jboss.jcml file under JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/default (as I was). Dennis On Thu, 2002-02-14 at 07:58, Pavel Kolesnikov wrote: > Hallo, > > I've tried to configure Jboss 2.4.4 to use MySQL database. > > Unfortunatelly I found only JBoss 3.0 configuration on Jboss site, so > I tried some directions found on the web with Google. > > So I've changed JdbcProvider mbean in jboss.jcml to: > > name="DefaultDomain:service=JdbcProvider"> > name="Drivers">org.hsqldb.jdbcDriver,org.gjt.mm.mysql.Driver > > > ... and added following mbean: > > name="DefaultDomain:service=XADataSource,name=mySQLDS"> > mySQLDS > name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl > > jdbc:mysql:/localhost/test > 120 > root > 10 > *** > > > standardjaws.xml starts with following few lines: > > > java:/mySQLDS > mySQL > false > > When I'm starting JBoss, I'm getting following message in its logfile: > [16:44:19,979,mySQLDS] Starting > [16:44:20,253,mySQLDS] XA Connection pool mySQLDS bound to java:/mySQLDS > [16:44:20,719,mySQLDS] 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) > at >org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967) > at $Proxy0.start(Unknown Source) > ... > > Could anyone of more experienced JBoss users tell me what could be wrong? > Sorry if this problem seems to be too stupid, I'm real JBoss newbie. > > Thanks a lot > > Pavel > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] jboss 2.4.4 and mysql: Unknown Source
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > jdbc:mysql:/localhost/test try jdbc:mysql://localhost/test instead. if this doesn't do the trick, the root pwd could also be wrong. hth, jan - -- Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED] - -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Pavel Kolesnikov Gesendet: Donnerstag, 14. Februar 2002 16:59 An: [EMAIL PROTECTED] Betreff: [JBoss-user] jboss 2.4.4 and mysql: Unknown Source Hallo, I've tried to configure Jboss 2.4.4 to use MySQL database. Unfortunatelly I found only JBoss 3.0 configuration on Jboss site, so I tried some directions found on the web with Google. So I've changed JdbcProvider mbean in jboss.jcml to: org.hsqldb.jdbcDriver,org.gjt.mm.mysql.Driver ... and added following mbean: mySQLDS org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:mysql:/localhost/test 120 root 10 *** standardjaws.xml starts with following few lines: java:/mySQLDS mySQL false When I'm starting JBoss, I'm getting following message in its logfile: [16:44:19,979,mySQLDS] Starting [16:44:20,253,mySQLDS] XA Connection pool mySQLDS bound to java:/mySQLDS [16:44:20,719,mySQLDS] 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:162 8) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:152 3) at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Confi gurationService.java:967) at $Proxy0.start(Unknown Source) ... Could anyone of more experienced JBoss users tell me what could be wrong? Sorry if this problem seems to be too stupid, I'm real JBoss newbie. Thanks a lot Pavel ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -BEGIN PGP SIGNATURE- Version: PGP 7.0.4 iQA/AwUBPGvvdp/YNqVvLvLkEQK0SACfUN+BiG1CItscaJtOEwbCsCp7NW8AmwWN +BwGFhCXlpvhN9wuwuPgopoZ =y5jJ -END PGP SIGNATURE- ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 2.4.4 and mysql: Unknown Source
The driver can't connect to the database. Usually its a url problem david jencks On 2002.02.14 10:58:47 -0500 Pavel Kolesnikov wrote: > Hallo, > > I've tried to configure Jboss 2.4.4 to use MySQL database. > > Unfortunatelly I found only JBoss 3.0 configuration on Jboss site, so > I tried some directions found on the web with Google. > > So I've changed JdbcProvider mbean in jboss.jcml to: > > name="DefaultDomain:service=JdbcProvider"> > name="Drivers">org.hsqldb.jdbcDriver,org.gjt.mm.mysql.Driver > > > ... and added following mbean: > > name="DefaultDomain:service=XADataSource,name=mySQLDS"> > mySQLDS > name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl > > jdbc:mysql:/localhost/test > 120 > root > 10 > *** > > > standardjaws.xml starts with following few lines: > > > java:/mySQLDS > mySQL > false > > When I'm starting JBoss, I'm getting following message in its logfile: > [16:44:19,979,mySQLDS] Starting > [16:44:20,253,mySQLDS] XA Connection pool mySQLDS bound to java:/mySQLDS > [16:44:20,719,mySQLDS] 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) > at >org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967) > at $Proxy0.start(Unknown Source) > ... > > Could anyone of more experienced JBoss users tell me what could be wrong? > Sorry if this problem seems to be too stupid, I'm real JBoss newbie. > > Thanks a lot > > Pavel > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss 2.4.4 and mysql: Unknown Source
Hallo, I've tried to configure Jboss 2.4.4 to use MySQL database. Unfortunatelly I found only JBoss 3.0 configuration on Jboss site, so I tried some directions found on the web with Google. So I've changed JdbcProvider mbean in jboss.jcml to: org.hsqldb.jdbcDriver,org.gjt.mm.mysql.Driver ... and added following mbean: mySQLDS org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:mysql:/localhost/test 120 root 10 *** standardjaws.xml starts with following few lines: java:/mySQLDS mySQL false When I'm starting JBoss, I'm getting following message in its logfile: [16:44:19,979,mySQLDS] Starting [16:44:20,253,mySQLDS] XA Connection pool mySQLDS bound to java:/mySQLDS [16:44:20,719,mySQLDS] 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) at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967) at $Proxy0.start(Unknown Source) ... Could anyone of more experienced JBoss users tell me what could be wrong? Sorry if this problem seems to be too stupid, I'm real JBoss newbie. Thanks a lot Pavel ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user