Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAS Base 7.0.0.19 JNDI Remote queue connection factory problem

 
David Finch
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey there,

I'm having trouble accessing a "Queue Connection Factory" located on server B from a distant server A (another physical machine) using JNDI.

If I'm running this code on server B instance, I don't have any problem viewing and accessing the "Queue Connection Factory" from the JNDI namespace and reading messages. But If I'm moving the code to another distant Websphere instance, then I don't see the "Queue Connection Factory" in the JNDI namespace anymore and obviously I receive a naming exception when I try to access the Queue Connection Factory itself.

Code (I've put in comment the access code to focus on the listing of the JNDI namespace)




Output on server B (See QueueConnectionFactory)

17/04/12 12:59:21:069 CEST 0000016e SystemOut O LocationServicesImplJNDIName
17/04/12 12:59:21:069 CEST 0000016e SystemOut O InstallmentServicesImplJNDIName
17/04/12 12:59:21:069 CEST 0000016e SystemOut O eis
17/04/12 12:59:21:069 CEST 0000016e SystemOut O GiftCenterServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O servername
17/04/12 12:59:21:084 CEST 0000016e SystemOut O ContentServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O JMSErrorQueue
17/04/12 12:59:21:084 CEST 0000016e SystemOut O jdbc
17/04/12 12:59:21:084 CEST 0000016e SystemOut O StoreServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O JMSInboundQueue
17/04/12 12:59:21:084 CEST 0000016e SystemOut O ejb
17/04/12 12:59:21:084 CEST 0000016e SystemOut O JMSOutboundQueue
17/04/12 12:59:21:084 CEST 0000016e SystemOut O cell
17/04/12 12:59:21:084 CEST 0000016e SystemOut O SearchServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O JMSSerialInboundQueue
17/04/12 12:59:21:084 CEST 0000016e SystemOut O WalletServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O services
17/04/12 12:59:21:084 CEST 0000016e SystemOut O com
17/04/12 12:59:21:084 CEST 0000016e SystemOut O MemberServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O QueueConnectionFactory
17/04/12 12:59:21:084 CEST 0000016e SystemOut O SubscriptionServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O jta
17/04/12 12:59:21:084 CEST 0000016e SystemOut O JMSParallelInboundQueue
17/04/12 12:59:21:084 CEST 0000016e SystemOut O PriceServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O OrderServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O CatalogServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O wm
17/04/12 12:59:21:084 CEST 0000016e SystemOut O MarketingServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O PromotionServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O InventoryServicesImplJNDIName
17/04/12 12:59:21:084 CEST 0000016e SystemOut O dmap
17/04/12 12:59:21:084 CEST 0000016e SystemOut O com.ibm.websphere.ejbcontainer
17/04/12 12:59:21:178 CEST 0000016e SystemOut O tm
17/04/12 12:59:21:178 CEST 0000016e SystemOut O thisNode
17/04/12 12:59:21:178 CEST 0000016e SystemOut O null
17/04/12 12:59:21:178 CEST 0000016e SystemOut O InfrastructureServicesImplJNDIName
17/04/12 12:59:21:178 CEST 0000016e SystemOut O ContractServicesImplJNDIName

Output on server A distant (missing QueueConnectionFactory and other specific objects)

17/04/12 13:03:03:212 CEST 00000139 SystemOut O iscportletservice
17/04/12 13:03:03:212 CEST 00000139 SystemOut O InstallmentServicesImplJNDIName
17/04/12 13:03:03:212 CEST 00000139 SystemOut O ejb
17/04/12 13:03:03:212 CEST 00000139 SystemOut O GiftCenterServicesImplJNDIName
17/04/12 13:03:03:212 CEST 00000139 SystemOut O dmap
17/04/12 13:03:03:212 CEST 00000139 SystemOut O InventoryServicesImplJNDIName
17/04/12 13:03:03:212 CEST 00000139 SystemOut O PriceServicesImplJNDIName
17/04/12 13:03:03:212 CEST 00000139 SystemOut O tm
17/04/12 13:03:03:212 CEST 00000139 SystemOut O jdbc
17/04/12 13:03:03:212 CEST 00000139 SystemOut O OrderServicesImplJNDIName
17/04/12 13:03:03:212 CEST 00000139 SystemOut O PromotionServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O services
17/04/12 13:03:03:228 CEST 00000139 SystemOut O jta
17/04/12 13:03:03:228 CEST 00000139 SystemOut O thisNode
17/04/12 13:03:03:228 CEST 00000139 SystemOut O com
17/04/12 13:03:03:228 CEST 00000139 SystemOut O CatalogServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O StoreServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O InfrastructureServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O servername
17/04/12 13:03:03:228 CEST 00000139 SystemOut O LocationServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O SearchServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O com.ibm.isc
17/04/12 13:03:03:228 CEST 00000139 SystemOut O WalletServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O MemberServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O wm
17/04/12 13:03:03:228 CEST 00000139 SystemOut O com.ibm.websphere.ejbcontainer
17/04/12 13:03:03:228 CEST 00000139 SystemOut O SubscriptionServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O MarketingServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O eis
17/04/12 13:03:03:228 CEST 00000139 SystemOut O cell
17/04/12 13:03:03:228 CEST 00000139 SystemOut O ContractServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O ContentServicesImplJNDIName
17/04/12 13:03:03:228 CEST 00000139 SystemOut O null

It is important to note that I did a dump space name on server B and that I can see the QueueConnectionFactory in it.

Is there a parameter to specify that the QueueConnectionFactory is available remotely on Websphere ? It is currently configured within the scope : Node=localhost,Server=server1. The security is disabled for the moment.

Any help would be very much appreciated.
Regards,
Nicolas
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic