Profiling Mule Container and Application using JProfiler - profiling

I am trying to profile Mule ESB apps deployed on a mule container(CE v3.4) using Jprofiler but have been unsuccessful this far.
My Mule server is running remotely on a linux 64 bit server and the jprofiler is running on my local windows machine. I am trying to remotely connect the jprofiler running on my local windows machine to the Mule server running remotely on a linux server, but till now I have failed to connect the local running jprofiler to the remotely running Mule server.
Has somebody done this before? What are the steps to be followed to connect my jprofiler running locally to Mule server running remotely on some different server?
Thanks and Regards
Jai

Add these lines to conf/wrapper.conf:
wrapper.java.additional.4=-Dcom.sun.management.jmxremote.port=9999
wrapper.java.additional.5=-Dcom.sun.management.jmxremote.authenticate=false
wrapper.java.additional.6=-Dcom.sun.management.jmxremote.ssl=false
and connect your profiler to port 9999

Related

Visual Studio 2017 Enterprise, IIS 10, Windows Server 2016, Web Deploy 5 Error: "Make sure that Web Deploy is installed"

I installed IIS, Started Web Management Service, and Installed Web Platform Installer, checked the port, windows firewall is not enabled, shut down and started up, but still get the error that web deploy isn't installed when I try to publish with Web deploY in Visual Studio. What other configuration can I check to get the Web Deploy to complete?
Visual Studio 2017 Enterprise, IIS 10, Windows Server 2016, Web Deploy 5, ASP.net 4.6
Could not connect to the remote computer ("aspnet-dev"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE. The remote server returned an error: (404) Not Found
Could not connect to the remote computer ("aspnet-dev"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE. The remote server returned an error: (404) Not Found
According to your error message, it seems you used the wrong server address. The web deploy could find the remote server("aspnet-dev").
Could you please tell me which server named "aspnet-dev"? On your current server or remote server?
If you just want to publish the web application to current server (VS is installed in the IIS server) ,I suggest you could firstly open the current IIS management console to make sure you have used the right server name and IIS web applicatio name.
Like below:
Then I suggest you could open the Web Platform Installer to check you have installed the web deploy.
If you want to publish the web application to remote server (VS isn't installed in the IIS server), I suggest you could use the server's IP address or domain instead of the server name like below:
https://yourhostname:8172/
Besides, I suggest you could refer to below article to generate the web deploy publish setting and use it to publish the web application to remote server.
https://learn.microsoft.com/en-us/visualstudio/deployment/tutorial-import-publish-settings-iis?view=vs-2017
More details about how to use web deploy to publish web application to remote server ,I suggest you could refer to below article:
https://learn.microsoft.com/en-us/aspnet/web-forms/overview/deployment/configuring-server-environments-for-web-deployment/configuring-a-web-server-for-web-deploy-publishing-web-deploy-handler

can I put a customized windows server core in azure instance?

I am a dot net developer.I am using azure students subscription. I am running a windows service app which compile cpp file, run and collect output and store in database. It uses mingw for compiling. the software hosted in a windows vm. But windows vm cost for student but container instance does'nt.Now I want to run windows server core on azure container and host the service app with remote desktop in windows server core . Is it possible? if possible what is the procedure?
Yes, now you can install Windows Server 2016 Datacenter - Server Core:
https://portal.azure.com/#create/Microsoft.WindowsServer2016DatacenterServerCore-ARM

Unable to access puppet enterprise web console

Hi I am beginner to puppet. I have setup learning puppet VM with virtual box 4.3.7 on win 7. Other puppet commands are running properly, but I am unable to access Puppet enterprise web console.
I have tried it using "https://ip_address_of_vm" on a web browser on win 7. I have tried to ping that ip address on command prompt, still its not connecting to it.
What should I do? Any kind of help is appreciable.
Make sure that the NIC is set to 'bridged' mode in VMWare/Virtualbox.
Also, can you ping the ipaddress?
To get mine to work, I changed my VirtualBox VM network settings to 'Host-only Adapter'.
facter ipaddress then returned a working IP.
I am running OSX 10.8.5 and VirtualBox 4.3.8

WSO2 Governance Registry 4.5.3 Web app mode

Can any one tell me how to run wso2 governance registry 4.5.3 in web app mode rather running it in stand alone mode ? I have successfully built the source code and I want to know exactly how I can run in web app mode so that I can debug it in the eclipse ??
If what you want is to debug the source code all you have to do is start the WSO2 Governance registry with debug enabled when starting the server this can be done by starting the server with the following command.
sh wso2server.sh debug 8000
And you can remotely debug the server through an IDE like eclipse or Idea with port 8000 or some other port number you wish to use.
EDIT: Regarding running WSO2 governance registry in web app mode take a look at this blog post which explains how WSO2 carbon can be run as a web app might help you
[1]http://pradeepfernando.blogspot.com/2012/09/running-wso2-carbon-as-web-app-apache.html
First you have to setup debug configurations in your IDE which is can be learn using this wso2 article
Then start the BPS server script with debug option as follows.
<bps_home>/bin/wso2server.sh -debug 5005
After you start the server you will get this message:
Listening for transport dt_socket at address: 5005
Then start debugging from your IDE!
This is the debug configuration I used:

ColdFusion Builder 2 and ColdBox on a Remote Server

I have a remote Ubuntu server, but I work on a Windows computer.
My idea was to work with ColdBox, but I cannot perform the installation on the remote server, because it does not match the installation directory with the webroot.
Is the use of ColdBox as such possible, or have I made ​​a mistake?