How to output system print out in IBM Designer eclipse debugger console - lotus-domino

How to output system print out in IBM Designer eclipse debugger console
it does not show the system.out in the console

Related

How to debug custom mule 4 SDK connector?

I have a custom mule 4 SDK connector, I want to debug runtime and design time.
Just connect a Java debugger to the JVM. The connector is Java code.
To debug runtime:
Go to your Anypoint Studio, open "Run Configurations", select your Mule project from "Mule Applications" on the left (you need to run it at least once for it to appear here). Then in the "Arguments" tab add to the VM arguments: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1044 - this will enable to attach to your debugger from the IDE you use for SDK development.
In your IDE add a debug config with connection type "Socket Attach", provide host (localhost) and port (1044).
Now you can set breakpoints in your IDE then start the Mule project in Anypoint Studio. When it is at the point of launching the runtime JVM (watch the Console) it will stop and wait for you to start the debug config set above and execution shall hit your breakpoints.
To debug design-time:
Go to where you installed Anypoint Studio, find AnypointStudio.ini
Add following contents after the -vm plugins line:
-vmargs
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8888
also uncomment following two lines near the end, so they look like this:
#To_debug_the_mule_instance_uncomment_the_following_line
-Dmule.tooling.debug=true
#To_specify_the_debug_port_for_the_design_time_mule._E.g._To_debug_connectors_code_at_design_time.
-Dmule.toolingInstance.debugPort=8000
In your IDE create two "Socket Attach" type debug config, for localhost and ports 8888 and 8000.
Start Anypoint Studio. It will wait for you to start the debug config for port 8888, then it will come up. A minute later start the debug config for port 8000 - this is the one attaching to the design-time JVM. You can watch the threads starting in the Debug perspective of your IDE.
Just select Connect Java Debugger checkbox in Window -> Preferences -> Anypoint Studio -> Debugger

Can I debug annotation processor using IntelliJ Idea-community edition?

I followed pretty much everything in this blog to debug my annotation processor. However, I'm not able to attach the debugger I'm getting the below error.
Unable to open debugger port (localhost:5005): java.net.ConnectException "Connection refused (Connection refused)"
Is it really possible to debug annotation processer using community edition or does it requires licenced version?
Remote Debug configuration
Here is my configuration
I have debug Build process set to on.

How to reslove: "JVM exited while loading the application" in order to run a Mule application in Anypoint studio

I am new to use Mulesoft and thus I have started learning it by following the steps in "https://docs.mulesoft.com/mule-user-guide/v/3.7/build-a-hello-world-application".
However, when I try to run the project by selecting "Run As > Mule Application", It gives me this error messages:
Launching a JVM...
JVM exited while loading the application.
Automatic JVM Restarts disabled. Shutting down.
backend pipe closed.
backend pipe closed.
<-- Wrapper Stopped
Note that: I am using Windows 7 (64 bit), Mulesoft 7.1 (64 bit), jdk1.8.0_171 (64 bit) and I have added java home into system variable as instructed in this post "https://forums.mulesoft.com/questions/90429/unable-to-install-mule-4-anypoint-studio-71.html"
Any suggestion, please !!!
See image and check your Run configuration I have post image under bellow url...

Anypoint Studio - Debugger is not launching

I could not launch "Anypoint Studio Version: 5.3.0" debugger for ESB Mule project.
When I clicked debug option from drop down menu for corresponding project, the console tab is running with INFO message. But in "Mule Debugger" tab shows that "Mule Debugger is not running. Launch your mule application in debug". I tried restarting anypoint studio and setting different ports to the debugger. But still same issue.
Issue got resolved !
I have changed port to 9999 from 6666.
Earlier i have tried changing port from 6666 to 6667/6668/6669.. These ports are not working for me. So i have tried with 9999. It resolved the issue.

Preview not working on MobileFirst Platform Foundation Server 7.0

On the MobileFirst Server Platform Foundation 7.0, the Preview is not working in the console. On the Eclipse development side, all is working well.
The error message is the following:
Here is the error in the log:
[4/10/15 12:12:55:267 CEST] 00000027 org.apache.wink.server.internal.RequestProcessor I The following error occurred during the invocation of the handlers chain: WebApplicationException (404 - Not Found) with message 'null' while processing GET request sent to http://10.3.20.64:9080/catalogmanagerfull/authorization/v1/clients/preview
The application can use the server without any issue. It's really only the Preview in the console that is not working. The Application Server is a WAS Liberty profile running on Linux.
In a MobileFirst Server V6.3, the same project has no issue.
Preview is not meant to work in a production environment, however the preview button was still there in the GM release of MFPF 7.0.
I think you might have hit APAR PI37266:
MFP OPERATIONS CONSOLE: PREVIEW OF COMMON RESOURCES BUTTON MUST BE
HIDDEN IN PRODUCTION ENVIRONMENT
So, you should update your installation to the latest available 7.0 iFix, whereh the preview button is not longer available.