Hi Jay,

Thanks for your help. I received your e-mail, however when I attempted to update
my copy of orion it didn't work. I believe they have remove version 1.4.4 from
their servers. Anyway, I have downloaded the Filter class source and included it
in my project. I am currently writing a filter which I hope will make file upload
easy and if it works well will share the code with the list.

Thanks again,

Huibert Aalbers

Jay Armstrong wrote:

> Hi Huibert,
>
> I tried this, too, and communicated with the Clickstream example author,
> Mike Cameron-Brookes.  In fact, Huibert, I sent an email to you and Mike
> directly, in which I responded to your email with Subject: Redirection.
> Didn't you get that?
>
> FilterChain.class is in the new Servlet API v2.3.  The basic problem is
> that FilterChain.class is only in orion.jar for Orion v1.4.4, and that is
> only available via Orion's automatic update from the command line (i.e.,
> you can't download v1.4.4 directly).
>
> In my opinion Orion v1.4.4 is too unstable for practical use right now
> (especially for any applications you have which have servlets/JSPs written
> for the Servlet API v2.2 and earlier).  I have submitted a bug report to
> Bugzilla at www.orion.com (bug #236), where it appears that Orion replaces
> the <listener>, <filter>, and <filter-mapping> elements in web.xml required
> for the Clickstream example when the application is packaged as an EAR
> (.ear file).  These elements are not replaced in web.xml when the
> application is identified in servlet.xml as a directory (versus a .ear).
> (NOTE: THIS KIND OF BUG MAY BE A GENERAL BUG THAT HAS MESSED UP OTHER
> APPLICATIONS AND IS HARD TO DETECT BECAUSE ORION WILL CHANGE FILES IN THE
> EAR!).
>
> Hope this helps -- can't wait for it to work right.  Following this is some
> of my conversation with Mike.
>
> Jay Armstrong
> [EMAIL PROTECTED]
>
> Mike,
>
> Haven't tried it yet, but I did a "> java -jar autoupdate.jar" to get
> v1.4.4, and the orion.jar now has FilterChain.class, while v1.4.0 does not.
>
> When I get this all working, with your permission, I'd like to make note of
> that to OrionSupport.
>
> Thanks again,
>
> Jay
>
> >Date: Sat, 30 Dec 2000 18:56:58 -0700
> >To: "Mike Cannon-Brookes" <[EMAIL PROTECTED]>
> >From: Jay Armstrong <[EMAIL PROTECTED]>
> >Subject: RE: Clickstream example
> >In-Reply-To: <[EMAIL PROTECTED]>
> >References: <[EMAIL PROTECTED]>
> >
> >Thanks much, Mike.  Will do.
> >
> >Jay
> >
> >At 12:18 PM 12/31/00 +1100, you wrote:
> >>Jay,
> >>
> >>Sounds to me like you're using an older version of Orion? Clickstream uses
> >>the latest Servlet 2.3 architecture in it's filter, which I think is in
> >>1.4.0 (final draft of the spec). You can make it work in the old Orion
> >>without a FilterChain, by using filter.getNext().do() or something like that
> >>(I can't remember the PR2 spec syntax).
> >>
> >>As far as web.xml goes, those elements do go in there. I'm not sure why it
> >>doesn't work. I suggest upgrading to 1.4.4 and retrying it there.
> >>
> >>Hope this helps,
> >>Mike
> >>
> >>> -----Original Message-----
> >>> From: Jay Armstrong [mailto:[EMAIL PROTECTED]]
> >>> Sent: Sunday, December 31, 2000 7:41 AM
> >>> To: [EMAIL PROTECTED]
> >>> Subject: Clickstream example
> >>>
> >>>
> >>> Hi Mike,
> >>>
> >>> I'm trying to set up this example with Orion 1.3.8.  One problem seems to
> >>> be that the servlet class files in orion.jar are different from
> >>> the servlet
> >>> v2.3 API; specifically, the FilterChain class is not in
> >>> orion.jar.  I think
> >>> I can get around that by putting the servlet v2.3 classfiles in my
> >>> WEB-INF/classes directory, or replacing the javax/servlet classes in
> >>> orion.jar.
> >>>
> >>> Secondly, when I build a .war file and deploy it, Orion does not seem to
> >>> recognize the example's web.xml additions for <listener>, <filter>, and
> >>> <filter-mapping>.  The deployed web.xml file does not contain these.
> >>>
> >>> The DTD for web.xml does not list these elements, so I'm curious
> >>> if web.xml
> >>> is where they should go.
> >>>
> >>> The link on the example page to
> >>> http://orionsupport.com/clickstream/clickstreams.jsp seems to work, so I'm
> >>> sure I'm doing something wrong.
> >>>
> >>> Thanks in advance for your help.
> >>>
> >>> Jay Armstrong
> >>> [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >>
>
> At 05:03 PM 1/9/01 -0600, you wrote:
> >Hi,
> >
> >I am trying to compile the filter example from orionsupport.com but I
> >get an error because my IDE cannot locate the class FilterChain, which
> >is not inside orion.jar (version 1.4.0).
> >
> >Any suggestions?
> >
> >Thanks,
> >
> >Huibert
> >
> >
> >


Reply via email to