dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #46372
Tomcat running but page Blank
Dear Team,
I installed Tomcat7 in Ubuntu 12.04 but created simbolic links as below:
ovcadmin@li573-84:/usr/share/tomcat7$ sudo ln -s /var/lib/tomcat7/common/
common
ovcadmin@li573-84:/usr/share/tomcat7$ sudo ln -s /var/lib/tomcat7/server/
server
ovcadmin@li573-84:/usr/share/tomcat7$ sudo ln -s /var/lib/tomcat7/shared/
shared
when I start tomcat it starts well as below:
ovcadmin@li573-84:/$ sudo /home/ovc/tomcat-ovc/bin/startup.sh
Using CATALINA_BASE: /home/ovc/tomcat-ovc
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /home/ovc/tomcat-ovc/temp
Using JRE_HOME: /usr/lib/jvm/java-7-openjdk-amd64/
Using CLASSPATH:
/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
Tomcat started
when I shut it down it throws the warnings below:
ovcadmin@li573-84:/$ sudo /home/ovc/tomcat-ovc/bin/shutdown.sh
Using CATALINA_BASE: /home/ovc/tomcat-ovc
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /home/ovc/tomcat-ovc/temp
Using JRE_HOME: /usr/lib/jvm/java-7-openjdk-amd64/
Using CLASSPATH:
/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
Aug 10, 2016 9:35:01 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/var/lib/tomcat7/common/classes], exists:
[false], isDirectory: [false], canRead: [false]
Aug 10, 2016 9:35:01 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/var/lib/tomcat7/common], exists: [false],
isDirectory: [false], canRead: [false]
Aug 10, 2016 9:35:01 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/var/lib/tomcat7/server/classes], exists:
[false], isDirectory: [false], canRead: [false]
Aug 10, 2016 9:35:01 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/var/lib/tomcat7/server], exists: [false],
isDirectory: [false], canRead: [false]
Aug 10, 2016 9:35:01 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/var/lib/tomcat7/shared/classes], exists:
[false], isDirectory: [false], canRead: [false]
Aug 10, 2016 9:35:01 AM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/var/lib/tomcat7/shared], exists: [false],
isDirectory: [false], canRead: [false]
Tomcat stopped
I changed port from the default port 8080 to 8081 just incase another
tomcat instance is listening to it but still its not running. Below is the
screen I get.
[image: Inline image 2]
The catalina.out shows tomcat is started:
Aug 10, 2016 9:43:40 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8081"]
Aug 10, 2016 9:43:40 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 639 ms
Aug 10, 2016 9:43:41 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Aug 10, 2016 9:43:41 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.26
Aug 10, 2016 9:43:41 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8081"]
Aug 10, 2016 9:43:41 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 53 ms
Any idea of how to fix this.
Collins