- Timestamp:
- Apr 20, 2010, 5:34:33 PM (15 years ago)
- Location:
- trunk/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/main.cfg
r1 r5 2 2 encoding = utf-8 3 3 version = 1.0.0 4 serverAddress = http:// dev.geolabs.fr/services/wps/4 serverAddress = http://www.zoo-project.org/zoo/ 5 5 lang = fr-FR,en-CA 6 tmpPath=/YourFullTmpPathHere/ 7 tmpUrl = ../TmpPathRelativeToServerAdress/ 6 8 7 9 [identification] 8 10 title = The Zoo WPS Development Server 9 abstract = Development version of ZooWPS. See http:// devpark.geolabs.fr/prj11 abstract = Development version of ZooWPS. See http://www.zoo-project.org 10 12 fees = None 11 13 accessConstraints = none … … 13 15 14 16 [provider] 15 providerName= GeoLabs SARL16 providerSite=http:// dev.geolabs.fr17 providerName=ZOO Project 18 providerSite=http://www.zoo-project.org 17 19 individualName=Gerald FENOY 18 positionName=Develop per19 role= Gérant20 positionName=Developer 21 role=Dev 20 22 adressDeliveryPoint=1280, avenue des Platanes 21 23 addressCity=Lattes -
trunk/zoo-kernel/zoo_service_loader.c
r2 r5 482 482 tmp_output=tmp_output->next; 483 483 } 484 //dumpMaps(request_output_real_format);485 484 } 486 485 … … 601 600 else { 602 601 xmlInitParser(); 603 //dumpMap(postRequest);604 602 #ifdef DEBUG 605 603 fflush(stderr); … … 608 606 #endif 609 607 xmlDocPtr doc = 610 xmlParseMemory(postRequest->value,cgiContentLength); //strlen(postRequest->value));608 xmlParseMemory(postRequest->value,cgiContentLength); 611 609 #ifdef DEBUG 612 610 fprintf(stderr,"AFTER\n"); … … 1434 1432 fflush(stderr); 1435 1433 #endif 1436 //return 1;1437 1434 } 1438 1435 1439 //dlclose(so);1436 dlclose(so); 1440 1437 } else { 1441 1438 /** … … 1472 1469 if(strcmp(mtoupper(r_inputs->value),"JS")==0){ 1473 1470 eres=zoo_js_support(&m,request_inputs,s1,&request_input_real_format,&request_output_real_format); 1474 //dumpMaps(request_output_real_format);1475 //exit(-1);1476 1471 } 1477 1472 else … … 1524 1519 freopen(tmp1 , "w+", stdout); 1525 1520 fclose(stdin); 1526 fclose(stderr); 1521 r_inputs=getMapFromMaps(m,"main","tmpPath"); 1522 sprintf(tmp1,"%s",r_inputs->value); 1523 r_inputs=getMap(s1->content,"ServiceProvider"); 1524 sprintf(tmp1,"%s/%s",strdup(tmp1),r_inputs->value); 1525 sprintf(tmp1,"%s_%d_error.log",strdup(tmp1),cpid); 1526 freopen(tmp1,"w+",stderr); 1527 1527 /** 1528 1528 * set status to SERVICE_STARTED and flush stdout to ensure full … … 1638 1638 */ 1639 1639 eres=execute(&m,&request_input_real_format,&request_output_real_format); 1640 //dlclose(so);1640 dlclose(so); 1641 1641 } 1642 1642 } else { 1643 //#ifdef DEBUG1644 1643 /** 1645 * Should fallback to others languages. 1646 * Maybe beter to keep this informations anywhere 1647 * (in the service metadata ?) 1644 * Unable to load the requested C Library 1648 1645 */ 1649 1646 char tmps2[1024]; … … 1711 1708 #endif 1712 1709 1713 //dlclose(so);1714 1710 return 0; 1715 1711 }
Note: See TracChangeset
for help on using the changeset viewer.