OpenLiberty license production feature - open-liberty

what are the list of feature I can use in production for OpenLiberty?
I'm aware about 2Gb of HEAP memory limit.

All the features listed on the open liberty website can be used in production. The full list is available here.
There is no 2GB heap limit for Open Liberty. Open Liberty is distributed under the standard EPLv1 license which has no limitation like this. You are likely thinking of the WebSphere Liberty unsupported offering which has a production use license limitation, but this is not open source and is not Open Liberty.

OpenLiberty is an open source project with no strings attached, you can use whatever heap size you want. For Websphere Liberty on the other hand, it has a 2GB heap limit for developer/beta use
As for the feature list, you can find them here:
https://openliberty.io/docs/ref/feature/

Related

Can the CPU performance be monitored on the server using external tools without installing any software installed in the server, using the server IP

Is there a way we can monitor the CPU utilisation of a linux server where my website has been hosted using any external tools available without installing any software on the server (i.e just using the IP address of the server).
Please let me know if that would be possible.
If your web tool includes some kind of performance monitor plugin you might set it up on a hidden page. But your tool might also include some kind of monitoring for your site.
But how much you can use the data you get returned is another matter as you most likely are run in a Docker in a WM that is optimal for the provider (and not for you).

How to debug Azure Web App memory leaks?

There is the excellent Start Profiling button in the SCM portal that works perfect for CPU.
Then there are some sources that refer to a Download GC Dump button:
https://stackoverflow.com/a/27987593/647845
But that doesn't seem to be available anymore.
Then there is the Download memory dump button.
But for now I can't figure out how/if I can see the Type / Refcount / Size stastistics that I'm used too.
What is the recommended way to look for memory leaks in a C# Azure Web App?
Unfortunately the kudu support page has been deprecated. You can now find it under Diagnose and solve problems:
Once you've downloaded the dump files, open them in Visual Studio and click "Collect a memory dump" like the accepted answer from Grandhali suggested.
Try using Kudu console.
Go to https://[sitename].scm.azurewebsites.net/support
Click Analyze -> Dignostics -> Settings. Make sure Memory dumps is checked
And then Click Dignose Now.
This will work only in Basic plan and above (Not available for free plan)
After some time you will get the dump
Open the downloaded file with Visual studio and select "Debug managed memory".
You can then see the details.
I see this thread is pretty old, but since I had the same problem and the azure portal changes a lot during the time I want to post a little update here.
This microsoft dev blog gives a fast overview about the topic: https://devblogs.microsoft.com/premier-developer/collect-and-automate-diagnostic-actions-with-azure-app-services/
I managed to do the memory leak analysis by navigating to my App Service in Azure portal, selecting Diagnose and solve problems and afterwards the Diagnostic Tools tile. Now you should see a Collect Memory Dump tile where you can create your memory dump by configuring a blob storage to save it to.
Afterwards I downloaded the dumps and used Visual Studio to analyze the issues.
You can download a memory dump using Kudu Console and use DebugDiag to profile it, you can have more than one memory dump, one before the leak happens, one during it and one after, later you can compare and see which objects are growing in size and not getting disposed
Remote Profiling the Azure Web App from Visual Studio is probably the best option.
https://azure.microsoft.com/en-us/blog/remote-profiling-support-in-azure-app-service/

Shortcuts for WebSphere Admin Console pages?

I'm working with IBM's WebSphere Application Server 6.1 and 7, and the more I work with it, the more I find myself spending a lot of time drilling down to components. I understand that with WebSphere 7, they introduced tasks that allow high level pages to be bookmarked; but what about certain components that are deeply buried?
A good example of this would be for Application Server JVM properties. To view or change these, the following links/drop-downs must be navigated (this is for WAS 7):
Servers > Server Types > WebSphere Application Servers > [server name] > Java and Process Management > Process definition > Java Virtual Machine
Drilling can become quite tedious. Is anyone aware of the capability for shortcuts, or bookmarks to these component pages?
If you're frequently making the same changes to your servers, I would suggest scripting those updates with the wsadmin tool that ships with WAS. It might take a little time to learn and get the scripts just right but once they're setup, common configuration tasks take no brain power and very little time.
http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.base.doc%2Finfo%2Faes%2Fae%2Ftxml_scriptingep.html

creating BPEL process with Jdeveloper

I need to create BPEL process on Jdeveloper
please verify following list of softwares i have used
Required Software
RCU
WLS
SOA
soa_generic_11.1.1.2.0_disk1_1of1.zip
JDeveloper
JDev11g.zip
I got this list from anonymous source, so can any one guide me which setup will work for which role and please refer me for any manual through which we can setup the environment.
thanks in advance..
You can download the components from http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html and you can find the requirements at http://download.oracle.com/docs/html/E18558_01/fusion_requirements.htm
Your list is almost complete, only the database is missing. Oracle fusion middleware has an awful lot of components, but what you'll need for BPEL is:
JDeveloper - it is actually enough to write the processes. If you also want to deploy and run them you also need:
Oracle Database 11g - to host the BPEL dehydration store and config data
RCU - to create the database schema for BPEL
Weblogic Server 10.3.3 - JEE container for SOA suite
SOA Suite 11.1.1.2.0 - includes BPEL. I dont know any 'BPEL-only' packages
SOA Suite 11.1.1.3.0 - if you want the latest version
BTW don't even try to install these if you've less than 4GB RAM...
If you're looking to teach yourself BPEL you can download the whole suite as a VM from OTN. Find it here. It takes up 30GB of disk space. The docs say you need 3GB but from experience I know that performance is sluggish on a laptop with 4GB (which on 32-bit Windows is actually 3.5GB). Basically the more memory the better. You'll also need Virtual Box.
Obviously for production you'll need to install the components on different servers so this VM is not appropriate. If you want to use BPEL for production you'll need to get licenses for WLS, BAM and various other bits. Even by Oracle's standards, the licensing for SOA products is labyrithine.
Quick reference of the installation of soa 11g ps3.
http://soafarm.wordpress.com/2011/11/14/install-soa-suite-11g-in-windows-xp-os/

Is there a free or open source virtual in-memory drive for Windows?

I'm developing an plug-in for a host program and I need to communicate with it with temporary files in the disk; if the temporary files are stored in an in-memory virtual drive the performance could be increased dramatically.
Hints for implementing an in-memory virtual drive in Delphi is also appreciated.
Check this one, it's based on a sample RAMDisk driver from MSFT, and appears to be configurable with a couple of registry tweaks.
There's a free edition of VSuite Ramdisk that may meet your needs.

Resources