You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by in...@vircos.nl on 2009/03/30 13:43:25 UTC
Cocoon 2.2.0 webapp wil not work
Hi to all,
I am new with Cocoon and I trying to set up a cocoon webapp as a
reportserver. Another webapplication should be able to call the cocoon
webapp as a webservice. The cocoon webapp should answer with a pdf
which is the result of some xml in the request. I have used te maven
plugin to crreate a empty webapp which is able to host the cocoon
block. My pom.xml contains the core block, the PDF block and the
webservice block. Somehow I cannot get the webapp running as I expect.
I have configured my sitemap to respond on any URL-pattern, but
nothing happens on the webserver. Can some help me with this please?
This is my web.xml
*********************
Multipart MIME handling filter for Cocoon
Cocoon multipart filter
CocoonMultipartFilter
org.apache.cocoon.servlet.multipart.MultipartFilter
Log debug information about each request
Cocoon debug filter
CocoonDebugFilter
org.apache.cocoon.servlet.DebugFilter
CocoonMultipartFilter
Cocoon
CocoonMultipartFilter
DispatcherServlet
org.springframework.web.context.ContextLoaderListener
org.springframework.web.context.request.RequestContextListener
Cocoon blocks dispatcher
DispatcherServlet
DispatcherServlet
org.apache.cocoon.servletservice.DispatcherServlet
1
DispatcherServlet
/*
This is my pom.xml
*********************
4.0.0
war
cocoon
nl.mycompany.cocoon
cocoon
1.0
src/main/java
src/main/webapp/WEB-INF/classes
cocoon
maven-compiler-plugin
2.0.2
1.5
1.5
maven-eclipse-plugin
2.4
1.5
true
true
org.codehaus.cargo
cargo-maven2-plugin
verify-deploy
install
deployer-undeploy
deployer-deploy
clean-undeploy
pre-clean
deployer-undeploy
tomcat5x
remote
runtime
http://localhost:8080/manager
admin
admin
remote
nl.mycompany.cocoon
cocoon
war
http://localhost:8080/cocoon
org.apache.cocoon
cocoon-core
2.2.0
org.apache.cocoon
cocoon-fop-impl
1.0.0
org.apache.cocoon
cocoon-servlet-service-impl
1.1.0
org.apache.cocoon
cocoon-spring-configurator
2.0.0
org.apache.cocoon
cocoon-block-deployment
1.0.0
This is my sitemap.xmap
****************************
false
false
With king regards,
Remco Visser
Links:
------
[1] http://www.apache.org/licenses/LICENSE-2.0
[2] http://java.sun.com/xml/ns/j2ee
[3] http://www.w3.org/2001/XMLSchema-instance
[4] http://java.sun.com/xml/ns/j2ee
[5] http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
[6] http://www.apache.org/licenses/LICENSE-2.0
[7] http://maven.apache.org/POM/4.0.0
[8] http://www.w3.org/2001/XMLSchema-instance
[9] http://maven.apache.org/POM/4.0.0
[10] http://maven.apache.org/maven-v4_0_0.xsd
[11] http://apache.org/cocoon/sitemap/1.0