unix

parent d197dc9a
......@@ -698,15 +698,12 @@ var LoginComponent = (function () {
this.fillSelect();
};
LoginComponent.prototype.cedulaChange = function (event) {
console.log('ejecutashit: ', event);
if (!this.errorCargacentroeducativo) {
this.mostrarSelect = (event != this.matefunAdmin);
if (!this.mostrarSelect) {
//this.centroeducativoSeleccionado = '1'
this.mensaje = 'ADMIN MATEFUN';
}
else {
//this.centroeducativoSeleccionado = undefined
this.mensaje = undefined;
}
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -61,15 +61,11 @@ export class LoginComponent implements OnInit {
}
cedulaChange(event){
console.log ('ejecutashit: ' , event);
if (!this.errorCargacentroeducativo){
this.mostrarSelect = (event!=this.matefunAdmin)
if (!this.mostrarSelect){
//this.centroeducativoSeleccionado = '1'
this.mensaje = 'ADMIN MATEFUN'
}else{
//this.centroeducativoSeleccionado = undefined
this.mensaje = undefined
}
}
......@@ -111,9 +107,6 @@ export class LoginComponent implements OnInit {
this.mensaje = 'Error en la carga de centroeducativos'
}
);
},
error => {
this.mensaje = 'Error al cargar los Centros Educativos'
......
......@@ -566,9 +566,11 @@ public class EstadoSistemaEJB {
public JsonObject getEstadoServidor(Boolean all) throws IOException, InterruptedException, InstanceNotFoundException, AttributeNotFoundException, MalformedObjectNameException, ReflectionException, MBeanException, ExecutionException {
System.out.print("isUnix: " + isUnix);
ExecutorService executor = Executors.newFixedThreadPool(3);
Future<List<String>> top = executeShellCommand(executor, "top -l 1");
String listenPort = ManagementFactory.getPlatformMBeanServer().getAttribute(new ObjectName("jboss.as:socket-binding-group=standard-sockets,socket-binding=http"), "port").toString();
Future<List<String>> lsof = executeShellCommand(executor, "lsof -i :"+listenPort+" | grep LISTEN");
......
......@@ -33,7 +33,7 @@
<property name="hibernate.transaction.jta.platform" value="org.hibernate.engine.transaction.jta.platform.internal.WebSphereExtendedJtaPlatform"/>
<property name="javax.persistence.schema-generation.create-database-schemas" value="false"/>
<property name="javax.persistence.schema-generation.scripts.action" value="none"/>
<property name="javax.persistence.schema-generation.database.action" value="none"/>
<property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
</properties>
</persistence-unit>
......
#Generated by Maven Integration for Eclipse
#Wed Jul 22 22:28:53 BRT 2020
#Thu Jul 23 18:15:45 BRT 2020
version=0.0.1-SNAPSHOT
groupId=proygrado
m2e.projectName=Servidor JEE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment