websphere-8

ShallowEtagHeaderFilter does not work under WAS8 app server

风流意气都作罢 提交于 2019-12-04 07:18:45
org.springframework.web.filter.ShallowEtagHeaderFilter is unable to set response header under WAS8 application server stating " WARNING: Cannot set header. Response already committed ". However this works fine when tested under Tomcat server. ShallowEtagHeaderFilter is indeed wrapping the original response to delay the writing of response body, but still the response comes as committed after the filter chain's execution. Is this a possible websphere bug? Any suggestion / workaround to overcome this issue is welcome. I solved this issue by overriding ServletResponse.flushBuffer method. Under

NullPointerException at com.sun.faces.application.view.FaceletViewHandlingStrategy.createView

强颜欢笑 提交于 2019-12-04 05:39:35
问题 i am trying to upgrade from jsf 1.2 to jsf 2.2.2 on websphere 8.5.1 and what i did is as follows: 1- put jsf-api-2.2.2.jar and jsf-impl-2.2.2.jar in my lib folder. 2- changed header of web.xml to be as follows: <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id=

Starting Websphere from Eclipse hangs when security is enabled

人走茶凉 提交于 2019-12-03 14:09:59
I have a Websphere Application Server 8.0.0.6, which was installed as part of RAD. I need to run the server from an Eclipse Java EE Kepler or Luna. There is no problem when administrative security is disabled. However, once security is enabled, the server either doesn't start completely, or Ecplise is unable to to detect it. The progress bar stops at 23%. The last message logged is "Server server1 open for e-business". The status however is still "starting". After a while I get an error complaining that the server didn't start within 300 seconds. It then tries to stop the server, and remains

Is it possible to use Java 7 with IBM WebSphere Application Server 8.5 Trial

你离开我真会死。 提交于 2019-12-03 12:20:45
I have installed WAS 8.5 Trial version on Windows 7. I would like to deploy and run Java 7 application. Is it possible to do it? I can not see "IBM WebSphere SDK for Java Technology Edition 7" in the IBM Installation Manager's feature list and there is no SDK 7 installed, yet. >managesdk.bat -listAvailable CWSDK1003I: Available SDKs : CWSDK1005I: SDK name: 1.6_64 CWSDK1001I: Successfully performed the requested managesdk task. > Has somebody managed to make WAS 8.5 Trial and Java 7 work together on Windows 7? Thanks in advance! I've just found one of the possible solutions... Select the method

Breakpoints not working on JSP pages in Eclipse

♀尐吖头ヾ 提交于 2019-12-02 20:06:51
问题 Breakpoints are being hit in the Java code, the project is being run as Debug, "Skip All Breakpoints" is disabled, line breakpoints (blue dots) are on lines in my JSP pages. The result in the web browser debug, so I know it's hitting the right page: Why are my breakpoints on JSP pages not being hit? I'm having no issue making changes and seeing them reflected in the browser. Eclipse 4.6.2. WebSphere 8.5 Edit : I'm not sure if this is related. When I try to start my server in Eclipse it says

Breakpoints not working on JSP pages in Eclipse

喜欢而已 提交于 2019-12-02 09:35:43
Breakpoints are being hit in the Java code, the project is being run as Debug, "Skip All Breakpoints" is disabled, line breakpoints (blue dots) are on lines in my JSP pages. The result in the web browser debug, so I know it's hitting the right page: Why are my breakpoints on JSP pages not being hit? I'm having no issue making changes and seeing them reflected in the browser. Eclipse 4.6.2. WebSphere 8.5 Edit : I'm not sure if this is related. When I try to start my server in Eclipse it says Cannot connect to the server process. Make sure the server is already started. to get it to start in

Failed to deploy worklight adapter in Worklight

北慕城南 提交于 2019-12-02 09:16:05
问题 When deploying the BPM project in a development environment, everything works. However, when trying to move the project to the WAS application server, the adapter deployment fails (.war and .wlapp deployment passes successfully): Failed to deploy adapter 'BPMAdapter.adapter'. : Procedure 'getRest' in adapter 'BPMAdapter' requires security test 'BPMAdapter-securityTest' which is not defined in authenticationConfig.xml. We've verified the security test exists in authenticationConfig.xml, here's

NullPointerException at com.sun.faces.application.view.FaceletViewHandlingStrategy.createView

≡放荡痞女 提交于 2019-12-02 08:53:53
i am trying to upgrade from jsf 1.2 to jsf 2.2.2 on websphere 8.5.1 and what i did is as follows: 1- put jsf-api-2.2.2.jar and jsf-impl-2.2.2.jar in my lib folder. 2- changed header of web.xml to be as follows: <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="YourWebappID" version="2.5"> 3- changed header of faces-config.xml to be as follows: <faces-config xmlns="http:/

WebSphere MQ High Connection Count Issue

☆樱花仙子☆ 提交于 2019-12-02 05:40:47
问题 As per our configuration, we have WAS version is 8.5.5.1, IBM MQ version 7.5.0.3. We are using 2 channels to connect to WMQ, one with MAXINST set to 250 and one with 500. SHARECNV is set to 10 for both. Now we have an upper limit of making maximum 1600 connections in a queue manager but we end up crossing that limit after 3-4 days of continuous running of WAS Server. I want to understand how parameters on WAS side affect this count. We are using Queue Connection Factory and Act Spec for

Failed to deploy worklight adapter in Worklight

99封情书 提交于 2019-12-02 05:36:27
When deploying the BPM project in a development environment, everything works. However, when trying to move the project to the WAS application server, the adapter deployment fails (.war and .wlapp deployment passes successfully): Failed to deploy adapter 'BPMAdapter.adapter'. : Procedure 'getRest' in adapter 'BPMAdapter' requires security test 'BPMAdapter-securityTest' which is not defined in authenticationConfig.xml. We've verified the security test exists in authenticationConfig.xml, here's the portion of the tests, so it is, in fact present: <securityTests> <customSecurityTest name=