CPPSERV


Home Projects Jobs Clientele Contact

cppserv


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cppserv standalone usage, demos question



Michael Ivanov wrote:
Greetings!

I am evaluating cppserv for possible usage. I have downloaded cppserv-0.1.100 When I tried to use it in standalone mode I have immediately stumbled on several issues. Is cppserv supposed to be accessed directly to the tcp port by browser?
No. It expects a browser front end. Currently works with apache-2.0.x and
ligttpd support is WIP.
When I try to access it this way, the browser hanged waiting for reply. Investigation has shown that cppserv expects url in requesthandler.cpp, but actual line received
from browser was "GET <url> HTTP ....."

When I fixed that, browser would not recognize the reply as html since the operator, which generated correct first header line in HttpServletResponseImpl.cpp
was commented out.

Are these just bugs or do I miss sthing?

Another problem occured when I tried to run csp-store demo from cppserv-samples-0.1.99.0.
When I start the demo, the following error occurs:

Could not locate servlet ShoppingCartView.csp in the library debug/./csp-store/ShoppingCartView.so: debug/./csp-store/ShoppingCartView.so: undefined symbol: ShoppingCartView.csp_createServlet
This one will need updating (as indicated by difference between versions).
In this particular instance all that's needed is updates to engine.xml file.
error during configuration: Unable to process configuration

How do I handle this one?

Best regards

--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com


Authoright © Total Knowledge: 2001-2008