Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WLS Thin T3 client doesn't work with Helidon 3 #5290

Closed
2 tasks done
danielkec opened this issue Oct 31, 2022 · 0 comments · Fixed by #5327
Closed
2 tasks done

WLS Thin T3 client doesn't work with Helidon 3 #5290

danielkec opened this issue Oct 31, 2022 · 0 comments · Fixed by #5327
Assignees
Labels
bug Something isn't working P2
Milestone

Comments

@danielkec
Copy link
Contributor

danielkec commented Oct 31, 2022

Environment Details

  • Helidon Version: 3.x, 4.x
  • Helidon MP
  • Any version of Helidon with Jakartified Jersey

Problem Description

wlthint3client.jar uses javax based version of HK2 DI, this clashes with Jersey's jakartified HK2 DI

2022.10.31 14:35:16 INFO org.jboss.weld.Bootstrap Thread[#1,main,5,main]: WELD-ENV-002001: Weld SE container 0f691eae-fab9-4041-9577-b37b0d7921b7 shut down
Exception in thread "main" MultiException stack 1 of 2
java.lang.IllegalStateException: Could not find an implementation of ClassAnalyzer with name default
        at org.jvnet.hk2.internal.ServiceLocatorImpl.getAnalyzer(ServiceLocatorImpl.java:2468)
        at org.jvnet.hk2.internal.Utilities.getClassAnalyzer(Utilities.java:143)
        at org.jvnet.hk2.internal.ClazzCreator.initialize(ClazzCreator.java:96)
        at org.jvnet.hk2.internal.ClazzCreator.initialize(ClazzCreator.java:166)
        at org.jvnet.hk2.internal.SystemDescriptor.internalReify(SystemDescriptor.java:719)
        at org.jvnet.hk2.internal.SystemDescriptor.reify(SystemDescriptor.java:673)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.reifyDescriptor(ServiceLocatorImpl.java:438)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.narrow(ServiceLocatorImpl.java:2316)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.igdCacheCompute(ServiceLocatorImpl.java:1192)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.access$400(ServiceLocatorImpl.java:107)
        at org.jvnet.hk2.internal.ServiceLocatorImpl$8.compute(ServiceLocatorImpl.java:1186)
        at org.jvnet.hk2.internal.ServiceLocatorImpl$8.compute(ServiceLocatorImpl.java:1183)
        at org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl.compute(WeakCARCacheImpl.java:116)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetDescriptor(ServiceLocatorImpl.java:1266)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:765)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:732)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:702)
        at org.glassfish.hk2.utilities.ServiceLocatorUtilities.addClasses(ServiceLocatorUtilities.java:434)
        at org.glassfish.hk2.utilities.ServiceLocatorUtilities.enablePerThreadScope(ServiceLocatorUtilities.java:107)
        at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.createLocator(AbstractHk2InjectionManager.java:92)
        at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.<init>(AbstractHk2InjectionManager.java:62)
        at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.<init>(ImmediateHk2InjectionManager.java:38)
        at org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory$Hk2InjectionManagerStrategy$1.createInjectionManager(Hk2InjectionManagerFactory.java:55)
        at org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory.create(Hk2InjectionManagerFactory.java:73)
        at io.helidon.webserver.jersey.HelidonHK2InjectionManagerFactory.create(HelidonHK2InjectionManagerFactory.java:60)
        at org.glassfish.jersey.internal.inject.Injections.createInjectionManager(Injections.java:69)
        at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:261)
        at io.helidon.webserver.jersey.JerseySupport.<init>(JerseySupport.java:152)

@m0mus m0mus added the bug Something isn't working label Oct 31, 2022
@m0mus m0mus added the P2 label Oct 31, 2022
danielkec added a commit to danielkec/reproducers that referenced this issue Nov 1, 2022
danielkec added a commit to danielkec/helidon that referenced this issue Nov 23, 2022
 - NACK support helidon-io#4445
 - WLS custom connector for thin client helidon-io#5290

Signed-off-by: Daniel Kec <[email protected]>

4445 JMS connector

Signed-off-by: Daniel Kec <[email protected]>

JMS nacking DLQ

Signed-off-by: Daniel Kec <[email protected]>

JMS nacking DLQ

Signed-off-by: Daniel Kec <[email protected]>

WLS Connector cleanup

Signed-off-by: Daniel Kec <[email protected]>

WLS Connector cleanup

Signed-off-by: Daniel Kec <[email protected]>

Test fix

Signed-off-by: Daniel Kec <[email protected]>

Example and WLS 14 support

Signed-off-by: Daniel Kec <[email protected]>

Example and WLS 14 support

Signed-off-by: Daniel Kec <[email protected]>

Revert kafka stuff

Signed-off-by: Daniel Kec <[email protected]>
@danielkec danielkec linked a pull request Nov 23, 2022 that will close this issue
@danielkec danielkec added this to the 3.0.3 milestone Nov 23, 2022
danielkec added a commit to danielkec/helidon that referenced this issue Dec 5, 2022
 - NACK support helidon-io#4445
 - WLS custom connector for thin client helidon-io#5290

Signed-off-by: Daniel Kec <[email protected]>

4445 JMS connector

Signed-off-by: Daniel Kec <[email protected]>

JMS nacking DLQ

Signed-off-by: Daniel Kec <[email protected]>

JMS nacking DLQ

Signed-off-by: Daniel Kec <[email protected]>

WLS Connector cleanup

Signed-off-by: Daniel Kec <[email protected]>

WLS Connector cleanup

Signed-off-by: Daniel Kec <[email protected]>

Test fix

Signed-off-by: Daniel Kec <[email protected]>

Example and WLS 14 support

Signed-off-by: Daniel Kec <[email protected]>

Example and WLS 14 support

Signed-off-by: Daniel Kec <[email protected]>

Revert kafka stuff

Signed-off-by: Daniel Kec <[email protected]>
danielkec added a commit that referenced this issue Dec 5, 2022
- NACK support #4445
 - WLS custom connector for thin client #5290

Signed-off-by: Daniel Kec <[email protected]>
danielkec added a commit that referenced this issue Dec 7, 2022
* 4445 JMS connector
 - NACK support #4445
 - WLS custom connector for thin client #5290

Signed-off-by: Daniel Kec <[email protected]>
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants