Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Question about running a filter on UCM service

JTysonJul 19 2013 — edited Jul 19 2013

Ok so I pretty much tripped in front of the finish line that is me figuring this out :/.  Um I've been trying to learn how to use filters and I've hit a snag that is confusing me.  Ok so I wrote a filter to just add "This is a test" to xComments, it's a simple test to prove a point before I push foward with a request.  So everything seems to be set up, made the class file(Compiled with no problems), made the component and modified the .hda to point to the class file (I think); yet I'm getting the error "The content item was not successfully checked in. Unable to do filter 'filterFile' for type 'validateStandard'. java.lang.NoClassDefFoundError: filter/filterFile : filterFile (wrong name filter/filterFile)."

Here is the information about filter

Class Path: .../custom/filterFile/classes/filterFile.class

HDA File:

classpath=$COMPONENT_DIR/classes

@ResultSet Filters

4

type

location

parameter

loadOrder

validateStandard

filterFile

null

1

@end

It seems like the filter can't find the class file even though I said classpath is "$COMPONENT_DIR/classes" and put location as "filterFile".

This post has been answered by Jiri.Machotka-Oracle on Jul 19 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 16 2013
Added on Jul 19 2013
3 comments
796 views