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 IndexIBM MQ Telemetry / Low Latency Messaging / EveryplaceCan't delete MQTT channel

Post new topicReply to topic
Can't delete MQTT channel View previous topic :: View next topic
Author Message
crashdog
PostPosted: Mon Sep 03, 2018 6:31 am Post subject: Can't delete MQTT channel Reply with quote

Apprentice

Joined: 02 Apr 2017
Posts: 29
Location: Schaffhausen

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 04, 2018 1:07 am Post subject: Reply with quote

Grand High Poobah

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

Did you stop the MQTT service (listener) first?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
crashdog
PostPosted: Tue Sep 04, 2018 2:39 am Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2017
Posts: 29
Location: Schaffhausen

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 04, 2018 4:03 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20124
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
View user's profile Send private message Send e-mail
crashdog
PostPosted: Tue Sep 04, 2018 9:42 am Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2017
Posts: 29
Location: Schaffhausen

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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Telemetry / Low Latency Messaging / EveryplaceCan't delete MQTT channel
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.