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

SSL Handshake Failure java.security.cert.CertPathValidatorException: Certificate chaining error

I have created a Docker image using Open Liberty and with my custom application to be hosted in Azure as Web App Service. Everything is working fine except when I try to access another controller hosted on Azure…
user42012
  • 722
  • 12
  • 33
1
vote
1 answer

How to tweak the json log format in websphere liberty

We have a liberty-based app on IBM Cloud and we'd like to send structured logs to the LogDNA service. Currently, when we set com.ibm.ws.logging.message.format=json it emits the logs in a format like this: { "type": "", "host": "", …
lmsurprenant
  • 1,723
  • 2
  • 14
  • 28
1
vote
0 answers

liberty-arquillian container adapter not reading server.env file

Issue Overview When running an arquillian liberty managed container test, the specifiec environment variables are not resolved in the server.xml file. WLPManagedContainer.class can be seen trying to find the server.env, however, a running app in the…
1
vote
1 answer

mpOpenAPI is not discovering my resources

Running Open Liberty 18.0.0.3 with mpOpenAPI-1.0 and some JAX-RS resources. The Resources is working, and the http://localhost:9080/openapi/ui/ is also running, but noone of mye JAX-RS resources is displaying in the OpenAPI gui The doc stated that…
bwa
  • 71
  • 7
1
vote
2 answers

Use log4j to log message in liberty console

Our log server consumes our log messages through kubernetes pods sysout formatted in json and indexes json fields. We need to specify some predefined fields in messages, so that we can track transactions across pods. For one of our pod we use…
Manudebouc
  • 45
  • 4
1
vote
1 answer

OpenLiberty Maven Plugin

I am trying to create a runnale openliberty server as part of my release process. I have a a multi module maven project with a submodule dedicated to packaging the server as a runnable. When I do a mvn clean package a lovely executable jar is…
1
vote
0 answers

Override application SpringBoot EmbeddedServletContainerFactory

OpenLiberty 18.0.0.3 supports automatic disabling of the embedded Tomcat Container. However, this does not appear to work when the SpringBoot application contains an EmbeddedServletContainerFactory @Bean in the SpringBoot application class. How can…
1
vote
1 answer

Is it possible to use wildcards for queue permissions in WebSphere Liberty?

The embedded messaging server in WebSphere Liberty supports access control on queues. In the server.xml, the following structure can be added under the messagingEngine section:
1
vote
1 answer

WebSphere Liberty 18.0.0.1 post parameters limit

In our Web Application that run on WebSphere Liberty 18.0.0.1 we got this error: exceeding maximum parameters allowed per request 10 000 current 10 000 cannot add more Before, that application was deployed on WAS (traditional) 8.5.5.x and we had…
Paso82
  • 13
  • 3
1
vote
1 answer

NonSqlTransientException in Liberty Server

am facing NonSqlTransientException Null userid not supported while starting the liberty server where my server.xml contain authdata
mm6
  • 84
  • 6
1
vote
1 answer

How to set up indirect JNDI lookup in WebSphere Liberty?

I am using WebSphere Liberty 17.0.0.2. The end product is an ear that contains a jar which is using JPA to access database. The EntityManager is annotated with @PersistenceContext with persistence unit name defined. In the persistence.xml under…
bdz
  • 270
  • 2
  • 9
1
vote
2 answers

Spring Boot 2.0.4 and WAS Liberty transaction 18.0.0.2 Transaction manager issue

I am a newbie in WAS Liberty and trying to deploy a spring boot application. The sever is throwing an exception at startup. [AVERTISSEMENT] Exception encountered during context initialization - cancelling refresh attempt:…
1
vote
1 answer

Contract First OpenAPI Generation

I tried to use a simple OpenAPI V3 API for implementing on OpenLiberty with a contract-first paradigm. I use the following plugin for OpenAPI Code…
Igor
  • 41
  • 5
1
vote
1 answer

How to authorize a Java Batch job so it can run from a startup bean in WebSphere Liberty?

I am trying to submit a basic batch job from within my startup bean, which is giving me an error message of "User UNAUTHENTICATED is not authorized to start batch jobs." This is my startup bean: @Singleton @Startup public class ControllerBean { …
1
vote
1 answer

How do I start a Liberty server in debug mode in the background with the liberty-maven-plugin?

Use Case The liberty-maven-plugin has a debug goal which allows you to start the server in debug mode, but in the foreground. Often when wanting to attach the debugger, this is all you'd need. You can execute tests separately somehow or via other…
Scott Kurz
  • 4,985
  • 1
  • 18
  • 40