WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Application server filter to intercept http request

    Posted 10/06/10 05:07 PM

    Hi,


    I know that filters mostly created in applications, but have requirement to create Server Side filter as:


    - validate incoming IP
    - call database
    - reject or pass HTTP URL thru to logon to application passing header


    I looked on the net, but can't find anything


     


    Appreciate any sought/suggestion/example


    Baruch



  • 2.  Application server filter to intercept http request

    Posted 10/06/10 05:19 PM

    A servlet filter runs on the server side.  If you are using a Web App, a servlet filter can perform your requirements.



  • 3.  Application server filter to intercept http request

    Posted 10/06/10 06:28 PM

    thanks,


    i am looking for example


    Baruch



  • 4.  Application server filter to intercept http request

    Posted 10/06/10 07:33 PM


  • 5.  Application server filter to intercept http request

    Posted 10/06/10 07:57 PM

    I have a related question.  How do I get my web server plugin to target a single JVM in a cluster (I have 33 available in the cluster, and when more than 6 are running, we need to be able to target a specific one when reports of trouble arise on one of them).  Oh, almost forgot.  WebSphere Commerce 6.0, FP 8,  running on WAS 6.0.2.37 on Linux with IHS as the webserver.  Do I need to create a special plugin-cfg.xml file?  This is a production issue, but we have other environments equally as complicated.


     


    Thanks



  • 6.  Application server filter to intercept http request

    Posted 12/16/10 02:33 AM

    You have to customize your plugin-cfg.xml file to route the request to only your specific JVM. You can do it byremoving the other JVM entries from the pluginfile and then recycle webserver & app server.