-
1. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
mayerw01 Mar 20, 2017 10:53 AM (in response to jbkev)Which version of Dashbuilder are you using?
But you should start WildFly with the standalone-full.xml configuration
-
2. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
jbkev Mar 20, 2017 11:20 AM (in response to mayerw01)Thanks for replying. I just realized that I had attempted to install the Tomcat version of Dashbuilder that I download 10 days ago.
I just successfully imported Dashbuilder 6.2 but I lost a connection. I don't know enough about the software to know where to look. Image attached.
Thanks for helping.
-
connection_error.png 74.1 KB
-
-
3. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
mayerw01 Mar 21, 2017 5:07 AM (in response to jbkev)I am not aware that there is a 6.2 version for WildFly-10. Did you deploy dashbuilder-6.2.0.Final-wildfly8.war? This version will probably not work on WildFly 10.
I'd suggest that you use 6.5 instead (eg dashbuilder-6.5.1-SNAPSHOT-wildfly10.war)
-
4. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
jbkev Mar 21, 2017 2:14 PM (in response to mayerw01)Thanks. I was wrong. I installed dashbuilder-6.2.0.Final-wildfly8.war. I found dashbuilder-6.4.0.Final-wildfly8.war at this link. Dashbuilder - Binaries Download.
I found 6.5 as I was typing this reply. Thanks. Index of /maven2/org/kie/dashbuilder-docs
I also noticed that a script I used from this link Installing Wildfly 10.0.0 on Centos 7.1 · MAX-UMD/versastack.community Wiki · GitHub changed some of the ports in the standalone.xml but the changed ports did not align with the default ports in other files.
I think there is an issue other than dashbuilder. WildFly launches but I get a connection error from almost everything I click on. Unfortunately, I don't have experience in java or being a system admin.
socket-binding name="ajp" port="${jboss.ajp.port:8009}
socket-binding name="http"port="${jboss.http.port:8080}
socket-binding name="https" port="${jboss.https.port:8443}
Changed to
socket-binding name="ajp" port="${jboss.ajp.port:28009}"
socket-binding name="http" port="${jboss.http.port:28080}
socket-binding name="https" port="${jboss.https.port:28443}
For example:
# https://docs.jboss.org/jbossas/docs/Clustering_Guide/beta422/html/clustering-http-nodes.html
### workers.apache_log=/var/log/httpd
worker.list=worker1,status
worker.worker1.type=ajp13
worker.worker1.host=127.0.0.1
worker.worker1.port=8009
vi /etc/httpd/conf.d/ssl.conf
<VirtualHost _default_:443>
# Added for mod_jk
JkMount /* worker1
** Create a mod_jk.conf file in your conf.d folder:
vi /etc/httpd/conf.d/mod_jk.conf
# To avoid error AH00558: httpd: Could not reliably
# determine the server's fully qualified domain name
# replace 1.2.3.4 with your server IP
ServerName 127.0.0.1
# Load mod_jk
LoadModule jk_module "/etc/httpd/modules/mod_jk.so"
JkWorkersFile /etc/httpd/conf/workers.properties
# Where to put jk logs
JkLogFile /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the timestamp log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicates to send SSK KEY SIZE
# JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat
JkRequestLogFormat "%w %V %T"
# JkEnvVar SSL_CLIENT_V_START worker1
# Add shared memory.
# This directive is present with 1.2.10 and
# later versions of mod_jk, and is needed for
# for load balancing to work properly
JKShmFile /var/tmp/jk-runtime-status
vi /etc/tomcat/server.xml
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
address="127.0.0.1"
redirectPort="8443" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" address="127.0.0.1" protocol="AJP/1.3" redirectPort="8443" />
-
5. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
jbkev Mar 21, 2017 4:18 PM (in response to jbkev)I reinstalled wildfly and I get the same error.
-
connection_error1.png 58.4 KB
-
-
6. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
jbkev Mar 21, 2017 8:30 PM (in response to jbkev)I got it to work on Tomcat by downloading tomcat-dbcp-7.0.69.jar from https://repo1.maven.org/maven2/org/apache/tomcat/tomcat-dbcp/7.0.69/ and copying it to /usr/share/java/tomcat. I hope this helps someone else because this took a few days to resolve.
-
7. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
mayerw01 Mar 22, 2017 5:19 AM (in response to jbkev)As already mentioned you should use dashbuilder version 6.5 for WildFly 10.
I'd also suggest to start with the default configuration (without changing ports).
The "Connection error" could also be caused by "dirty caches".
You should therefore clear the browser cache first.
-
8. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
mayerw01 Mar 22, 2017 12:10 PM (in response to jbkev)I am not sure how this relates to WildFly.
(but these jars should be placed into the lib directory of tomcat and the tomcat-dbcp.jar should already be available after a standard installation).
-
9. Re: New Install of WildFly 10.1.0 - Connection to Server Lost - Help
jbkev Mar 29, 2017 1:46 PM (in response to mayerw01)Thanks. I had both tomcat and wildfly installed. I found out where I foudn 6.2. Googling dashbuilder shows a download link to Dashbuilder - Binaries Download
I think I installed 6.4 because I could not determine how to install 6.5.
I have it installed and and can connect to mysql but I' can only import 2 lines of a CSV file. I'm going post that in another thread.
I used tomcat, dashbuilder, and mod_jk and I found a mistake in the documentation for the JkMount.
Thanks for helping.