Questions tagged [open-liberty]

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment distributed under the EPLv1 license.

This tag is specifically for questions relating to the Open Liberty.

Developer download links

Forum links

More resources

456 questions
1
vote
0 answers

Open Liberty and Jersey servlet - 415 Unsupported Media Type

I'm working with OpenLiberty version 22.0.0.2 (no Jakarta Restful Web Services enabled). I'm trying to implement a document upload API using the Multipart Feature Provided by Jersey. I have tried numerous suggestions, but cannot get it to…
Pola
  • 143
  • 4
  • 15
1
vote
1 answer

MicroProfile Rest client jaxrs connection pool configuration on Open Liberty

I'm implementing a rest client based on MicroProfile Rest Client spec and deployed on Open Liberty 22.0.0.9. After a few performance tests with JMeter it seems that the connection pool for the rest client is only 10. How can I change this because it…
1
vote
0 answers

Setting custom TrustManager moving from CFX to RESTEASY in openliberty

We use to specify custom trustall TrustManager in dev using ClientBuilder.newBuilder().sslContext() with CXF in openliberty. It was also working with JerseyClientBuilder. Now that we moved features to jakarta, internal implementation moved to…
Manudebouc
  • 45
  • 4
1
vote
0 answers

Websphere Liberty: configure virtualHost alias for a springboot application

I have multiple instances of springboot application running in Websphere Libery, with following server.xml:
1
vote
1 answer

Liberty server.xml : refresh

I have a customer using open liberty on Azure Kubernetes Service. They have a server.xml which refers to properties files using the mechanism. Their setup is similar to this question: java - WAS Liberty profile - Read property using…
edburns
  • 482
  • 1
  • 4
  • 13
1
vote
0 answers

Open Liberty Microprofile-JWT always returns 401

I'm currently working on implementing JWT authentication on our backend via microprofile jwt (v1.2) on an Open Liberty server (v22.0.7.). The JWT is issued by a keycloak server. It seems, I am somewhere mistaken though, because all my API calls…
t m
  • 11
  • 1
1
vote
0 answers

outbound propagation of oidc access token in Liberty

Hello I manage 2 Liberty servers that serve UI and BFF content respectively and I want to secure them both with corporate oidc OP. Having heard about inbound propagation, I was thinking in propagating the access token from UI to BFF. However I…
Kuper
  • 23
  • 4
1
vote
0 answers

Unable to get claims added to my jwt when using jwtsso+oidc in OpenLiberty

I am securing my frontend in Liberty with openidConnectClient, while also generating a JWT to achieve sso with different other downstream systems. For that I'm trying to benefit from the jwtSso feature to easily generate a JWT based on claims from…
Kuper
  • 23
  • 4
1
vote
1 answer

Binding datasource to application when using springBootApplication in Liberty?

When deploying "regular" web apps to Liberty, I was used to binding the global datasource configured in Liberty's server.xml to the individual application by using a child element within the element, like this:
moilejter
  • 958
  • 8
  • 9
1
vote
0 answers

openliberty 22.0.0.7 - unable to install features

I have installed openliberty 22007, and am trying to install the samlWeb-2.0 feature. This fails with ./featureUtility installFeature samlWeb-2.0 -v Initializing ... Using 8 threads to download artifacts. CWWKF1409E: Unable to find the following…
1
vote
1 answer

H2 Database console errors with Sorry, remote connections ('webAllowOthers') are disabled on this server if Spring Boot App deployed to Liberty server

I have spring boot app that uses H2 database. If I run it on Tomcat (comes embedded with spring boot), it works fine. However, if I deploy the war to Liberty, I get error like: Sorry, remote connections ('webAllowOthers') are disabled on this…
pixel
  • 9,653
  • 16
  • 82
  • 149
1
vote
0 answers

Attribute location of element springBootApplication is ignored

I'm following the Containerizing, packaging, and running a Spring Boot application guide. After getting it to run, I want to use my own Spring Boot application. So I took my jar, put it into the target directory and updated the server.xml file…
Roland
  • 7,525
  • 13
  • 61
  • 124
1
vote
0 answers

Integration Testing for Microprofile / OpenLiberty

I have joined a new project who are using Microprofile/Openliberty. I have searched around quite a bit on the internet and it doesnt look like there is a straight forward way to write integration tests using this framework. Some tutorials pointed me…
1
vote
0 answers

JBeret in Java EE environnement that is not Wildfly

I'm trying to use JBeret implementaton of JSR352 in an EE environment but not Wildfly/JBoss. I'm working with JBeret 1.4.7.Final deployed on Open Liberty 21.0.0.12. I know that Open Liberty have its own JSR352 implementation but I'm interested by…
Clément Honoré
  • 137
  • 1
  • 12
1
vote
2 answers

Consume and validate JWT in Open Liberty

I'm trying to use the jwt-1.0 feature in Open Liberty. The JwtBuilder API is pretty nice and allows to set expiration, sign, encrypt and build a token programmatically (and everything else…
Clément Honoré
  • 137
  • 1
  • 12