Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Class Loading Issue with PL/Java #361

@JanaParthasarathy

Description

@JanaParthasarathy

I am having 2 issues when I run my java encryption service on Postgres PL/Java.

Issue 1: ### java.lang.ClassNotFoundException: org.glassfish.jersey.client.JerseyClientBuilder
It happens when I call encryption service first and/ second time but subsequent request is successful , still even with success request I can see ClassNotFoundException in the log trace.
It only break in first and /second request.

Issue 1:### java.lang.NoClassDefFoundError:Key
This happens randomly when I try to deserialize using jackson ObjectMapper
key = objectMapper.readValue(jsonKey, Key.class);
But once this issue happens , all request to encryption service fails with same NoClassDefFoundError:Key.
I have kill psql process and restart it to make it work.

I am using Java 11 and PL/Java 1.5.6

Please let me know if you have any suggestions or solutions for this issue ?

Thank for your support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions