Skip to content

Conversation

Nikita-Shupletsov
Copy link

As it was discussed in the ticket, the issue exists only in 5.x versions, hence the PR is only to the 5.18.x branch.

Also added a test that reproduces the issue without the fix.

Copy link
Contributor

@cshannon cshannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The err log file should obviously not be part of this PR.

Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hs_err_pid*.log should not be part of this PR. Please remove it.


server.start();
ClassLoader original = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(WSTransportServer.class.getClassLoader());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be problematic in OSGi/Karaf generally speaking. In this specific it should be ok as the WSTransportServer is in the activemq-osgi bundle.

@Nikita-Shupletsov
Copy link
Author

The err log file should obviously not be part of this PR.

hs_err_pid*.log should not be part of this PR. Please remove it.

sorry for that, removed

@jbonofre
Copy link
Member

@cshannon I did a new pass (including OSGi) and this looks good to me. Do you mind to take a new look and maybe remove your -1 ?

@mattrpav
Copy link
Contributor

@jbonofre should this be re-targeted to activemq-5.19.x?

@jbonofre
Copy link
Member

@mattrpav yes, that makes sense to include the fix in 5.19.x as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants