|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Can't delete MQTT channel |
« View previous topic :: View next topic » |
Author |
Message
|
crashdog |
Posted: Mon Sep 03, 2018 6:31 am Post subject: Can't delete MQTT channel |
|
|
 Voyager
Joined: 02 Apr 2017 Posts: 77
|
Hello,
On MQ 8.0.0.8 I've created an MQTT channel. Eventhough the service is running I can't delete the cannel. The error is "object unknown".
However I can display it:
DISPLAY CHL(SYSTEM.DEF.MQTT) TYPE(MQTT)
...
CHANNEL(SYSTEM.DEF.MQTT) CHLTYPE(MQTT)
TRPTYPE(TCP) PORT(1883)
LOCLADDR( ) MCAUSER( )
USECLTID(NO) BACKLOG(4096)
DESCR( ) SSLCIPH( )
SSLCAUTH(NEVER) SSLKEYP( )
SSLKEYR( ) JAASCFG( )
PROTOCOL(MQTTV3,MQTTV311,HTTP)
DELETE CHL(SYSTEM.DEF.MQTT) TYPE(MQTT)
3 : delete CHANNEL(SYSTEM.DEF.MQTT) CHLTYPE(MQTT)
AMQ8227: Channel SYSTEM.DEF.MQTT not found.
Nothing to see in any logfile.. no FDC thrown.
Is this PMR stuff or am I missing something ?
Cheers,
Gerhard _________________ You win again gravity ! |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 04, 2018 1:07 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you stop the MQTT service (listener) first?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
crashdog |
Posted: Tue Sep 04, 2018 2:39 am Post subject: |
|
|
 Voyager
Joined: 02 Apr 2017 Posts: 77
|
That's the tricky bit, the service has to be running in order to access any MQTT object. If I stop the service I also get an Channel ... not found when I try to display it. _________________ You win again gravity ! |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 04, 2018 4:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
if you want to delete it you will have to stop the service first.
And in order to see it you might have to add the type.
Don't delete system objects. Create a new one with type(MQTT) and delete it afterwards...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
crashdog |
Posted: Tue Sep 04, 2018 9:42 am Post subject: |
|
|
 Voyager
Joined: 02 Apr 2017 Posts: 77
|
I'm not 100% sure but I think there is actually no SYSTEM.DEF.MQTT channel. It was suggested by the knowledge center's MQTT example to create it. (Of course I can't find it now ) but somewhere here : https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_7.5.0/com.ibm.mm.tc.doc/tc00130_.htm
I've tried both deleting it with the service running and with the service stopped with the same results.
The actual problem is that dumpmqcfg (all) will throw an error when the mqtt service is not running and there is any mqtt object existing, including SYSTEM.DEF.MQTT.
Anyway I've opened a PMR. Let's see what IBM says.
Cheers,
Gerhard _________________ You win again gravity ! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|