Hi Ralf,

complete log can be downloaded from:

http://morixs.com/stuff/Failure05.log

JDOConfLoader#loadConfiguration is called twice. At first call,
InputSource has an initialized Buffer. Second time InputSource has no
readerSource such FileReader etc.

Please have a look on our JDOManager initialization code:

private JDOManager getJDOManager()
    {
        if (manager == null)
        {
            try
            {

                JarEntityResolver pResolver = new JarEntityResolver();
// our own Resolver
                String strMappingLocation =
Configuration.getValue(CastorDS.class, "CastorMapping");
                InputSource pDatabaseConfiguration =
pResolver.resolveEntity(null, strMappingLocation);       
               
                JDOManager.loadConfiguration(pDatabaseConfiguration,
pResolver, null);


                manager = JDOManager.createInstance("MobileCare");

            } catch (Exception ex)
            {
                Log.getInstance().fatal("Fehler beim Einlesen der
Datenbankkonfiguration", ex);

                ICommand bailOut =
CommandDispatcher.getInstance().getAppCommand(CommandDispatcher.APP_CMD_BAILOUT);
                CommandDispatcher.getInstance().excecuteAppCommand(bailOut);
            }
        }
        return manager;
    }

We don't call loadConfig twice or more.

Thanks in andvance.

Andre Teubner

-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to