> I'm starting it via mvn clean install jetty:run -P{profile}. The error
> occurs the first time when accessing a page using a flowscript
> containing the cocoon.load("servlet:forms ...").
> So I have a block and I'm starting it as webapp.
> In my webapp pom I have following sets:
> <snip>
> <packaging>war</packaging>
> </snip>
> ...
> <snip>
> <plugin>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-maven-plugin</artifactId>
> <version>1.0.0-M1-SNAPSHOT</version>
> <executions>
> <execution>
> <phase>package</phase>
> <goals>
> <goal>deploy</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </snip>
>
Using the replaced cocoon-deployer-plugin it works. So the problem seems
to be caused by the cocoon-maven-plugin and not by the forms block. I
apologize thinking this is a problem of the forms block - but sometimes
it's not easy to figure out where the problem is situated.
Thanks for your help.
Felix
<plugin>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-deployer-plugin</artifactId>
<version>1.0.0-M2-SNAPSHOT</version>
<configuration>
<serverVersion>2.2</serverVersion>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
>> The problem is that servlet-service-fw machinery is
>> not properly initialized for some reason. One can be that you access your
>> servlet bypassing dispatcher servlet.
>>
>>
> As I'm using it without any webserver in fornt I can hardly imagine this.
>
>
>