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
0
votes
0 answers

Project in Eclipse not finding javax.servlet.* with open liberty

I'm trying to run a java project with open liberty, but the servlet API is not being found. I'm using the WebSphere Application Server Liberty Profile v8.5 server and its pointing to a valid open liberty instance. 2. In the project facets Dynamic…
Mr Smith
  • 3,318
  • 9
  • 47
  • 85
0
votes
1 answer

OpenLiberty => Change SAML issuer

Is there a way to change SAML issuer URI in OpenLiberty configuration? i cannot find any documentation about it. IdP expects svil.environment while i'm sending https://svil.environment/ibm/saml20/defaultSP so it reject SAML assertion i'm using the…
0
votes
0 answers

GWT Compatibility issue with OPEN LIBERTY Vresion 23.0.0_0601

I have upgraded the Open liberty server version (v 23.0.0_601) in for my application. when we have deployed with the following combination of JDK version 8.0.372_01 and OPEN LIBERTY version 23.0.0_0601 we encountered the following error : ERROR 1…
0
votes
0 answers

Custom OpenLiberty HttpRequestFilter to use API-Keys

I'm using OpenLiberty 22 and my Java 17 EE application is secured with mpJwt-1.2 feature. My mpJwt configuration in server.xml looks like following:
Michi-2142
  • 1,170
  • 3
  • 18
  • 39
0
votes
0 answers

How can i override the http status for expired jwt when using microprofile jwt feature

I'm using microprofile jwt feature for role based access. When the jwt expires I receive a 401 status code. In order to maintain consistency with other systems here within the company I'd like to have that return a 419 status instead. Does…
Jeff
  • 1
0
votes
0 answers

source compilation errors for openliberty and JPMS

Does anybody else experience strange Source compilation had errors info messages when running an application with JPMS modules on openliberty. These are info messages I also see in my project: ...\src\main\java\module-info.java:5: Fehler: Modul…
r-uu
  • 423
  • 1
  • 4
  • 18
0
votes
1 answer

Liberty Batch function not using database persistence for job repository

I'm trying to use database persistence with the Open Liberty batch features. However, I'm seeing nothing inserted into my DB tables and I see this message in messages.log: ... I CWWKY0005I: The batch In-Memory persistence service is…
Scott Kurz
  • 4,985
  • 1
  • 18
  • 40
0
votes
1 answer

Getting "Failed to notify project evaluation listener" using Liberty Gradle plugin

With a simple Open Liberty project like one generated using the starter website (https://start.openliberty.io/) I get the following error on gradle build: $ gradle build FAILURE: Build failed with an exception. * What went wrong: A problem…
Scott Kurz
  • 4,985
  • 1
  • 18
  • 40
0
votes
1 answer

How do I view the merged Liberty server configuration after includes and configDropins are combined with the original server.xml?

QUESTION How can I see the "merged" server.xml that the runtime sees after all relevant config is combined according to Liberty precedence rules? Background My project's server.xml has a number of includes and potentially some configDropins files…
Scott Kurz
  • 4,985
  • 1
  • 18
  • 40
0
votes
0 answers

Can not inject EntityManager in Arquillian Test when running on OpenLiberty

I am preparing a new template project for Jakarta EE 10, https://github.com/hantsy/jakartaee10-starter-boilerplate Java 17 Jakarta EE 10 OpenLiberty 23.0.0.5 I tried to add tests for CDI repository and EJB stateless bean.…
Hantsy
  • 8,006
  • 7
  • 64
  • 109
0
votes
1 answer

Liberty - No Extension Processor found for handling JSPs

In a REST microservice application, one can replicate it using one of the getting start with open liberty sample applications, if you add a JSP page you get a http 403 (forbiden) error and in the warning message: No Extension Processor found for…
João
  • 2,296
  • 5
  • 20
  • 30
0
votes
2 answers

Is it possible to isolate CDI producers within the module where they are defined (in a module application with shared module)

SETUP Suppose that you have two bean archive modules A and B where A depends on B (we cannot modify B). Within B, suppose that there is a class in which an EntityManager is injected as follows: @Dependent class SomeClassImpl implements SomeClass { …
Astonvish32
  • 179
  • 2
  • 11
0
votes
0 answers

No configuration helper found for: class com.ibm.ws.springboot.support.web.server.initializer.WebInitializer

I am trying to build a Spring boot project running on Liberty server. I was able to build the jar. When I am trying to start my server I am getting and error enter image description here In build.gradle I have added classpath…
0
votes
1 answer

What are the tag names for icr.io/appcafe/open-liberty?

I need to use the 23.0.0.3 or 23.0.0.4 builds of OpenLiberty as Docker image from icr.io/appcafe. But docker search icr.io/appcafe/open-liberty (returns http status 404) does not work, and icr.io/appcafe/open-liberty:23.0.0.4-full-java11-openj9 does…
0
votes
0 answers

OpenLiberty - How to separate application logs from server logs and set the correct Log level

I use SLF4J with Logback to log events in my application which is deployed on OpenLiberty. The current log output: [INFO] [07/05/2023 00:07:53:743 CEST] 0000005a SystemOut O [ERROR] o.p.c.p.c.TextArrayConverter - ... Because of that, all logs…
Elie
  • 1
  • 1