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 » WebSphere Message Broker (ACE) Support » Class Cast Exception - User defined connector

Post new topic  Reply to topic
 Class Cast Exception - User defined connector « View previous topic :: View next topic » 
Author Message
snakeCharmer
PostPosted: Mon Mar 04, 2024 9:27 pm    Post subject: Class Cast Exception - User defined connector Reply with quote

Newbie

Joined: 04 Mar 2024
Posts: 4

Hi,

I am working on creating a user defined connector using java. I have followed the steps as per the documentation, but I am getting the below error trace when I started the node after installing the connector:

Quote:

Mar 4 17:33:08 ibmace ACE[4995]: IBM App Connect Enterprise v120110 (DEV01.DEV01) [Thread 4995] (Msg 1/3) BIP3849E: Failed to load the Connector 'TestConnector'.
Mar 4 17:33:08 ibmace ACE[4995]: IBM App Connect Enterprise v120110 (DEV01.DEV01) [Thread 4995] (Msg 2/3) BIP3850E: Unexpected java exception thrown from the Connector method 'ConnectorLoader::loadMessageConnector'.
Mar 4 17:33:08 ibmace ACE[4995]: IBM App Connect Enterprise v120110 (DEV01.DEV01) [Thread 4995] (Msg 3/3) BIP4395E: Java exception: 'java.lang.ClassCastException'; thrown from class name: 'com.ibm.broker.connector.ProviderLoader', method name: 'loadConnector', file: 'ProviderLoader.java', line: '66'


After a quick search I identified that this is when the code has attempted to cast an object to a subclass of which it is not an instance. Although I have rechecked the steps as per the documentation, but couldn't figure it out. Since this Provider Loader class is packaged with in IBM product, I am unable to identify and debug what could be causing this issue.

Any leads or assistance to resolve this will be highly appreciated.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Mar 05, 2024 6:15 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
Location: US: west coast, almost. Otherwise, enroute.

What documentation?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
snakeCharmer
PostPosted: Thu Mar 07, 2024 1:14 am    Post subject: Reply with quote

Newbie

Joined: 04 Mar 2024
Posts: 4

bruce2359 wrote:
What documentation?


Hi I am using the below documenation link to develop the connector:

https://www.ibm.com/docs/en/app-connect/12.0?topic=connectors-developing-connector-app-connect-enterprise-runtime-environment
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 » WebSphere Message Broker (ACE) Support » Class Cast Exception - User defined connector
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.