You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by CLARAMONTE Jean-Baptiste <jb...@aston.fr> on 2003/03/27 14:45:54 UTC
Arichive Mailing list problem : the body of the messages can't be
seen ?
-----Message d'origine-----
De : Vincenz Braun [mailto:vb@evelox.de]
Envoyé : mercredi 26 mars 2003 16:14
À : ojb-user@db.apache.org
Objet : Newbie questions (oracle and ojb setup) (posted because archive
unbrowsable)
Hi,
my first steps with ojb. Some questions have arised.
I post these because it is currently not possible to browse the archive
under
http://archives.apache.org/eyebrowse/SearchList?listName=ojb-user@db.apache.
org.
All message bodies are empty :-(
I want to use ojb with a sample oracle schema. I wonder where to specify
the complete url. Has anybody a working example of the
repository_database.xml
with oracle.
Second I always get this Exception when trying to setup OJB.
[org.apache.ojb.broker.metadata.ConnectionRepository] INFO: Could not found
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor for PBKey
org.apache.ojb.broker.PBKey: repository=repository.xml, user=null,
password=null
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
at
org.apache.ojb.broker.platforms.PlatformFactory.getPlatformFor(Unknown
Source)
[...]
Code Snippet:
Implementation odmg = OJB.getInstance();
Database db = odmg.newDatabase();
//open database
try {
db.open(
"repository.xml",
Database.OPEN_READ_WRITE);
} catch (ODMGException ex) {
ex.printStackTrace();
}
Third can anyone tell me where to report the problem with the archive?
What is the problem?
Thanks in advance,
Vincenz
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org