Ignore:
Timestamp:
Nov 4, 2014, 6:10:32 PM (8 years ago)
Author:
djay
Message:

Fix #106 and #108

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal_java.c

    r388 r527  
    232232  sprintf(tmps,"%s/%d.ztmp",tmpm->value,getpid());
    233233  FILE* new_stdout=fopen(tmps,"wb+");
     234  if(new_stdout==NULL){
     235    map* err=createMap("text","Unable to run your service, no debug informations can be provided (please verify privileges on tmpPath)");
     236    addToMap(err,"code","InternalError");
     237    printExceptionReportResponse(main_conf,err);
     238    freeMap(&err);
     239    free(err);
     240    return;
     241  }
    234242  fflush(stderr);
    235243  dup2(fileno(new_stdout),fileno(stderr));
     
    634642  return final_res;
    635643}
     644
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png