GMOD / docker-apollo

:whale: Apollo 2.X Docker Image
GNU General Public License v3.0
10 stars 12 forks source link

[FAIL] Starting Tomcat servlet engine: tomcat8 failed! #35

Closed chibante closed 5 years ago

chibante commented 5 years ago

Hi, guys!

I downloaded the Apollo (2.2.0 and latest) docker image and the container don't started. The tomcat fail:

.
.
.
ALTER TABLE
ALTER TABLE
Loaded Chado
Restarting tomcat with /var/lib/tomcat8
**[FAIL] Starting Tomcat servlet engine: tomcat8 failed!**
08-Feb-2019 22:15:00.361 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat8
08-Feb-2019 22:15:00.361 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp
08-Feb-2019 22:15:00.361 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
08-Feb-2019 22:15:00.467 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
08-Feb-2019 22:15:00.488 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Feb-2019 22:15:00.490 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 580 ms
08-Feb-2019 22:15:00.535 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
08-Feb-2019 22:15:00.535 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.14 (Debian)
08-Feb-2019 22:15:00.548 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
08-Feb-2019 22:15:00.599 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 108 ms
08-Feb-2019 22:15:10.587 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /var/lib/tomcat8/webapps/ROOT.war
08-Feb-2019 22:15:20.216 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
log4j:WARN No appenders could be found for logger (org.codehaus.groovy.grails.commons.cfg.ConfigurationHelper).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Configuring Shiro ...

Shiro Configured
.
.
.

And the page not open:

image

In other image that I downloded last week it isn't happend. My server has a tomcat version 8.5.37 installed, is it a problem? What could have happened?

Thanks! :)

nathandunn commented 5 years ago

It’s probably on port 8888 though I would have to see your docker command and the rest of the stack trace

Nathan

On Feb 8, 2019, at 5:05 PM, chibante notifications@github.com wrote:

Hi, guys!

I downloaded the Apollo (2.2.0 and latest) docker image and the container don't started. The tomcat fail:

. .. . ALTER TABLE ALTER TABLE Loaded Chado Restarting tomcat with /var/lib/tomcat8 [FAIL] Starting Tomcat servlet engine: tomcat8 failed! 08-Feb-2019 22:15:00.361 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat8 08-Feb-2019 22:15:00.361 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp 08-Feb-2019 22:15:00.361 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib 08-Feb-2019 22:15:00.467 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"] 08-Feb-2019 22:15:00.488 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 08-Feb-2019 22:15:00.490 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 580 ms 08-Feb-2019 22:15:00.535 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina 08-Feb-2019 22:15:00.535 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.14 (Debian) 08-Feb-2019 22:15:00.548 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 08-Feb-2019 22:15:00.599 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 108 ms 08-Feb-2019 22:15:10.587 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /var/lib/tomcat8/webapps/ROOT.war 08-Feb-2019 22:15:20.216 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. log4j:WARN No appenders could be found for logger (org.codehaus.groovy.grails.commons.cfg.ConfigurationHelper). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Configuring Shiro ...

Shiro Configured .. . .. And the page not open:

In other image that I downloded last week it isn't happend. My server has a tomcat version 8.5.37 installed, is it a problem? What could have happened?

Thanks! :)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

chibante commented 5 years ago

Ups! :|

Sorry, I sent a wrong image...I tested both ports (8888, 8080) and the result was the same:

image

My docker command was:

sudo docker run -it -p 8888:8080 -v /home/carla/Apollo/data:/data quay.io/gmod/docker-apollo:latest

.
.

image

.
.

Thanks! =)

nathandunn commented 5 years ago

Try logging into:

http:local:888/

The “apollo” shouldn’t be necessary. Sorry for the confusion:

Nathan

On Feb 10, 2019, at 9:52 AM, chibante notifications@github.com wrote:

Ups! :|

Sorry, I sent a wrong image...I tested both ports (8888, 8080) and the resulte was the same:

https://user-images.githubusercontent.com/46681974/52537178-b17b7a00-2d4a-11e9-84dd-32e8c8f9aed3.png My docker command was:

sudo docker run -it -p 8888:8080 -v /home/carla/Apollo/data:/data quay.io/gmod/docker-apollo:latest

. . https://user-images.githubusercontent.com/46681974/52537234-73328a80-2d4b-11e9-8156-65ce11cac538.png . . Thanks! =)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GMOD/docker-apollo/issues/35#issuecomment-462155575, or mute the thread https://github.com/notifications/unsubscribe-auth/AAt2qrtCfJykhMeqZzkWog0KORIh2XRZks5vMFxbgaJpZM4aySfG.

chibante commented 5 years ago

Ok, no problem! :)

I tried http:local:8888/ on Google Chrome:

image

And Firefox:

image

nathandunn commented 5 years ago

Sorry, I meant http://localhost:8888

chibante commented 5 years ago

I realized that there was an "8" less but I did't pay attention to the local instead oflocalhost Sorry!

It's ok now! image

But don't understend why the tomcat fail: image

Do you know what's happen?

Thanks ;)

nathandunn commented 5 years ago

Not sure either. Possibly it was already started. But if you are seeing this page, then it must be working.

Please close if you don't need anything further.

chibante commented 5 years ago

Thanks!!! =)