Hi Martyn,

Christian give you the answer of your problem: 
The value of the 'jonas.datasources' property must be 'PostgreSQL'
instead of 'PostgreSQL.properties'.
Nevertheless, it is a bug to output a such dirty message.
We will fix it in a next release.

Bests regards.
Hélène.

Martyn Wilson wrote:
> 
> I have tried again to set up JONAS to run the examples.
> 
> Now I get this:
> 
> bash-2.03# EJBServer &
> [2] 1282
> bash-2.03# JOnAS Server, version 2.0, running on rmi.
>  Cannot create ConnectionManager for null
> JOnAS: Cannot start DataBase Manager
> java.lang.NullPointerException
>         at java.util.Hashtable.put(Compiled Code)
>         at
> org.objectweb.jonas.dbm.ConnectionManager.setDataSourceName(Connectio
> nManager.java:548)
>         at
> org.objectweb.jonas.dbm.DataBaseManager.createConnectionManager(DataB
> aseManager.java:114)
>         at
> org.objectweb.jonas.dbm.DataBaseManager.createConnectionManagers(Comp
> iled Code)
>         at org.objectweb.jonas.server.Server.main(Server.java:100)
> 
> [2]+  Exit 2                  EJBServer
> 
> Here is my jonas.properties file in the $JONAS_ROOT/examples/src/eb
> directory:
> 
> jonas.beans.descriptors       ejb-jar.xml
> 
> jonas.datasources               PostgreSQL.properties
> 
> Here is my jndi.properties file:
> 
> ###################### JNDI configuration
> # Please refer to the JNDI documentation for further details.
> # You must adapt <hostname> and maybe the port number (1099 by default)
> # depending on your configuration.
> 
> # If you use Jeremie only
> #java.naming.factory.initial
> org.objectweb.jeremie.libs.services.registry.jnd
> i.JRMIInitialContextFactory
> #java.naming.provider.url       jrmi://<hostname>:1099
> 
> # if you use rmi only
> java.naming.factory.initial
> com.sun.jndi.rmi.registry.RegistryContextFactory
> java.naming.provider.url        rmi://63.77.18.10:1099
> 
> # In both cases
> java.naming.factory.url.pkgs    org.objectweb.jonas.naming
> 
> Here is my $CLASSPATH after running config.env and using XTRA_CLASSPTH:
> 
> bash-2.03# echo $CLASSPATH
> /usr/local/jonas_jdk1.2:/usr/local/jonas_jdk1.2/PostgreSQL.properties:/usr/local
> 
> /j2sdkee1.2.1/lib/j2ee.jar:/usr/local/jonas_jdk1.2/examples/classes:/usr/local/l
> 
> ib/jndi.jar:/usr/local/lib/providerutil.jar:/usr/local/lib/rmiregistry.jar:/usr/
> 
> local/lib/ejb.jar:/usr/local/lib/jta-spec1_0_1.jar:/usr/local/lib/jdbc2_0-stdext
> 
> .jar:/usr/local/jonas_jdk1.2/lib/RMI_jonas.jar
> 
> Where I am I going wrong?
> 
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       PLEASE, TAKE INTO ACCOUNT MY NEW EMAIL
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to