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
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
: 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
.
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
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
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
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
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
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
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
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
11 matches
Mail list logo