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

Upgrading to Springboot 2.5.x crashes application start on Liberty server

Spring Boot version (spring-boot-starter-parent): 2.5.1 Eclipse 2021 Liberty 20.x After update to Spring Boot 2.5.1, I am getting following error when starting Liberty server to host my API [AUDIT ] CWWKT0016I: Web application available…
pixel
  • 9,653
  • 16
  • 82
  • 149
1
vote
1 answer

Using Open Liberty with EclipseLink JPA provider - javax.persistence.sql-load-script-source not loading

Using Open Liberty version 21.0.0.12 with jpa-2.2 configured among features and Derby DS config: server.xml jaxrs-2.1 jsonp-1.1 cdi-2.0
Scott Kurz
  • 4,985
  • 1
  • 18
  • 40
1
vote
1 answer

open-liberty in dev mode throws "Error compiling Java files: error: option --source cannot be used together with --release" even for "empty" projects

I'm just starting to explore openliberty, so maybe there is something trivial I did not see. The project is generated by https://openliberty.io/start/ with java version 17, jakarta ee 9.1 and microprofile 5.0 options. environment: open liberty:…
r-uu
  • 423
  • 1
  • 4
  • 18
1
vote
1 answer

How to require client certificate authentication in only specific java servlets?

I am trying to create a java servlet application that requires client certificate authentication, but only on specific pages. I would like to have a landing page that doesn't require any sort of authentication which will have a link/button to go to…
1
vote
2 answers

OpenLiberty JakartaEE 9: access TransactionManager

On Docker Image open-liberty:22.0.0.1-full-java17-openj9 with the following activated features: persistence-3.0 localConnector-1.0 microProfile-5.0
schowave
  • 306
  • 2
  • 12
1
vote
2 answers

microprofile-config.properties as ConfigMap in Openliberty

This example shows how to use ConfigMaps with openliberty. The problem to me is that you have to create a section for the env variable in each of kubernetes deployment. containers: - name: system-container image: system:1.0-SNAPSHOT …
FreshMike
  • 481
  • 1
  • 6
  • 26
1
vote
2 answers

Springboot: Can springboot access server container configuration files to read needed variables instaed from application.properties file

I know Springboot applications can use application.properties or application.yaml files to retrieve variables like database connectivity setting, username, password etc. However, and because of sensitive information, our development team has these…
pixel
  • 9,653
  • 16
  • 82
  • 149
1
vote
1 answer

Multiple spring boot jar deployment open liberty

How to deploy multiple spring boot application jar in open liberty server?
1
vote
1 answer

JPA: How to specify tables from different DB2 schemas using @NamedQuery. Schema.Table cannot be the first declaration of the FROM clause

I encountering a problem when sending a GET request from Postman to test my endpoints. The same NamedQueries worked before with Derby with just the one Schema, so no need to differentiate then. I have now changed to DB2 running in a local Docker…
Dylan VR
  • 15
  • 4
1
vote
0 answers

Serve static files in openLiberty

I am trying to serve a static file on OpenLiberty application but haven't found a straightforward way to do so. At first I simply put the file in the src/resources and webapp/META-INF folder but it seems that this is not enough.After a bit of…
Omnibyte
  • 361
  • 6
  • 18
1
vote
1 answer

Compile Maven project using open liberty 21.0.0.8

Up to version 21.0.0.7 it was possible to compile project sources by including Maven dependencies with the following Maven coordinates: io.openliberty.features microProfile-4.0
1
vote
1 answer

MySql connection in Open Liberty implementation of Microprofile

im new in Microprofile world and im trying to create a microservices using Open Liberty as implementation. The main problem here starts when im trying to connect to my database using MySql, and i cant find the reason. My server.xml file is the next…
Rodrigo
  • 13
  • 2
1
vote
0 answers

Open Liberty 21.0.0.07 JMSActivation spect "Active" connections in the queue. There are two active connections in parallel and I want to limit to 1

Everytime my application starts up it is spinning two "active" MDB connections, and we want to restrict it to only 1 active while the rest should be inactive. I tried putting the following maxPoolDepth="1" maxMessages="1" But still there are two…
Daniyal
  • 11
  • 2
1
vote
1 answer

Get multipart/form-data parts with IAttachment

I try to implement a microservice client to receive multipart form-data. I'm using Eclipse Microprofile and Openliberty. Therefore, I used the example sketched on https://openliberty.io/docs/21.0.0.6/send-receive-multipart-jaxrs.html. In the example…
1
vote
1 answer

Is it possible to use open liberty with jakarta package namespace?

I have an environment that already depends on jakarta.persistence packages for JPA. Is there a way to use jakarta.persistence packages with open liberty? All the tutorials I have seen so far still seem to depend on javax- instead of…
r-uu
  • 423
  • 1
  • 4
  • 18