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

Permissions error #27

Open
robsonbittencourt opened this issue Sep 21, 2018 · 0 comments
Open

Permissions error #27

robsonbittencourt opened this issue Sep 21, 2018 · 0 comments

Comments

@robsonbittencourt
Copy link

When trying to update the fabric8/java-centos-openjdk8-jre image from version 1.4.0 to 1.5.0 I'm having trouble starting the application. These issues seem to be related to some permissions issue.

From the history of commits I noticed that there were some changes related to permissions.

By doing rollback to version 1.4.0 the application starts up again normally.

Below is the stacktrace demonstrating the error:

{"@timestamp":"2018-09-21T16:13:22.846-03:00","@version":1,"message":"Application startup failed","logger_name":"org.springframework.boot.SpringApplication","thread_name":"main","level":"ERROR","level_value":40000,"stack_trace":"java.net.SocketException: Permission denied\n\tat sun.nio.ch.Net.bind0(Net.java)\n\tat sun.nio.ch.Net.bind(Net.java:433)\n\tat sun.nio.ch.Net.bind(Net.java:425)\n\tat sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)\n\tat sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)\n\tat org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)\n\tat org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)\n\tat io.undertow.Undertow.start(Undertow.java:173)\n\t... 19 common frames omitted\nWrapped by: java.lang.RuntimeException: java.net.SocketException: Permission denied\n\tat io.undertow.Undertow.start(Undertow.java:214)\n\tat org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer.start(UndertowEmbeddedServletContainer.java:157)\n\t... 18 common frames omitted\nWrapped by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Undertow\n\tat org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer.start(UndertowEmbeddedServletContainer.java:172)\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:297)\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:145)\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:303)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)\n\tat OMMITED-CLASS.main(OMMITED-CLASS.java:13)\n\t... 4 frames excluded\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:87)\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:50)\n\tat org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n"}

@robsonbittencourt robsonbittencourt changed the title Permissions Error Permissions error Sep 21, 2018
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

1 participant