{"action":"created","issue":{"url":"https://api.github.com/repos/dularion/streama/issues/106","labels_url":"https://api.github.com/repos/dularion/streama/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/dularion/streama/issues/106/comments","events_url":"https://api.github.com/repos/dularion/streama/issues/106/events","html_url":"https://github.com/dularion/streama/issues/106","id":121864891,"number":106,"title":"Getting 404 when starting application","user":{"login":"gotoffscottfree","id":9522984,"avatar_url":"https://avatars.githubusercontent.com/u/9522984?v=3","gravatar_id":"","url":"https://api.github.com/users/gotoffscottfree","html_url":"https://github.com/gotoffscottfree","followers_url":"https://api.github.com/users/gotoffscottfree/followers","following_url":"https://api.github.com/users/gotoffscottfree/following{/other_user}","gists_url":"https://api.github.com/users/gotoffscottfree/gists{/gist_id}","starred_url":"https://api.github.com/users/gotoffscottfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gotoffscottfree/subscriptions","organizations_url":"https://api.github.com/users/gotoffscottfree/orgs","repos_url":"https://api.github.com/users/gotoffscottfree/repos","events_url":"https://api.github.com/users/gotoffscottfree/events{/privacy}","received_events_url":"https://api.github.com/users/gotoffscottfree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-12T16:34:39Z","updated_at":"2015-12-12T17:40:20Z","closed_at":null,"body":"This could very well be an error on my part. I have a ubuntu server. When running this command:\r\n\r\n`tail -f /var/log/tomcat7/catalina.out -n99`\r\n\r\nI get a 404 when trying to connect to http://my-server:8080\r\n\r\n**Output:**\r\n```\r\nDec 11, 2015 6:01:23 PM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 11, 2015 6:01:23 PM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 11, 2015 6:01:23 PM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 11, 2015 6:01:23 PM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 11, 2015 6:01:23 PM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 11, 2015 6:01:23 PM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 11, 2015 6:01:25 PM org.apache.coyote.AbstractProtocol init\r\nINFO: Initializing ProtocolHandler [\"http-bio-8080\"]\r\nDec 11, 2015 6:01:25 PM org.apache.catalina.startup.Catalina load\r\nINFO: Initialization processed in 1598 ms\r\nDec 11, 2015 6:01:25 PM org.apache.catalina.core.StandardService startInternal\r\nINFO: Starting service Catalina\r\nDec 11, 2015 6:01:25 PM org.apache.catalina.core.StandardEngine startInternal\r\nINFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)\r\nDec 11, 2015 6:01:25 PM org.apache.catalina.startup.HostConfig deployDirectory\r\nINFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT\r\nDec 11, 2015 6:15:32 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom\r\nINFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [843,561] milliseconds.\r\nDec 11, 2015 6:15:32 PM org.apache.coyote.AbstractProtocol start\r\nINFO: Starting ProtocolHandler [\"http-bio-8080\"]\r\nDec 11, 2015 6:15:32 PM org.apache.catalina.startup.Catalina start\r\nINFO: Server startup in 847594 ms\r\nDec 12, 2015 10:19:25 AM org.apache.coyote.AbstractProtocol pause\r\nINFO: Pausing ProtocolHandler [\"http-bio-8080\"]\r\nDec 12, 2015 10:19:25 AM org.apache.catalina.core.StandardService stopInternal\r\nINFO: Stopping service Catalina\r\nDec 12, 2015 10:19:25 AM org.apache.coyote.AbstractProtocol stop\r\nINFO: Stopping ProtocolHandler [\"http-bio-8080\"]\r\nDec 12, 2015 10:19:25 AM org.apache.coyote.AbstractProtocol destroy\r\nINFO: Destroying ProtocolHandler [\"http-bio-8080\"]\r\nDec 12, 2015 10:21:27 AM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 12, 2015 10:21:27 AM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 12, 2015 10:21:27 AM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 12, 2015 10:21:27 AM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 12, 2015 10:21:27 AM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 12, 2015 10:21:27 AM org.apache.catalina.startup.ClassLoaderFactory validateFile\r\nWARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]\r\nDec 12, 2015 10:21:29 AM org.apache.coyote.AbstractProtocol init\r\nINFO: Initializing ProtocolHandler [\"http-bio-8080\"]\r\nDec 12, 2015 10:21:30 AM org.apache.catalina.startup.Catalina load\r\nINFO: Initialization processed in 2069 ms\r\nDec 12, 2015 10:21:30 AM org.apache.catalina.core.StandardService startInternal\r\nINFO: Starting service Catalina\r\nDec 12, 2015 10:21:30 AM org.apache.catalina.core.StandardEngine startInternal\r\nINFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)\r\nDec 12, 2015 10:21:30 AM org.apache.coyote.AbstractProtocol start\r\nINFO: Starting ProtocolHandler [\"http-bio-8080\"]\r\nDec 12, 2015 10:21:30 AM org.apache.catalina.startup.Catalina start\r\nINFO: Server startup in 190 ms\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dularion/streama/issues/comments/164170882","html_url":"https://github.com/dularion/streama/issues/106#issuecomment-164170882","issue_url":"https://api.github.com/repos/dularion/streama/issues/106","id":164170882,"user":{"login":"dularion","id":936076,"avatar_url":"https://avatars.githubusercontent.com/u/936076?v=3","gravatar_id":"","url":"https://api.github.com/users/dularion","html_url":"https://github.com/dularion","followers_url":"https://api.github.com/users/dularion/followers","following_url":"https://api.github.com/users/dularion/following{/other_user}","gists_url":"https://api.github.com/users/dularion/gists{/gist_id}","starred_url":"https://api.github.com/users/dularion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dularion/subscriptions","organizations_url":"https://api.github.com/users/dularion/orgs","repos_url":"https://api.github.com/users/dularion/repos","events_url":"https://api.github.com/users/dularion/events{/privacy}","received_events_url":"https://api.github.com/users/dularion/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T17:40:20Z","updated_at":"2015-12-12T17:40:20Z","body":"But I've never had the issue you describe with simply installing tomcat through apt-get"}}