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
2 answers

ConstraintValidator Double time call isValid() method

Any Body explain me why isValid() method of ConstraintValidator class called twice ? for example this is my example code : @POST @Path("/json/dog") @Produces("application/json") @Consumes("application/json") public Response…
mah454
  • 1,571
  • 15
  • 38
2
votes
2 answers

configuring dev and prod datasource in liberty dynamically to load based on the environment

I am running java batch(jsr352) using liberty server. The datasource configured in server.xml. I would like to load server.xml based on the region(like dev, sit, prod). How can I pass arguments to start liberty server and load the datasource…
user3540722
  • 175
  • 1
  • 2
  • 11
2
votes
4 answers

Open Liberty Log Configuration Exception on Sample Project

I am attempting to get started with running the OpenLiberty java server on Fedora 28, but I can't launch the sample app from the OpenLiberty home page. The instructions say: git clone https://github.com/OpenLiberty/sample-getting-started.git cd…
jsolum
  • 196
  • 2
  • 15
2
votes
1 answer

JMS 2 MDB listen to multiple queue

I use JavaEE 8 on Liberty 18.0.0.2 . I setup jms activation config like this (server.xml):
mah454
  • 1,571
  • 15
  • 38
2
votes
2 answers

WLPs MicroProfile (FaultTolerance) Timeout Implementation does not interrupt threads?

I'm testing the websphere liberty's fault tolerance (microprofile) implementation. Therefore I made a simple REST-Service with a ressource which sleeps for 5 seconds: @Path("client") public class Client { @GET @Path("timeout") …
2
votes
1 answer

Quartz 1.8.5 + OpenLiberty 18.0.0.4/ Websphere Liberty 17.0.0.4 java.lang.NoClassDefFoundError: oracle/sql/BLOB

we get the following exception when using quartz 1.8.5 and the liberty server. While using a tomcat-server (7.0.81) the exception doesn't occur. java.lang.NoClassDefFoundError: oracle/sql/BLOB at…
2
votes
1 answer

How to configure OpenLiberty 18.0.0.2 to use Liberty embedded messaging?

I am trying to configure the OpenLiberty 18.0.0.2 to use embedded messaging for sending some simple JMS messages. My current server.xml looks like the following:
rieckpil
  • 10,470
  • 3
  • 32
  • 56
2
votes
2 answers

Container managed MongoDB Connection in Liberty + Spring Data

We have developed an application in Spring Boot + spring data (backend) + MongoDB and used IBM Websphere Liberty as application Server. We were used "Application Managed DB Connection" in an yml file and enjoyed the benefit of Spring Boot…
omega
  • 592
  • 2
  • 5
  • 21
2
votes
1 answer

WebSphere Liberty Customize TimeStamp in message.log

I dont like the way how the Liberty Server is showing MetaData. You have the choice of no MetaData at all in the console.log or WAY to much to work with it effective in the message.log. my current formatting in the message.log looks like…
2
votes
1 answer

How do I include third party libraries in openLiberty maven build

I'm currently running a PoC with open Liberty and I'm having a bit of trouble with libraries. The short of it is our project has a few third party jars that need to be included as libraries, but I can't figure out how to include them when I run mvn…
2
votes
1 answer

How to use Angular with Liberty WebSphere Server

I have a project at work that uses AngularJS + JSP on a Liberty WebSphere Server 17.0.0.2 and now I have to make an upgrade on it. The project needs to be upgraded to Angular 4 + Liberty and I have no idea on how to do it properly. What I have tried…
2
votes
1 answer

How to use a CXF ResourceComparator with Openliberty

is it possible to use a CXF ResourceComparator in OpenLiberty or WASLiberty? http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-Customselectionbetweenmultipleresourcesoroperations Must the cxf dependencies be supplied in the WEB-INF/lib or…
PacoG
  • 101
  • 1
  • 4
2
votes
2 answers

WAS Liberty application gets 404 Not Found on webpage refresh

I am developing an application and server which run under Websphere Application Server Liberty profile version 17.0.0.3. I have developed the web application in Angular 4. Everything is working well as long as I don't attempt to refresh/reload a…
2
votes
1 answer

OpenLiberty (WAS) support in Idea

is there any way to configure OpenLiberty (17.0.0.X) in idea's application servers? I use IDEA ultimate 2017.2 and tried straightforward approach: Edit configurations -> Add new -> Websphere Local When I point OL home directory IJ complaints that…
wilu
  • 549
  • 1
  • 12
  • 26
2
votes
2 answers

Connect to Sql Server on liberty using mssql-jdbc

I'm trying to connect to a Sql Server database from a liberty server. Doesn't work as I'm getting a 500 from the liberty server and the logs give me this error message: The driver could not establish a secure connection to SQL Server by using Secure…
mTv
  • 1,074
  • 17
  • 28