David, If you don't mind, would you share that code us? Very appreciated.
Thanks, Mitchell -----Original Message----- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 10:05 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] How to use application specific properties You can also use the ClassPathExtension mbean (in org.jboss.deployment) to explicitly load a file into the classpath and access it as a resource. I wrote it to get a license file needed by a driver into the classpath. david jencks On 2002.09.12 08:01:10 -0400 Scott M Stark wrote: > Use the SystemPropertiesService. See the > server/default/deploy/properties-service.xml > for details. > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > ----- Original Message ----- > From: "Jon Haugsand" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, September 12, 2002 4:14 AM > Subject: [JBoss-user] How to use application specific properties > > > > We have a local property file containg such things like name of > > machines, files, ip-addresses and such for legacy interfaces. I found > > out (the hard way) that I could place this file in the > > ${JBOSS_HOME}/bin directory, presumably because it is from there we > > run the server. It shouldn't stay there of course, and further we > > need it within the client too. > > > > I know we could use some property mechanism within ejb-jar.xml, but I > > cannot figure out how to get this with XDoclet and I am not sure I > > like this because different machines/servers need different > > properties. > > > > Is there a Right (tm) way to do this? > > > > -- > > Jon Haugsand, <[EMAIL PROTECTED]> > > Norges Bank, <http://www.norges-bank.no> > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user