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 » IBM MQ Java / JMS » Failed to create connection factory

Post new topic  Reply to topic
 Failed to create connection factory « View previous topic :: View next topic » 
Author Message
krisrock
PostPosted: Tue May 27, 2008 3:08 pm    Post subject: Failed to create connection factory Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

Hi,

I am trying to use MQ connection factory to make application server communicate to MQ. I am getting the following error. Please help me figure out the issue.
All the properties seem to be correct.


[5/27/08 18:51:41:824 EDT] 0000000a ContainerImpl E WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ApplicationServerImpl]
com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.runtime.component.binder.ResourceBindingException: invalid configuration passed to resource binding logic. REASON: Failed to create connection factory: Error raised constructing AdminObject, error code: :
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProvider(ResourceMgrImpl.java:1031)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResource(ResourceMgrImpl.java:904)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResources(ResourceMgrImpl.java:844)
at com.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(ResourceMgrImpl.java:673)
at com.ibm.ws.runtime.component.ResourceMgrImpl.start(ResourceMgrImpl.java:550)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:406)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
at java.lang.Thread.run(Thread.java:568)
Caused by: com.ibm.ws.runtime.component.binder.ResourceBindingException: invalid configuration passed to resource binding logic. REASON: Failed to create connection factory: Error raised constructing AdminObject, error code: :
at com.ibm.ejs.jms.JMSConnectionFactoryReferenceable.<init>(JMSConnectionFactoryReferenceable.java:147)
at com.ibm.ejs.jms.JMSResourceRefBuilderImpl.createNonGenericConnectionFactoryReferenceable(JMSResourceRefBuilderImpl.java:617)
at com.ibm.ejs.jms.JMSResourceRefBuilderImpl.createNonGenericConnectionFactoryReferenceable(JMSResourceRefBuilderImpl.java:582)
at com.ibm.ejs.jms.JMSResourceRefBuilderImpl.createMQConnectionFactoryReferenceable(JMSResourceRefBuilderImpl.java:512)
at com.ibm.ws.runtime.component.binder.MQConnectionFactoryBinder.getBindingObject(MQConnectionFactoryBinder.java:193)
at com.ibm.ws.runtime.component.ResourceMgrImpl.bind(ResourceMgrImpl.java:322)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProvider(ResourceMgrImpl.java:1022)
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 27, 2008 7:08 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Looks like your JNDI setup is not done right and your QCF/TCF request is returning a null object...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
krisrock
PostPosted: Wed May 28, 2008 6:31 am    Post subject: Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

How can I determine which configuration of JNDI is not corrrect?
Back to top
View user's profile Send private message
krisrock
PostPosted: Wed May 28, 2008 9:46 am    Post subject: Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

I changed the transport type in MQ queue connection properties to BINDINGS...

Now I seem to get the error code

[5/28/08 13:41:29:009 EDT] 0000000a ContainerImpl E WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ResourceMgrImpl]
com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.runtime.component.binder.ResourceBindingException: invalid configuration passed to resource binding logic. REASON: Failed to create connection factory: Error raised constructing AdminObject, error code: XAQCF FIQ : XAQCF FIQ
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProvider(ResourceMgrImpl.java:1031)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResource(ResourceMgrImpl.java:904)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResources(ResourceMgrImpl.java:844)
at com.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(ResourceMgrImpl.java:673)
at com.ibm.ws.runtime.component.ResourceMgrImpl.start(ResourceMgrImpl.java:550)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:406)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
at java.lang.Thread.run(Thread.java:568)
Caused by: com.ibm.ws.runtime.component.binder.ResourceBindingException: invalid configuration passed to resource binding logic. REASON: Failed to create connection factory: Error raised constructing AdminObject, error code: XAQCF FIQ : XAQCF FIQ
at com.ibm.ejs.jms.JMSConnectionFactoryReferenceable.<init>(JMSConnectionFactoryReferenceable.java:147)
at com.ibm.ejs.jms.JMSResourceRefBuilderImpl.createNonGenericConnectionFactoryReferenceable(JMSResourceRefBuilderImpl.java:617)
at com.ibm.ejs.jms.JMSResourceRefBuilderImpl.createNonGenericQueueConnectionFactoryReferenceable(JMSResourceRefBuilderImpl.java:369)
at com.ibm.ejs.jms.JMSResourceRefBuilderImpl.createMQQueueConnectionFactoryReferenceable(JMSResourceRefBuilderImpl.java:346)
at com.ibm.ws.runtime.component.binder.MQQueueConnectionFactoryBinder.getBindingObject(MQQueueConnectionFactoryBinder.java:191)
at com.ibm.ws.runtime.component.ResourceMgrImpl.bind(ResourceMgrImpl.java:322)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProvider(ResourceMgrImpl.java:1022)
... 21 more




What does error code : XAQCF FIQ state?


Please help mw out...
Back to top
View user's profile Send private message
krisrock
PostPosted: Wed May 28, 2008 9:51 am    Post subject: Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

The below link talks abt this exception

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/cmm_customprops.html

But How do i go about changing the custom property?
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 » IBM MQ Java / JMS » Failed to create connection factory
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.