Il 10/05/2013 19:18, gelo1234 ha scritto:
I have followed the servlet-service config you mentioned but still no luck. I attach my war file here. Deployed to Tomcat 7 from web app module + c3 libs added to WEB-INF/lib and it does NOT work.

Can you point where the error is ?

Accessing: http://localhost:8080/mywebapp-1.0-SNAPSHOT/test.xml
gives me XML error :(

The WAR file attached is missing *a lot* of dependencies.

I have added a branch to my empty C3 project on github [1]: see instructions there about how to build and run; you can, of course, deploy it to an external Tomcat 7 container.

HTH
Regards.

[1] https://github.com/ilgrosso/cocoon3EmptyProject/tree/SINGLE_WAR

2013/5/10 gelo1234 <[email protected] <mailto:[email protected]>>

    Thanks, that clarifies a bit my scenario.

    2013/5/10 Francesco Chicchiriccò <[email protected]
    <mailto:[email protected]>>

        On 10/05/2013 15:52, gelo1234 wrote:

            Yes, I just want a single block (or none?:) with a
            sitemap.xmap which is packaged as a war module and can be
            deployed to Tomcat 7.


        With single block, you need the classic multi-module structure
        (parent + block module + webapp module).

        With no blocks you can take the example I've provided in my
        previous e-mail: I am using something similar in several
        production environments and it works like a charm.

        Regards.

--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/

Reply via email to