Questions tagged [websphere-liberty]

IBM WebSphere Liberty is a highly composable, fast to start, dynamic application server runtime environment.

This tag is specifically for questions relating to IBM WebSphere Liberty. IBM WebSphere is built on Open Liberty. For questions relating to Open Liberty see tag open-liberty

Developer download links

Knowledge Center links

Forum links

More resources

1717 questions
7
votes
1 answer

Project facet WebSphere Web (Co-existence) version 8.0 is not supported

I have been tasked with working on a web portal application at work. I have been given a pre-existing copy of project folders from eclipse. I am unable to get it to run. I am trying to setup a local server and do the development locally, then move…
Wes
  • 4,781
  • 7
  • 44
  • 53
6
votes
0 answers

Spring Boot JSESSIONID secure flag not set over HTTPS

We have build a Cloud Foundry app using Liberty for Java. When testing the app we found that the SSL cookie did not have the secure flag set. Issue: The JSESSIONID did not have the Secure flag set while the _VCAP_ID had the Secure flag set We have…
user1982350
  • 2,441
  • 2
  • 14
  • 11
6
votes
1 answer

Which API to call in WebSphere (Liberty) for root cause of failure of login using custom user registry?

WebSphere (traditional): In case of container based authentication with custom user registry, when the login from web application failed, we used to find the root cause of failure by…
6
votes
0 answers

Regiser JacksonJsonProvider in Websphere liberty profile

I am trying to call a REST service from an EJB hoping to utilize Jackson's @JsonIgnoreProperties(ignoreUnknown = true) The following does the trick in wlp v8.5.5.9 Client client = ClientBuilder.newClient().register(JacksonJsonProvider.class); The…
jjd
  • 2,158
  • 2
  • 18
  • 31
6
votes
2 answers

Group to role mapping in IBM Liberty (WLP) when using war

In Java EE some servers unfortunately require a vendor specific group to role mapping for the security configuration. For these servers, such mapping is mandatory even when there really is nothing to map. Unfortunately, IBM Liberty is such a server.…
Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
6
votes
3 answers

How to Start Admin Console in WebSphere Liberty Profile

I have installed WebSphere Liberty profile 8.5 . I am able to access WebSphere server with http://localhost:9080 But not sure how do I start Admin Console .
Simsons
  • 12,295
  • 42
  • 153
  • 269
6
votes
2 answers

How to increase the heap size of WebSphere Application Server V8.5 Liberty Profile in Eclipse?

I have a WebSphere Application Server V8.5 Liberty Profile in eclipse. My webapp has been giving java.lang.OutOfMemoryError and thus I need to increase the heap size. As this and this post suggested I changed the server.xml, by adding jvmEntries tag…
vishalaksh
  • 2,054
  • 5
  • 27
  • 45
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 pass datasource password to websphere liberty container during runtime

I am trying to run my app in websphere liberty profile container. I want to have 1 image which can be run on diff env(dev, st, sit etc). I can use env variable to pass the values at runtime to the container. How to use those in wlp settings? Is this…
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
1 answer

WebSphere Kerberos multi-hop failing

We have a new 3rd party app, IBM WebSphere on Linux with SPNEGO enabled for SSO to our Windows AD. This works as expected, except for one case. WebSphere calls an existing Windows Web Service that uses pass-through authentication, so the end user…
gbn
  • 422,506
  • 82
  • 585
  • 676
5
votes
2 answers

How to map admin auth constraint in web.xml OSGI WAB liberty role mapping

I am building a separate admincenter tool which required admin role to access. How can I specify it in auth-constraint of web.xml. I tried below, it is not working
Dyapa Srikanth
  • 1,231
  • 2
  • 22
  • 60
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
5
votes
1 answer

How to connect spring security configuration with IBM Liberty Profile basicRegistry

I have a running springmvc with spring security web application running on IBM Liberty profile. I use java config to set all up (and no web.xml). Extending the class WebSecurityConfigurerAdapter, I set up the simple list of users as…
Maarten
  • 51
  • 3