[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Creating URL Resource

njtajboss do-not-reply at jboss.com
Thu Jun 26 15:59:55 EDT 2008


Let me be more specific...

The code is something like this

String propertyUrl = "url/myURLFilePprocessor";
            ic = new InitialContext();
            java.net.URL url = (java.net.URL) ic.lookup(propertyUrl);
            if (url != null) {
                propertyFile = url.getPath();
                logger.info(" PROPERTY FILE NAME IS : " + propertyFile);
            }

In Websphere there is way to create the url resource wherein you can define the file location for the url jndi...how do u do it in jBoss?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160976#4160976

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160976



More information about the jboss-user mailing list