websphere-liberty

JMS Activation spec on Liberty: “WAS_EndpointInitialState” full profile equivalent property?

纵饮孤独 提交于 2019-12-11 05:27:32
问题 We are migrating some apps from WAS full profile to WAS Liberty profile. Some apps have MDBs and need JMS Activation Specs definitions connected to MQ. In order to enforce strict FIFO ordering of messages in a cluster, we set the "WAS_EndpointInitialState" property to "INACTIVE" on those Activation Specs to tell WAS full profile to not start the Activation Spec on startup. When the cluster starts, we start (ie "resume") the activation on one server only. Q: How to achieve this with Liberty

Steps to configure Bluemix Liberty application to add a certificate to the Liberty trust store using a cf CLI workflow?

北城以北 提交于 2019-12-11 04:45:57
问题 I'm using the cf CLI to deploy a spring boot application to Bluemix. I'm getting an error 'RSA premaster secret error' as can be seen here: RSA premaster secret error when using webHDFS from BigInsights on cloud I'm deploying my application like this: # Create a Liberty application in Blumemix. # Set APPNAME (below) to the name of the application. APPNAME=<<theappname>> cf login -u cf_username -p cf_password cf push $APPNAME -p build/libs/myapp.jar It seems that I need to add a certificate to

MyFaces and WebSphere Liberty Profile (ClassNotFoundException)

谁都会走 提交于 2019-12-11 04:14:11
问题 I've successfully deployed my app on WebSphere Liberty Profile (16.0.0.3), but when I try to use it, I get the following exception: java.lang.ClassNotFoundException: org.apache.myfaces.renderkit.html.HtmlFormRenderer at com.ibm.ws.classloading.internal.AppClassLoader.findClassCommonLibraryClassLoaders(AppClassLoader.java:488) at com.ibm.ws.classloading.internal.AppClassLoader.findClass(AppClassLoader.java:271) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at com.ibm.ws.classloading

How to map security role to ldap group in websphere liberty profile

和自甴很熟 提交于 2019-12-11 02:22:37
问题 I have liberty profile authentication working with MS Active directory. But I am not able to setup a role mapping to a group. I have created a security role in my web.xml: <security-role> <description>Users who are authorized to do update and insert operations</description> <role-name>AuthorizedUser</role-name> </security-role> And for full WAS with wmm I have mapped the role to a group in ibm-application-bnd.xml which works: <security-role name="AuthorizedUser" > <group name="mygroup" access

Regiser JacksonJsonProvider in Websphere liberty profile

那年仲夏 提交于 2019-12-10 14:11:10
问题 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 same code produces a NullPointerException in the wlp v16.0.0.2 Caused by: java.lang.NullPointerException at org.apache.cxf.jaxrs.impl.tl.ThreadLocalProviders.getContextResolver(ThreadLocalProviders.java:50) at org.codehaus.jackson.jaxrs

OpenID SSO in Websphere Liberty requires authentication every time I reopen a browser

≯℡__Kan透↙ 提交于 2019-12-10 12:13:57
问题 I've defined Websphere Liberty to use OpenID Connect Provider by using following feature: openidConnectClient-1.0. Everything works file except that Liberty requires from user to authenticate every time it open browser, i.e. closing browser removing all authentication details. What's wrong with my configuration or maybe I've missed something? server.xml : <featureManager> <feature>jdbc-4.1</feature> <feature>jndi-1.0</feature> <feature>ldapRegistry-3.0</feature> <feature>appSecurity-2.0<

WebSphere Liberty Profile: Context Root Not Found

允我心安 提交于 2019-12-10 09:46:42
问题 I can't seem to get this working locally, even though the same WAR works on a remote server. When I go to visit my application locally, I get the "Context Root Not Found" error. The Liberty profile version is 8.5.5.5. Here are the relevant files: server.xml <?xml version="1.0" encoding="UTF-8"?> <server description="tlc server"> <!-- Enable features --> <featureManager> <feature>jsp-2.2</feature> <feature>ssl-1.0</feature> <feature>localConnector-1.0</feature> <feature>restConnector-1.0<

“500 Error: Failed to establish a backside connection” - Bluemix Selenium Tests

爷,独闯天下 提交于 2019-12-09 23:47:17
问题 I have deployed a simple web based project which runs basic test automation on browserstack (test environment) via IBM Cloud. URL : https://gaiaautomation0.au-syd.mybluemix.net/ The tests are executed by a call from the web page and an overlay is displayed when the tests are executing (Ajax call). During execution, IBM Cloud times out randomly at different test steps with the console error below however the tests are still getting executed. Is there a way to stop the 500 error shown below.

JSF Servlet Exception: No view save state when application session jumps between servers

北城余情 提交于 2019-12-08 12:30:56
问题 I have a web app running on in a CICS environment on Liberty servers. For workload management, the application session is set up to shift between 3 different servers, which occurs randomly during a given session. Implementing this, I am currently receiving the following error: Error 500: javax.servlet.ServletException: /{page_name}.xhtml - No saved view state could be found for the view identifier: /{page_name}.xhtml The error happens at random, but it appears that it only occurs when the

IBM Worklight 6.2 Server Deployement error: DB2 Instance not found on server

喜你入骨 提交于 2019-12-08 11:29:24
问题 Environment: IBM Worklight 6.2, IBM Liberty 8.5.5.1, IBM DB2 10.5 & Windows 2008 standard Edition. For the High Availability of DB instance[WLDBINST], the following Architecture I have followed. 2 Windows Clustered Machines with IBM DB2 binary and SAN storage used to share the Database file in Common. If any 1 node is not available the other node will take over the control without any loss of the data. I have tested the DB2 instance via Cluster IP and it works fine. The below error has been