Problem: There is no logging with Java jax-ws client. Other logs are written fine to server.log
//: Playground - noun: a place where people can play | |
import GameplayKit | |
class ShootingComponent: GKComponent { | |
let power: Int | |
init(power: Int) { | |
self.power = power |
//: # State machine: handling three state and transition | |
import GameplayKit | |
class RetrievingDataState: GKState { | |
override func isValidNextState(stateClass: AnyClass) -> Bool { | |
print("\n---> \(stateClass) class") | |
return (stateClass == DataAvailableState.self) || (stateClass == DataNotAvailableState.self) | |
} |
import oracle.ons.ONS; | |
import oracle.ons.SenderThread; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.util.ReflectionUtils; | |
import javax.management.MBeanServer; | |
import javax.management.ObjectName; | |
import javax.servlet.ServletContextEvent; | |
import javax.servlet.ServletContextListener; |
@Bean | |
EmbeddedServletContainerCustomizer containerCustomizer( | |
@Value("${keystore.file}") Resource keystoreFile, | |
@Value("${keystore.pass}") String keystorePass) throws Exception { | |
String absoluteKeystoreFile = keystoreFile.getFile().getAbsolutePath(); | |
return (ConfigurableEmbeddedServletContainer container) -> { | |
if (container instanceof TomcatEmbeddedServletContainerFactory) { |
PUSH: | |
* tar cvf - . | gzip -c -1 | ssh user@host cat ">" remotefile.gz | |
* ssh target_address cat <localfile ">" remotefile | |
* ssh target_address cat <localfile - ">" remotefile | |
* cat localfile | ssh target_address cat ">" remotefile |
/* | |
* Selenium WebDriver JavaScript test with Mocha and NodeJS | |
* | |
* Start with: SELENIUM=PATH_TO_SELENIUM_JAR/selenium-server-standalone-2.31.0.jar mocha -t 10000 -R list google-sample.js | |
* | |
* Download selenium-server-standalone-2.31.0.jar from https://selenium.googlecode.com/files/selenium-server-standalone-2.31.0.jar | |
* 'sudo su' and 'npm install -g colors mocha selenium-webdriver' | |
* | |
* http://visionmedia.github.io/mocha/ | |
* https://code.google.com/p/selenium/wiki/WebDriverJs |