Skip to content

Instantly share code, notes, and snippets.

ratcash ratcashdev

View GitHub Profile
@ratcashdev
ratcashdev / payara5-pre.log
Created Jul 16, 2018
OOM when accessing a JSP
View payara5-pre.log
Jul 16, 2018 12:22:00 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@342d66f7 in service registry.
#!## LogManagerService.postConstruct : rootFolder=C:\Users\MatyasBene\Apps\payara5-p2\glassfish
#!## LogManagerService.postConstruct : templateDir=C:\Users\MatyasBene\Apps\payara5-p2\glassfish\lib\templates
#!## LogManagerService.postConstruct : src=C:\Users\MatyasBene\Apps\payara5-p2\glassfish\lib\templates\logging.properties
#!## LogManagerService.postConstruct : dest=C:\Users\MatyasBene\Apps\payara5-p2\glassfish\domains\domain1\config\logging.properties
Info: Running Payara Version: Payara Server 5 #badassfish (build 344)
Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
Info: Registered fish.payara.ha.hazelcast.store.Hazelc
@ratcashdev
ratcashdev / letsencrypt.py
Created Apr 27, 2018
Let's encrypt script to retrieve and upload keys/certificates to Payara
View letsencrypt.py
#!/usr/bin/env python3
from pathlib import Path
from os import path
from subprocess import call, check_call, CalledProcessError
import argparse
ASADMIN_PATH="./asadmin"
WEB_ROOT_PATH=Path(path.expanduser("~")) / "payara_le_war"
LE_LIVE_PATH=Path("/etc/letsencrypt/live/")
@ratcashdev
ratcashdev / mytemp_bt.py
Created Mar 27, 2018
mitemp_bt implementation for Home-Assistant.io
View mytemp_bt.py
"""
Support for Xiaomi Mi Temp BLE environmental sensor.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.mitemp_bt/
"""
import logging
import voluptuous as vol
@ratcashdev
ratcashdev / mytemp.py
Created Mar 3, 2018
homeassistent sensor definition file
View mytemp.py
"""
Support for Xiaomi Mi Temp BLE environmental sensor.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.mitemp/
"""
import logging
import voluptuous as vol
View payara server.log
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Listening for transport dt_socket at address: 9009
Launching GlassFish on Felix platform
Jul 18, 2015 10:37:08 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Jul 18, 2015 10:37:08 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Jul 18, 2015 10:37:08 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@9289532 in service registry.
You can’t perform that action at this time.