Tomcat 7 on Ubuntu 12.04 server does not run on browserHudson fails to start in tomcat5Tomcat does not...

Where was Karl Mordo in Infinity War?

How can I improve my fireworks photography?

Eww, those bytes are gross

Do any poskim exempt 13-20-year-olds from Mussaf?

How to acknowledge an embarrassing job interview, now that I work directly with the interviewer?

Auto Insert date into Notepad

Meth dealer reference in Family Guy

What is Crew Dragon approaching in this picture?

A Wacky, Wacky Chessboard (That Makes No Sense)

How to add multiple differently colored borders around a node?

If all harmonics are generated by plucking, how does a guitar string produce a pure frequency sound?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

For Loop and Sum

How to mitigate "bandwagon attacking" from players?

Why zero tolerance on nudity in space?

Why does the DC-9-80 have this cusp in its fuselage?

What is the wife of a henpecked husband called?

Metadata API deployments are failing in Spring '19

How to prepare vegetables for a sandwich that can last for several days in a fridge?

Which branches of mathematics can be done just in terms of morphisms and composition?

How can I mix up weapons for large groups of similar monsters/characters?

How to push a box with physics engine by another object?

Why can I easily sing or whistle a tune I've just heard, but not as easily reproduce it on an instrument?

Why is commutativity optional in multiplication for rings?



Tomcat 7 on Ubuntu 12.04 server does not run on browser


Hudson fails to start in tomcat5Tomcat does not recognize the MySQL .jar libraryStart & shutdown as tomcat as non-root userApache2 reverse proxy seems to intermittently freeze?Ubuntu: tomcat starts on terminal but not running on browser?Apache / Tomcat port informationProper Way to Auto Mount NFS/Samba Shares Before Apache Startup at Boot?Tomcat APR native librariescpu 100% with tomcat 7 on Debian 8Cannot get SSL working on Tomcat8.5













0















I am new to linux. I have set up my VPS with Ubuntu 12.04 LTS 32 bit. I have successfully installed Tomcat and successfully started it with /usr/share/apache-tomcat-7.0.34/bin/catalina.sh run.



But when I try to access the default tomcat page with [MyServerIP]:8080, It is unable to connect. Am I doing something wrong?



UPDATE



I did a restart and this is all I have in the log.



INFO: 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/i386:/lib:/usr/lib
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 739 ms
Jan 02, 2013 8:59:53 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 02, 2013 8:59:53 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.34
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/ROOT
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/docs
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat- 7.0.34/webapps/examples
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/host- manager
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/manager
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 870 ms


Looks like it never connects










share|improve this question
















bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Yes, you are doing something wrong, otherwise it would work. :) But please tell us about the error you got, any logfile entries you might see and anything else that could help.

    – Sven
    Jan 2 '13 at 15:00













  • @Shazinltc: I think its your firewall. Stop the firewall on the ubuntu machine and try again. Or provide some more details along with what error on webpage you are getting.

    – Pratap
    Jan 2 '13 at 15:02













  • This might not be related to your problem, but I think it is better to start tomcat using /etc/init.d/tomcat7 start or service tomcat7 start.

    – Khaled
    Jan 2 '13 at 15:11











  • @SvenW: Nothing other than 'could not connect to the page'. Is there any other logs that I can check apart from the Tomcat logs?

    – shazinltc
    Jan 2 '13 at 15:35











  • @PratapSingh: I have tried by disabling the firewall, but still doesn't work. (I guess sudo ufw disable is the right command)

    – shazinltc
    Jan 2 '13 at 15:40
















0















I am new to linux. I have set up my VPS with Ubuntu 12.04 LTS 32 bit. I have successfully installed Tomcat and successfully started it with /usr/share/apache-tomcat-7.0.34/bin/catalina.sh run.



But when I try to access the default tomcat page with [MyServerIP]:8080, It is unable to connect. Am I doing something wrong?



UPDATE



I did a restart and this is all I have in the log.



INFO: 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/i386:/lib:/usr/lib
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 739 ms
Jan 02, 2013 8:59:53 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 02, 2013 8:59:53 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.34
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/ROOT
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/docs
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat- 7.0.34/webapps/examples
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/host- manager
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/manager
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 870 ms


Looks like it never connects










share|improve this question
















bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Yes, you are doing something wrong, otherwise it would work. :) But please tell us about the error you got, any logfile entries you might see and anything else that could help.

    – Sven
    Jan 2 '13 at 15:00













  • @Shazinltc: I think its your firewall. Stop the firewall on the ubuntu machine and try again. Or provide some more details along with what error on webpage you are getting.

    – Pratap
    Jan 2 '13 at 15:02













  • This might not be related to your problem, but I think it is better to start tomcat using /etc/init.d/tomcat7 start or service tomcat7 start.

    – Khaled
    Jan 2 '13 at 15:11











  • @SvenW: Nothing other than 'could not connect to the page'. Is there any other logs that I can check apart from the Tomcat logs?

    – shazinltc
    Jan 2 '13 at 15:35











  • @PratapSingh: I have tried by disabling the firewall, but still doesn't work. (I guess sudo ufw disable is the right command)

    – shazinltc
    Jan 2 '13 at 15:40














0












0








0








I am new to linux. I have set up my VPS with Ubuntu 12.04 LTS 32 bit. I have successfully installed Tomcat and successfully started it with /usr/share/apache-tomcat-7.0.34/bin/catalina.sh run.



But when I try to access the default tomcat page with [MyServerIP]:8080, It is unable to connect. Am I doing something wrong?



UPDATE



I did a restart and this is all I have in the log.



INFO: 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/i386:/lib:/usr/lib
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 739 ms
Jan 02, 2013 8:59:53 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 02, 2013 8:59:53 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.34
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/ROOT
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/docs
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat- 7.0.34/webapps/examples
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/host- manager
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/manager
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 870 ms


Looks like it never connects










share|improve this question
















I am new to linux. I have set up my VPS with Ubuntu 12.04 LTS 32 bit. I have successfully installed Tomcat and successfully started it with /usr/share/apache-tomcat-7.0.34/bin/catalina.sh run.



But when I try to access the default tomcat page with [MyServerIP]:8080, It is unable to connect. Am I doing something wrong?



UPDATE



I did a restart and this is all I have in the log.



INFO: 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/i386:/lib:/usr/lib
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 739 ms
Jan 02, 2013 8:59:53 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 02, 2013 8:59:53 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.34
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/ROOT
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/docs
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat- 7.0.34/webapps/examples
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/host- manager
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/share/apache-tomcat-7.0.34/webapps/manager
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 02, 2013 8:59:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jan 02, 2013 8:59:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 870 ms


Looks like it never connects







ubuntu tomcat vps ubuntu-12.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 '13 at 6:41







shazinltc

















asked Jan 2 '13 at 14:54









shazinltcshazinltc

1013




1013





bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Yes, you are doing something wrong, otherwise it would work. :) But please tell us about the error you got, any logfile entries you might see and anything else that could help.

    – Sven
    Jan 2 '13 at 15:00













  • @Shazinltc: I think its your firewall. Stop the firewall on the ubuntu machine and try again. Or provide some more details along with what error on webpage you are getting.

    – Pratap
    Jan 2 '13 at 15:02













  • This might not be related to your problem, but I think it is better to start tomcat using /etc/init.d/tomcat7 start or service tomcat7 start.

    – Khaled
    Jan 2 '13 at 15:11











  • @SvenW: Nothing other than 'could not connect to the page'. Is there any other logs that I can check apart from the Tomcat logs?

    – shazinltc
    Jan 2 '13 at 15:35











  • @PratapSingh: I have tried by disabling the firewall, but still doesn't work. (I guess sudo ufw disable is the right command)

    – shazinltc
    Jan 2 '13 at 15:40



















  • Yes, you are doing something wrong, otherwise it would work. :) But please tell us about the error you got, any logfile entries you might see and anything else that could help.

    – Sven
    Jan 2 '13 at 15:00













  • @Shazinltc: I think its your firewall. Stop the firewall on the ubuntu machine and try again. Or provide some more details along with what error on webpage you are getting.

    – Pratap
    Jan 2 '13 at 15:02













  • This might not be related to your problem, but I think it is better to start tomcat using /etc/init.d/tomcat7 start or service tomcat7 start.

    – Khaled
    Jan 2 '13 at 15:11











  • @SvenW: Nothing other than 'could not connect to the page'. Is there any other logs that I can check apart from the Tomcat logs?

    – shazinltc
    Jan 2 '13 at 15:35











  • @PratapSingh: I have tried by disabling the firewall, but still doesn't work. (I guess sudo ufw disable is the right command)

    – shazinltc
    Jan 2 '13 at 15:40

















Yes, you are doing something wrong, otherwise it would work. :) But please tell us about the error you got, any logfile entries you might see and anything else that could help.

– Sven
Jan 2 '13 at 15:00







Yes, you are doing something wrong, otherwise it would work. :) But please tell us about the error you got, any logfile entries you might see and anything else that could help.

– Sven
Jan 2 '13 at 15:00















@Shazinltc: I think its your firewall. Stop the firewall on the ubuntu machine and try again. Or provide some more details along with what error on webpage you are getting.

– Pratap
Jan 2 '13 at 15:02







@Shazinltc: I think its your firewall. Stop the firewall on the ubuntu machine and try again. Or provide some more details along with what error on webpage you are getting.

– Pratap
Jan 2 '13 at 15:02















This might not be related to your problem, but I think it is better to start tomcat using /etc/init.d/tomcat7 start or service tomcat7 start.

– Khaled
Jan 2 '13 at 15:11





This might not be related to your problem, but I think it is better to start tomcat using /etc/init.d/tomcat7 start or service tomcat7 start.

– Khaled
Jan 2 '13 at 15:11













@SvenW: Nothing other than 'could not connect to the page'. Is there any other logs that I can check apart from the Tomcat logs?

– shazinltc
Jan 2 '13 at 15:35





@SvenW: Nothing other than 'could not connect to the page'. Is there any other logs that I can check apart from the Tomcat logs?

– shazinltc
Jan 2 '13 at 15:35













@PratapSingh: I have tried by disabling the firewall, but still doesn't work. (I guess sudo ufw disable is the right command)

– shazinltc
Jan 2 '13 at 15:40





@PratapSingh: I have tried by disabling the firewall, but still doesn't work. (I guess sudo ufw disable is the right command)

– shazinltc
Jan 2 '13 at 15:40










1 Answer
1






active

oldest

votes


















0














Thanks PratapSingh and Eric DANNIELOU. You guys were right. It was a firewall problem.
Port 8080 was blocked. Added this line : -A INPUT -p tcp --dport 8080 -j ACCEPT. Now its working fine. Thank you again.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f462332%2ftomcat-7-on-ubuntu-12-04-server-does-not-run-on-browser%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Thanks PratapSingh and Eric DANNIELOU. You guys were right. It was a firewall problem.
    Port 8080 was blocked. Added this line : -A INPUT -p tcp --dport 8080 -j ACCEPT. Now its working fine. Thank you again.






    share|improve this answer




























      0














      Thanks PratapSingh and Eric DANNIELOU. You guys were right. It was a firewall problem.
      Port 8080 was blocked. Added this line : -A INPUT -p tcp --dport 8080 -j ACCEPT. Now its working fine. Thank you again.






      share|improve this answer


























        0












        0








        0







        Thanks PratapSingh and Eric DANNIELOU. You guys were right. It was a firewall problem.
        Port 8080 was blocked. Added this line : -A INPUT -p tcp --dport 8080 -j ACCEPT. Now its working fine. Thank you again.






        share|improve this answer













        Thanks PratapSingh and Eric DANNIELOU. You guys were right. It was a firewall problem.
        Port 8080 was blocked. Added this line : -A INPUT -p tcp --dport 8080 -j ACCEPT. Now its working fine. Thank you again.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 3 '13 at 6:43









        shazinltcshazinltc

        1013




        1013






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f462332%2ftomcat-7-on-ubuntu-12-04-server-does-not-run-on-browser%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Маріан Котлеба Зміст Життєпис | Політичні погляди |...