Hi, put your ojb.properties-File to the src-folder of your project: "workspace/myProject/src/" Have a look at your eclipse project-config (look for "Build Path").
All content from this folder will be compiled (if java source code) and copied to WEB-INF/classes. I hope, this will help. Best regards Frank -----Urspr�ngliche Nachricht----- Von: Vamsi Atluri [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 19. M�rz 2005 01:15 An: OJB Users List Betreff: Re: How does OBJ find it's Config (Eclipse Plugin) If you have a web application, the OJB.properties will be found if placed under WEB-INF/classes folder. But there is a problem with this folder. If you rebuild the entire project, the classes folder is wiped out first. So, your OJB.properties file will be lost. I am still trying to find a solution this problem. However, I am using WSAD. I am sure the behavior will be similar in Eclipse. Hope this helps. -Vamsi --- Robert Einsle <[EMAIL PROTECTED]> wrote: > Hy List, > > i'm wondering, OBJ don't find its config in an Eclipse Plugin (or > Eclipse RCP). Starting the Application, while loading OBJ, it reports > me: > > --- cut --- > [BOOT] WARN: Could not load properties file 'OJB.properties'. Using > default settings! > /home/re/OJB.properties (Datei oder Verzeichnis nicht gefunden) > java.io.FileNotFoundException: /home/re/OJB.properties (Datei oder > Verzeichnis nicht gefunden) > --- cut --- > > Eclipse workspace is in /home/re/workspaces/lakon > > Normaly OBJ loads its config over the Classloader,, but here, it will > not work. > > I don't knew what to do, hope, someone here can help me. > > Thanks. > > \Robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- 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]
