oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Foster <holeno...@mac.com>
Subject Re: cas-crawler wierdness
Date Tue, 13 Mar 2012 18:31:18 GMT
Hey Thomas,

I've never see #1 problem... i have an ubuntu install at work and will see if i can reproduce

I've seen #2 before, i think it is a Spring thing and will look into it more (why are you
not using relative paths though?)

And #3, having the file names only are fine because <import> resource paths are relative
to the file they are specified.


On Mar 13, 2012, at 07:32 AM, Thomas Bennett <lmzxq.tom@gmail.com> wrote:


I've just installed a fresh version of the cas-crawler which uses the new cli interface and
I've got three things that I'm trying to fix:

1) Repeated warning messages:

13 Mar 2012 3:50:09 PM org.springframework.beans.TypeConverterDelegate findDefaultEditor
WARNING: PropertyEditor [sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager
fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

Any ideas what this is all about?

2) Configuration files.

I use absolute paths to my configuration files which fails for spring configuration:

Caused by: java.io.FileNotFoundException: usr/local/oodt/cas-crawler/policy/cmd-line-actions.xml
(No such file or directory)

The code that's doing the work is:
   public SpringCmdLineActionStoreFactory() {
      config = System.getProperty(
            "org.apache.oodt.cas.cli.action.spring.config", null);
If I put a double slash in front of the spring configuration items it works:


So it's ignoring the first char?

3) I see that policy/crawler-config.xml contains three resources, but how does it know where
to find the actual files. Do these need to be pre-pended by actual directory locations?

        <import resource="crawler-beans.xml" /> /*should the location be included
on the command line?*/
        <import resource="action-beans.xml" />
        <import resource="precondition-beans.xml" />

I'm Using Ubuntu 10.04 LTS with open jdk...

$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.04.1)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Any help/pointers welcome :)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message