Posts

Showing posts from July, 2019

Remote Debugging with Eclipse + WebSphere 8

Image
So far, there is still lack of WebSphere 7 plugin for both Eclipse and NetBeans IDE. However, you are able to debug your web application via  Java Debugger (jdb) . Here’s a guide to show you how to remote debugging your web application in Eclipse and WebSphere via Java Debugger (jdb). Eclipse < ---- > Java Debugger ( jdb ) < ---- > WebSphere 7 Copy 1. Enable WebSphere in Debug Mode In WebSphere web console, left navigation, 1. Servers –> Server Types –> WebSphere application servers 2. Under Server Infrastructure section –> expand Java and Process Management –> Process definition 3. Under Additional Properties section –> click Java Virtual Machine 4. Checked the “ Debug Mode ” 5. In Debug arguments textbox, put this - Xdebug - Xnoagent - Xrunjdwp : transport = dt_socket , server = y , suspend = n , address = 8888 Copy 6. Restart WebSphere server instance. Now, WebSphere is started in debug mode, and listening on port ...

Enabling WL-Proxy-SSL HTTP header in WebLogic

Scenario : Weblogic server will be always behind the LoadBalancer or Apache layer. Most of the time the SSL's will be either offloaded in LoadBalancer or Apache layer.  To construct applicaitons URL's with the right protocol will be a challenge while using weblogic as application server.  To achieve this scenario we have to enable  WL-Proxy-SSL  and  WebLogic Plug-In Enabled. Solution: - Update the LoadBalancer configurations/iRules to set the RequestHeader  WL-Proxy-SSL  to  true . - Follow the below steps to set the WebLogic 'Plugin Enabled' flag to Yes. (Following steps are based on the weblogic version 12.1.2)    - Login into weblogic console    - Click on Lock & Edit button     - Click on the domain name    - Under Configurations tab go to "Web Applications" sub tab    - Select the check box "WebLogic Plugin Enabled" and click "save" button    - Finally click on "...