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 Jason Pyeron <jp...@pyerotechnics.com> on 2003/12/03 15:15:07 UTC

OJB.properties/repository.xml in a jar file? Was Re: Problems using Tomcat + OJB

We are trying to deploy an application as a single jar file. But we cant 
seem to get the OJB subsystem to load its files from inside the jar.

any suggestions?

Jason Pyeron


On Wed, 3 Dec 2003, Antonio Gallardo wrote:

> Rogerio Tambellini dijo:
> > Thanks for everyone, I just moved the files to WEB-INF/classes and worked.
> >
> > Unfortunatelly, in the OJB.properties, I had to write the fully static
> > directory to the repository file running at Tomcat.
> >
> > repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml
> 
> I just have:
> 
> repositoryFile=repository.xml
> 
> Also you need to deploy on the same dir:
> 
> OJB.properties and
> repository.dtd
> 
> That way I managed to have it working on Tomcat.
> 
> Best Regards,
> 
> Antonio Gallardo
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Partner & Sr. Manager         Pyerotechnics Development, Inc. -
- +1 (443) 451-2697             500 West University Parkway #1S -
- +1 (410) 808-6646 (c)         Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.




---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: OJB.properties/repository.xml in a jar file? Was Re: Problems using Tomcat + OJB

Posted by Gus Heck <gu...@olin.edu>.
Jason Pyeron wrote:

>We are trying to deploy an application as a single jar file. But we cant 
>seem to get the OJB subsystem to load its files from inside the jar.
>
>any suggestions?
>  
>
I suggest you provide the list with error messages and details about 
what you have tried that didn't work, assuming you have already googled 
and read the manual/ojb site ;). Btw did you mean war file above?

-Gus



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org