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

JSF 2.3 on open liberty. Immediate javax.faces.application.ViewExpiredException

I am experimenting with Open Liberty and wanted to try out JSF-2.3 support. I must be doing something silly because when trying implicit navigation I immediately get the exception: javax.faces.application.ViewExpiredException: View…
Daniel
  • 744
  • 8
  • 24
0
votes
1 answer

Using constructor injection with CDI in OpenLiberty

I'm building a small Java EE 8 application that should run on OpenLiberty. It has a JAX-RS ContainerResponseFilter that looks like this: package my.package; import javax.inject.Inject; import javax.ws.rs.container.ContainerRequestContext; import…
mthmulders
  • 9,483
  • 4
  • 37
  • 54
0
votes
3 answers

Arquillian and Open Liberty requires existing installation?

I'm familiar with Tomcat/TomEE and testing applications using Arquillian. Now were are switching to Open Liberty. I see there is a module for Arquillian using embedded Open Liberty but it seems to require an existing Open Liberty installation whose…
sithmein
  • 437
  • 3
  • 11
0
votes
0 answers

Cannot build runnable Jar with Open Liberty 18.0.0.4

I'm trying to build a runnable jar for a MicroProfile 2.1 application using Open Liberty 18.0.0.4. I copied most code from the guide-getting-started and updated the version number from 18.0.03 to 18.0.0.4. However, the runnable Jar is not build and…
sithmein
  • 437
  • 3
  • 11
0
votes
1 answer

JNDI lookup error for name: java:comp/env/jdbc/DynaPropDB

Am getting below error while starting the liberty server: [ERROR ] com.it.properties.PropertyResourceException for user [UnKnown] self logged on Jan 23, 2019 12:43:12 PM. Exception instance reference code…
mm6
  • 84
  • 6
0
votes
1 answer

OpenAPI multimodule EAR deployment

I would like to package 2 openapi.yaml definition files with it's corresponding implementation, each one in it's own war file into one ear and deploy it to openliberty. So war this works and when openliberty start up it shows me the url for…
Igor
  • 41
  • 5
0
votes
1 answer

How change the logging level at runtime for IBM Liberty server?

The IBM WAS8 allows changing the logging level at runtime via API. How to do the same thing for IBM Liberty server without changing the server.xml? I think this is possible via defining custom API, e.g. REST endpoint that will do this. Is the vendor…
senleft
  • 483
  • 1
  • 4
  • 17
0
votes
0 answers

Websphere Liberty profile deployment Error

How to configure WebSphere liberty profile and data source configuration steps using Oracle DB and please tell me the step by step process. I have installed liberty profile (WebSphere Liberty 17.0.0.4) after deployed the EAR file it's getting below…
anil
  • 1
  • 2
0
votes
1 answer

start server manually on open-liberty via terminal

I am trying to run an open-liberty server on my ubuntu machine. But when I browse to ~/wlp/bin and type in ./server create name I recieve the message: ./server: 793: ./server: ~/ibm-java-x86_64-80/jre/bin/java: not found What am I missing? I kept…
hoelsch_
  • 1
  • 3
0
votes
1 answer

Could not read log4j.properties

We are having a module which contains log4j.properties and other files in it. And there is a separate module which is dependent on the 1st module(Realign). So we had made the 1st module as a jar file and placed it in the WEB-INF/lib folder of the…
Venkatesh
  • 31
  • 1
  • 7
0
votes
2 answers

OpenLiberty MP Config Sample getProperties() repetitive called

I tried the OpenLiberty MP Config Sample (guide-microprofile-config), so far it works. But when analyzing it more closely, I found out that the method getProperties() in the file CustomConfigSource is called several times in repetition. This is a…
Igor
  • 41
  • 5
0
votes
0 answers

modify HTTP header in web service call

I have a web service where the customer sends the http header with the SOAP action with single quotes (...;action='myServiceOp'). We used traditional Websphere application server 8, but migrated to Websphere Liberty. Now Liberty does not like this…
kinglite
  • 339
  • 3
  • 20
0
votes
2 answers

Is UCP supported with Websphere liberty

I cant seem to find a straight answer on this question. We would like to use Oracle's UCP with liberty base/open. Is this doable? Has anyone tried this and had problems, did it work? Thanks for answering.
0
votes
1 answer

Does OpenLiberty 18.0.0.2 come with an embedded database like Derby DB or H2?

I can't find any documentation about an embedded database within OpenLiberty 18.0.0.2 like Payara or Wildfly. Is there an embedded database shipped with OpenLiberty per default or do I have to configure a H2 or Derby DB by myself? Right now I am…
rieckpil
  • 10,470
  • 3
  • 32
  • 56
0
votes
2 answers

Where are websphere-liberty logs inside a docker container?

After installing websphere liberty into a docker container, logs are no longer under wlp/usr/servers/server1/logs. I can tail the log by : docker logs --tail=all -f $id but where are they in the container?
Qing Song
  • 517
  • 1
  • 3
  • 12