Answering to my own question: I had an error in the build file, and the jar file was constructed with a wrong directory sctructure. It's ok now. Sorry for this! :|
-Tuomo On Tue, 21 Oct 2003, Tuomo L wrote: > Hi, > > I used to have all my custom components in WEB-INF/classes which worked > fine, but now that my project grows, I packed them up in a jar and dropped > the whole thing in WEB-INF/lib. It just doesn't work anymore. I tried using > ParanoidServlet and that init-classloader parameter too. > > Here's what appears in cocoon error.log: > > ERROR (2003-10-21) 12:23.02:465 [core.manager] (Unknown-URI) > Unknown-thread/ExcaliburComponentSelector: The component instance for hint > [my-component] has an invalid class name > (bar.foo.components.modules.input.CustomInputModule). > > I have in this component's java file: > > package bar.foo.components.modules.input; > > And by extracting the jar the class file is there, under a right dir. > (bar/foo/components/modules/input/CustomInputModule.class) > > Tomcat seems to deploy the jar just fine, by looking at its log. > > Any ideas there? > > -Tuomo > > > Cocoon-2.1 > Tomcat 4.1.24 >
