cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

ESI: Administered object "cn=queueConnectionFactory" is not the correct type: expected "Connection

jschramm
7-Bedrock

ESI: Administered object "cn=queueConnectionFactory" is not the correct type: expected "Connection

I am using Windchill PDMLink Release 13.1 and Datecode with CPS 13.1.2.0 and apache activemq 5.18.4

Hello,
after Upgrading our Windchill Testsystem from Version 12.1.2.9 to 13.1.2.0 the InfoEngineTask com\ptc\windchill\esi\SubscribeQueue.xml
fails with the following error message in Methodserver.log:
...[Thread-11] wt.system.out wtadmin - ESI: Administered object "cn=queueConnectionFactory" is not the correct type: expected "ConnectionFactory"

The queueConnectionFactory is defined in OpenDJ.
The ldif looks like this:
dn: cn=queueConnectionFactory,cn=activemq,o=ptc
objectClass: javaContainer
objectClass: top
objectClass: javaObject
objectClass: javaNamingReference
javaFactory: org.apache.activemq.jndi.JNDIReferenceFactory
cn: queueConnectionFactory
javaClassName: org.apache.activemq.ActiveMQConnectionFactory
javaReferenceAddress: #0#brokerURL#tcp://localhost:61616

In windchill 12.1. this worked without issue. Why is it not working in Windchill 13 any more? Please help.

Best regards
Johannes


Here are the errors that I faced
2025-11-25 11:12:30,880 INFO [Thread-11] wt.system.out wtadmin - ESI: Administered object "cn=queueConnectionFactory" is not the correct type: expected "ConnectionFactory"
2025-11-25 11:12:30,880 INFO [Thread-11] wt.system.out wtadmin - ESI: Unable to subscribe queue com.ptc.windchill.esi.Result
2025-11-25 11:12:30,884 INFO [Thread-11] wt.system.err wtadmin - (com.infoengine.util.IEResource/132) com.infoengine.exception.fatal.IEFatalServiceException: Administered object "cn=queueConnectionFactory" is not the correct type: expected "ConnectionFactory"
2025-11-25 11:12:30,884 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.messaging.MsgService.lookupConnectionFactory(MsgService.java:1434)
2025-11-25 11:12:30,884 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.messaging.MsgService.getConnectionFactory(MsgService.java:513)
2025-11-25 11:12:30,884 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.messaging.MsgService.initializeQueueSupport(MsgService.java:373)
2025-11-25 11:12:30,885 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.messaging.MsgService.getMsgService(MsgService.java:280)
2025-11-25 11:12:30,885 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.webject.msg.SubscribeQueue.invoke(SubscribeQueue.java:23)
2025-11-25 11:12:30,885 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.procunit.webject.WebjectProcessor.invokeWebject(WebjectProcessor.java:624)
2025-11-25 11:12:30,885 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.procunit.webject.WebjectProcessor.processTask(WebjectProcessor.java:210)
2025-11-25 11:12:30,885 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.SAK.Webject.invoke(Webject.java:492)
2025-11-25 11:12:30,885 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.compiledTasks.file.D$3a$5cptc$5cWindchill_13$2e1$5cWindchill$5ctasks.com.ptc.windchill.esi.subscribequeue.invoke(subscribequeue.java:112)
2025-11-25 11:12:30,886 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.SAK.Task.invoke(Task.java:1813)
2025-11-25 11:12:30,886 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.SAK.Task.invoke(Task.java:1721)
2025-11-25 11:12:30,886 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.compiledTasks.file.D$3a$5cptc$5cWindchill_13$2e1$5cWindchill$5ctasks.com.ptc.windchill.esi.subscribequeues$2exml.invoke(subscribequeues$2exml.java:105)
2025-11-25 11:12:30,886 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.SAK.Task.invoke(Task.java:1813)
2025-11-25 11:12:30,887 INFO [Thread-11] wt.system.err wtadmin - at com.infoengine.SAK.Task.invoke(Task.java:1721)
2025-11-25 11:12:30,887 INFO [Thread-11] wt.system.err wtadmin - at wt.federation.StandardFederationService$TaskRunner.run(StandardFederationService.java:2753)

1 REPLY 1

Hi @jschramm,

Thank you for your question. 

Your post has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.
Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best Regards,

Vivek N

Community Moderation Team

Announcements
Top Tags