websphere-8

Websphere 8.5 with Spring-5

喜你入骨 提交于 2019-11-27 13:34:59
问题 Is Websphere 8.5.5 compatible with Spring 5? The Validation API referenced in spring5 (validation-api 5) is resulting in MethodNotFound exception.. Any pointers/patch available to get this solved - short of upgrading to Websphere 9? Caused by: java.lang.NoSuchMethodError: javax/validation/Configuration.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider; (loaded from file:/opt/IBM/WebSphere/AppServer/plugins/javax.j2ee.validation.jar by org.eclipse.osgi.internal

Spring boot JNDI datasource lookup failure - Name comp/env/jdbc not found in context “java:”

三世轮回 提交于 2019-11-27 06:14:03
问题 I have setup a spring boot (v 1.1.9) application to deploy as a WAR file. And I'm trying to integrate this web application with an existing data service module (added as a maven dependency). Environment trying to deploy: WebSphere Application Server 8.5.5.4 The issue I'm facing is an application start-up failure when try to look-up a JNDI dataSource ( jdbc/fileUploadDS ) as below within the dependent data service module. @Configuration @Profile("prod") public class JndiDataConfig implements

Getting ViewExpiredException in clustered environment while state saving method is set to client and user session is valid

和自甴很熟 提交于 2019-11-27 04:54:22
I have a JSF application that uses Mojarra 2.2.9 and is deployed on WebSphere 8.5.5.4 on clustered environement and javax.faces.STATE_SAVING_METHOD is set to client . Even though all my application beans are request scoped, sometimes when the user session is valid and the user is doing post request on a page he gets ViewExpiredException . What may be causing this issue and how can I solve it? Will changing the javax.faces.STATE_SAVING_METHOD to server solve it? If so, what is the impact of doing this on memory? Also, does this have anything to do with cluster environement and maybe there's

How to make websphere 8.5 use mojarra not myfaces

北慕城南 提交于 2019-11-26 18:32:58
问题 i've a JSF2 (Richfaces 4.1.0) project running in eclipse. I'm trying to run it on WAS 8.5 using mojarra jsf implementation (2.2.0). Then lib are provided with maven but the server seems to override them since in console i can read that Myfaces as been loaded. i'm wondering why WAS act like this ? how to make the project use mojarra without using shared libs in was admin console ? this is maven relevant portion of code : <dependency> <groupId>com.sun.faces</groupId> <artifactId>jsf-api<

Getting ViewExpiredException in clustered environment while state saving method is set to client and user session is valid

风格不统一 提交于 2019-11-26 11:24:54
问题 I have a JSF application that uses Mojarra 2.2.9 and is deployed on WebSphere 8.5.5.4 on clustered environement and javax.faces.STATE_SAVING_METHOD is set to client . Even though all my application beans are request scoped, sometimes when the user session is valid and the user is doing post request on a page he gets ViewExpiredException . What may be causing this issue and how can I solve it? Will changing the javax.faces.STATE_SAVING_METHOD to server solve it? If so, what is the impact of