cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <ajuf...@cc.oulu.fi>
Subject cocoon3 : apache 2 -> jetty-1.6.7
Date Wed, 21 Sep 2011 21:58:45 GMT
Hi,

not sure whether this is a bug or not. I have deployed an cocoon3 based 
application (termed 'tct'). Everything works fine. I have "only" one 
final problem to solve.

To get it working with Apache 2, I usually use

   ProxyPass /tct http://localhost:8888/app3/tct
   ProxyPassReverse /tct http://localhost:8888/app3/tct

to forward the request to the servlet engine.

Without exception this has worked extremely well with Cocoon 2 based 
applications.

I do exactly the same thing now with cocoon 3.

With
http://foo.bar.org/tct

218748 [btpool0-498] INFO org.apache.cocoon.servlet.RequestProcessor - 
Going to send GET response: mimeType=null, contentLength=1706, 
statusCode=200, lastModified=1316640662000

With
http://foo.bar.org:8888/app3/tct

324989 [btpool0-4] INFO org.apache.cocoon.servlet.RequestProcessor - 
Going to send GET response: mimeType=application/json; charset=UTF-8, 
contentLength=5263, statusCode=200, lastModified=-1

Note  mimeType=null  in the first case. Thus the request reaches 
cocoon3, but somewhere the mimeType is set to null, or, when its value 
is requested, the mimeType returns null.

Bug? Or just my fold (I suspect the JsonSerializer [1])

Thanks,

[1] http://www.mail-archive.com/users@cocoon.apache.org/msg46270.html

-- 
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
NordProt                     | WWW: www.nordprot.org
Triacle Biocomputing         | WWW: www.triacle-bc.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message