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
1 answer

open liberty won't start app after initial startup

I'm using the liberty-maven-plugin v3.7.1 to start an app in liberty (mvn liberty:dev). My pom setting is listed below. When I run this the first time, with no server in the liberty wlp directory, it works. When I stop the server & run a second…
Mr Smith
  • 3,318
  • 9
  • 47
  • 85
0
votes
0 answers

Microprofile metrics on openliberty, how to get metrics for dependency which you control

Microprofile allows you to expose metrics for your application, but common logic is placed in a separate repository which is added as a dependency to the POM. How can I get the metrics for this common library which is included in all of our…
Vinagy
  • 133
  • 2
  • 11
0
votes
1 answer

How to use MicroProfile ConfigProperty injection from a microprofile-config.properties file in Open Liberty test using ShrinkWrap + Arquillian?

Problem I added a microprofile-config.properties file to the Liberty "Testing microservices with the Arquillian managed container" guide sample, but my microprofile-config.properties isn't picked up by my test. Symptom > Exception :…
0
votes
0 answers

IBM Liberty Runtime Server.xml File Error

I am getting errors as follows in the Liberty Runtime server.xml in Eclipse, I could not solve it. Multiple annotations found at this line: No grammar constraints (DTD or XML Schema). Referenced file contains errors…
0
votes
1 answer

Is it possible to change or configure the "/openapi" url on which OpenLiberty generates the OpenAPI documentation

Is it possible to change the url / context-root of the openapi documentation which openliberty generates (microprofile-5.0 and mpConfig-3.0) By default this is generated on "/openapi" but I was wondering if this can be configured. I tried to see if…
dvde
  • 1
  • 1
0
votes
1 answer

Spring Boot - How to run it in OpenLiberty

I have read number of articles on adding OpenLiberty plugin or dependency to Spring Boot app. For example https://www.baeldung.com/java-open-liberty I tried all the suggestions but without success. What I did so far? I added plugin to the section…
pixel
  • 9,653
  • 16
  • 82
  • 149
0
votes
0 answers

Duplicate a liberty server, application won't start

I have installed on my laptop a Liberty server, just unzipped, launched server create and copied some files from the remote server test environment and put a .war with a local configuration. Run the server through command line and the…
Accollativo
  • 1,537
  • 4
  • 32
  • 56
0
votes
0 answers

What is the correct location for the jspEngine config?

I am working on a small JSP project...and I want to add a configuration that is mentioned here : https://openliberty.io/docs/latest/reference/config/jspEngine.html Specifically, i want to add keepGenerated ="true" 2 questions: Is the location of…
Teshte
  • 624
  • 1
  • 7
  • 26
0
votes
1 answer

JSF user lockout after X failed login attempts

For my JSF 2.3 application, I use form login in to authenticate user (against LDAP). The container is Liberty server. This is all working fine. However, I am trying to implement user lockout after 3 failed login attempts and I am not sure how to do…
pixel
  • 9,653
  • 16
  • 82
  • 149
0
votes
0 answers

Problems During Gradle Building in OpenLiberty (BuildLifecycleController Error)

I am facing problems with my Gradle Build Configuration. I am trying to execute a gradle wrapper command in OpenLiberty specification which is the following, ./gradlew libertyDev But I am receiving the following errors What went wrong: Gradle…
Alex_Pap
  • 276
  • 3
  • 15
0
votes
1 answer

OpenLiberty not accepting JMS connection from JMSToolBox

This is a continuation of what I'm attempting to achieve here, connecting JMSToolBox to OpenLiberty. I followed the instructions in the previous question successfully. I'm getting the following in message.log in JMSToolBox when I attempt to connect…
John Deverall
  • 5,954
  • 3
  • 27
  • 37
0
votes
1 answer

How to validate path parameter in microprofile

Here key is pathParam. And even if I send the value of key greater than 9. It sends me valid response, instead of throwing validation error. Curl request - curl --location --request GET 'localhost:8080/v1/batch-tokens/11/action/count' Code…
0
votes
0 answers

How to call a remote EJB 3.1 with its client on OpenLiberty

I'm new to Open Liberty. I need to call an EJB 3.1 deployed on WAS 8.5 but I can't find any documentation or tutorial on how to do it. Is this feature present in OpenLiberty? Which features should i enable on my server.xml? And what is the code to…
Yanosh
  • 368
  • 5
  • 15
0
votes
1 answer

Connecting JMSToolbox to JMS app on OpenLiberty

I am trying to connect JMSToolbox to an app that is driven by JMS queues running on OpenLiberty. I am using Open liberty version 22. Specifically 22.0.0.11-202210101601 As far as I can tell, the correct documentation to follow is…
John Deverall
  • 5,954
  • 3
  • 27
  • 37
0
votes
0 answers

@Transactional on EJB beans

Too simple, this is my setup : Jakarta : 9.1 Liberty Application Server : 22.0.0.10 server.xml :
mah454
  • 1,571
  • 15
  • 38