Jeff, I checked. So as part of the manifest file, I set classpath and
specify any lib jars the preprocessor depends on. However, I dont package
the lib jars with the preprocessor jar. Rather they reside in the ext lib
directory.
Hope this helps-
Christian


On Wed, Aug 12, 2009 at 4:44 AM, JEFFREY S STEWART <jss1...@esu.edu> wrote:

>
> Christian,
>
> It's just a web page crawler.  You give it a list of URLs and it crawls all
> of them for more URLs.  It can recursively keep crawling for however many
> levels deep you want.  It has a few other features.  Yeah, I'm going to
> release it, but I want to make sure it works first.
>
> Thanks,
> Jeff
>
>
> -----Original Message-----
> From: capture-hpc-boun...@public.honeynet.org on behalf of Christian
> Seifert
> Sent: Tue 8/11/2009 4:33 PM
> To: General discussion list for Capture-HPC users
> Cc: <capture-hpc@public.honeynet.org>
> Subject: [Capture-HPC] Capture-HPC Preprocessor
>
> Jeff, I think you might need to include the classpath in the manifest file.
> I am not in front of my machine right now, but can check sometime later this
> week. I have a simple preprocessor that I can check against.
>
> out of curiosity, what does your preprocessor do? are you planning to
> release it to the public?
>
> Christian
>
>
>
>
> -----Original Message-----
> From: capture-hpc-boun...@public.honeynet.org on behalf of JEFFREY S
> STEWART
> Sent: Tue 8/11/2009 3:54 PM
> To: capture-hpc@public.honeynet.org
> Subject: [Capture-HPC] Capture-HPC Preprocessor
>
> Sorry for the duplicate message, I forgot to put a subject on the last one
> (Microsoft Outlook web access timeouts suck)
>
> All,
>
> Currently I'm in the process of creating a crawler preprocessor plug-in for
> capture-hpc.  In order to retrieve the HTML of the web pages, it uses
> apache's HttpClient library.  I've tested my plug-in and it appears to be
> working on my development machine.  However when I try to move it over to
> the machine that is hosting capture-hpc, I cannot get it to run.  It gives
> me the exception below, which leads me to believe that it cannot find the
> library.  I've adjusted the build.xml to build my plug-in, and I copied the
> library to the lib folder inside of the release folder.  I've tried several
> different methods of getting it to recognize the class path, but nothing
> seems to affect it.  I can post the code of the preprocessor if that is
> needed.
>
> Is there an example of a preprocessor that loads a library that I could
> reference?  I wasn't able to find any other preprocessors to base the
> configuration off of.
>
> Thanks,
> jeffball
>
> Related Info:
> HttpClient Homepage:
> http://hc.apache.org/
>
> Stack Trace and Error Message:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/http/ProtocolVersion
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:186)
>         at
> capture.PreprocessorFactory.getPreprocessor(PreprocessorFactory.java:30)
>         at capture.Server.<init>(Server.java:86)
>         at capture.Server.main(Server.java:109)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.http.ProtocolVersion
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
>         ... 5 more
>
>
> _______________________________________________
> Capture-HPC mailing list
> Capture-HPC@public.honeynet.org
> https://public.honeynet.org/mailman/listinfo/capture-hpc
>
>


-- 
----
Web: http://www.ecs.vuw.ac.nz/Main/GradChristianSeifert

PGP key
http://homepages.ecs.vuw.ac.nz/~cseifert/pgpkey.txt
Primary key fingerprint:   E979 0D9A 9187 D821 F86F B712 C8DB 0583 B046 BAEF
_______________________________________________
Capture-HPC mailing list
Capture-HPC@public.honeynet.org
https://public.honeynet.org/mailman/listinfo/capture-hpc

Reply via email to