KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
hurraa
★ 16
Open GitHub ↗
Opensource project to resource management
Download README (.md)
Explore Similar Repositories
wallgig
:
wallgig is an open source wallpaper sharing community written in Rails 4
grk2clj
:
From Greek to Clojure, Clojure/conj 2013
crx-jtrans
:
jTransliter - the roman to unicode transliter as Google chrome extension
ffmpeg_win_example
:
CMake + FFMPEG for windows example
Robot-Rescue-2013
:
RoboCup Junior Rescue B Robot sharing (CAD, Software, Electronics, materials and all stuff)
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
hurraa
?
Download (.md)
# Hurraa Opensource project to resource management ### Script configuration hurraa/configWildfly8.sh ### Datasource configuration #### General Configuration Get MySQL Module for WildFly [here](https://github.com/cejug/hurraa/wiki/hurraa-wildfly-driver-module/mysql.zip) and unpack in "WILDFLY_HOME/modules/", in the end you should have a structure like this "WILDFLY_HOME/modules/com/mysql/main" verify this structure before following the next steps Like the following video shows: http://www.youtube.com/watch?v=l1daP7PZxNA#t=2729 After 45 minutes #### Configuration of the Datasource through jboss cli After **General Configuration** section: 1. Start Windfly server 2. In the folder WILDFLY_HOME/bin run the jboss-cli.sh or .bat 3. Enter the CLI next steps 4. connect localhost:9990 5. ./subsystem=datasources/jdbc-driver=com.mysql:add(driver-name="com.mysql", driver-module-name="com.mysql", driver-xa-datasource-class-name="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource", driver-class-name="com.mysql.jdbc.Driver" ) 6. ./subsystem=datasources/data-source=hurraaDS:add(enabled=true , jndi-name="java:/hurraaDS" , use-java-context=true, driver-name="com.mysql" , min-pool-size=10 , max-pool-size=100 , pool-prefill=true, user-name="root" , connection-url="jdbc:mysql://localhost:3306/hurraa" ) #### Configuration of the datasource at standalone.xml file ```xml <datasource jndi-name="java:/hurraaDS" pool-name="hurraaDS" enabled="true" use-java-context="true"> <connection-url>jdbc:mysql://localhost:3306/hurraa</connection-url> <driver>com.mysql</driver> <pool> <min-pool-size>10</min-pool-size> <max-pool-size>100</max-pool-size> <prefill>true</prefill> </pool> <security> <user-name>root</user-name> </security> </datasource> <drivers> <driver name="com.mysql" module="com.mysql"> <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class> </driver> </drivers> ``` ### Configuration environment vars. Create a env variable WILDFLY_HOME for arquillian.xml config 1. LINUX - most of linux distributions: create a file wf.sh in /etc/profile.d with this content ```bash export WILDFLY_HOME=/your_path_to/wildfly-8.1.0.Final ``` 2. MAC - add this content into /etc/profile ```bash WILDFLY_HOME=/your_path_to/wildfly-8.1.0.Final/ ```