My solution is generic. It does not depend on any features found in any application server. It relies entirely on the system property capability build into the JVM itself. Thus the Java code is the same for all app servers.
True, each app server uses a different mechanism to start the server, and thus how you get the system property to the JVM is different for each one. But that is usually a script file which is easy to change.
And also, if JBossAS did have a general JNDI initialization service, you would still have to configure JBossAS differently from WebSphere. So no matter what, you will have to do something differently to configure each app server to get the property file name.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161548#4161548
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161548