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

What's the benefit of using docker for websphere liberty?

As Liberty has already added a server package function, it's easy enough to package a server from development to production. So why do I still need docker? Does it give any advantage?
Qing Song
  • 517
  • 1
  • 3
  • 12
1
vote
1 answer

Configuring scheduler or timer service in Liberty

We are migrating our code from WAS 8 to Liberty.In WAS 8 we have a configuration to place the updated policies to the Message Queue between 3 to 8 with 1 hour interval. We tried to imitate the same configuration in Liberty. Could anyone please help…
Venkatesh
  • 31
  • 1
  • 7
1
vote
1 answer

How to add virtual-host and how to change context root WAS DEV Maven

i tried to create Maven project for WAS Liberty server. mvn archetype:generate -DarchetypeGroupId=net.wasdev.wlp.maven -DarchetypeArtifactId=liberty-archetype-ear -DarchetypeVersion=2.2 -DgroupId=com.test -DartifactId=test…
Suresh Babu
  • 25
  • 1
  • 2
  • 8
1
vote
1 answer

Liberty 18.0.0.2: jaxrs-2.0 is not working with ldapRegistry-3.0

I'm trying to upgrade my applications from Liberty 18.0.0.1 to 18.0.0.2 but they all are now failing on: java.lang.NoClassDefFoundError: javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter ... stacktrace the problem seems to be with…
1
vote
0 answers

Spring boot application deployment in Liberty throwing Class cast exception

Am getting an error when I tried to deploy an already built spring boot application to Liberty 8.5. We are using maven & Spring boot 1.5.7. POM.XML :
user5871263
1
vote
1 answer

using openapi v3 with open liberty

I'm new to open liberty but quite impressed about the feature. But I do miss the possibility to start my development with openApi v3. Actually I can not find how using openapi.yaml and to generate the stubs as well as the implementation class. Did…
Igor
  • 41
  • 5
1
vote
1 answer

WebSphere Liberty: Access properties file from library jar file

I am running on WebSphere Liberty 17.0.0.4. Deployed a web application and custom authentication module which is located under {wlp_install_dir}/lib directory. And that jar file is marked as library in server.xml file. Here is how it looks in…
Parth Bhagat
  • 509
  • 1
  • 11
  • 24
1
vote
1 answer

What is order of evaluation for @Autowiring in SpringBoot project

I'm trying to write a simple SprintBoot REST Controller to run on Websphere Liberty, and having a problem with @Autowire. Here are the relevant (I think) pieces of code: @CrossOrigin @RestController @RequestMapping(path = "userSetting") public…
Mark Lavin
  • 1,002
  • 1
  • 15
  • 30
1
vote
2 answers

In Spring-based web application, where is my console/log output going to?

I'm writing a simple Spring-based web application and deploying it to Websphere Liberty 8.5.5.9; I've gotten past my deployment problems and the application seems to start (according to the Liberty console.log). However, I'm not seeing any console…
Mark Lavin
  • 1,002
  • 1
  • 15
  • 30
1
vote
2 answers

Migrating application from WAS Full profile 8.5.5.7 to WAS Liberty profile 17.0.0.4

I have migrated everything and deployed the application to the new server. When I try running it, I get the following exception: A communication failure occurred while attempting to obtain an initial context with the provider URL:…
EviL GaMer
  • 133
  • 13
1
vote
1 answer

Securing Liberty microprofile metrics endpoint in a MpJwt environment

I am following the OpenLiberty guides for microprofile and trying to build an example application that highlights all the microprofile features as a proof of concept for an eventual implementation. I am working with Liberty v2018.0.0.1 and have…
1
vote
1 answer

Got UnsupportedOperationException when expecting a SQL error

I have a Spring boot application which we are deploying on Websphere Liberty packaged as a war. I have been getting a UnsupportedOperationException where I was expecting a SQL Error due to a mismatch in column name. Below is the stack trace: SQL…
1
vote
1 answer

How to log/trace mssql jdbc driver from java?

I would like to log all actions(especially the connectivity related ones) from my mssql-jdbc driver. I tried to follow these instructions, but without luck. I tried to create a new logger.properties file on my…
mTv
  • 1,074
  • 17
  • 28
1
vote
1 answer

Disable batch security in WebSphere Liberty

We use a WebSphere Liberty server behind a reverse proxy. We enabled the appSecurity-2.0 feature to add a custom TAI which validates HTTP request between the proxy and Liberty. To use the batch framework that comes with WebSphere Liberty, we enabled…
Patrick
  • 447
  • 8
  • 17
1
vote
1 answer

Liberty server.xml and CORS settings

On WebSphere Liberty I have a back end that run on https://localhost:9443/context-root/objects. It works and i can test my REST APIs from a browser or postman. I coded a Web UI in Angular with Visual Studio Code. When i try to test ('> ng serve')…