Hello Anthony, It worked with the option -DOJB. Thank you very much. al. ----- Original Message ----- From: "Anthony Kong" <[EMAIL PROTECTED]> To: "'OJB Users List'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 3:33 AM Subject: RE: newbie question about repository and ojb properties
> Hi, Alex, > > If OJB.properties is on the path, it should be found. So, first fo all, > double check if the file is readlly on the path. I have a perl script which > does just this. (See attached) > > Otherwise, you may consider adding -DOJB.properties=<file location> as a > parameter to your java application. > > > Regards, > > Anthony > > > > -----Original Message----- > From: Alexandre Alvarez Martini Santos [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 5:47 AM > To: OJB List > Subject: newbie question about repository and ojb properties > > > Hello all, > My application cant find the OJB properties file either open the repository, > although both are in CLASSPATH. > ( > This is part of my repository.xml: > > <jdbc-connection-descriptor > platform="MsSQLServer" > jdbc-level="2.0" > driver="com.microsoft.jdbc.sqlserver.SQLServerDriver" > protocol="jdbc" > subprotocol="microsoft:sqlserver" > dbalias="//localhost:1433;DatabaseName=lot;SelectMethod=cursor" > username="sa" > password="*****" > > /> > > Is there something wrong? I am using win2000 pro (without ServicePack) and > sql server 2000 personal edition > Thanks in advance. > al. > > ---------------------------------------------------------------------------- ---- > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>