Changeset 0beb353 in murachi for murachi/src/main/java/ve/gob/cenditel/murachi
- Timestamp:
- Sep 2, 2015, 5:09:21 PM (9 years ago)
- Branches:
- master
- Children:
- d732178
- Parents:
- ca297b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
murachi/src/main/java/ve/gob/cenditel/murachi/MurachiRESTWS.java
rca297b6 r0beb353 89 89 import ee.sk.digidoc.SignedDoc; 90 90 import ee.sk.digidoc.factory.DigiDocGenFactory; 91 import eu.europa.ec.markt.dss.exception.DSSException; 91 92 92 93 import javax.servlet.http.HttpServletRequest; … … 125 126 126 127 // debe colocarse la barra al final de la ruta 127 private static final String SERVER_UPLOAD_LOCATION_FOLDER = "/tmp/murachi/"; 128 //private static final String SERVER_UPLOAD_LOCATION_FOLDER = "/tmp/murachi/"; 129 private static final String SERVER_UPLOAD_LOCATION_FOLDER = "/var/lib/tomcat7/murachiWorkingDirectory/"; 130 128 131 129 132 private static final String SHA256_MESSAGE_DIGEST = "SHA256"; … … 389 392 // deserializar el contenedor 390 393 c = deserialize(SERVER_UPLOAD_LOCATION_FOLDER + fileName + "-serialized.bin"); 394 391 395 logger.debug(" deserializado contenedor: " + SERVER_UPLOAD_LOCATION_FOLDER + fileName + "-serialized.bin"); 392 396 … … 4113 4117 jsonError.put("error", e.getMessage()); 4114 4118 return Response.status(500).entity(jsonError).build(); 4119 } catch (DSSException e) { 4120 JSONObject jsonError = new JSONObject(); 4121 4122 System.out.println("DSSException e: " + e.getMessage()); 4123 logger.error("error: " + e.getMessage()); 4124 4125 jsonError.put("error", e.getMessage()); 4126 return Response.status(500).entity(jsonError).build(); 4115 4127 } 4116 4128
Note: See TracChangeset
for help on using the changeset viewer.