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

OpenLiberty Maven Plugin cannot set looseaplication to false

I'm doing practise openliberty.io multimodules with following that guide ( URL ). It's works fine as defaults. But I want to use skinnyWars structure, i got errors when i run liberty:run or liberty:dev goals and couldn't resolve it. Process steps; I…
eminc
  • 13
  • 3
1
vote
0 answers

property substitution in deployment descriptors

Wildfly replaces variables in deployment descriptors with System Properties destination ${Queue}
weberjn
  • 1,840
  • 20
  • 24
1
vote
2 answers

REST client call fails with "SunCertPathBuilderException: unable to find valid certification path to requested target"

I am trying to test 2 applications locally. One is a REST API server, the other is a REST client. The server runs on Open Liberty in eclipse. The client runs as a JUnit test in eclipse. I have installed our company certificate in the truststores of…
paul
  • 13,312
  • 23
  • 81
  • 144
1
vote
1 answer

How to switch database with Open Liberty on runtime?

I am trying to switch the database host in Open Liberty using the maven-liberty-plugin via setting a variable I use in the server.xml. In my pom.xml I have the following property: database In…
Apollo
  • 1,296
  • 2
  • 11
  • 24
1
vote
1 answer

NoClassDefFoundError for org/apache/poi/xssf/usermodel/XSSFWorkbook

I've searched along foruns and even though there's a lot of issues regarding this same error, none of them actually helped me with solving this error. I'm getting this error: org.apache.cxf.interceptor.Fault:…
lsilva
  • 147
  • 2
  • 17
1
vote
1 answer

JAX-RS security role-based (@RolesAllowed) entity filtering

In a JAX-RS application, some of my resources must be filtered depending on which roles the signed-in user has been assigned to. I'm trying to accomplish this using security annotations (@RolesAllowed, @DenyAll and @PermitAll). This is what I'm…
rslemos
  • 2,454
  • 22
  • 32
1
vote
1 answer

OpenLiberty - VisualVM

Did anyone tried working with OpenLiberty and VisualVM? I was trying with IBM Liberty 20.0.0.5 and JDK 1.8, i get this exception when using CPU Profiling. An exception occurred: java.lang.NoClassDefFoundError:…
Ramesh
  • 21
  • 3
1
vote
1 answer

Liberty 19.0.0.7 - How to load lpda profile attributes once logged in

I'm currently running on WebSphere Liberty version 19.0.0.7 with ldapRegistry configured. I am able to successfully login using the configured ldap, and I am interested in retrieving the full profile attributes for a logged in user. My first…
1
vote
1 answer

DB2 driver settings in Websphere Liberty

I have application running in Websphere Liberty and uses DB2 in Z/oS. I have set the db2 driver proerties in DB2JCCConfiguration.properties .How can make sure that the server has picked up properties I have set .I am not sure how to verify the trace…
user2462959
  • 75
  • 11
1
vote
1 answer

webprofile 6 missing in openliberty but not in websphere liberty

Currently we are trying to build a docker image with openliberty 20.0.0.3 with webprofile6 with java 8, we were able to do this with websphere liberty full profile image but not with the full profile image from open-liberty. Is this something…
1
vote
1 answer

Why does an encoded password not work in Liberty

In trying to get a Liberty container to work I'm encountering the following problem. For a database connection I have an authData section like this in the server.xml: When I try to…
Anthon
  • 95
  • 7
1
vote
1 answer

Liberty Websphere cannot load javax.transaction.Transactional when using java 11

After updating to Java 11 we get the following message: [4/3/20, 11:47:09:184 CEST] 0000002d com.ibm.ws.classloading.internal.util.FeatureSuggestion I CWWKL0084W: The javax.transaction.TransactionManager class could not be loaded. Try enabling…
bushwakko
  • 31
  • 7
1
vote
1 answer

Change response in WebSphere Liberty CONTEXT_ROOT_NOT_FOUND error

When the REST client call to a non existet context in my REST service app, the WebSphere Liberty server sends a custom CONTEXT_ROOT_NOT_FOUND error that I would like to replace with my own custom error message. I tried with FallbackHandler and…
Paco Abato
  • 3,920
  • 4
  • 31
  • 54
1
vote
1 answer

CDI injection not working in REST Resource in WAS Liberty with Jersey as JAX-RS implementation

I am using websphere liberty 19.0.0.8 and I wanted to use Jersey instead of default CXF for jax-rs implementation. I removed jaxrs-2.1 feature from server xml and packaged jersey implementation jars in my webapp .war.
1
vote
1 answer

mpRestClient cert auth handshake failure under Open Liberty

I have a cert file that is working fine under one Open Liberty instance (version 20.0.0.2 under jdk-11.0.5+10-openj9) to make outbound calls, using the standard HttpsURLConnection, to a particular endpoint that uses cert-auth. On a separate server…