Hi Thomas

In fact I have been obliged to add System.out element in code to be able to get a trace.
Now I have a full trace.
But I still don't know what to do to solve my problem.


For your info dbManager is a JINI service,

Thank's for your help :


Andre

STARTING DBMANAGER !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[BOOT] WARN: Value "org.apache.ojb.odmg.collections.DListImpl_2" is illegal for key "OqlCollectionClass" (should be a class, using default value class org.apache.ojb.odmg.collections.DListImpl)
BEGIN getLogger org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl
New LoggingConfiguration
LoggingConfiguration load oggerFactory.getBootLogger
LoggingConfiguration load ClassHelper.getClassLoader
LoggingConfiguration load the OJB-logging.properties
LoggingConfiguration load ojbLoggingPropFile = OJB-logging.properties
LoggingConfiguration contextLoader
LoggingConfiguration contextLoader.getResourceAsStream(OJB-logging.properties)
Found logging properties file OJB-logging.properties
LoggingConfiguration load ojbLoggingPropFile exception java.lang.NullPointerException
LoggingConfiguration load the OJB.properties file
LoggingConfiguration load ojbPropFile = OJB.properties
LoggingConfiguration contextLoader.getResourceAsStream(OJB.properties)
Found OJB properties file OJB.properties
LoggingConfiguration load ojbPropFile exception java.lang.NullPointerException
still no logger configured - lets check whether commons-logging is configured
but perhaps there is a log4j.properties file ?
yep, so use log4j
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at org.apache.ojb.broker.util.ClassHelper.getClass(Unknown Source)
at org.apache.ojb.broker.util.ClassHelper.getClass(Unknown Source)
at org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractImpl.getClass(Unknown Source)
at org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractImpl.getClass(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.init(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.<clinit>(Unknown Source)
at org.apache.ojb.broker.PersistenceBrokerFactory.defaultPersistenceBroker(Unknown Source)
at org.compiere.mfg_scm.dbManager.TaskConsumer.<init>(Unknown Source)
at org.compiere.mfg_scm.dbManager.DbManagerImpl.createTaskConsumer(Unknown Source)
at org.compiere.mfg_scm.dbManager.DbManagerImpl.addTaskConsumer(Unknown Source)
at org.compiere.mfg_scm.dbManager.DbManagerImpl.initialize(Unknown Source)
Caused by: java.lang.NullPointerException
at org.apache.ojb.broker.util.logging.LoggerFactoryImpl.getLogger(Unknown Source)
at org.apache.ojb.broker.util.logging.LoggerFactory.getLogger(Unknown Source)
at org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.<clinit>(Unknown Source)
... 19 more




Thomas Dudziak wrote:

Hale India wrote:

Hi Thomas

I have built after changing jar to jar-debug
Then I have rebuilt my project using the new jars
but when I run my appl I don't get more info.


You should get more info because the stacktrace now contains line numbers which help locating the place in OJB where the error happens. Please post this *complete* stacktrace.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to