Re: [JBoss-user] jboss startup problems postgresql driver

2001-05-15 Thread toby cabot


 What is wrong with my configuration?
   mbean code=org.jboss.jdbc.XADataSourceLoader
   name=DefaultDomain:service=XADataSource,name=myWMS
 attribute name=Password /

We had a similar problem.  Try adding a password, even if you don't need
one to connect.




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



Re: [JBoss-user] jboss startup problems postgresql driver

2001-05-15 Thread Michael Bilow

I have a few suggestions.  First, if you are not using Hypersonic at all,
which appears to be the case, then you should remove the reference to
org.hsql.jdbcDriver as a JdbcProvider.  We had long hangs at the same
point you did, depending upon how much memory and CPU power we were
throwing at the installation.  On a throw-away 166 MHz machine with 64 MB
RAM running Debian Linux, we saw a hang of 45 minutes before jBoss woke
up and continued initializing!  Admittedly, we were specifically trying to
test how far down the hardware curve we could push this.

Second, I have heard that there is some sort of bug in connecting with
Postgres where a password must be specified.  I have not personally tried
using Postgres with a blank password, so I do not know if this is true.

-- Mike


On 2001-05-15 at 13:46 +0200, Haug Bürger wrote:

 Hi,
 
 my jboss doesn't start propperly, it hangs at
 [myWMS] Starting
 [myWMS] XA Connection pool myWMS bound to java:/myWMS
 
 I removed the jboss-auto config file and moved the drivers jar-file to
 lib/ext. I can access the database with isqlview which uses the same
 driver. I trimmed the jbos.jcml to the necessary stuff that i guess it's
 necessary.
 
 What is wrong with my configuration?
* * *
!-- JDBC --
   !-- Drivers that could be used by jBoss --
   mbean code=org.jboss.jdbc.JdbcProvider
   name=DefaultDomain:service=JdbcProvider
 attribute
 name=Driversorg.postgresql.Driver,org.hsql.jdbcDriver/attribute
   /mbean
 
   mbean code=org.jboss.jdbc.XADataSourceLoader
   name=DefaultDomain:service=XADataSource,name=myWMS
 attribute name=PoolNamemyWMS/attribute
 attribute
 
name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl/attribute
 
 attribute name=Properties/attribute
 attribute name=URLjdbc:PostgreSQL://mona/myWMS/attribute
 attribute name=GCMinIdleTime120/attribute
 attribute name=JDBCUserbuerger/attribute
 attribute name=MaxSize10/attribute
 attribute name=Password /
 attribute name=GCEnabledfalse/attribute
 attribute name=InvalidateOnErrorfalse/attribute
 attribute name=TimestampUsedfalse/attribute
 attribute name=Blockingtrue/attribute
 attribute name=GCInterval12/attribute
 attribute name=IdleTimeout180/attribute
 attribute name=IdleTimeoutEnabledfalse/attribute
 attribute name=LoggingEnabledfalse/attribute
 attribute name=MaxIdleTimeoutPercent1.0/attribute
 attribute name=MinSize0/attribute
   /mbean



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