In our project we encountered a problem where we had to re-deploy one of our web services.

After changing the web service in Axon.ivy Designer and re-generating the code, we replace the .jar file in our deployment and restarted the engine again.

Unfortunately, we couldn't see any of our code updates in the Engine. It seems that the Engine still has a copy of the old .jar file somewhere else in its path, but we can't find another copy.

How do I find out where my updated class is loaded from?

asked 17.07.2018 at 07:28

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.4k102118122
accept rate: 77%


It is possible to make the Engine (or more, Java) to print out all loaded classes and where they are loaded from with a simple JVM flag, -verbose:class.

In order to get the Engine to do that you need to add this flag to the (maybe already existing) JVM flags specified in property ivy.vm.additional.options in your .ILC file. How to do that follow the instruction here: Windows Program Launcher Configuration.

Now after a restart of the Engine you will see these log entries in the file {engine_name}.console in your /log directory as the JVM will print them out to the console to System.out.

Search for the first entry of your class. It should look like this:

[Loaded functions.rfc.sap.document.sap_com.Z_CA_PUG_ORDER_CREATE_2Response$Factory from file:/<path_to_jar>]

Hope this helps.

link

answered 17.07.2018 at 07:52

Andreas%20Rusch's gravatar image

Andreas Rusch
441145
accept rate: 92%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26

Asked: 17.07.2018 at 07:28

Seen: 1,447 times

Last updated: 17.07.2018 at 07:52