Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
RaspberryPi3B
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Installation==== * download wildfly-19.1.0.Final.zip from https://wildfly.org/downloads/ to laptop * copy zip file to <code>/wildfly/</code> (from Wildfly 11 installation) * unzip file unzip wildfly-19.1.0.Final.zip // creates directory wildfly-19.1.0.Final * enable remote access to Wildfly by editing /wildfly/wildfly-19.1.0.Final/standalone/configuration/standalone.xml and replace (save old version to standalone.xml_20190609): <interface name="management"> <inet-address value="${jboss.bind.address.management:127.0.0.1}"/> </interface> <interface name="public"> <inet-address value="${jboss.bind.address:0.0.0.0}"/> </interface> with <interface name="management"> <any-address/> </interface> <interface name="public"> <any-address/> </interface> * enable remote CLI access by adding native interface configuration to /wildfly/wildfly-19.1.0.Final/standalone/configuration/standalone.xml // add to <socket-binding-group name="standard-sockets" ... <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/> // add to <management-interfaces> <native-interface security-realm="ManagementRealm"> <socket-binding native="management-native"/> </native-interface> * because of experience with Wildfly 11 (see /var/log/syslog) copy /wildfly/wildfly-19.1.0.Final/bin/standalone.conf to standalone.conf_20200609 and edited to: -Xmx256m (from Xmx512m) * to make jsp work cd /wildfly/wildfly-19.1.0.Final/standalone chmod -R 777 tmp * add management user by ../bin/add-user.sh Management User uweheuer <Lj>Halloo0@1<Lj> no groups * add Ajp Configuration -> Web- > Server -> default-server -> view -> Listener -> AJP Listener -> add -> 'ajp' 'ajp' * activate audit.log by changing <code><audit-log></code> section to enabled <logger log-boot="true" log-read-only="false" enabled="true"> =====UweHeuer app preparation===== * install MySQL JDBC driver (Connector/J) (according to [https://docs.wildfly.org/19.1/Admin_Guide.html#DataSource official documentation for JDBC Driver installation] ** download platform independent Connector/J version 5.1.44 from [https://dev.mysql.com/downloads/connector/j/ here] (more actual version throw a timezone error during connection test) ** extract it ** open Admin console -> Deployments -> Upload Deployment and select mysql-connector-java-5.1.44-bin.jar for upload * create data directory (see [[RaspberryPi3B#UweHeuer|here]]) and copy latest version from Wildfly 11 * create datasources ** mySQLDS [[:File:RaspberryMySQLConfigurationUweHeuer.pdf]] Name: MySQLDS JNDI Name: java:jboss/datasources/MySQLDS Connection URL: jdbc:mysql://localhost/mysql506?autoReconnect=true Driver Name: mysql-connector-java-5.1.44-bin.jar_com.mysql.jdbc.Driver_5_1 *** set JTA to false ** mySQLDS_QA ([[:File:RaspberryMySQL506QAConfiguration.pdf|see screenshots]]) *** set JTA to false ** UwesWikiDS * create uweheuer logger (set use parent handler to false) ** [[File:UweHeuerLoggerConfiguration1.PNG|400px]] ** [[File:UweHeuerLoggerConfiguration2.PNG|400px]] ** [[File:UweHeuerLoggerConfiguration3.PNG|400px]]
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width