Key Pattern Filter

Hi,
I use naming conventions for the keys, and would like to query based on a pattern in the key. e.g. all keys that start with "x"
I'm using Strings for my keys. How do I write a filter to do this?
I tried creating this Filter:
import java.util.regex.*;
public class KeyRegexFilter implements EntryFilter {
     protected Pattern pattern;
     public KeyRegexFilter(String regex) {
          pattern = Pattern.compile(regex);
     public boolean evaluateEntry(Map.Entry entry) {
          return evaluate(entry.getKey().toString());
     public boolean evaluate(Object obj) {
          if (obj instanceof ConverterCollections.ConverterMapEvent) {
               ConverterCollections.ConverterMapEvent mapEvent = (ConverterCollections.ConverterMapEvent)obj;
               return evaluate(mapEvent.getKey().toString());
          return false;
     protected boolean evaluate(String input) {
          Matcher matcher = pattern.matcher(input);
          return matcher.find();
The problem I ran into is that mapEvent.getKey() is a com.tangosol.util.Binary object.
Regards,
Harry

Hi Harry,
you could check the JavaDoc of the LikeFilter and the KeyExtractor classes.
E.g. your functionality of filtering for the cache key starting with x can be done with the following combination of those classes:
import com.tangosol.util.extractor.IdentityExtractor;
import com.tangosol.util.extractor.KeyExtractor;
import com.tangosol.util.filter.LikeFilter;
char chEscape='\\';
boolean bCaseSensitive=false;
ValueExtractor extractor = new KeyExtractor(IdentityExtractor.INSTANCE);
Filter filter = new LikeFilter(extractor, "x%", chEscape, bCaseSensitive);You can use the filter to query according to your requirements.
The extractor object can be used to create an index on your cache so that the querying proceeds even faster. You should create an ordered index for maximum performance for this query.
Best regards,
Robert

Similar Messages

  • Catching Alt Key Press with the Key Down Filter Event

    I am writing an application that requires specific key combinations using ctrl, shift, and alt in addition to a function key (F1, F2, F3, etc).  The application works great except for when I try to catch an alt key press.  The alt key press does not seem to fire an event eventhough it is an option in the PlatMods cluster as well as the VKey enum.  When I press the alt key when my application is running the cursor changes to a normal mouse pointer from the usual finger pointer and prevents any other key presses from going through (in addition to not firing an event itself).
    I have tried completely removing the run-time menu, which doesn't seem to help.  I currently discard all keys after I handle them in my event structure.
    I really hope that the only solution isn't using a Windows DLL.  Any suggestions or ideas at all would be greatly appreciated.
    Thanks,
    Ames

     Hi Ames
    As Kileen has said Khalid has already given you a good solution to detect the ALT key.
    I have another approach that might let you stick to your event-driven approach. I suggest that you have another loop in your app that polls the keyboard using the Input Device utility vi's. When this poll loop sees an ALT + KEY combo it raises a dynamic user event and will be processed in your event structure. This means you can keep your key down filter event to process the CTRL + KEY and SHIFT + KEY events.
    Example attached in 7.1
    cheers
    David
    Attachments:
    Catching Alt Key Press Poll with Events(151551).vi ‏89 KB

  • Huge performance differences between a map listener for a key and filter

    Hi all,
    I wanted to test different kind of map listener available in Coherence 3.3.1 as I would like to use it as an event bus. The result was that I found huge performance differences between them. In my use case, I have data which are time stamped so the full key of the data is the key which identifies its type and the time stamp. Unfortunately, when I had my map listener to the cache, I only know the type id but not the time stamp, thus I cannot add a listener for a key but for a filter which will test the value of the type id. When I launch my test, I got terrible performance results then I tried a listener for a key which gave me much better results but in my case I cannot use it.
    Here are my results with a Dual Core of 2.13 GHz
    1) Map Listener for a Filter
    a) No Index
    Create (data always added, the key is composed by the type id and the time stamp)
    Cache.put
    Test 1: Total 42094 millis, Avg 1052, Total Tries 40, Cache Size 80000
    Cache.putAll
    Test 2: Total 43860 millis, Avg 1096, Total Tries 40, Cache Size 80000
    Update (data added then updated, the key is only composed by the type id)
    Cache.put
    Test 3: Total 56390 millis, Avg 1409, Total Tries 40, Cache Size 2000
    Cache.putAll
    Test 4: Total 51734 millis, Avg 1293, Total Tries 40, Cache Size 2000
    b) With Index
    Cache.put
    Test 5: Total 39594 millis, Avg 989, Total Tries 40, Cache Size 80000
    Cache.putAll
    Test 6: Total 43313 millis, Avg 1082, Total Tries 40, Cache Size 80000
    Update
    Cache.put
    Test 7: Total 55390 millis, Avg 1384, Total Tries 40, Cache Size 2000
    Cache.putAll
    Test 8: Total 51328 millis, Avg 1283, Total Tries 40, Cache Size 2000
    2) Map Listener for a Key
    Update
    Cache.put
    Test 9: Total 3937 millis, Avg 98, Total Tries 40, Cache Size 2000
    Cache.putAll
    Test 10: Total 1078 millis, Avg 26, Total Tries 40, Cache Size 2000
    Please help me to find what is wrong with my code because for now it is unusable.
    Best Regards,
    Nicolas
    Here is my code
    import java.io.DataInput;
    import java.io.DataOutput;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    import com.tangosol.io.ExternalizableLite;
    import com.tangosol.net.CacheFactory;
    import com.tangosol.net.NamedCache;
    import com.tangosol.util.Filter;
    import com.tangosol.util.MapEvent;
    import com.tangosol.util.MapListener;
    import com.tangosol.util.extractor.ReflectionExtractor;
    import com.tangosol.util.filter.EqualsFilter;
    import com.tangosol.util.filter.MapEventFilter;
    public class TestFilter {
          * To run a specific test, just launch the program with one parameter which
          * is the test index
         public static void main(String[] args) {
              if (args.length != 1) {
                   System.out.println("Usage : java TestFilter 1-10|all");
                   System.exit(1);
              final String arg = args[0];
              if (arg.endsWith("all")) {
                   for (int i = 1; i <= 10; i++) {
                        test(i);
              } else {
                   final int testIndex = Integer.parseInt(args[0]);
                   if (testIndex < 1 || testIndex > 10) {
                        System.out.println("Usage : java TestFilter 1-10|all");
                        System.exit(1);               
                   test(testIndex);               
         @SuppressWarnings("unchecked")
         private static void test(int testIndex) {
              final NamedCache cache = CacheFactory.getCache("test-cache");
              final int totalObjects = 2000;
              final int totalTries = 40;
              if (testIndex >= 5 && testIndex <= 8) {
                   // Add index
                   cache.addIndex(new ReflectionExtractor("getKey"), false, null);               
              // Add listeners
              for (int i = 0; i < totalObjects; i++) {
                   final MapListener listener = new SimpleMapListener();
                   if (testIndex < 9) {
                        // Listen to data with a given filter
                        final Filter filter = new EqualsFilter("getKey", i);
                        cache.addMapListener(listener, new MapEventFilter(filter), false);                    
                   } else {
                        // Listen to data with a given key
                        cache.addMapListener(listener, new TestObjectSimple(i), false);                    
              // Load data
              long time = System.currentTimeMillis();
              for (int iTry = 0; iTry < totalTries; iTry++) {
                   final long currentTime = System.currentTimeMillis();
                   final Map<Object, Object> buffer = new HashMap<Object, Object>(totalObjects);
                   for (int i = 0; i < totalObjects; i++) {               
                        final Object obj;
                        if (testIndex == 1 || testIndex == 2 || testIndex == 5 || testIndex == 6) {
                             // Create data with key with time stamp
                             obj = new TestObjectComplete(i, currentTime);
                        } else {
                             // Create data with key without time stamp
                             obj = new TestObjectSimple(i);
                        if ((testIndex & 1) == 1) {
                             // Load data directly into the cache
                             cache.put(obj, obj);                         
                        } else {
                             // Load data into a buffer first
                             buffer.put(obj, obj);                         
                   if (!buffer.isEmpty()) {
                        cache.putAll(buffer);                    
              time = System.currentTimeMillis() - time;
              System.out.println("Test " + testIndex + ": Total " + time + " millis, Avg " + (time / totalTries) + ", Total Tries " + totalTries + ", Cache Size " + cache.size());
              cache.destroy();
         public static class SimpleMapListener implements MapListener {
              public void entryDeleted(MapEvent evt) {}
              public void entryInserted(MapEvent evt) {}
              public void entryUpdated(MapEvent evt) {}
         public static class TestObjectComplete implements ExternalizableLite {
              private static final long serialVersionUID = -400722070328560360L;
              private int key;
              private long time;
              public TestObjectComplete() {}          
              public TestObjectComplete(int key, long time) {
                   this.key = key;
                   this.time = time;
              public int getKey() {
                   return key;
              public void readExternal(DataInput in) throws IOException {
                   this.key = in.readInt();
                   this.time = in.readLong();
              public void writeExternal(DataOutput out) throws IOException {
                   out.writeInt(key);
                   out.writeLong(time);
         public static class TestObjectSimple implements ExternalizableLite {
              private static final long serialVersionUID = 6154040491849669837L;
              private int key;
              public TestObjectSimple() {}          
              public TestObjectSimple(int key) {
                   this.key = key;
              public int getKey() {
                   return key;
              public void readExternal(DataInput in) throws IOException {
                   this.key = in.readInt();
              public void writeExternal(DataOutput out) throws IOException {
                   out.writeInt(key);
              public int hashCode() {
                   return key;
              public boolean equals(Object o) {
                   return o instanceof TestObjectSimple && key == ((TestObjectSimple) o).key;
    }Here is my coherence config file
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
         <caching-scheme-mapping>
              <cache-mapping>
                   <cache-name>test-cache</cache-name>
                   <scheme-name>default-distributed</scheme-name>
              </cache-mapping>
         </caching-scheme-mapping>
         <caching-schemes>          
              <distributed-scheme>
                   <scheme-name>default-distributed</scheme-name>
                   <backing-map-scheme>
                        <class-scheme>
                             <scheme-ref>default-backing-map</scheme-ref>
                        </class-scheme>
                   </backing-map-scheme>
              </distributed-scheme>
              <class-scheme>
                   <scheme-name>default-backing-map</scheme-name>
                   <class-name>com.tangosol.util.SafeHashMap</class-name>
              </class-scheme>
         </caching-schemes>
    </cache-config>Message was edited by:
    user620763

    Hi Robert,
    Indeed, only the Filter.evaluate(Object obj)
    method is invoked, but the object passed to it is a
    MapEvent.<< In fact, I do not need to implement EntryFilter to
    get a MapEvent, I could get the same result (in my
    last message) by writting
    cache.addMapListener(listener, filter,
    true)instead of
    cache.addMapListener(listener, new
    MapEventFilter(filter) filter, true)
    I believe, when the MapEventFilter delegates to your filter it always passes a value object to your filter (old or new), meaning a value will be deserialized.
    If you instead used your own filter, you could avoid deserializing the value which usually is much larger, and go to only the key object. This would of course only be noticeable if you indeed used a much heavier cached value class.
    The hashCode() and equals() does not matter on
    the filter class<< I'm not so sure since I noticed that these methods
    were implemented in the EqualsFilter class, that they
    are called at runtime and that the performance
    results are better when you add them
    That interests me... In what circumstances did you see them invoked? On the storage node before sending an event, or upon registering a filtered listener?
    If the second, then I guess the listeners are stored in a hash-based map of collections keyed by a filter, and indeed that might be relevant as in that case it will cause less passes on the filter for multiple listeners with an equalling filter.
    DataOutput.writeInt(int) writes 4 bytes.
    ExternalizableHelper.writeInt(DataOutput, int) writes
    1-5 bytes (or 1-6?), with numbers with small absolute
    values consuming less bytes.Similar differences exist
    for the long type as well, but your stamp attribute
    probably will be a large number...<< I tried it but in my use case, I got the same
    results. I guess that it must be interesting, if I
    serialiaze/deserialiaze many more objects.
    Also, if Coherence serializes an
    ExternalizableLite object, it writes out its
    class-name (except if it is a Coherence XmlBean). If
    you define your key as an XmlBean, and add your class
    into the classname cache configuration in
    ExternalizableHelper.xml, then instead of the
    classname, only an int will be written. This way you
    can spare a large percentage of bandwidth consumed by
    transferring your key instance as it has only a small
    number of attributes. For the value object, it might
    or might not be so relevant, considering that it will
    probably contain many more attributes. However, in
    case of a lite event, the value is not transferred at
    all.<< I tried it too and in my use case, I noticed that
    we get objects nearly twice lighter than an
    ExternalizableLite object but it's slower to get
    them. But it is very intersting to keep in mind, if
    we would like to reduce the network traffic.
    Yes, these are minor differences at the moment.
    As for the performance of XMLBean, it is a hack, but you might try overriding the readExternal/writeExternal method with your own usual ExternalizableLite implementation stuff. That way you get the advantages of the xmlbean classname cache, and avoid its reflection-based operation, at the cost of having to extend XMLBean.
    Also, sooner or later the TCMP protocol and the distributed cache storages will also support using PortableObject as a transmission format, which enables using your own classname resolution and allow you to omit the classname from your objects. Unfortunately, I don't know when it will be implemented.
    >
    But finally, I guess that I found the best solution
    for my specific use case which is to use a map
    listener for a key which has no time stamp, but since
    the time stamp is never null, I had just to check
    properly the time stamp in the equals method.
    I would still recommend to use a separate key class, use a custom filter which accesses only the key and not the value, and if possible register a lite listener instead of a heavy one. Try it with a much heavier cached value class where the differences are more pronounced.
    Best regards,
    Robert

  • Route Pattern/Filter Issues

    Hello - I had a question that I was hoping someone could help me with. I recently had an issue on CallManager 4.1.3sr6a. I have 10 sites, each using their own set of 6 9.@ route patterns for outgoing calls. Although the patterns are distinct, they all use the same route filters. Today, all of the sites began matching on the route pattern with the seven digit filter rather than matching on the long distance filter when a 91XXXXXXXXXX number was dialed (we tested with a number of numbers in different area codes). I wasn't able to input more digits after the 7th and DNA confirmed that it matched on the seven digit filter. The filters are as follows:
    Long Distance =(AREA-CODE EXISTS AND LONG-DISTANCE-DIRECT-DIAL EXISTS)
    SevenDigit = (LOCAL-AREA-CODE DOES-NOT-EXIST AND INTERNATIONAL-DIRECT-DIAL DOES-NOT-EXIST AND AREA-CODE DOES-NOT-EXIST AND SERVICE DOES-NOT-EXIST).
    I was able to resolve the issue by going to each site, removing the long distance 9.@ pattern and simply readding it (no changes were made to configuration).
    It was like it just stopped seeing all patterns using the long distance filter.
    I'm wondering if anyone is aware of a bug that may have caused this.
    Thanks very much!

    For detailed descriptions and examples, refer to the Understanding Route Pattern Wildcards and Special Characters section of Understanding Route Plans.
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/3_0_9/p1rtundr.html

  • I am able to search only by text and not by Key in filter.

    We have a variable x which has bex properties in the infoobject level to
    1.display:   Key and Text
    2.text type: long text
    3.Query def filter value selection: Only values in infoprovider
    4.Query Exe filter value selection: Only posted values for navigation.
    in the Query designer to the object we have the same properties for 1 and 2 as above.
              On execueting the report in web,  In the variable screen for x <b>we can search for both Key and text</b>. (we have two radio buttons for Key and text),
               Whereas in the <b>result area for the filter</b> for x I am able to search <b>only by text and not by Key</b>. I want to search by both Key and text in filter screen. 
    Can u suggest suitable solution for this ASAP.

    I have been working on a similar problem and have found that it depends on what kind of InfoProvider you are using.
    If you are using an InfoCube, the setting that seems to control this is on the maintenance screen (Admin Workbench -> {InfoProvider to be edited} -> Change -> Extras -> Structur-Specific InfoObject Properties. If you want the key and text to display on the variables screen (which you already have), make sure the 'Display' is set to "Key and Text". If you want key and text to display on the filter screen, make sure the 'F4 Query' is set to "Values in Master Data Table". (You may also have to set the characteristic to display key and text in the query, but it sounds like you already have done this.)
    For an ODS, the settings are the same, but the path to get there is different. Go to Admin Workbench -> {ODS to be edited} -> Change -> {InfoObject to be edited} -> Right-click -> ODS-object Specific Properties. Same settings as above after this.
    For a MultiProvider, I found that the settings on the InfoObject itself seemed to control the display on the Web, so I ended up setting: Display = "Key and Text"; Query Def Filter Value Selection = "Values in Master Data Table"; and Query Exe Filter Value Selection = "Values in Master Data Table". That may be a bit of overkill, but I wanted to be sure to get both key and text in all situations.
    I also found that the settings for navigational attributes (e.g., 0PLANT__0REGION) for any kind of InfoProvider must be set at the InfoObject level (e.g., 0REGION), as above.
    Even with all of this, I still have a couple of InfoObjects left that I can't get to display both key and text for some unknown reason.
    Hope this helps...
    Bob

  • Regex pattern, filter delimiter in sql code

    Hi,
    The problem I'm having is that the regex pattern below is not catching the beginning "go" and ending "go" of a string.
    "(?iu)[(?<=\\s)]\\bgo\\b(?=\\s)"
    The idea is catching the "whole word", in this case the word is "go" so if the word is at the beginning of the string or at the end, i still want to include it.
    So, for example:
    "go select * from table1 go" -> should catch 2 "go"s but catches 0
    "go go# select * from table1 --go go" -> should also catch 2 "go"s but catches 0
    "go go select * from table1 go go" -> should catch 4 "go"s but catches 2
    I have the "[(?<=\\s)]" and the "(?=\\s)" so that the word "go" when next to a special character is not included, for example "--go".
    The problem is that this also negates the beginning and ending of the string.
    Code to test example: It should split at 1st, 2nd and last "go", but only splits at the 2nd "go".
    String s = "go go select * from table1 --go go";
    String delimiter = "go";
    String[] queries = s.split("(?iu)[(?<=\\s)]\\b" + delimiter + "\\b(?=\\s)");
    for (int i = 0; i < queries.length; i++) {
         System.out.println(queries[i]);
    I really need to fix this but I'm not having much success.
    Any help will be appreciated, thanks in advance.

    Yes,
    I prefer this one: Regex Powertoy (interactive regular expressions)
    It's not 100% perfect, but you can see with my example and this online tester that the 1st "go" is not matched. And this is a problem for me.
    I want to eliminate the special characters like "#go" or "-go" but i don't want to eliminate the end and start of string.

  • Problems With url-pattern in a filter-mapping

    Hi!
    I need to make a filter when the clients call a jsf pages in /pages in my web application, but when i make the filter-mapping like this:
         <filter-mapping>
              <filter-name>sessionFilter</filter-name>
              <url-pattern>/pages/*.jsf</url-pattern>
         </filter-mapping>An exception appears:
    SEVERE: Parse error in application web.xml
    java.lang.IllegalArgumentException: Invalid <url-pattern> /pages/*.jsf in filter mapping
         at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
         at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1061)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1548)
         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:263)
         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:624)
         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)the <url-pattern>/pages/*</url-pattern> not work to me because process all pages, I nedd only *.jsf
    Please Help me whit this.

    "the <url-pattern>/pages/*</url-pattern> not work to me because process all pages, I nedd only *.jsf"
    Yes but in the filter you can get the url from the request.getUrl() and then only process requests that contain .jsf. Simply just pass all other requests along.
    Some information on url pattern matching:
    http://edocs.bea.com/wls/docs61/webapp/components.html#113049

  • Servlet Filter uri-pattern

    Hello!
    I need to do the following:
    - apply a servlet-filter to all files in a directory
    - NOT apply that filter to the sub-derictories.
    I'm using Tomcat 5.5.
    What should be the uri-pattern of that filter? Is there some directive for "Exclude"?
    Thanks

    Read the spec. IIRC you can also specify extension-based criteria:
    <filter-mapping>
    <filter-name>servletstatfilter</filter-name>
    <url-pattern>*.html</url-pattern>
    </filter-mapping>

  • EVDRE - Property Filter on the Page Key

    Hi,
    I was wondering if it is possible to apply a property filter on one of the dimensions in the page key.  I want to filter data that is returned but do not want to include the dimension in my expansion.
    Example:
    BPC v7.0
    Row Dim = Entity
    Col dim = Time
    Page Key Property Filter on "Account".
    If it is not possible, is there another way to filter data returned by EVDRE based on dimensions properties without including the dimension in the expansion.
    Thanks.

    Thanks for the reply Marvin.
    The purpose of the property filter on the report is to not limit the member selection but rather to filter the data.  I'm pretty new to BPC Excel so I'm not sure if I am missing something but  I'm just looking to filter data from the Database in my EVDRE without having to include the dimension in my expansion/report. 
    Its looks like that the Page Keys and the Current View only allows you to select/filter on one value at a time and if I want to do more I need to include it in my expansion??  There has too be a way to do this b/c if this is a limitation then I seriously thing that SAP needs to go back to the drawing boards with this one.  I hope that its just me as I'm a newbee.
    Any additional assistance will be greatly appreciated.

  • Q: WLS 7 Cache Filters (Response Caching) Keys, Vars?

              I can't seem to find any better docs about setting up cache filters than this
              http://edocs.bea.com/wls/docs70/servlet/progtasks.html#response_caching
              specifically, what are some examples of the init params, Keys and Vars?
              - especially in use with Servlets.
              Can Keys be Attribute names? Parameter names? Headers? Cookies? Other?
              And then what are examples of Vars?
              "variables calculated by the page that you want to cache"
              Does that really mean, it's cacheing a variable, like a resultset calculated in
              the doGet, instead of the page (response)? If so what can those be? Or should
              that have said "variables used to calculate the page"?
              Let's say I have a Servlet which might be called like
              myservlet?param1=A&param2=B&param3=C
              and there are a few cookies, cookie1=X;cookie2=Y;cookie3=Z
              In this case, only param1, param2, cookie1 can actually make a difference in the
              response. So I want my cached keyed off those (and only those).
              what would it look like?
              <init-param>
              <param-name>Key</param-name>
              <param-value>?</param-value>
              </init-param>
              <init-param>
              <param-name>Vars</param-name>
              <param-value>?</param-value>
              </init-param>
              

    We are in process of updating the docs for cache filter. So they should be
              in
              better shape soon. Sorry for the inconvenience.
              Here is an example:
              <filter>
              <filter-name>CacheFilter</filter-name>
              <filter-class>weblogic.cache.filter.CacheFilter</filter-class>
              <init-param>
              <param-name>scope</param-name>
              <param-value>session</param-value>
              </init-param>
              <init-param>
              <param-name>timeout</param-name>
              <param-value>30m</param-value>
              </init-param>
              <init-param>
              <param-name>size</param-name>
              <param-value>10</param-value>
              </init-param>
              <init-param>
              <param-name>key</param-name>
              <param-value>parameter.userid,parameter.clientip</param-value>
              </init-param>
              <init-param>
              <param-name>vars</param-name>
              <param-value>request.var1,request.var2,request.var3</param-value>
              </init-param>
              </filter>
              <filter-mapping>
              <filter-name>CacheFilter</filter-name>
              <url-pattern>/cached/*</url-pattern>
              </filter-mapping>
              Various scopes:
              parameter -> request parameter
              request -> request attribute
              requestHeader -> request header
              responseHeader -> response header
              session -> http session
              application -> context
              cluster -> cluster scope (need to configure cluster listener for this)
              key:
              Syntax: Comma separated list of <scope>.<attribute name>
              Typically a given cache is identified by it's cache name that you configured
              in web.xml.
              If that's not specified the request uri is used as a cache name. But using
              keys you can
              specify additional values to identify a tag. For example if you want to
              separate out the
              cache for a given end user, then in addition to the cache name you can
              specify the keys
              as the userid, values for which you want to pick it up from the request
              parameter scope
              (query param/post params) plus perhaps a client ip. So you will specify your
              keys as:
              "parameter.userid,parameter.clientip"
              Here "parameter" is the scope (request parameter scope) and
              "userid"/"clientip" are the parameters/attributes.
              This means the primary key for the cache becomes the cache name (request uri
              in this
              case) + value of userid request param + value of clientip request param.
              Note: If you don't specify the scope the cache system will search all the
              scopes
              for the attribute.
              size:
              For caches that use keys, the size element defines the number of entries
              allowed.
              The default is an unlimited cache of keys. With a limited number of keys the
              tag
              uses a least-used system to order the cache (BubblingCache).
              vars:
              Same syntax as the key:
              Syntax: Comma separated list of <scope>.<attribute name>
              Variables are used to do input caching. So you can save the variables you
              used to calculate the cache. When the cache is retrieved the variables are
              restored back to the scope you specified. For example for retrieving results
              from
              a database you used var1 from request param, var2 from session etc. So
              when the cache is created the value of these variables are stored with the
              cache. When the cache is accessed next time these values are restored
              so you will be able to access them from respective scopes. For example
              var1 will be available from request and var2 from session.
              Hope this helps.
              --Vinod.
              "Stek" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I can't seem to find any better docs about setting up cache filters than
              this
              >
              > http://edocs.bea.com/wls/docs70/servlet/progtasks.html#response_caching
              >
              > specifically, what are some examples of the init params, Keys and Vars?
              > - especially in use with Servlets.
              >
              > Can Keys be Attribute names? Parameter names? Headers? Cookies? Other?
              >
              > And then what are examples of Vars?
              > "variables calculated by the page that you want to cache"
              > Does that really mean, it's cacheing a variable, like a resultset
              calculated in
              > the doGet, instead of the page (response)? If so what can those be? Or
              should
              > that have said "variables used to calculate the page"?
              >
              > Let's say I have a Servlet which might be called like
              > myservlet?param1=A&param2=B&param3=C
              > and there are a few cookies, cookie1=X;cookie2=Y;cookie3=Z
              >
              > In this case, only param1, param2, cookie1 can actually make a difference
              in the
              > response. So I want my cached keyed off those (and only those).
              >
              > what would it look like?
              >
              > <init-param>
              > <param-name>Key</param-name>
              > <param-value>?</param-value>
              > </init-param>
              > <init-param>
              > <param-name>Vars</param-name>
              > <param-value>?</param-value>
              > </init-param>
              >
              

  • Help me to run this filter...please

    Hi guys,
    i'm a problem and i don't find a solution from 10 days....please help me.
    I have to give access security to my jsf application because each page shows private information. I have a login page and a visit bean that store the session's information,like current user and current locale.
    I've developed a filter that when a page is loaded try to retrieve user from Visit Object,if it's not found go to login page.
    What's my problem?
    When i try to open from my browser a page different from Login my application shows me the page,without addressing me to Login Page.
    When i go to
    http://localhost:8080/MicroArray/pages/protected/Menu.jsf
    i see the page Menu while i want LOGIN!
    Can you help me?
    I post you the important code.
    This is the important code of mu AuthenticationBean
    User newUser=new User(loginName,password,teamName,tipo);
    Visit visit = new Visit();
    visit.setUser(newUser);
    visit.setAuthenticationBean(this);
    setVisit(visit);
    FacesContext facesContext = getFacesContext();
    getApplication().createValueBinding("#{sessionScope.visit}").setValue(facesContext, visit);this is my Visit Object
    package giu;
    import javax.faces.context.FacesContext;
    import java.util.Locale;
    import javax.faces.model.SelectItem;
    import javax.faces.application.Application;
    import java.util.*;
    import java.io.Serializable;
    public class Visit implements Serializable
    private static final long serialVersionUID = 1L;
    private User user;
    private AuthenticationBean authenticationBean;
    public Visit()
    public User getUser()
    return user;
    public void setUser(User user)
    this.user = user;
    public AuthenticationBean getAuthenticationBean()
    return authenticationBean;
    public void setAuthenticationBean(AuthenticationBean authenticationBean)
    this.authenticationBean = authenticationBean;
    }and this is my filter
    package giu;
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class AuthorizationFilter implements Filter
    FilterConfig config = null;
    ServletContext servletContext = null;
    public AuthorizationFilter()
    public void init(FilterConfig filterConfig) throws ServletException
    config = filterConfig;
    servletContext = config.getServletContext();
    public void doFilter(ServletRequest request, ServletResponse response,
                        FilterChain chain) throws IOException, ServletException
    Utils.log(servletContext, "Inside the filter");
    HttpServletRequest httpRequest = (HttpServletRequest)request;
    HttpServletResponse httpResponse = (HttpServletResponse)response;
    HttpSession session = httpRequest.getSession();
    String requestPath = httpRequest.getPathInfo();
    Visit visit = (Visit)session.getAttribute("visit");
    if (visit == null)
       session.setAttribute("originalTreeId", httpRequest.getPathInfo());
       Utils.log(servletContext, "redirecting to " + httpRequest.getContextPath() +
                 "/faces/index.jsp");
       httpResponse.sendRedirect(httpRequest.getContextPath() +
                 "/faces/index.jsp");
    else
       session.removeAttribute("originalTreeId");
       String role = visit.getUser().getRole();
       if ((role.equals("utente") &&  requestPath.indexOf("protected") > 0))
         String text = Utils.getDisplayString("ptrackResources",
                                              "PathNotFound",
                                              new Object[] { requestPath },
                                              request.getLocale());
         httpResponse.sendError(HttpServletResponse.SC_NOT_FOUND,
                                text);
       else*/
         chain.doFilter(request, response);
    Utils.log(servletContext, "Exiting the filter");
    public void destroy()
    }index.jsp addresses to /pages/protected/Login.jsf...
    with its declaration in web.xml
    <filter>
    <filter-name>AuthorizationFilter</filter-name>
    <filter-class>giu.AuthorizationFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>AuthorizationFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>AuthorizationFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>Please help me.....

    Hi guys,
    i'm a problem and i don't find a solution from 10 days....please help me.
    I have to give access security to my jsf application because each page shows private information. I have a login page and a visit bean that store the session's information,like current user and current locale.
    I've developed a filter that when a page is loaded try to retrieve user from Visit Object,if it's not found go to login page.
    What's my problem?
    When i try to open from my browser a page different from Login my application shows me the page,without addressing me to Login Page.
    When i go to
    http://localhost:8080/MicroArray/pages/protected/Menu.jsf
    i see the page Menu while i want LOGIN!
    Can you help me?
    I post you the important code.
    This is the important code of mu AuthenticationBean
    User newUser=new User(loginName,password,teamName,tipo);
    Visit visit = new Visit();
    visit.setUser(newUser);
    visit.setAuthenticationBean(this);
    setVisit(visit);
    FacesContext facesContext = getFacesContext();
    getApplication().createValueBinding("#{sessionScope.visit}").setValue(facesContext, visit);this is my Visit Object
    package giu;
    import javax.faces.context.FacesContext;
    import java.util.Locale;
    import javax.faces.model.SelectItem;
    import javax.faces.application.Application;
    import java.util.*;
    import java.io.Serializable;
    public class Visit implements Serializable
    private static final long serialVersionUID = 1L;
    private User user;
    private AuthenticationBean authenticationBean;
    public Visit()
    public User getUser()
    return user;
    public void setUser(User user)
    this.user = user;
    public AuthenticationBean getAuthenticationBean()
    return authenticationBean;
    public void setAuthenticationBean(AuthenticationBean authenticationBean)
    this.authenticationBean = authenticationBean;
    }and this is my filter
    package giu;
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class AuthorizationFilter implements Filter
    FilterConfig config = null;
    ServletContext servletContext = null;
    public AuthorizationFilter()
    public void init(FilterConfig filterConfig) throws ServletException
    config = filterConfig;
    servletContext = config.getServletContext();
    public void doFilter(ServletRequest request, ServletResponse response,
                        FilterChain chain) throws IOException, ServletException
    Utils.log(servletContext, "Inside the filter");
    HttpServletRequest httpRequest = (HttpServletRequest)request;
    HttpServletResponse httpResponse = (HttpServletResponse)response;
    HttpSession session = httpRequest.getSession();
    String requestPath = httpRequest.getPathInfo();
    Visit visit = (Visit)session.getAttribute("visit");
    if (visit == null)
       session.setAttribute("originalTreeId", httpRequest.getPathInfo());
       Utils.log(servletContext, "redirecting to " + httpRequest.getContextPath() +
                 "/faces/index.jsp");
       httpResponse.sendRedirect(httpRequest.getContextPath() +
                 "/faces/index.jsp");
    else
       session.removeAttribute("originalTreeId");
       String role = visit.getUser().getRole();
       if ((role.equals("utente") &&  requestPath.indexOf("protected") > 0))
         String text = Utils.getDisplayString("ptrackResources",
                                              "PathNotFound",
                                              new Object[] { requestPath },
                                              request.getLocale());
         httpResponse.sendError(HttpServletResponse.SC_NOT_FOUND,
                                text);
       else*/
         chain.doFilter(request, response);
    Utils.log(servletContext, "Exiting the filter");
    public void destroy()
    }index.jsp addresses to /pages/protected/Login.jsf...
    with its declaration in web.xml
    <filter>
    <filter-name>AuthorizationFilter</filter-name>
    <filter-class>giu.AuthorizationFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>AuthorizationFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>AuthorizationFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>Please help me.....

  • How can I prevent filter from getting applies to .html page?

    Hi,
    I have a MyFaces filter that I don't want applied to pages ending in ".html". However, upon visiting the "/myapp/index.html" page of my application, I get an internal server error, and the stack trace indicates that the filter is being invoked. How can I prevent such a filter from being applied to ".html" pages? The stack trace and the web.xml file are below.
    Thanks, - Dave
    Error I get when visiting index.html page
    ####<Oct 30, 2008 8:46:44 AM MDT> <Error> <HTTP> <rhonti> <nps-supp-gui-ms-1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1225378004500> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@4f2189 - appName: 'nps_history_gui', name: 'nps_history_gui.war', context-path: '/nps_history_gui'] Servlet failed with Exception
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:389)
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:349)
    at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:279)
    at org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper.<init>(TomahawkFacesContextWrapper.java:115)
    at org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory.getFacesContext(TomahawkFacesContextFactory.java:85)
    at javax.faces.webapp.FacesServlet.prepareFacesContext(FacesServlet.java:307)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:141)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:525)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
    at com.myco.nps.im.plugin.NPSIMIntercepter.doFilter(NPSIMIntercepter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.myco.nps_history.filters.NoCachingFilter.doFilter(NoCachingFilter.java:30)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    =================Begin web.xml=======================
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    <display-name>
    nps_history_gui</display-name>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
    <description>Set the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>Set the threshold size - files
    below this limit are stored in memory, files above
    this limit are stored on disk.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB</description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>No Caching Filter</filter-name>
    <filter-class>com.myco.nps_history.filters.NoCachingFilter</filter-class>
    </filter>
    <filter>
    <filter-name>SSOFilter</filter-name>
    <filter-class>com.myco.nps.im.plugin.NPSIMIntercepter</filter-class>
    <init-param>
    <param-name>filter_conf_file</param-name>
    <param-value>/export/third-party/etsbea/application_conf/wls_9.2.2/nps_history_gui_conf/nps_im_plugIn.properties</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>No Caching Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>SSOFilter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <description>Sets properties of History UI app</description>
    <display-name>HistoryInitServlet</display-name>
    <servlet-name>HistoryInitServlet</servlet-name>
    <servlet-class>com.myco.nps_history.servlets.HistoryInitServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HistoryInitServlet</servlet-name>
    <url-pattern>/HistoryInitServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HistoryInitServlet</servlet-name>
    <url-pattern>/refresh</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    ==================End web.xml=======================

    I got that error when using the request URL /myapp/ or /myapp/index.html.
    Regarding,
    At any way, you should map the ExtensionsFilter on the FacesServlet rather than on any url-pattern. Could you elaborate on what you mean? Maybe with an example?
    Thanks, - Dave

  • Can we have a filter to handle all the apps in a container?

    Hi,
    I have a simple (Stupid) question.
    Can I configure a Servlet filter to intercept requests to all the applications (a.k.a all the ServletContexts)? All I know is we can configure a filter for each ServletContext (application), but I am wondering if there is any way.
    The reason I am asking is because, if there is a way to do so, I can configure my filter to provide me the debug output (Such as CGI, session, request, and ServletContext variables) on all the applications on development servers and when I can get rid of debugging on production servers (by not deploying the filter).
    Thanx in advance,
    Thirupati Panyala

    Thanks for the reply Sudhir.
    I tried it in Tomcat 4.x. It works for only the root resources even though I configured the filter for /* which is expected to include all the resources including root (for ex: /examples/...).
    So, I understand, the web.xml under /conf will be overriden by that of the respective apps as you go further down the context paths (apps). That's why the container was not executing my filter when I went to the next level of the URI (http://localhost:8080/index.html WORKED, but NOT http://localhost:8080/examples/jsp/num/numguess.jsp).
    If you want to try it for yourself, here is the piece of code I tried with (This is taken from Apache Tomcat source):
    package filters;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.sql.Timestamp;
    import java.util.Enumeration;
    import java.util.Locale;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.Cookie;
    import javax.servlet.http.HttpServletRequest;
    * Example filter that dumps interesting state information about a request
    * to the associated servlet context log file, before allowing the servlet
    * to process the request in the usual way. This can be installed as needed
    * to assist in debugging problems.
    * @author Craig McClanahan
    * @version $Revision: 1.5 $ $Date: 2001/05/23 22:26:17 $
    public final class RequestDumperFilter implements Filter {
    // ----------------------------------------------------- Instance Variables
    * The filter configuration object we are associated with. If this value
    * is null, this filter instance is not currently configured.
    private FilterConfig filterConfig = null;
    // --------------------------------------------------------- Public Methods
    * Take this filter out of service.
    public void destroy() {
    this.filterConfig = null;
    * Time the processing that is performed by all subsequent filters in the
    * current filter stack, including the ultimately invoked servlet.
    * @param request The servlet request we are processing
    * @param result The servlet response we are creating
    * @param chain The filter chain we are processing
    * @exception IOException if an input/output error occurs
    * @exception ServletException if a servlet error occurs
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain)
         throws IOException, ServletException {
    if (filterConfig == null)
         return;
         // Render the generic servlet request properties
         StringWriter sw = new StringWriter();
         PrintWriter writer = new PrintWriter(sw);
         writer.println("Request Received at " +
              (new Timestamp(System.currentTimeMillis())));
         writer.println(" characterEncoding=" + request.getCharacterEncoding());
         writer.println(" contentLength=" + request.getContentLength());
         writer.println(" contentType=" + request.getContentType());
         writer.println(" locale=" + request.getLocale());
         writer.print(" locales=");
         Enumeration locales = request.getLocales();
         boolean first = true;
         while (locales.hasMoreElements()) {
         Locale locale = (Locale) locales.nextElement();
         if (first)
         first = false;
         else
         writer.print(", ");
         writer.print(locale.toString());
         writer.println();
         Enumeration names = request.getParameterNames();
         while (names.hasMoreElements()) {
         String name = (String) names.nextElement();
         writer.print(" parameter=" + name + "=");
         String values[] = request.getParameterValues(name);
         for (int i = 0; i < values.length; i++) {
         if (i > 0)
              writer.print(", ");
              writer.print(values);
         writer.println();
         writer.println(" protocol=" + request.getProtocol());
         writer.println(" remoteAddr=" + request.getRemoteAddr());
         writer.println(" remoteHost=" + request.getRemoteHost());
         writer.println(" scheme=" + request.getScheme());
         writer.println(" serverName=" + request.getServerName());
         writer.println(" serverPort=" + request.getServerPort());
         writer.println(" isSecure=" + request.isSecure());
         // Render the HTTP servlet request properties
         if (request instanceof HttpServletRequest) {
         writer.println("---------------------------------------------");
         HttpServletRequest hrequest = (HttpServletRequest) request;
         writer.println(" contextPath=" + hrequest.getContextPath());
         Cookie cookies[] = hrequest.getCookies();
    if (cookies == null)
    cookies = new Cookie[0];
         for (int i = 0; i < cookies.length; i++) {
         writer.println(" cookie=" + cookies[i].getName() +
                   "=" + cookies[i].getValue());
         names = hrequest.getHeaderNames();
         while (names.hasMoreElements()) {
         String name = (String) names.nextElement();
              String value = hrequest.getHeader(name);
         writer.println(" header=" + name + "=" + value);
         writer.println(" method=" + hrequest.getMethod());
         writer.println(" pathInfo=" + hrequest.getPathInfo());
         writer.println(" queryString=" + hrequest.getQueryString());
         writer.println(" remoteUser=" + hrequest.getRemoteUser());
         writer.println("requestedSessionId=" +
                   hrequest.getRequestedSessionId());
         writer.println(" requestURI=" + hrequest.getRequestURI());
         writer.println(" servletPath=" + hrequest.getServletPath());
         writer.println("=============================================");
         // Log the resulting string
         writer.flush();
         response.getWriter().print(sw.getBuffer().toString());
         // Pass control on to the next filter
    chain.doFilter(request, response);
    * Place this filter into service.
    * @param filterConfig The filter configuration object
    public void init(FilterConfig filterConfig) throws ServletException {
         this.filterConfig = filterConfig;
    * Return a String representation of this object.
    public String toString() {
         if (filterConfig == null)
         return ("RequestDumperFilter()");
         StringBuffer sb = new StringBuffer("RequestDumperFilter(");
         sb.append(filterConfig);
         sb.append(")");
         return (sb.toString());
    And the config in web.xml is :
    <filter>
    <filter-name>Request Dumper Filter</filter-name>
    <filter-class>filters.RequestDumperFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>Request Dumper Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    Thanx
    Thirupati Panyala

  • Ajax4jsf filter is not getting stated...

    Hi,
    I am using jboss-portal-4.0.2 and JSF myfaces implementation. In one of my pages, I want to use ajax functionality for dropdown boxes. For that i m usinf ajax4jsf.jar.
    And i am trying to configure the Filter which is there in this jar. But i am unable to deploy the application. I am pasting my web.xml here....
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC
       "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
       "http://java.sun.com/dtd/web-app_2_3.dtd">
       <web-app>
         <display-name>Profile Update</display-name>     
    <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
    </context-param>
    <filter>
      <display-name>Ajax4jsf Filter</display-name>
      <filter-name>ajax4jsf</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
      <filter-name>ajax4jsf</filter-name>
      <url-pattern>/*</url-pattern>
    </filter-mapping>
    <listener>
      <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>     
    </web-app>It is giving following error while deploying the application.
    16:16:38,714 ERROR [StandardContext] Error filterStart
    16:16:38,714 ERROR [StandardContext] Context [/ProfileUpdate] startup failed due to previous errors
    16:16:38,901 WARN  [ServiceController] Problem starting service jboss.web.deployment:id=-292845693,war=ProfileUpdate.war
    org.jboss.deployment.DeploymentException: URL file:/D:/jboss-portal-2.4.0/server/default/tmp/deploy/tmp14754ProfileUpdate-exp.war/ deployment failed
            at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
            at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
            at org.jboss.web.WebModule.startModule(WebModule.java:83)
            at org.jboss.web.WebModule.startService(WebModule.java:61)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy92.start(Unknown Source)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
            at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
            at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
            at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy93.start(Unknown Source)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
            at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
    16:16:38,901 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss-portal-2.4.0/server/default/deploy/ProfileUpdate.war
    org.jboss.deployment.DeploymentException: URL file:/D:/jboss-portal-2.4.0/server/default/tmp/deploy/tmp14754ProfileUpdate-exp.war/ deployment failed
            at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
            at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
            at org.jboss.web.WebModule.startModule(WebModule.java:83)
            at org.jboss.web.WebModule.startService(WebModule.java:61)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy92.start(Unknown Source)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
            at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
            at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
            at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy93.start(Unknown Source)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
            at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
    16:24:53,660 INFO  [TomcatDeployer] deploy, ctxPath=/ProfileUpdate, warUrl=.../tmp/deploy/tmp14755ProfileUpdate-exp.war/
    16:24:53,784 ERROR [STDERR] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
    16:24:53,784 ERROR [STDERR] log4j:WARN Please initialize the log4j system properly.
    16:24:56,889 ERROR [StandardContext] Error filterStart
    16:24:56,889 ERROR [StandardContext] Context [/ProfileUpdate] startup failed due to previous errors
    16:24:57,139 WARN  [ServiceController] Problem starting service jboss.web.deployment:id=-292845693,war=ProfileUpdate.war
    org.jboss.deployment.DeploymentException: URL file:/D:/jboss-portal-2.4.0/server/default/tmp/deploy/tmp14755ProfileUpdate-exp.war/ deployment failed
            at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
            at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
            at org.jboss.web.WebModule.startModule(WebModule.java:83)
            at org.jboss.web.WebModule.startService(WebModule.java:61)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy92.start(Unknown Source)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
            at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
            at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
            at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy93.start(Unknown Source)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
            at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
    16:24:57,295 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss-portal-2.4.0/server/default/deploy/ProfileUpdate.war
    org.jboss.deployment.DeploymentException: URL file:/D:/jboss-portal-2.4.0/server/default/tmp/deploy/tmp14755ProfileUpdate-exp.war/ deployment failed
            at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:365)
            at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
            at org.jboss.web.WebModule.startModule(WebModule.java:83)
            at org.jboss.web.WebModule.startService(WebModule.java:61)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy92.start(Unknown Source)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
            at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
            at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
            at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy93.start(Unknown Source)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
            at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy8.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)Can anyone plz track where is the problem...
    This is very urgent for me.. This is in today's deliverables...
    Thanks in advance...

    Exactly Sergey.Smirnov...
    If i remove filter declaration in web.xml, It is deploying without any errors...
    But i need to configure the filter...

  • Issue on running a java application on tomcat 6.0.43 with error filter mappings

    Hi ,
    I am new to Java.
    I am facing an issue on running J2EE application in Tomcat Server 6.0.43, I am getting the below error for which 404 page is displayed.
    Jan 27, 2015 4:21:57 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\CapgeminiScripts\Support Tools\;C:\Program Files (x86)\Common Files\Lenovo;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jre6\bin;;.
    Jan 27, 2015 4:21:57 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:gui' did not find a matching property.
    Jan 27, 2015 4:21:57 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 27, 2015 4:21:57 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 420 ms
    Jan 27, 2015 4:21:57 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 27, 2015 4:21:57 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.43
    Jan 27, 2015 4:21:57 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(D:\Users\sparipoo\workspace_KTW\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\gui\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Jan 27, 2015 4:21:57 PM org.apache.tomcat.util.digester.Digester endElement
    SEVERE: End event threw exception
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:928)
      at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:192)
      at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)
      at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1158)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1675)
      at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1045)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4616)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> /exportHandler/*.jsp in filter mapping
      at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2531)
      ... 37 more
    Jan 27, 2015 4:21:57 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    SEVERE: Parse error in application web.xml file at jndi:/localhost/gui/WEB-INF/web.xml
    java.lang.IllegalArgumentException: Invalid <url-pattern> /exportHandler/*.jsp in filter mapping
      at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2839)
      at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2865)
      at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1161)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1675)
      at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1045)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:265)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4616)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> /exportHandler/*.jsp in filter mapping
      at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2531)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:928)
      at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:192)
      at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)
      at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1158)
      ... 29 more
    Jan 27, 2015 4:21:57 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
    SEVERE: Occurred at line 27 column 20
    Jan 27, 2015 4:21:57 PM org.apache.catalina.startup.ContextConfig start
    SEVERE: Marking this application unavailable due to previous error(s)
    Jan 27, 2015 4:21:57 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Jan 27, 2015 4:21:57 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/gui] startup failed due to previous errors
    Jan 27, 2015 4:21:57 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Jan 27, 2015 4:21:57 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Jan 27, 2015 4:21:57 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/10  config=null
    Jan 27, 2015 4:21:57 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 607 ms
    Please find the web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>gui</display-name>
      <error-page>
        <error-code>500</error-code>
        <location>/errorpage.jsp</location>
      </error-page>
      <error-page>
        <error-code>404</error-code>
        <location>/errorpage.jsp</location>
      </error-page>
      <filter>
        <filter-name>exportHandler</filter-name>
        <filter-class>security.SecurityFilter</filter-class>
        <init-param>
          <param-name>gui</param-name>
          <param-value>exportHandler</param-value>
        </init-param>
        <init-param>
          <param-name>creationdateRequired</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>exportHandler</filter-name>
        <url-pattern>/exportHandler/*.jsp</url-pattern>
      </filter-mapping>
       <filter>
        <filter-name>importHandler</filter-name>
        <filter-class>security.SecurityFilter</filter-class>
        <init-param>
          <param-name>gui</param-name>
          <param-value>importHandler</param-value>
        </init-param>
        <init-param>
          <param-name>creationdateRequired</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>importHandler</filter-name>
        <url-pattern>/importHandler/*.jsp</url-pattern>
      </filter-mapping>
      <filter>
        <filter-name>importMonitor</filter-name>
        <filter-class>security.SecurityFilter</filter-class>
        <init-param>
          <param-name>gui</param-name>
          <param-value>importMonitor</param-value>
        </init-param>
        <init-param>
          <param-name>creationdateRequired</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>importMonitor</filter-name>
        <url-pattern>/importMonitor/*.jsp</url-pattern>
      </filter-mapping>
      <filter>
        <filter-name>notificationHandler</filter-name>
        <filter-class>security.SecurityFilter</filter-class>
        <init-param>
          <param-name>gui</param-name>
          <param-value>notificationHandler</param-value>
        </init-param>
        <init-param>
          <param-name>creationdateRequired</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>notificationHandler</filter-name>
        <url-pattern>/notificationHandler/*.jsp</url-pattern>
      </filter-mapping>
      <filter>
        <filter-name>npAgreement</filter-name>
        <filter-class>security.SecurityFilter</filter-class>
        <init-param>
          <param-name>gui</param-name>
          <param-value>npAgreement</param-value>
        </init-param>
        <init-param>
          <param-name>creationdateRequired</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>npAgreement</filter-name>
        <url-pattern>/npAgreement/*.jsp</url-pattern>
      </filter-mapping>
      <filter>
        <filter-name>numberSearch</filter-name>
        <filter-class>security.SecurityFilter</filter-class>
        <init-param>
          <param-name>gui</param-name>
          <param-value>numberSearch</param-value>
        </init-param>
        <init-param>
          <param-name>creationdateRequired</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>numberSearch</filter-name>
        <url-pattern>/numberSearch/*.jsp</url-pattern>
      </filter-mapping>
       <filter>
        <filter-name>shared</filter-name>
        <filter-class>security.SecurityFilter</filter-class>
        <init-param>
          <param-name>gui</param-name>
          <param-value>shared</param-value>
        </init-param>
        </filter>
      <filter-mapping>
        <filter-name>shared</filter-name>
        <url-pattern>/shared/*.jsp</url-pattern>
      </filter-mapping>
      <servlet>
        <servlet-name>Login</servlet-name>
        <servlet-class>security.SecurityServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Login</servlet-name>
        <url-pattern>/login</url-pattern>
      </servlet-mapping>
    <resource-ref>
        <description>DB Connection</description>
        <res-ref-name>ds/NPAS</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>
      <session-config>
        <session-timeout>480</session-timeout>
      </session-config> 
      <mime-mapping>
        <extension>html</extension>
        <mime-type>text/html</mime-type>
      </mime-mapping>
      <mime-mapping>
        <extension>txt</extension>
        <mime-type>text/plain</mime-type>
      </mime-mapping>
      <welcome-file-list>
        <welcome-file>login.jsp</welcome-file>
        <welcome-file>sample.jsp</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>default.html</welcome-file>
        <welcome-file>default.htm</welcome-file>
        <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>
    </web-app>
    I don't understand as to why this error is appearing. For easy purpose marking the error part BOLD.
    Please help me out if there is any solution for the same.
    Regards,
    Sirisha

    nies out there right now that are offering all kinds of policies that are no doubt great and beneficial, it can also be confusing and overwhelming.
    https://plus.google.com/communities/103681647604159596708
    https://plus.google.com/communities/103681647604159596708
    https://plus.google.com/communities/103681647604159596708
    http://plus.google.com/communities/103681647604159596708
    http://plus.google.com/communities/103681647604159596708
    http://plus.google.com/communities/103681647604159596708
    https://plus.google.com/communities/103681647604159596708?hl=en
    https://plus.google.com/communities/103681647604159596708?hl=en
    https://plus.google.com/communities/103681647604159596708?hl=en

Maybe you are looking for

  • Is there a way to keep the layout of a project but just change the media?

    Hi all, I am new to Mac and just started using Final Cut Express. Here is what I am trying to do. I have a project that contains the basic media, pictures, clips and audio. I want to use this exact layout but to use different media instead. Basically

  • Cd/dvd drive on a dv4 will no longer read anything

    My first laptop. I got it in 2010, an HP Pavillion dv4-2161nr running Windows 7. Any disk I insert is not being read and MediaSmart will not read any of them (says 'Please insert a DVD'). I uninstalled the drivers and restarted. That didnt help. I tr

  • No longer able to print wirelessly

    Hi I have and iPhone 4S and an HP Photosmart 7510 printer and a Three Mifi. I used to be able to print from my laptop and iPhone to my printer with no problem - until I updated my printer. Now I'm unable to print from either wirelessly. My iPhone det

  • Pages 5.5.1 crashes at launch

    I can't open it at all. It just keeps crashing. Process:           Pages [21588] Path:              /Applications/Pages.app/Contents/MacOS/Pages Identifier:        com.apple.iWork.Pages Version:           5.5.1 (2111) Build Info:        Pages-2111000

  • Rebind() takes 40 - 60 seconds

    The Scenarion is like this 1. I startv Rmi Registry without setting any thing in the classpath 2 .i start my Server (which also has Web server (Apache) running 3. i set the CodeBaseList sstem property to the required jars ( 7 jar files) as Html url l