From users-return-97397-apmail-cocoon-users-archive=cocoon.apache.org@cocoon.apache.org Mon Mar 30 11:47:31 2009 Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 1977 invoked from network); 30 Mar 2009 11:47:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Mar 2009 11:47:31 -0000 Received: (qmail 81653 invoked by uid 500); 30 Mar 2009 11:47:30 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 81578 invoked by uid 500); 30 Mar 2009 11:47:30 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 81570 invoked by uid 99); 30 Mar 2009 11:47:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2009 11:47:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [81.4.97.144] (HELO blade04.geenpunt.nl) (81.4.97.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2009 11:47:23 +0000 Received: from localhost ([127.0.0.1]) by blade04.geenpunt.nl with esmtp (Exim 4.63) (envelope-from ) id 1LoFxF-0007X5-Ai for users@cocoon.apache.org; Mon, 30 Mar 2009 13:47:01 +0200 MIME-Version: 1.0 X-Mailer: AtMail PHP 5.4 Message-ID: <4898.1238413621@vircos.nl> To: Reply-To: info@vircos.nl Content-Type: multipart/alternative; boundary="=_8c6ad6a2d6ea000ff54081a5f0e482b4" X-Origin: 159.46.2.61 X-Atmail-Account: info@vircos.nl Date: Mon, 30 Mar 2009 13:47:01 +0200 Subject: Cocoon 2.2.0 webapp wil not work From: info@vircos.nl X-Virus-Checked: Checked by ClamAV on apache.org --=_8c6ad6a2d6ea000ff54081a5f0e482b4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" =20 Hi to all,=20 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?=20 This is my web.xml *********************=20 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 *********************=20 http://maven.apache.org/POM/4.0.0" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance [7]" xsi:schemaLocation=3D"http://maven.apache.org/POM/4.0.0 [8] http://maven.apache.org/maven-v4_0_0.xsd [9]">=20 4.0.0 war=20 cocoon nl.mycompany.cocoon cocoon 1.0=20 src/main/java src/main/webapp/WEB-INF/classes=20 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=20 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 ****************************=20 =20 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://www.w3.org/2001/XMLSchema-instance [8] http://maven.apache.org/POM/4.0.0 [9] http://maven.apache.org/maven-v4_0_0.xsd --=_8c6ad6a2d6ea000ff54081a5f0e482b4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Hi to all,

I am new with Cocoon and I trying to set up a cocoon webapp as a reports= erver. 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 cor= e block, the PDF block and the webservice block. Somehow I cannot get the w= ebapp 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 wit= h this please?

This is my web.xml
*********************




       &nbs= p; xmlns=3D"htt= p://java.sun.com/xml/ns/j2ee"
         xmlns:xsi=3D"http://www.w3.org/= 2001/XMLSchema-instance"
         xsi:schemaLocation=3D"http://java.sun.com= /xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><= /P>

 

 
 
    Multipart MIME handling filter for Cocoon
    Cocoon multipart filter
    CocoonMultipartFilter
    org.apache.cocoon.servlet.multipart.Multip= artFilter
 

 
 
    Log debug information about each request
    Cocoon debug filter
    CocoonDebugFilter
    org.apache.cocoon.servlet.DebugFilter
 

 

 
 
    CocoonMultipartFilter
    Cocoon
 

 
    CocoonMultipartFilter
    DispatcherServlet
 

 

 

 
 
    org.springframework.web.context.ContextL= oaderListener
 

 
 
    org.springframework.web.context.request.= RequestContextListener
 

 

 
 
    Cocoon blocks dispatcher
    DispatcherServlet
    DispatcherServlet
    org.apache.cocoon.servletservice.Dispatch= erServlet
    1
 

 

 
 
    DispatcherServlet
    /*
 


       

This is my pom.xml
*********************




http://maven.apache.org/POM/4.0.0" xmlns:xsi=3D"http://www.w3.org/200= 1/XMLSchema-instance" xsi:schemaLocation=3D"http://maven.apache.org/POM/4.0.0 http://m= aven.apache.org/maven-v4_0_0.xsd">

  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.cocoo= n
        

        cocoon
        war
        http://localhost:8= 080/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
****************************

 
http://apache.org/cocoon= /sitemap/1.0">
 
 
  
        src=3D"org.apache.cocoon.matching.WildcardURIMatch= er" />
  

  
  
        src=3D"org.apache.cocoon.transformation.TraxTransf= ormer">
    false
    false
    

   

  

  
        src=3D"org.apache.cocoon.serialization.FOPSerializ= er" mime-type=3D"application/pdf"
    logger=3D"sitemap.serializer.fo2pdf" />
  

 

 
 
  
   
    
    =
    
   

  

 

 

 

With king regards,

Remco Visser



--=_8c6ad6a2d6ea000ff54081a5f0e482b4--