GlassFish v3 Domain Server cannot start. Port is occupied

后端 未结 13 1650
余生分开走
余生分开走 2021-02-08 21:10

I imagine this is a pretty generic error. I cant seem to find any documentation on it.

I am simply attempting to run a java web project with jsp\'s and beans... using n

相关标签:
13条回答
  • 2021-02-08 21:14

    If you are running already a tomcat or apache server you should stop them and running again your application , it works for me, service [servicename] stop !

    0 讨论(0)
  • 2021-02-08 21:14

    type localhost:8080 at browser and discover what is using the 8080

    0 讨论(0)
  • 2021-02-08 21:14

    I use NetBeans*+Glassfish 4 under Ubuntu 14.04 . I get the same error . The issue has been resolved when i stop running TOMCAT .

    sudo service tomcat7 stop
    
    0 讨论(0)
  • 2021-02-08 21:14

    You have to start GlassFish manually. Go to the console and run this command:

    c:\glassfishv3\bin>asadmin start-domain

    and run your project in netbeans.

    0 讨论(0)
  • 2021-02-08 21:14

    In Linux you get this error if the servername is not in the hosts file

    check /etc/hostname and make sure there is an entry in /etc/hosts with

    127.0.0.1 [your_hostname]

    0 讨论(0)
  • 2021-02-08 21:24

    I face this problem. and i am very suffered to solve. the solution is only one command line ..... sudo service tomcat7 stop

    0 讨论(0)
提交回复
热议问题