1 2 Previous Next 18 Replies Latest reply on Sep 15, 2016 12:38 PM by manarh

    Windup tool report

    jkmamidi

      Hi, I have generated report with 2.5.0. final Widnup tool of WebSphere Community Edition Code and how can I find out which migration issues need to be changed if the same application need to implement in Tomcat.

      Please suggest. Appreciate your help.

       

      Thanks

        • 1. Re: Windup tool report
          manarh

          Hi

           

          it depends on what your application uses and how you launched the WindUp binary (what options on command line).

           

          Basically you can influence the analysis by selecting proper source and target technology. Unfortunately Windup distribution doesn't have include pure WebSphere CE -> Tomcat rules to use this as a shortcut.

          So you need to think about technologies you know are used in your application or just process them all. But that will trigger unwanted recommendations for you, I guess.

           

          Generally WindUp contains WebSphere/Weblogic/older versions of JBoss EAP/JBoss AS -> JBoss EAP/Wildfly/JBoss AS migration paths.

           

          Check the included paths by argument --listSourceTechnologies or --listTargetTechnologies

          Btw there is Windup 2.6.0.Final released so go to Download | Windup Migration Platform for update

          • 2. Re: Windup tool report
            jkmamidi

            Thanks for reply Marek.

            I have ran below commands to generate reports.

            ./windup --sourceMode --input /opt/middleware/work/windup/sources/CRP-Wasce.war --output /opt/middleware/work/windup-reports/crp-wasce-report--target eap --packages xxx xxx

             

            but I can see below files only generated under reports.

            -rw-r--r-- 1 root root  7945 Jun 27 10:11 index.html

            drwxr-xr-x 2 root root  4096 Jun 27 10:11 stats

            drwxr-xr-x 3 root root 16384 Jun 27 10:11 archives

            drwxr-xr-x 4 root root 36864 Jun 27 10:11 reports

            but as per below support page it should generate one more file graph/: Contains binary graph database files

            Red Hat JBoss Migration Toolkit 2.3 Windup User Guide - Red Hat Customer Portal

            As per your suggestion I ran command and below is the output.

            # ./windup --listSourceTechnologies
            Using Windup at /opt/middleware/work/windup/windup-distribution-2.5.0.Final

            Available source technologies:
                    drools
                    eap
                    glassfish
                    hibernate
                    hibernate-search
                    java
                    java-ee
                    javaee
                    jbpm
                    jonas
                    jrun
                    log4j
                    orion
                    resin
                    resteasy2
                    seam
                    soa
                    soa-p
                    sonic
                    sonicesb
                    spring
                    weblogic
                    websphere

             

            Please check and let me know if you have any concerns.

            Thank you.

            • 3. Re: Windup tool report
              manarh

              if you use WindUp 2.5.0.Final.

               

              Graph data are only for debugging purposes or following analysis if you know how to do that. You as standard end user should read only generated html reports.

              • 4. Re: Windup tool report
                jkmamidi

                Thanks for reply Marek.

                I can see in html page as per the guide. but can you kindly let me know how can I find out what are the migration issues in report.

                 

                Thank you.

                • 5. Re: Windup tool report
                  manarh

                  you should see the link of the generated report home page on successful end. Something like

                  Windup report created: /home/mnovotny/projects/git/windup-projects/windup-distribution/target/windup-distribution-3.0.0-SNAPSHOT/samples/jee-example-app-1.0.0.ear.report/index.html

                                Access it at this URL: file:///home/mnovotny/projects/git/windup-projects/windup-distribution/target/windup-distribution-3.0.0-SNAPSHOT/samples/jee-example-app-1.0.0.ear.report/index.html

                  So if you copy&paste it in browser or if you are on linux terminal just click on it with CTRL key pushed and it opens your browser.

                   

                  You should see home page with summary of application name and brief evaluated effort in story points. Then you can go into application details clicking on application name and there are multiple reports to see the issues and recommendations.

                  I hope it answers your question.

                  • 6. Re: Windup tool report
                    jkmamidi

                    Hi Marek,

                    Thanks for your reply and apologies for late reply from me.

                    i have generated report and got output like below from my linux machine.

                    Windup report created: /opt/middleware/work/windup/outputs/index.html

                                  Access it at this URL: file:///opt/middleware/work/windup/outputs/index.html

                     

                    but when i access above URL am getting error page. can u please suggest how can i open this report.

                     

                    Thanks,

                    Jayakrishna

                    • 7. Re: Windup tool report
                      manarh

                      What error is shown? The URL above should be correct.

                      • 8. Re: Windup tool report
                        jkmamidi

                        Hi Marek,

                        When am hitting above URL in my browser it says " your file was not found".

                        i have installed windup in my linux machine on one specific location as per windup guide.

                         

                        Thank you.

                        • 9. Re: Windup tool report
                          jkmamidi

                          Hi Marek,

                          Can you kindly suggest.

                           

                          Thank you.

                          • 10. Re: Windup tool report
                            manarh

                            Could you repost here last cca 10-20 lines from the processing from terminal with a screenshot from browser then?

                            • 11. Re: Windup tool report
                              jkmamidi

                              Hi Please find screenshot.Windup1.PNG

                              • 12. Re: Windup tool report
                                manarh

                                Have you resolved your issue?

                                 

                                You didn't post my first request

                                Could you repost here last cca 10-20 lines from the processing

                                I got that your reports/index.html is not there where it should be, so looking at windup log could shed a light on the missing index.html.

                                 

                                Look for the Windup logs at $USER_HOME/.windup/log/ directory

                                • 13. Re: Windup tool report
                                  jkmamidi

                                  Hi Marek,

                                  Am unable to see windup log directory at mentioned location. i can see only below folders after unzip the tool.

                                  -rw-rw-r--  1 root root    12 Jun 22 15:12 windup-version.txt

                                  drwxrwxr-x  2 root root  4096 Jun 22 15:12 samples

                                  drwxrwxr-x  3 root root  4096 Jun 22 15:12 rules

                                  -rw-rw-r--  1 root root  2607 Jun 22 15:12 README.txt

                                  -rw-rw-r--  1 root root  1513 Jun 22 15:12 logging.properties

                                  drwxrwxr-x  2 root root  4096 Jun 22 15:12 ignore

                                  -rw-rw-r--  1 root root 11285 Jun 22 15:12 ECLIPSE_LICENSE.txt

                                  drwxrwxr-x  2 root root  4096 Jun 22 15:12 bin

                                  drwxrwxr-x  2 root root  4096 Jun 22 15:12 bash-completion

                                  drwxrwxr-x 38 root root  4096 Jun 22 15:13 addons

                                  drwxrwxr-x  5 root root  4096 Jun 22 15:13 cache

                                  drwxr-xr-x  2 root root 12288 Jun 22 15:13 lib

                                   

                                  Please suggest.

                                   

                                  Thanks,

                                  Jayakrishna

                                  • 14. Re: Windup tool report
                                    manarh

                                    Are you running Windup as an user root?

                                     

                                    1. What is your path to home directory

                                    2. The best would be to paste somewhere your console log e.g. on Pastebin.com - #1 paste tool since 2002! if you can't find $USER/.windup/log/windup.log or attach it here as a file.

                                    1 2 Previous Next