Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run is-samples-distribution-4.0.0 failled #187

Open
mohArifJauhari opened this issue Jul 22, 2019 · 1 comment
Open

run is-samples-distribution-4.0.0 failled #187

mohArifJauhari opened this issue Jul 22, 2019 · 1 comment

Comments

@mohArifJauhari
Copy link

Description:
Need help, Im get Failed to load class Failed to load class "org.slf4j.impl.StaticLoggerBinder". when start sample apps

$ app-server.bat
" Stating sample apps.. "
""
" Using Host : localhost.com "
" Using Port : 8080 "
2019-07-22 09:45:46.122:INFO::main: Logging initialized @114ms to org.eclipse.jetty.util.log.StdErrLog
2019-07-22 09:45:46.128:INFO:oejr.Runner:main: Runner
2019-07-22 09:45:46.295:INFO:oejs.Server:main: jetty-9.4.11.v20180605; built: 2018-06-05T18:24:03.829Z; git: d5fc0523cfa96bfebfbda19606cad384d772f04c; jvm 1.8.0_211-b12 2019-07-22 09:45:49.538:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2019-07-22 09:45:49.538:INFO:oejs.session:main: No SessionScavenger set, using defaults
2019-07-22 09:45:49.540:INFO:oejs.session:main: node0 Scavenging every 600000ms
Jul 22, 2019 9:45:49 AM org.wso2.sample.identity.jks.JKSLoader contextInitialized
INFO: Setting trust store path to : /C:/Users/Acer/AppData/Local/Temp/jetty-localhost.com-8080-pickup-dispatch.war--any-3050647385874041708.dir/webapp/WEB-INF/classes/wso2carbon.jks
2019-07-22 09:45:50.776:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@28f67ac7{QSG Web Application Pickup-Dispatch,/pickup-dispatch,file:///C:/Users/Acer/AppData/Local/Temp/jetty-localhost.com-8080-pickup-dispatch.war-
-any-3050647385874041708.dir/webapp/,AVAILABLE}{/pickup-dispatch.war}
Jul 22, 2019 9:45:52 AM org.wso2.sample.identity.jks.JKSLoader contextInitialized
INFO: Setting trust store path to : /C:/Users/Acer/AppData/Local/Temp/jetty-localhost.com-8080-pickup-manager.war--any-4312261211607561285.dir/webapp/WEB-INF/classes/wso2carbon.jks
2019-07-22 09:45:52.278:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@256216b3{QSG Web Application Pickup-Manager,/pickup-manager,file:///C:/Users/Acer/AppData/Local/Temp/jetty-localhost.com-8080-pickup-manager.war-
-any-4312261211607561285.dir/webapp/,AVAILABLE}{/pickup-manager.war}
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.
2019-07-22 09:46:00.026:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@2a18f23c{PickUp-Dispatch,/saml2-web-app-pickup-dispatch.com,file:///C:/Users/Acer/AppData/Local/Temp/jetty-localhost.com-8080-saml2-web-app-pickup-dispatch.com.war-_-any-5584238014400653706.dir/webapp/,AVAILABLE}{/saml2-web-app-pickup-dispatch.com.war}

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.
2019-07-22 09:46:07.963:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@d7b1517{PickUp-Manager,/saml2-web-app-pickup-manager.com,file:///C:/Users/Acer/AppData/Local/Temp/jetty-localhost.com-8080-saml2-web-app-pickup-manager.com.war-_-any-5202770058577065343.dir/webapp/,AVAILABLE}{/saml2-web-app-pickup-manager.com.war}
java.net.BindException: Cannot assign requested address: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:331)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:299)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:398)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.runner.Runner.run(Runner.java:530)
at org.eclipse.jetty.runner.Runner.main(Runner.java:571)

Suggested Labels:

Suggested Assignees:

Affected Product Version:
is-samples-distribution-4.0.0
OS, DB, other environment details and versions:
OS : windows 10
Steps to reproduce:
Just run app-server.bat

@fabiolgc
Copy link

fabiolgc commented Oct 1, 2019

while running some tests on my local computer (even in a docker environment) I faced out the same problem with the demo startup. I just changed the server.properties file (https://github.com/wso2/samples-is/blob/master/quick-start-guide/src/main/resources/conf/server.properties) and removed the ".com" from the wso2is.host.domain and server.host.domain. New file became:

#localhost.com is used to resolve naked hostname validation issue
wso2is.host.domain=localhost
wso2is.host.port=9443
server.host.domain=localhost
server.host.port=8080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants