Home » Eclipse Projects » Eclipse Scout » [neon] Login with http works, but not https
| | | | |
Re: [neon] Login with http works, but not https [message #1747295 is a reply to message #1747223] |
Fri, 11 November 2016 17:50 |
Steve Conley Messages: 11 Registered: November 2016 |
Junior Member |
|
|
I have applied it as I explained above to the certificate which is actually used by both java's. Although the java used by tomcat 8 is oracle 8 java (as I also explained).
If I give the command:
sudo $JAVA_HOME/bin/keytool -list -storepass changeit -keystore /etc/ssl/certs/java/cacerts
this entry is included in the list:
tomcat_localhost, Nov 9, 2016, trustedCertEntry,
Certificate fingerprint (SHA1): 52:36:88:AC:5C:58:88:F7:F8:D1:EC:D6:F7:BC:87:0C:7A:82:F9:CB
If I go to Firefox and the certificate manager, and look under "servers" there is a permanent entry under localhost
localhost localhost:8443 Permanent (expires) 02/07/2017.
with the same SHA1 Fingerprint.
So I am "pretty sure" my certificate is created and in the right place.
I have included these log excerpts when I attempt to log on.
But at the moment, they don't tell me anything ...
My localhost.access.log has these pertinent entries when I attempted the logon:
127.0.0.1 - - [11/Nov/2016:12:07:55 -0500] "GET /org.eclipse.scout.apps.helloworld.ui.html/ HTTP/1.1" 200 2884
127.0.0.1 - - [11/Nov/2016:12:07:55 -0500] "GET /org.eclipse.scout.apps.helloworld.ui.html/res/scout-login-a0015e54.min.css HTTP/1.1" 304 -
127.0.0.1 - - [11/Nov/2016:12:07:55 -0500] "GET /org.eclipse.scout.apps.helloworld.ui.html/res/login-ce7811fb.min.js HTTP/1.1" 304 -
127.0.0.1 - - [11/Nov/2016:12:07:55 -0500] "GET /org.eclipse.scout.apps.helloworld.ui.html/res/jquery-all-665948bc.min.js HTTP/1.1" 304 -
127.0.0.1 - - [11/Nov/2016:12:07:55 -0500] "GET /org.eclipse.scout.apps.helloworld.ui.html/res/scout-login-f6ccd197.min.js HTTP/1.1" 304 -
127.0.0.1 - - [11/Nov/2016:12:07:55 -0500] "GET /org.eclipse.scout.apps.helloworld.ui.html/res/logo.png HTTP/1.1" 304 -
127.0.0.1 - - [11/Nov/2016:12:08:03 -0500] "POST /org.eclipse.scout.apps.helloworld.server/process HTTP/1.1" 200 370
127.0.0.1 - - [11/Nov/2016:12:08:05 -0500] "POST /org.eclipse.scout.apps.helloworld.ui.html/auth HTTP/1.1" 403 1022
127.0.0.1 - - [11/Nov/2016:12:08:13 -0500] "POST /org.eclipse.scout.apps.helloworld.server/process HTTP/1.1" 200 370
the tomcat8 helloworld.html.ui log shows:
2016-11-11 08:22:40,596 INFO [http-nio-8443-exec-1] org.eclipse.scout.rt.shared.servicetunnel.http.MultiSessionCookieStoreInstaller - Successfully uninstalled java.net.CookieManager@4379b082 (Cookie store: org.eclipse.scout.rt.shared.servicetunnel.http.MultiSessionCookieStore@3856bef4) - MDC[]
2016-11-11 12:06:32,150 INFO [Thread-8] org.eclipse.scout.rt.platform.internal.PlatformImplementor - Headless mode: scout.headless=true, java.awt.headless=true, GraphicsEnvironment.isHeadless()=true - MDC[]
2016-11-11 12:06:32,229 INFO [Thread-8] org.eclipse.scout.rt.platform.inventory.ClassInventory - Finished preparation of jandex class inventory in 73.506160 ms - MDC[]
2016-11-11 12:06:32,596 INFO [Thread-8] org.eclipse.scout.rt.platform.logger.LoggerPlatformListener - registered logger support [org.eclipse.scout.rt.platform.logger.LogbackLoggerSupport] - MDC[]
2016-11-11 12:06:32,599 INFO [Thread-8] org.eclipse.scout.rt.shared.services.common.code.CodeTypeRegistrator - 0 code type classes registered. - MDC[]
2016-11-11 12:06:32,608 INFO [Thread-8] org.eclipse.scout.rt.shared.servicetunnel.RegisterTunnelToServerPlatformListener - Tunnel to server proxies registered. - MDC[]
2016-11-11 12:06:32,610 INFO [Thread-8] org.eclipse.scout.rt.shared.servicetunnel.http.MultiSessionCookieStoreInstaller - Successfully installed java.net.CookieManager@6937e240 (Cookie store: org.eclipse.scout.rt.shared.servicetunnel.http.MultiSessionCookieStore@6369954e) - MDC[]
2016-11-11 12:06:32,683 INFO [Thread-8] org.eclipse.scout.rt.ui.html.res.PrebuildFiles - Pre-building of web resources enabled - MDC[]
2016-11-11 12:06:32,684 INFO [Thread-8] org.eclipse.scout.rt.ui.html.res.PrebuildFiles - Pre-building resource '/index.html' - MDC[]
2016-11-11 12:06:32,684 INFO [Thread-8] org.eclipse.scout.rt.ui.html.UiThemeUtility - UI theme configured in config.properties: application - MDC[]
2016-11-11 12:06:32,714 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@680d3552[requestPath=res/application-all-macro.css, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/helloworld.ui.html-1.0.0-SNAPSHOT.jar!/WebContent/res/application-all-macro.css, fileType=CSS, nodeType=MACRO] theme=application m_minify=true - MDC[]
2016-11-11 12:06:44,530 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@3ba7660f[requestPath=res/jquery-all-macro.js, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/org.eclipse.scout.rt.ui.html-6.1.0.M3.jar!/WebContent/res/jquery-all-macro.js, fileType=JS, nodeType=MACRO] theme=application m_minify=true - MDC[]
2016-11-11 12:06:45,160 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@3b059b6f[requestPath=res/application-all-macro.js, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/helloworld.ui.html-1.0.0-SNAPSHOT.jar!/WebContent/res/application-all-macro.js, fileType=JS, nodeType=MACRO] theme=application m_minify=true - MDC[]
2016-11-11 12:06:55,479 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@2ecafb[requestPath=res/index.js, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/helloworld.ui.html-1.0.0-SNAPSHOT.jar!/WebContent/res/index.js, fileType=JS, nodeType=LIBRARY] theme=application m_minify=true - MDC[]
2016-11-11 12:06:55,481 INFO [Thread-8] org.eclipse.scout.rt.ui.html.res.PrebuildFiles - Pre-building resource '/login.html' - MDC[]
2016-11-11 12:06:55,483 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@527aae44[requestPath=res/scout-login-module.css, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/org.eclipse.scout.rt.ui.html-6.1.0.M3.jar!/scout-login-module.css, fileType=CSS, nodeType=SRC_MODULE] theme=application m_minify=true - MDC[]
2016-11-11 12:06:57,382 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@18d39db3[requestPath=res/scout-login-module.js, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/org.eclipse.scout.rt.ui.html-6.1.0.M3.jar!/scout-login-module.js, fileType=JS, nodeType=SRC_MODULE] theme=application m_minify=true - MDC[]
2016-11-11 12:06:57,673 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@3bc1b0a4[requestPath=res/login.js, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/helloworld.ui.html-1.0.0-SNAPSHOT.jar!/WebContent/res/login.js, fileType=JS, nodeType=LIBRARY] theme=application m_minify=true - MDC[]
2016-11-11 12:06:57,675 INFO [Thread-8] org.eclipse.scout.rt.ui.html.res.PrebuildFiles - Pre-building resource '/logout.html' - MDC[]
2016-11-11 12:06:57,676 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@2e3b835b[requestPath=res/logout.js, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/helloworld.ui.html-1.0.0-SNAPSHOT.jar!/WebContent/res/logout.js, fileType=JS, nodeType=LIBRARY] theme=application m_minify=true - MDC[]
2016-11-11 12:06:57,677 INFO [Thread-8] org.eclipse.scout.rt.ui.html.res.PrebuildFiles - Pre-building resource '/popup-window.html' - MDC[]
2016-11-11 12:06:57,678 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@42b8d585[requestPath=res/scout-module.css, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/org.eclipse.scout.rt.ui.html-6.1.0.M3.jar!/scout-module.css, fileType=CSS, nodeType=SRC_MODULE] theme=application m_minify=true - MDC[]
2016-11-11 12:07:03,833 INFO [Thread-8] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@3a33c31c[requestPath=res/popup-window.js, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/helloworld.ui.html-1.0.0-SNAPSHOT.jar!/WebContent/res/popup-window.js, fileType=JS, nodeType=LIBRARY] theme=application m_minify=true - MDC[]
2016-11-11 12:07:54,736 INFO [http-nio-8443-exec-14] org.eclipse.scout.rt.ui.html.script.ScriptFileBuilder - Building script ScriptSource@4ee74c4f[requestPath=res/scout-login-module.css, url=jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/org.eclipse.scout.rt.ui.html-6.1.0.M3.jar!/scout-login-module.css, fileType=CSS, nodeType=SRC_MODULE] theme=null m_minify=true - MDC[httpUri=/org.eclipse.scout.apps.helloworld.ui.html/login.html, cid=36c58fcc-b323-4afc-ac2e-c1ca6750fcb2]
the catalina log:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/var/lib/tomcat8/lib/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html/WEB-INF/lib/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Nov 11, 2016 12:07:03 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /var/lib/tomcat8/webapps/org.eclipse.scout.apps.helloworld.ui.html.war has finished in 33,144 ms
and the helloworld.server log:
2016-11-11 12:06:07,383 INFO [Thread-7] org.eclipse.scout.rt.platform.internal.PlatformImplementor - Headless mode: scout.headless=true, java.awt.headless=true, GraphicsEnvironment.isHeadless()=true - MDC[]
2016-11-11 12:06:07,437 INFO [Thread-7] org.eclipse.scout.rt.platform.inventory.ClassInventory - Finished preparation of jandex class inventory in 44.946565 ms - MDC[]
2016-11-11 12:06:07,648 INFO [Thread-7] org.eclipse.scout.rt.platform.logger.LoggerPlatformListener - registered logger support [org.eclipse.scout.rt.platform.logger.LogbackLoggerSupport] - MDC[]
2016-11-11 12:06:07,651 INFO [Thread-7] org.eclipse.scout.rt.shared.services.common.code.CodeTypeRegistrator - 0 code type classes registered. - MDC[]
2016-11-11 12:06:07,660 INFO [Thread-7] org.eclipse.scout.rt.mom.api.ClusterMom - +++ Using 'NullMomImplementor' for transport 'ClusterMom'. No messages are published and received. To enable this transport, configure a MOM implementor with property 'scout.mom.cluster.implementor'. - MDC[]
|
|
| | | | |
Re: [neon] Login with http works, but not https [SOLVED] [message #1747601 is a reply to message #1747523] |
Wed, 16 November 2016 12:14 |
Steve Conley Messages: 11 Registered: November 2016 |
Junior Member |
|
|
Thanks for looking at it. Glad to help.
Seeing you are one of the developers, I must thank you for what seems to be a nice product from my review so far.
It eliminates a lot of drudgery when putting together products that do not have to be "super" customized.
I may stick with the more bleeding version until the next release since I am early in the development of my project using it and somehow I ended up with this version:
eclipse-scout-neon-1a-linux-gtk-x86_64.tar.gz
I cannot figure out exactly where it fits in the /Scout/Updatesites.
It seems to be the version at this site, "Eclipse for Scout Developers" 64bit.
https://www.eclipse.org/downloads/eclipse-packages/
I went to look at my Eclipse "Available Software Sites" and was astounded to find 38 entries!
As this is a new install, I had not actually looked at that since all seemed to be working and I was not installing any other options.
For example, for Neon, there is eclipse.org/releases/neon, releases/neon,/201606221000, releases/neon/201609281000, releases/neon/201610111000.
And for Scout there is eclipse.org/scout/release/6.1/ and eclipse.org/scout/release/6.1/6.1.0
I have no idea how all those version entries got there unless there were already in the install.
Under installation details, the Scout entries are:
Eclipse for Scout Developers 4.6.1.20161007-1200 epp.package.scout Eclipse Packaging Project
Eclipse Scout SDK (Binary only) 6.1.0.M3 org.eclipse.scout.sdk-feature.feature.group Eclipse Scout Project
In the /Scout/Updatesites , that would "seem" to correspond to the 2nd preview line, which is labeled Oxygen M3 to the right.
So three questions if you would be so kind:
1. Is that "long" list of update sites with multiple version of each normal ? (In my 10 years+ Eclipse Java and "C" work, I have never seen that). And should I pare it down?
2. If that is where the version I got came from, why is the version being given out (at https://www.eclipse.org/downloads/eclipse-packages/) not the stable release? (that you may have no idea).
3. So far my issues have seemingly (except for this one) been mostly with the documentation which seems to be rather non-synched (understandably) with the "newer" release I have.
I would not mind helping out with finding the occasional issue while I am putting together my project - but don't want to be so bogged down I can't get my project done,
so would the "Preview" be a good place to be? Especially since I seem to be there already.
|
|
|
Re: [neon] Login with http works, but not https [SOLVED] [message #1747607 is a reply to message #1747601] |
Wed, 16 November 2016 12:32 |
Jeremie Bresson Messages: 1252 Registered: October 2011 |
Senior Member |
|
|
Steve Conley wrote on Wed, 16 November 2016 13:141. Is that "long" list of update sites with multiple version of each normal ? (In my 10 years+ Eclipse Java and "C" work, I have never seen that). And should I pare it down?
I guess this is really standard business for each eclipse project participating in the release train.
* Under "download.eclipse.org/scout/releases" you find our releases.
* Under the release update sites (e.g neon). "eclipse.org/releases/neon" you find a copy that is published as part of the release train (eclipse calls this an "aggregation" update site)
This the same for each project (platform, pde, jdt, emf, ...)
Steve Conley wrote on Wed, 16 November 2016 13:142. If that is where the version I got came from, why is the version being given out (at https://www.eclipse.org/downloads/eclipse-packages/) not the stable release? (that you may have no idea).
https://www.eclipse.org/downloads/eclipse-packages/ is the neon release. The last stable version is there.
Here: https://www.eclipse.org/downloads/index-developer.php you find the Oxygen Milestones Release (final Oxygen version will be delivered in June 2017).
* With Neon: Scout is on the 6.0.x Branch.
* With Oxygen: our plan is to contribute the 7.0.0 Version. On the first Oxygen milestones the version is still 6.y.z (where y >= 1).
Steve Conley wrote on Wed, 16 November 2016 13:143. So far my issues have seemingly (except for this one) been mostly with the documentation which seems to be rather non-synched (understandably) with the "newer" release I have.
I would not mind helping out with finding the occasional issue while I am putting together my project - but don't want to be so bogged down I can't get my project done,
so would the "Preview" be a good place to be? Especially since I seem to be there already.
Ok this is true. If you have looked at the wiki, most of the content there is mostly outdated and we should add at least a warning notice.
The new content is for the moment published on GitHub pages:
* Neon: http://eclipsescout.github.io/6.0
* Oxygen: at the moment: http://eclipsescout.github.io/6.1 (will be 7.0 when we change the version number)
I hope this helps.
|
|
| |
Goto Forum:
Current Time: Wed Sep 18 22:43:20 GMT 2024
Powered by FUDForum. Page generated in 0.04546 seconds
|