Showing posts with label Wildfly. Show all posts
Showing posts with label Wildfly. Show all posts

Sunday, 16 August 2020

Jboss Application Migration Toolkit.

I was asked to work on the WebLogic to Jboss Migration, I was Clueless and not sure where to start for the Migration. Hence, I am writing these posts. Red Hat gives you the toolkit by using which you can generate the report for the Migration tasks.


Step:1 Download the Toolkit from Here. There are different options available for download.


1.       Command Line Interface.

2.       WebConsole.

3.       IDE Plugin.

       I am going to Cover the Command Line Interface Tool Here.


Step:2 Extract and move to location say C:/Jboss/Migration


Step:3 Identify the Package we need to run against either Ear, War, Jar, or Classes.


Step:4 Execute


$ ./rhamt-cli --input <PATH_TO_PACKAGING> --output <OUTPUT_REPORT_PATH> --source weblogic --target eap:7 --packages <PACKAGES_AGAINST_TO_RUN>


Eg: $ ./rhamt-cli --input /path/to/simple-sample-app.ear --output /path/to/output/ --source weblogic --target eap:7 --packages com.acme


Step:5 Once Report has Generated Open it and Look for the Mandate migration and you need to fix it. If you are not providing the Options listed above then it prompts for the option, if not it will delete it while executing this please be cautious it may delete all the files if the parameters are not passed correctly .!!!!


Happy Learning !!!!!

WebLogic to WildFly Migrating Strategy

This is one of the topics, which has fewer documents over the Internet. The following post will help you to transform it and gives the Clear picture of what exactly needs to be done for the Migration.

I will recommend you start with Identifying the Following resources to Migrate. We can see these topics covered in separate posts.

1.       JNDI and Context Lookup.
2.       Data Sources.
3.       Queues.
4.       Connection Factories.
5.       Transaction Manager.
6.    Security.

Once if the above-mentioned steps are done then it’s time for the build and deployment. Identify and eliminate WebLogic dependencies.

1.       Build Application using the Java
2.       Remove WebLogic Specific Jars.
3.       Check and Remove the Compilation Jars.
4.       Deploy Application on WildFly and resolve the runtime dependencies.