11:13:53,412 INFO [Embedded] Catalina naming disabled
11:13:53,586 ERROR [Http11Protocol] Error initializing endpoint
java.net.BindException: Permissão negada:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
[...]
at java.lang.Thread.run(Thread.java:619)
11:13:53,588 ERROR [Catalina] Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Permissão negada:80
at org.apache.catalina.connector.Connector.initialize(Connector.java:930)
[...]
at java.lang.Thread.run(Thread.java:619)
11:13:53,590 INFO [Catalina] Initialization processed in 150 ms
11:13:53,591 INFO [StandardService] Starting service jboss.web
Isso acontece aqui no ubuntu quando inicio o JBoss na porta 80, então para resolver simplesmente altero a porta do JBoss, fazer isso é simples, basta acessar o arquivo:
<PASTA DO JBOSS> /server/ <PASTA DO CONTEXTO> /deploy/jbossweb-tomcat55.sar/server.xml
e alterar o atributo port como abaixo:
De:
<Connector port="80" address="${jboss.bind.address}"
maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
emptySessionPath="true"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true">
Para:
<Connector port="8080" address="${jboss.bind.address}"
maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
emptySessionPath="true"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true">
e pronto o problema estará resolvido!
Nenhum comentário:
Postar um comentário