[JBoss-user] [Beginners Corner] - Re: Properties and name collisions

2006-05-04 Thread dtseiler
Forgot about the name collisions, that had to do with wondering if one bean would see another beans properties and should it prefix its own properties to avoid name collisions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941301#3941301 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Properties for a remote access to EJB

2006-03-15 Thread adamwynne
You can put the following into a jndi.properties file: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=localhost:1099 View the original post :

[JBoss-user] [Beginners Corner] - Re: Properties

2005-02-05 Thread jleveille
Do you have experience loading properties froma file in JBoss 3.x? I have done that a lot and never had trouble. I am sorry to say that I don't have JBoss 4.0 experience so I cannot comment on any differences that arise from the version change. In 3.x we put properties files in the

[JBoss-user] [Beginners Corner] - Re: Properties

2005-02-04 Thread mathewa
Not sure if you mean for a client application to call a bean within jboss deployed app, such as a jndi.properties file or whether its for your application to gain access to a properties file programatically, such as getClassLoader().getResourceAsStream(??.properties). but in either case, it

[JBoss-user] [Beginners Corner] - Re: Properties

2005-02-04 Thread ahsna_jq
Hi, Im also facing same problem, both on tomcat and Jboss. I also cannt load Properties file from Web archive WAR file. Please reply View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3865230#3865230 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Properties

2005-02-04 Thread ahsna_jq
Well, basically Im trying to load property file from my Java class, its not a Servlet but bundled within a WAR file. So I cannt use ServletContext.getResourceAsStream() and GetClass().getResourceAsStream either. Whenever im trying File file = new File(db.properties); Properties prop = new