Haven't found something in the mailarchives about this (besides to check that the database is running, which is true): --- [[JdbcProvider] Initializing [JdbcProvider] Loaded JDBC-driver:org.hsql.jdbcDriver [JdbcProvider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JdbcProvider] Loaded JDBC-driver:org.postgresql.Driver [JdbcProvider] Initialized --- So the driver seems to be loaded, but using the following configuration in jboss.jcml: --- <mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=PostgresDB"> <attribute name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attribute> <attribute name="PoolName">PostgresDS</attribute> <attribute name="URL">jdbc:postgresql://localhost/ods</attribute> <attribute name="JDBCUser">user</attribute> <attribute name="Password">password</attribute> </mbean> -- results in: --- [XADataSourceLoader] Starting [PostgresDS] XA Connection pool PostgresDS bound to java:/PostgresDS [XADataSourceLoader] Stopped java.lang.NullPointerException at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178) at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:407) at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107) 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:836) at $Proxy0.start(Unknown Source) at org.jboss.util.ServiceControl.start(ServiceControl.java:81) 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.Main.<init>(Main.java:210) at org.jboss.Main$1.run(Main.java:116) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.Main.main(Main.java:112) [Configuration] java.lang.NullPointerException [Configuration] at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:178) [Configuration] at org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:407) [Configuration] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107) [Configuration] at java.lang.reflect.Method.invoke(Native Method) [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Configuration] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836) [Configuration] at $Proxy0.start(Unknown Source) [Configuration] at org.jboss.util.ServiceControl.start(ServiceControl.java:81) [Configuration] at java.lang.reflect.Method.invoke(Native Method) [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Configuration] at org.jboss.Main.<init>(Main.java:210) [Configuration] at org.jboss.Main$1.run(Main.java:116) [Configuration] at java.security.AccessController.doPrivileged(Native Method) [Configuration] at org.jboss.Main.main(Main.java:112) [XADataSourceLoader] Starting --- Still running JBoss 2.4.1 on Linux. Any Ideas? Mariano On Friday 14 September 2001 10:24, Mariano Kamp wrote: > Sebastian, > > thanks for caring. > > Kind of ;-) I have it in the ext/lib directory of my JDK. And the > postgres driver was loaded. The class not loaded is the > org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl. > > Does anybody know from which jar file this should come? > > Mariano > > On Thursday 13 September 2001 16:42, Sebastian Hauer wrote: > > Hi Mariano, > > > > Mariano Kamp wrote: > > > I tried to setup a postgres datasource. Unfortunately the log says > > > that it doesn't find the am class. > > > > > > I am using jboss 2.4.1. Do I have to add a particular jar to the > > > installation? > > > > did you copy the PostgreSQL jdbc driver to the $JBOSS_HOME/lib/ext > > directory? > > > > Bye, > > > > Sebastian > > > > _______________________________________________ > > 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 mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user