HermesJMS - Linked Exception : null when attempting to post an XML message - jms

I am using HermesJMS version 1.14. I am attempting to post an XML message to an IBM WebSphere MQ queue via HermesJMS.
I face two issues namely,
If I select a queue, right click, select "New" -> "Message" and then copy , paste the xml message as a text in the 'Payload' tab, it gives me an 'MQ Authentication Error, invalid security credentials'. However, I have very well supplied the security credentials before actually pasting the payload.
If I click on the X button (a visual indication to upload) and select an XML message (xml file in filesystem), it gives me an error stating that "Linked Exception : null".
I have been searching (googling) for about a week's time. I had also posted the same in HermesJMS forum yesterday.
Any idea on this would be highly appreciable.

Related

Apps Script error: "Exception: Illegal argument" (with no more information): How to find the specific error?

That's it, no more information is given:
The only idea that comes to my mind is adding try-catch in different parts of the code, and with a lot of patience, find it.
Any other better idea?
Source: https://developers.google.com/apps-script/guides/logging#exception_logging
Exception logging
Exception logging sends unhandled exceptions in your script project code to Cloud Logging, along with a stack trace.
To view exception logs, follow the steps below:
Open the Apps Script project.
At the left, click Executions.
At the top, click Add a filter > Status.
Select the Failed and Timed out checkboxes.
You can also view logged exceptions in the GCP console if your script project is using a standard GCP project that you have access to.
To check your project has enabled exception logging:
Open the script project.
At the left, click Project Settings.
Select the Log uncaught exceptions to Cloud Operations checkbox.
Source: https://developers.google.com/apps-script/guides/logging#enable_exception_logging

Using IBM Connections 5.5 - Unable to display Widgets in Community Detail Page and My Page

We are using IBM Connections 5.5. SSO has been done with IBM TAM environment.
Until some time back the application was working fine. However, now after creating a community, system is unable to load Widget details. Only the heading is shown with an option to Move Up / Down etc.
Bookmarks work fine as expected. No other widget like Status Updates, Forums, Members are shown
'My Page' is also unable to load any of the widget.
Upon doing F12 and viewing browser console it says:
Unable to Load data and Malformed json returned by processWidget call.
System.out log says:
Failed to generate process widget json. Unexpected character < on line1, column 1

Esper AMQPSource not receiving events

I'm trying to use the AMQPSource and I'm getting the error describe below, also imports are not working in EPL module. In advance, I test adding full package name to DistanceEvent (events.DistanceEvent and does not work).
To sending a message i'm using the publish Rabbitmq webadmin queue option with the next payload:
{"distance":33}
Could anyone help me?
The "IO-error deserializing object" is the reason you are not seeing data.
The "AMQPToObjectCollectorSerializable" expects the AMQP message to carry a valid JVM-serialized object however the "invalid header" means that the message content cannot be read by the JVM. Check the sender making sure it produces a AMQP message with a JVM-serialized object or may use replace "AMQPToObjectCollectorSerializable" with a deserializer that can understand your message. The code for "AMQPToObjectCollectorSerializable" can be found in Github if your are not sure how it deserializes.

SOAP WSDL accessible in SoapUI, not in Visual Studio

I'm attempting to integrate a SOAP web service into my C# project via "Add Service Reference," as I have done successfully at least once before. The address works normally in SoapUI, and even entering the address in a browser brings up the WSDL file as expected. But when I enter the address in the Add Service Reference dialog, it results in an error.
The document at the url [redacted].com/uesas/WebService/Onboard-2_0.cfc?wsdl was not
recognized as a known document type. The error message from each known type may help you fix the problem:
Report from 'XML Schema' is 'The root element of a W3C XML Schema should be and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'.
Report from 'DISCO Document' is 'Discovery document at the URL [redacted].com/uesas/WebService/Onboard-2_0.cfc?wsdl could
not be found.'.
The document format is not recognized.
Report from 'WSDL Document' is 'There is an error in XML document (2, 129).'.
The string 'http ://webservice.uesas._[redacted].webroot' is not a valid Uri value.
Metadata contains a reference that cannot be resolved: '[redacted].com/uesas/WebService/Onboard-2_0.cfc?wsdl'.
The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were:
... followed by the first several lines of what is clearly HTML code, instead of WSDL code. So evidently, VS doesn't even SEE the WSDL file, even though SoapUI and any standard browser confirm it's there. Does anyone have any thoughts why this would be?
Add ?WSDL after the endpoint address like: http://localhost:8088/mock_service?WSDL

MQQueueManager(String queueManagerName) throws MQException

I have a java program to browse a message from queue.
When i run the application it shows the "java.lang.NoClassDefFoundError:" error
Also i have jar com.ibm.mq which contains class MQQueueManager. but i am getting error message like "This element neither has attached source nor attached Javadoc and hence no Javadoc could be found."
2nd question
It is a program to browse message. after browsing the message how to get only the messageID from the message.
Please give me the solution.
Usually the error you are seeing is caused when people grab the jar files rather than installing the client from the vendor distribution media. If you did not install the IBM MQ client from the media, you can download it for free as SupportPac MQC75. This will provide the complete client, the Initial Verification Program (IVP) that tests the installation, as well as a number of other diagnostics.
As for the message ID...
MQMessage myMessage = new MQMessage();
byte myMessageID = myMessage.messageId;
...as per the docs here and here.

Resources