Re: java.lang.ExceptionInInitializerError

2004-05-08 Thread Mark Spritzler
Thanks for the logging information. I got it into JBoss. Meanwhile, yesterday I solved my problems. It seems that OJB works backwards when it comes to 1:1 relations, and with tons of tweaking and two weeks later, it now saves the Parent and the Child record, and I can move on. Thanks for the

Re: java.lang.ExceptionInInitializerError

2004-05-07 Thread Mark Spritzler
If yes enable 'debug' log level for class org.apache.ojb.broker.metadata.RepositoryXmlHandler and org.apache.ojb.broker.metadata.ConnectionDescriptorXmlHandler in JBoss logging properties file to see more detailed what's going wrong. How do you do that? I looking in a lot of JBoss files and

Re: java.lang.ExceptionInInitializerError

2004-05-04 Thread Fiona Magner
: java.lang.ExceptionInInitializerError Hi Mark, I know I am getting connected to the database. I have a datasource in JBoss, and before I got this error, I got other errors that showed that it was connecting to the database, like Access Denied to user blah. I'm not sure that I

java.lang.ExceptionInInitializerError

2004-05-03 Thread Mark Spritzler
. 2004-05-03 13:58:54,701 ERROR [org.jboss.web.localhost.Engine] - Root Cause - java.lang.ExceptionInInitializerError at org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.createNewBrokerInstance(PersistenceBrokerFactoryBaseImpl.java:85

Exception in thread main java.lang.ExceptionInInitializerError

2004-02-14 Thread Sven Alisch
Hi ML, after i copied all files (including OJB.properties and repository.xml) in ../ressources to the path where my class-files are situated, the i get new error messages like these: Hello OJB! Exception in thread main java.lang.ExceptionInInitializerError

Re: Exception in thread main java.lang.ExceptionInInitializerError

2004-02-14 Thread Armin Waibel
to the path where my class-files are situated, the i get new error messages like these: Hello OJB! Exception in thread main java.lang.ExceptionInInitializerError at org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.getDefaultKey(Unknown Source

Re: java.lang.ExceptionInInitializerError using OJB with Struts

2004-02-12 Thread Bilge (Erkan) Yuceer
Dear Armin, The problem is solved, and the reason was very strange. I was editing the jdbc-type with capital letters as seen below. Then I tried to wirte it in small letters as integer, and it worked. I guess it is something to do with the capital I letter. In Turkish the capital of i is

Re: java.lang.ExceptionInInitializerError using OJB with Struts

2004-02-11 Thread Armin Waibel
application with the same repository files, and everything worked well. What could be the reason of the following errors in a web application (Struts) environment? Thanks in advance, Bilge --- java.lang.ExceptionInInitializerError

Re: java.lang.ExceptionInInitializerError using OJB with Struts

2004-02-11 Thread Bilge (Erkan) Yuceer
Hi Armin, Thanks a lot for your answer. I enabled DEBUG mode for the class org.apache.ojb.broker.metadata.RepositoryXmlHandler. I get the following output in catalina.out file (log output file of Tomcat) while I get the next output from my standalone application. As I have mentioned before

Re: java.lang.ExceptionInInitializerError using OJB with Struts

2004-02-11 Thread Armin Waibel
Hi again, I was wrong with my previous mail, all looks fine you set the jdbc type. Caused by: org.apache.ojb.broker.OJBRuntimeException: The type INTEGER can not be handled by OJB. Please specify only types as defined by java.sql.Types. hmm, could there be a space in the jdbc type declaration

Help Request - java.lang.ExceptionInInitializerError

2003-07-11 Thread Jim Shingler
and repository below. Thoughts? java.lang.ExceptionInInitializerError at org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.buildDefa ultKey(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.(Unknown Source