I am trying to follow the instructions in the Wiki for setting up a simple fortress container, as shown in http://nagoya.apache.org/wiki/apachewiki.cgi?Fortress/SetUpSimpleContainer.
It seems that it won't read the log configuration file.


Here's the error message:
--------------------
test:
[java] [WARNING] Could not read configuration file: test.xlog
[java] org.apache.excalibur.source.SourceException: Unable to select source factory for file:/home/collins/development/tac-scm/components/repository/test/test.xlog
[java] at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:304)
[java] at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:189)
----------------------
So it seems that it can't see that file. The file is there, if I just grab that string and paste after an ls or cat, I can see it, and the permissions are the same as the test.xconf file in the same location. The code should be opening test.xconf first, and it doesn't complain about that.


Here's the relevant bit of code
--------------
    // Create the fortress context configuration object
    FortressConfig config = new FortressConfig();
    config.setContextDirectory( "./" );
    config.setWorkDirectory( "./" );

    // Specifies the configuration files location
    config.setContainerConfiguration(base + ".xconf");
    config.setLoggerManagerConfiguration(base + ".xlog");
    config.setRoleManagerConfiguration(base + ".roles");
---------------

I assume I've missed something, but I don't see what it is. I'm using a cvs update that's about 3 days old.

Thanks for any help.

John Collins
University of Minnesota


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to