Re: [Cppcms-users] exception from cppcms
Brought to you by:
artyom-beilis
From: 陈抒 <csf...@gm...> - 2011-11-08 12:06:21
|
Unfortunately,I can't reproduce this case.But I am afraid that the case occurs in my product environment. 陈抒 Best regards http://blog.csdn.net/sheismylife On Tue, Nov 8, 2011 at 7:48 PM, 陈抒 <csf...@gm...> wrote: > Hello, > I got the following error log today: > 2011-11-08 10:00:26 GMT; main, error: exception in main,ex:aio::: invalid > endpoint (main.cpp:61) > > My code looks like so: > > int main(int argc,char ** argv){ > // init_log(); > cppcms::json::value config_json; > my_application& app= app_singleton_holder::Instance(); > configuration* config = new configuration(); > > try{ > .... > ..... > cppcms::service srv(argc,argv); > > srv.applications_pool().mount(cppcms::applications_factory<rest::prize_service>()); > srv.run(); > }catch(std::exception const& ex) { > BOOSTER_ERROR("main") << "exception in main,ex:" <<ex.what(); > return 3; > } > } > > I don't know what causes the exception(red above),but it causes my > application to quit. > > > 陈抒 > Best regards > http://blog.csdn.net/sheismylife > |