tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Custom ".properties" file
Date Tue, 10 Jul 2012 00:34:05 GMT
can you share the way you load it (to avoid us to try several things before
reproducing)?

- Romain


2012/7/10 s0dz <garrett.mctear@gmail.com>

> I placed it in the /lib directory.
>
> It is a static class that loads it on OpenEJB startup.  It works in tomcat
> in this location, but not in OpenEJB.
>
> On Mon, Jul 9, 2012 at 4:58 PM, Romain Manni-Bucau [via OpenEJB] <
> ml-node+s979440n4656192h62@n4.nabble.com> wrote:
>
> > Hi,
> >
> > where is the file? when do you load it?
> >
> > - Romain
> >
> >
> > 2012/7/10 s0dz <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4656192&i=0>>
> >
> >
> > > I am working on replacing my company's old school framework with an
> > > ActiveMQ/OpenEJB solution.  It has been going smoothly with
> re-factoring
> > > code and implementing OpenEJB.  This was until I ran into a slight
> > problem:
> > >
> > > I cannot figure out how to load in a "custom.properties" that contains
> > > various important properties custom to my company's software.  The .jar
> > > that
> > > actually does the accessing is working.  But it appears the classloader
> > is
> > > not finding "custom.properties."
> > >
> > > Any ideas?
> > >
> > > Thanks!
> > > Garrett
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://openejb.979440.n4.nabble.com/Custom-properties-file-tp4656190.html
> > > Sent from the OpenEJB User mailing list archive at Nabble.com.
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://openejb.979440.n4.nabble.com/Custom-properties-file-tp4656190p4656192.html
> >  To unsubscribe from Custom ".properties" file, click here<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4656190&code=Z2FycmV0dC5tY3RlYXJAZ21haWwuY29tfDQ2NTYxOTB8MjEwMjIwOTU1Mg==
> >
> > .
> > NAML<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Custom-properties-file-tp4656190p4656194.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message