vert-x3 / vertx-lang-js

Nashorn JavaScript implementation for Vert.x
Apache License 2.0
35 stars 23 forks source link

Classloading issue in HA mode #52

Closed cescoffier closed 3 years ago

cescoffier commented 8 years ago

When the verticle is deployed from the HA manager, it fails to load the verticle file as it tries to rely on the TCCL that is null (not set in this context).

See https://groups.google.com/d/msgid/vertx/ae3171ae-e30b-4e59-a662-ed03534ba51e%40googlegroups.com?utm_medium=email&utm_source=footer for more information.

It may be related to a HA misbehavior that should somehow inherit from the classpath set by the Launcher or from the TCCL set when the vertx instance is created, and use this classloader when the verticle is deployed.