ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JNDI issue with Broker- Locating XML file

Post new topic  Reply to topic
 JNDI issue with Broker- Locating XML file « View previous topic :: View next topic » 
Author Message
vikashsharma85
PostPosted: Tue Jun 29, 2010 8:18 am    Post subject: JNDI issue with Broker- Locating XML file Reply with quote

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.

Thanks...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 29, 2010 8:30 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So the properties file is read correctly, and contains a path to another file that is not read correctly.

Is the path a full path or a relative path?

What is the error in trying to read the path?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JNDI issue with Broker- Locating XML file
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.