Question: In my web.xml I have:

```
 <filter>
  <display-name>RichFaces Filter</display-name>
  <filter-name>richfaces</filter-name>
  <filter-class>org.ajax4jsf.Filter</filter-class>
  <init-param>
   <param-name>enable-cache</param-name>
   <param-value>true</param-value>
  </init-param>

  <init-param>
   <param-name>forceparser</param-name>
   <param-value>false</param-value>
  </init-param>
 </filter>

```

When running in Tomcat 6 the application runs fine.
When running in Weblogic 10.3 I get a lot of ResourceNotFoundExceptions:

```
org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : /org/richfaces/ui.pack.js.seam
        at org.ajax4jsf.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:408)
        at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:352)
        at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:152)
        at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:508)

```

Can this be solved?

When I comment out the filter the application seems to run fine.
I need to use Weblogic due to customer demand.

Answer: 
The simple rotating pipe can be created using code like this:

```
#!/usr/bin/perl

use strict;
use warnings;

$|++; # turn off output buffering;

my @chars = qw(| / - \ );

my $i = 0;

print $chars[$i];

while (1) {
  sleep 1;
  print "\b", $chars[++$i % @chars];
}

```

For something more complex, take a look at [Term::ProgressBar](http://search.cpan.org/dist/Term-ProgressBar/).
Sure, something like this will do it:

```
perl -e '$|++; foreach $i (0..10) { print "\r", substr("|/-\\", ($i % 4), 1); sleep 1; }'

```

You can put code like this inside your processing loop to display an appropriate spinner.