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

What is the difference between OpenLiberty and WebSphere Liberty?

Recently IBM created a new open source project called "OpenLiberty" that is largely shared with the codebase for WebSphere Liberty. What is the difference between OpenLiberty vs. WebSphere Liberty? What features do I get with the free open source…
Andy Guibert
  • 41,446
  • 8
  • 38
  • 61
8
votes
1 answer

Is it good practice to commit docker container frequently?

I'm using WebSphere Liberty inside. As WebSphere Liberty requires frequent xml editing, which is impossible with Dockerfile commands. I have to docker-commit the container from time to time, for others to make use of my images. The command is…
Qing Song
  • 517
  • 1
  • 3
  • 12
7
votes
2 answers

JAX-RS exception handling on Websphere Liberty

I need some help with understanding how Websphere Liberty (18.0.0.1) handles exceptions thrown within a JAX-RS endpoint invocation. I'm using Liberty feature jaxrs-2.0, so the implementation should be provided by WLP. Now, my application has a POST…
Adam
  • 93
  • 5
6
votes
1 answer

How to change Open Liberty runtime language?

I want to change the language of Open Liberty runtime to en_US from within Eclipse IDE but I don't know how. Tried to set it with preferences for the JVM arguments too but it didn't work. -Duser.language=en -Duser.country=US -Duser.variant=US This…
Evandro Pomatti
  • 13,341
  • 16
  • 97
  • 165
6
votes
1 answer

Open liberty and Hibernate

Can I use Hibernate as JPA implementation in open-liberty? If such integration exists, I would presume that it comes with distributed caching and JTA?
Hristo Stoyanov
  • 1,508
  • 3
  • 15
  • 24
5
votes
2 answers

Liberty activate @MessageDriven

I want to activate custom message listener on liberty application server . this is my code : @MessageDriven(name = "Receiver") public class Receiver implements InboundListener { @Override public void receiveMessage(String message) { …
mah454
  • 1,571
  • 15
  • 38
5
votes
2 answers

WebSphere Liberty + Springboot + Hibernate + JNDI

I am trying to migrate my small application from Tomcat to WebSphere. In order to do so, I am rebuilding it from scratch addressing major components separately. I am struggling with data access / JNDI on webSphere Liberty. I get…
mkirouac
  • 113
  • 1
  • 12
5
votes
2 answers

How to copy external dependency to Open Liberty during maven build

UPDATE - July 2021: While the accepted answer using the dependency plugin was the best solution at the time, the answer from @ltlBeBoy leverages the 'copyDependencies' support since added to liberty-maven-plugin. Using 'copyDependencies' is usually…
Anton Balaniuc
  • 10,889
  • 1
  • 35
  • 53
5
votes
1 answer

Is there a "feature" in Open Liberty to connect to IBM MQ, equivalent to wmqJmsClient-2.0 in Liberty Profile?

IBM WebSphere Liberty Profileprovides the"wmqJmsClient-2.0"feature to interact withIBM MQ Is there an equivalent for Open Liberty? [UPDATED] If not (as it seems), how to connect Open Liberty to IBM MQ? Should I develop an Open Liberty…
titou10
  • 2,814
  • 1
  • 19
  • 42
5
votes
3 answers

CDI doesn't work in a simple adapter

I've added the CDI feature to the server.xml filecdi-1.2. My maven module contains the beans.xml inside the /src/main/resources/META-INF folder. This is the beans.xml content:
5
votes
3 answers

LDAP java single sign-on on Liberty server

I want to implement Single sign on Websphere-Liberty server using Java. I want to authenticate users using LDAP. I searched a lot but could not find exact example. I have checked each available example on stack overflow as well. but no luck. It…
Yaxita Shah
  • 1,206
  • 1
  • 11
  • 17
4
votes
2 answers

open-liberty and openapi(/ui) and "no operations defined in spec!"

I can not find out why my rest api endpoints are not visible / executable in openapi/ui with openliberty. openapi/ui reports "there are no operations defined in spec!" My project consists of an empty application class and a trivial rest controller…
r-uu
  • 423
  • 1
  • 4
  • 18
4
votes
1 answer

IBM Liberty Developer Tools Not Showing Up in Eclipse

I installed the IBM Liberty Developer Tools in eclipse, but Websphere Liberty is not showing up in the server tab. Any suggestions on how to fix this? https://dzone.com/articles/java-9-on-java-ee-8-using-eclipse-and-open-liberty
Mr Smith
  • 3,318
  • 9
  • 47
  • 85
4
votes
1 answer

How to configure OAuth authorization URL

I have a JAX-RS app using MP-OpenApi to provide an OpenAPI UI using OpenLiberty. My API is authenticated using OAuth2 implicit flow. This is currently configured using annotations, like this: @SecurityScheme( securitySchemeName =…
fabspro
  • 1,639
  • 19
  • 29
4
votes
1 answer

JMS message selector on Object message

I working on liberty 18.0.0.2 with JavaEE 8 . I created Custom jms object message like this : public class MyTextMessage implements Serializable { private String text; private String destination; private LocalDateTime dateTime; …
mah454
  • 1,571
  • 15
  • 38
1
2 3
30 31