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

How to add Postgres Driver to Open Liberty?

I am implementing a basic REST API with Micorprofile 3.2 and deploying it with Open Liberty. The server.xml,
max
  • 45
  • 1
  • 5
2
votes
1 answer

Difference between wasdev and openliberty maven plugin

What are the difference between net.wasdev.wlp.maven.plugins and io.openliberty.tools liberty-maven-plugin and which one should I use ?
2
votes
1 answer

How to add proprietary Apache CXF features to Open Liberty

I'd like to use a proprietary Apache CXF feature (Multipart handling for file upload), which is not covered in the JAX-RS 2.1 spec. Adding the following dependency to my Jakarta EE 8 project results in weird internal Apache CXF NPEs:
rieckpil
  • 10,470
  • 3
  • 32
  • 56
2
votes
1 answer

FacesConverter is null (JSF 2.3, CDI 2.0)

I tried to setup a FacesConverter to display some entity through my JSF page as referenced in JSF specification. I'm running the following: - Open Liberty 19.0.0.11 (tested on 19.0.0.6 as well, don't ask me why this version, I picked randomly…
Cedric
  • 23
  • 2
2
votes
1 answer

Websphere liberty 19 configure jndi datasource

I have deployed two ears and to one of them i do not have access. There is a file application-web-bnd.xml where is reference to datasource In my server.xml file i have defined datasource
darkstar
  • 21
  • 6
2
votes
1 answer

How can I include lib into my embedded OpenLiberty jar?

I'm trying to set h2 database configuration in my OpenLiberty application. You could find the project in my Github account I use the maven profile OpenLiberty to build an embedded…
bmeynier
  • 289
  • 2
  • 12
2
votes
2 answers

OpenLiberty can not inject environment variable

I am trying to inject a property which is defined in server.env. @Inject @ConfigProperty(name = "property") private String serverProperty; content of server.env property=server-env-property I have added it inside…
Anton Balaniuc
  • 10,889
  • 1
  • 35
  • 53
2
votes
1 answer

Openliberty with java11 has warnings

I used OpenLiberty version 19.0.0.4 with JavaEE 8 on JRE runtume version 11 . when i running application server , receive this warnings : [WARNING ] CWWKS3103W: There are no users defined for the BasicRegistry configuration of ID…
mah454
  • 1,571
  • 15
  • 38
2
votes
0 answers

Injected variable is null after some time

We currently have a very weird problem with a web application running inside Open Liberty 18.0.0.4. We are injecting a Mongo database connection into a JAX-RS request handler. The producer for the injected value simply returns a member variable that…
sithmein
  • 437
  • 3
  • 11
2
votes
4 answers

Websphere Liberty: How to specify log4j2 configuration location?

I'm trying to tell Websphere Liberty where is located my log4j2.xmlfile, but it isn't working. In my file jvm.options I configure: -Dlog4j.configurationFile=file:///${server.config.dir}/log4j2.xml but it looks like Liberty does not understand the…
neves
  • 33,186
  • 27
  • 159
  • 192
2
votes
1 answer

IBM Liberty message consumption with fail-over

We are designing a solution that will consume messages from IBM MQ using JMS. The plan is to use WAS Liberty, so JMS is the technology of choice. We will create Message-Drive beans that will listen for messages in MQ queues. We are considering both…
Evandro Pomatti
  • 13,341
  • 16
  • 97
  • 165
2
votes
1 answer

How to get a stable version from docker hub for open-liberty image?

i am a bit confused because of the version and tag handling of the open-liberty image. First: Whats the different between https://hub.docker.com/_/open-liberty and https://hub.docker.com/r/openliberty/open-liberty? Whats the right one? I want to use…
aemik
  • 35
  • 4
2
votes
1 answer

How do consoleSource and consoleLogLevel relate to the log settings in server.xml?

The documentation at https://www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/rwlp_logging.html lists the following config snippet for configuring logs to go to the console in JSON format (a useful configuration…
lmsurprenant
  • 1,723
  • 2
  • 14
  • 28
2
votes
1 answer

Including mpHealth feature breaks standalone application in Open Liberty

I'm currently playing with Open Liberty 18.0.0.4 and its Microprofile support. When I try to build a standalone runnable Jar which includes the mpHealth-1.0 feature, startup fails with [ERROR ] CWWKF0033E: The singleton features…
sithmein
  • 437
  • 3
  • 11
2
votes
1 answer

Best way to package liberty app with default java truststore (cacerts)

I'm packaging a liberty application which works with Db2. When we run locally, we configure certificates to secure the connection from app to db. Now I'm trying to package the same application for use with the Db2 on Cloud service, and I'm having…
lmsurprenant
  • 1,723
  • 2
  • 14
  • 28