Posted: Tue Jun 29, 2010 8:18 am Post subject: JNDI issue with Broker- Locating XML file
Novice
Joined: 19 Mar 2010 Posts: 15
Hi All,
I am calling a Java API via a JCN node. This API consist of collection of JAR files, which have placed in "shared-classes".
The API internally creates a JNDI lookup (com.sun.jndi.dsml.DsmlCtxFactory) to get the name of service implementation class. All the details for lookup are stored in XML file, whose location is configurable by properties file attached in the JAR file.
Naw, API is able to access the properties file, but the JAVA classes are not able to access the XML file which holds all information details. The path for this XML file is configurable in property file.
We have tried all options, but we are not able to figure out how to provide the file to the JAVA application running inside Broker.
NOTE: This API works fine if we execute it as standalone JAVA application.
Please let me know if there is any things need to be considered before providing file location in broker.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum