Wildfly – Define system property

C:\java\wildfly\wildfly-10.1.0.Final\bin>jboss-cli –connect controller=localhost [standalone@localhost:9990 /] /system-property=spring.profiles.active:add(value=local) {“outcome” => “success”} [standalone@localhost:9990 /] /system-property=spring.profiles.active:read-resource { “outcome” => “success”, “result” => {“value” => “local”} } [standalone@localhost:9990 /] /system-property=spring.profiles.active:read-resource…

Wildfly maven plugin

Start a local wildfly instance. $ ~/java_tools/wildfly/wildfly-10.1.0.Final/bin/standalone.sh & Or download and start on-the-fly. $ mvn -Pwildfly wildfly:start [INFO] Scanning for projects… [INFO] [INFO] ———————————————————————— [INFO]…

AWS – Upload War with SFTP

matto_000@backroom ~/projects/fireanote $ sftp -o HostKeyAlgorithms=ssh-rsa -i ./….pem ec2-user@….compute.amazonaws.com Connected to ….compute.amazonaws.com. sftp> pwd Remote working directory: /home/ec2-user sftp> mkdir deploy etc… Then it’s old…

Processes listening on ports

…@… ~ $ netstat -abno | grep 8082 TCP 0.0.0.0:8082 0.0.0.0:0 LISTENING 1468 TCP 127.0.0.1:8082 127.0.0.1:60772 TIME_WAIT 0 TCP 192.168.1.90:8082 192.168.1.90:60694 TIME_WAIT 0 TCP [::]:8082…

Links

https://www.red-gate.com/simple-talk/sql/sql-development/questions-sql-server-collations-shy-ask/ https://docs.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties https://logging.apache.org/log4j/2.0/manual/architecture.html Oracle / PLSQL: Execute a SQL script file in SQLPlus https://www.techonthenet.com/oracle/questions/script.php DB2’s Command Line Processor and Scripting https://www.ibm.com/developerworks/data/library/techarticle/adamache/0109adamache.html