[RESOLVED] Tomcat does not start

1
0
-1

Hi folks...

I followed the steps of this page: http://documentation.bonitasoft.com/tomcat-bundle-0. Bonita version 6.3 but when try http://localhost:8080/ the tomcat page don't work

It Happen a freak thing. When I start de script ./startup.sh they show a message like thats everithing ok. When I execute a scrip ./shutdown.sh they show a message

Using CATALINA_BASE:   /usr/share/BonitaBPMCommunity-6.3.6-Tomcat-6.0.37
Using CATALINA_HOME:   /usr/share/BonitaBPMCommunity-6.3.6-Tomcat-6.0.37
Using CATALINA_TMPDIR: /usr/share/BonitaBPMCommunity-6.3.6-Tomcat-6.0.37/temp
Using JRE_HOME:        /usr/java/jre1.7.0_67
Using CLASSPATH:       /usr/share/BonitaBPMCommunity-6.3.6-Tomcat-6.0.37/bin/bootstrap.jar
Using CATALINA_PID:    /usr/share/BonitaBPMCommunity-6.3.6-Tomcat-6.0.37/catalina.pid
PID file found but no matching process was found. Stop aborted.

The file catalina.pid is created and with value.

Why the tomcat don't work and start? What's the magic to get it start?

LOGS catalina.out

2014-09-24 12:09:10 org.apache.coyote.http11.Http11Protocol
INFORMAÇÕES: Initializing Coyote HTTP/1.1 on http-8080
2014-09-24 12:09:10 org.apache.catalina.startup.Catalina
INFORMAÇÕES: Initialization processed in 1125 ms
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: IO Exception: "java.net.UnknownHostException: bonita: bonita: Falha temporária na resolução de nome" [90028-170]
        at org.bonitasoft.tomcat.H2Listener.lifecycleEvent(H2Listener.java:81)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:745)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        ... 6 more
Caused by: org.h2.jdbc.JdbcSQLException: IO Exception: "java.net.UnknownHostException: bonita: bonita: Falha temporária na resolução de nome" [90028-170]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
        at org.h2.message.DbException.get(DbException.java:158)
        at org.h2.message.DbException.convert(DbException.java:273)
        at org.h2.util.NetUtils.getLocalAddress(NetUtils.java:263)
        at org.h2.server.TcpServer.getURL(TcpServer.java:193)
        at org.h2.tools.Server.start(Server.java:459)
        at org.bonitasoft.tomcat.H2Listener.lifecycleEvent(H2Listener.java:79)
        ... 9 more
Caused by: java.net.UnknownHostException: bonita: bonita: Falha temporária na resolução de nome
        at java.net.InetAddress.getLocalHost(Unknown Source)
        at org.h2.util.NetUtils.getLocalAddress(NetUtils.java:261)
        ... 12 more
Caused by: java.net.UnknownHostException: bonita: Falha temporária na resolução de nome
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
        at java.net.InetAddress.getAddressesFromNameService(Unknown Source)

catalina.2014-09-24.log

2014-09-24 12:09:10 org.apache.catalina.core.AprLifecycleListener
INFORMAÇÕES: 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/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2014-09-24 12:09:10 org.apache.coyote.http11.Http11Protocol
INFORMAÇÕES: Initializing Coyote HTTP/1.1 on http-8080
2014-09-24 12:09:10 org.apache.catalina.startup.Catalina
INFORMAÇÕES: Initialization processed in 1125 ms

Comments

Submitted by haris.subasic on Wed, 09/24/2014 - 17:44

Which Linux distribution do you use?

1 answer

1
+1
-1
This one is the BEST answer!

Hi haris. I Use CentOS 6.5 64bits.

But now The APACHE runs. I modify resolv.conf adding meserver 172.20.10.17

Notifications