My understanding is that for a WebSphere Application Server instance to support JMS, any administered objects must be placed in the JNDI namespace of that instance of the application server.
So my question is: can an instance of WebSphere application server support JMS, if it does not have it's own connection factory. I.e. can a program running in that app server instance connects directly to the connection factory on another server (on the same machine) using a provider url of "iiop://localhost:<port#>"?
I would be interested to know what you think about this.
I thought so too. I can connect in a stand alone application to the remote server fine. However, as soon as I run the same code from the app server without the ConnectionFactory the lookup method on InitialContext the following message is sent to the console:
javax.naming.NameNotFoundException: Context: myPCNode02Cell/nodes/myPCNode02/servers/server1, name: jms/loadNewRecordsCF: First component in name loadNewRecordsCF not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL mg.org/CosNaming/NamingContext/NotFound:1.0]
Is there some other configuration that needs to be set?