2 Replies Latest reply: Feb 2, 2012 9:54 AM by Eric B RSS

How to create a JNDI string value on AS7?

Eric B Newbie

Hi,


I'm looking to create a JNDI lookup for a String resource, but can't quite figure out how to configure it in AS7.  I looked in the standalone-preview.xml file, but do not see any examples that would enable me to understand how I can configure a JNDI lookup with a simple string (URL) as a return value.   I tried looking through the docs, but do not see anything there either.

 

From https://community.jboss.org/message/644991#644991, I believe that this can be done by adding an object-factory binding to the naming subsystem, but I cannot find any documentation on how do define the object-factory and/or even what it is or how it works (ie: what parameters must be set, what the parameters mean, etc).

 

Can anyone point me in the right direction please?


Thanks,


Eric