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

Using microprofile-config-api: WELD-001408: Unsatisfied dependencies for type String with qualifiers @ConfigProperty

I playing with the mpConfig-1.2 feature, but it seems to not work in my setup. Using Liberty 18.0.0.2. Have added the maven dependency for microprofile-config-api, CDI is working fine, but the @ConfigProperty is failing at startup with the…
bwa
  • 71
  • 7
3
votes
1 answer

How to use H2 database with JPA on WebSphere Liberty

I have a very simple web application running on WebSphere Application Server 18.0.0.2. The app is packaged into WAR and put under dropins (for simplicity). My server.xml looks like this:
ikos23
  • 4,879
  • 10
  • 41
  • 60
3
votes
2 answers

OpenLiberty NameNotFoundException: java:/comp/env

I have a web app running in Tomcat correctly that I want to run on the new OpenLiberty server, the app is starting correctly inside OpenLiberty but at the moment of the database connection initiation is throwing the following exception: [Default…
aleroot
  • 71,077
  • 30
  • 176
  • 213
3
votes
1 answer

Liberty macOS installUtility with Java 9

Running bin/installUtility install javaee-7.0 on macOS with Oracle Java 9.0.1 fails. The only output is: javax/xml/bind/JAXBException When I temporarily switched to Java 8 (Zulu 8) it works fine. What are required Java environments? Could not find…
ondruska
  • 135
  • 1
  • 7
3
votes
2 answers

Maven build is not getting feature installed properly

When trying to configure my pom.xml file with the passwordUtilities feature, messages.log always seems to show that the feature is not installed during server startup, even though it's in the feature manager list and I can see all the required…
Dave Cohen
  • 31
  • 1
3
votes
4 answers

Strange character encoding

I have a project that runs on WebSphere Liberty on Linux. My language is brazilian portuguese and we have some accented words. My java code sets some user messages like below: ... ErroResponse erroResponse = new…
2
votes
0 answers

Kubernetes: Liveness for apps deployed in liberty app server

As of today, our application has a health check endpoint that is used for liveness probe checks in k8s. Liberty is configured with 50 executor threads. If all the 50 executor threads are busy, the request would queue up and wait for an executor…
dinup24
  • 1,652
  • 3
  • 16
  • 26
2
votes
1 answer

How can I set the context root in Liberty using server configuration (server.xml) for my EAR-packaged WARs?

I tried to set my context root with the value "new-ctx" in Liberty server config: server.xml This was intended to override the setting in my EAR-level pom, which…
Scott Kurz
  • 4,985
  • 1
  • 18
  • 40
2
votes
1 answer

How to - enable distributed tracing on our z/OS Connect servers (based on WebSphere liberty Profile and open-liberty)?

I am writing to you today to request assistance in enabling distributed tracing in z/OS Connect and CICS while working with API requesters - from COBOL routines (in the scope of online CICS transactions) that activates APIs via the zCEE…
2
votes
1 answer

WELD-001408: Unsatisfied dependencies in OpenLiberty with implicit bean scanning (CDI) disabled

Recently, I've discovered the MVC Toolbox for Jakarta MVC. I decided to give it a try. So I'm developing an application with MVC and the Toolbox. I'm packaging the application as an EAR and aiming to deploy it in OpenLiberty. Following this advice,…
mthmulders
  • 9,483
  • 4
  • 37
  • 54
2
votes
1 answer

Is it possible to unset a JVM option?

Our app server, OpenLiberty, supports config defaults and overrides as defined at https://openliberty.io/docs/latest/reference/config/server-configuration-overview.html#jvm-options Options are read and provided to the JVM in order. If you provide…
lmsurprenant
  • 1,723
  • 2
  • 14
  • 28
2
votes
1 answer

Location of compiled JSP in Open Liberty

I added this config element to my server.xml - Will this generate compiled jsp to the disk somewhere? IF so where? My Open Liberty server started with no complaints about this config element, but I can't find…
Mr Smith
  • 3,318
  • 9
  • 47
  • 85
2
votes
1 answer

Kernel-slim UBI docker image not working with springBootUtility

Team, Is it possible to use springBootUtility with OpenLiberty kernel-slim UBI images (e.g. - kernel-slim-java8-openj9-ubi) ? https://openliberty.io/docs/21.0.0.7/reference/command/springbootUtility-thin.html Because, it's giving an error as Step…
Maddy
  • 21
  • 2
2
votes
1 answer

Open-liberty "Unable to verify if the server was started after 30 seconds." after changing logDirectory

When I set a logDirectory in my server.xml I get the following error when starting up the server: Unable to verify if the server was started after 30 seconds. Consider increasing the serverStartTimeout value if this continues to occur. I created…
BrentL
  • 47
  • 1
  • 10
2
votes
1 answer

how to debug open liberty datasource issues

My Open Liberty application doesn't connect to the database. How do I debug the connection settings. For example the connection fails with: [INFO] Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.8.v20201217-ecdf3c32c4):…
Ich
  • 1,350
  • 16
  • 27
1 2
3
30 31