On 12 Aug 2008, at 20:30, Felix Meschberger wrote:
Torgeir Veimo schrieb:
Starting with a fresh org.apache.sling.launchpad.webapp-4-incubator-
SNAPSHOT.war (from trunk) deployed as sling.war into a tomcat
instance. Also deploying FsResourceProvider bundle using mangement
console.
ok, freshly built FsResourceProvider from svn-up-ed checkout ?
I notice that in the configuration management dropdown there are
two instances. Is this correct? (Also, it seems that the name and
description strings are not being used. I see strings like
resource.resolver.name, resource.resolver.description,
provider.file.description etc.)
This sounds like an incompletely built FsResourceProvider bundle.
The latest trunk state should have "real" readable labels and
descriptions.
Macintosh-3:fsresource torgeir$ svn update
At revision 685114.
I built it by running mvn clean install in the samples/fsresource
directory. I've checked that the resulting jar contains the
metatype.properties file.
I try to configure setting providers.roots and provider.file
selecting save (which seems to save the settings ok). I also try
selecting create configuration, but this seems to have no effect.
Is this my problem? I have
Configuration Information
Persistent Identity (PID)
org.apache.sling.fsprovider.FsResourceProvider
Configuration Binding None
This says, that the configuration is not actually used.
Is the FsResourceProvider bundle started ?
Yes. I guess it's the create configuration that fails then. Would the
cause of this show up in any logs? The settings is stored;
Macintosh-3:fsresource torgeir$ cat ~/java/apache-tomcat-6.0.14/sling/
config/org/apache/sling/fsprovider/FsResourceProvider.config
service.pid="org.apache.sling.fsprovider.FsResourceProvider"
provider.roots="/test"
provider.file="."
I have these entries in my errors.log;
12.08.2008 20:00:08.748 *INFO* [FelixDispatchQueue]
org.apache.sling.fsresource BundleEvent INSTALLED
12.08.2008 20:00:08.749 *INFO* [FelixDispatchQueue]
org.apache.sling.fsresource BundleEvent RESOLVED
12.08.2008 20:00:08.751 *INFO* [Background Install /Users/torgeir/java/
apache-tomcat-6.0.14/temp/install48384.tmp]
org.apache.sling.fsresource Servi
ce [org.apache.sling.fsprovider.FsFolderServlet,85] ServiceEvent
REGISTERED
12.08.2008 20:00:08.752 *INFO* [FelixDispatchQueue]
org.apache.sling.fsresource BundleEvent STARTED
12.08.2008 20:00:08.753 *INFO* [SCR Component Actor]
org.apache.sling.fsresource Service
[org.apache.sling.fsprovider.FsResourceProvider,86] Service
Event REGISTERED
12.08.2008 20:00:08.755 *INFO* [SCR Component Actor]
org.apache.sling.servlets.resolver Service [ServletResourceProvider
for Servlets at [/apps/slin
g/fs/folder/GET.servlet],88] ServiceEvent REGISTERED
12.08.2008 20:00:08.755 *INFO* [SCR Component Actor]
org.apache.sling.fsresource Service
[org.apache.sling.fsprovider.FsFolderServlet,87] ServiceEve
nt REGISTERED
but nothing that seems to be related to the configuration creation
request.
--
Torgeir Veimo
[EMAIL PROTECTED]