Skip to content

Instantly share code, notes, and snippets.

View pehunka's full-sized avatar
🏠
Working from home

Petr Hunka pehunka

🏠
Working from home
View GitHub Profile
@pehunka
pehunka / gist:5d0eb97b23168a65bdb7
Last active December 12, 2019 09:22
Wildfly 8.x #oracle #jdbc
## Register driver
ARCHIVE_NAME=ojdbc6.jar
REPOSITORY_DIR=pathToDriver
SERVER_DIR=pathToWildfly
INSTALL_DIR=$SERVER_DIR/modules/system/layers/base/com/oracle/ojdbc6/main
SERVER_USER=petr
SERVER_PASSW=petr
mkdir -p $INSTALL_DIR
cp $REPOSITORY_DIR/$ARCHIVE_NAME $INSTALL_DIR