linux - TomEE says started but it isn't -
when try start apache tomee plus 1.7.2 on ubuntu 14.04.3 x64 via bin/startup.sh output:
:~/apache-tomee-plus-1.7.2/bin# ./startup.sh using catalina_base: /root/apache-tomee-plus-1.7.2 using catalina_home: /root/apache-tomee-plus-1.7.2 using catalina_tmpdir: /root/apache-tomee-plus-1.7.2/temp using jre_home: /usr/lib/jvm/java-1.7.0-openjdk-amd64/ using classpath: /root/apache-tomee-plus-1.7.2/bin/bootstrap.jar:/root/apache-tomee-plus-1.7.2/bin/tomcat-juli.jar tomcat started.
but seems not start. not available via ip:8080 remote
netstat -a | grep 8080
returns nothing
ps -ef | grep tomcat
returns
root 1176 1 5 07:48 pts/0 00:00:10 /usr/lib/jvm/java-1.7.0-openjdk-amd64//bin/java -djava.util.logging.config.file=/root/apache-tomee-plus-1.7.2/conf/logging.properties -djava.util.logging.manager=org.apache.juli.classloaderlogmanager -javaagent:/root/apache-tomee-plus-1.7.2/lib/openejb-javaagent.jar -djava.endorsed.dirs=/root/apache-tomee-plus-1.7.2/endorsed -classpath /root/apache-tomee-plus-1.7.2/bin/bootstrap.jar:/root/apache-tomee-plus-1.7.2/bin/tomcat-juli.jar -dcatalina.base=/root/apache-tomee-plus-1.7.2 -dcatalina.home=/root/apache-tomee-plus-1.7.2 -djava.io.tmpdir=/root/apache-tomee-plus-1.7.2/temp org.apache.catalina.startup.bootstrap start root 1232 1144 0 07:51 pts/0 00:00:00 grep --color=auto tomcat
/logs/catalina.out:
jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: server version: apache tomcat (tomee)/7.0.62 (1.7.2) jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: server built: may 7 2015 17:14:55 utc jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: server number: 7.0.62.0 jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: os name: linux jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: os version: 3.13.0-71-generic jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: architecture: amd64 jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: java home: /usr/lib/jvm/java-7-openjdk-amd64/jre jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: jvm version: 1.7.0_91-b02 jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: jvm vendor: oracle corporation jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: catalina_base: /root/apache-tomee-plus-1.7.2 jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: catalina_home: /root/apache-tomee-plus-1.7.2 jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: command line argument: -djava.util.logging.config.file=/root/apache-tomee-plus-1.7.2/conf/logging.properties jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: command line argument: -djava.util.logging.manager=org.apache.juli.classloaderlogmanager jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: command line argument: -javaagent:/root/apache-tomee-plus-1.7.2/lib/openejb-javaagent.jar jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: command line argument: -djava.endorsed.dirs=/root/apache-tomee-plus-1.7.2/endorsed jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: command line argument: -dcatalina.base=/root/apache-tomee-plus-1.7.2 jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: command line argument: -dcatalina.home=/root/apache-tomee-plus-1.7.2 jan 16, 2016 7:48:28 org.apache.catalina.startup.versionloggerlistener log info: command line argument: -djava.io.tmpdir=/root/apache-tomee-plus-1.7.2/temp jan 16, 2016 7:48:28 org.apache.catalina.core.aprlifecyclelistener lifecycleevent info: apr based apache tomcat native library allows optimal performance in production environments not found on java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib jan 16, 2016 7:48:29 org.apache.coyote.abstractprotocol init info: initializing protocolhandler ["http-bio-8080"] jan 16, 2016 7:48:29 org.apache.coyote.abstractprotocol init info: initializing protocolhandler ["ajp-bio-8009"] jan 16, 2016 7:48:31 org.apache.openejb.util.optionslog info info: using 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.tomeedatasourcecreator' jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: ******************************************************************************** jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: openejb http://tomee.apache.org/ jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: startup: sat jan 16 07:48:31 est 2016 jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: copyright 1999-2013 (c) apache openejb project, rights reserved. jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: version: 4.7.2 jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: build date: 20150517 jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: build time: 10:10 jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: ******************************************************************************** jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: openejb.home = /root/apache-tomee-plus-1.7.2 jan 16, 2016 7:48:31 org.apache.openejb.openejb$instance <init> info: openejb.base = /root/apache-tomee-plus-1.7.2 jan 16, 2016 7:48:31 org.apache.openejb.cdi.cdibuilder initializeowb info: created new singletonservice org.apache.openejb.cdi.threadsingletonserviceimpl@703601d7 jan 16, 2016 7:48:31 org.apache.openejb.cdi.cdibuilder initializeowb info: succeeded in installing singleton service jan 16, 2016 7:48:31 org.apache.openejb.config.configurationfactory init info: openejb configuration file '/root/apache-tomee-plus-1.7.2/conf/tomee.xml' jan 16, 2016 7:48:32 org.apache.openejb.config.configurationfactory configureservice info: configuring service(id=tomcat security service, type=securityservice, provider-id=tomcat security service) jan 16, 2016 7:48:32 org.apache.openejb.config.configurationfactory configureservice info: configuring service(id=default transaction manager, type=transactionmanager, provider-id=default transaction manager) jan 16, 2016 7:48:32 org.apache.openejb.util.optionslog info info: using 'openejb.system.apps=true' jan 16, 2016 7:48:32 org.apache.openejb.config.configurationfactory configureapplication info: configuring enterprise application: openejb jan 16, 2016 7:48:33 org.apache.openejb.config.initejbdeployments deploy info: using openejb.deploymentid.format '{ejbname}' jan 16, 2016 7:48:33 org.apache.openejb.config.initejbdeployments deploy info: auto-deploying ejb openejb/deployer: ejbdeployment(deployment-id=openejb/deployer) jan 16, 2016 7:48:33 org.apache.openejb.config.initejbdeployments deploy info: auto-deploying ejb openejb/configurationinfo: ejbdeployment(deployment-id=openejb/configurationinfo) jan 16, 2016 7:48:33 org.apache.openejb.config.initejbdeployments deploy info: auto-deploying ejb mejb: ejbdeployment(deployment-id=mejb) jan 16, 2016 7:48:33 org.apache.openejb.config.configurationfactory configureservice info: configuring service(id=default stateless container, type=container, provider-id=default stateless container) jan 16, 2016 7:48:33 org.apache.openejb.config.autoconfig createcontainer info: auto-creating container bean openejb/deployer: container(type=stateless, id=default stateless container) jan 16, 2016 7:48:33 org.apache.openejb.config.appinfobuilder build info: enterprise application "openejb" loaded. jan 16, 2016 7:48:33 org.apache.openejb.assembler.classic.assembler createrecipe info: creating transactionmanager(id=default transaction manager) jan 16, 2016 7:48:33 org.apache.openejb.assembler.classic.assembler createrecipe info: creating securityservice(id=tomcat security service) jan 16, 2016 7:48:33 org.apache.openejb.assembler.classic.assembler createrecipe info: creating container(id=default stateless container) jan 16, 2016 7:48:33 org.apache.openejb.assembler.classic.assembler createappclassloader info: not creating application classloader openejb jan 16, 2016 7:48:33 org.apache.openejb.assembler.classic.assembler createapplication info: assembling app: openejb jan 16, 2016 7:48:34 org.apache.openejb.util.optionslog info info: using 'openejb.jndiname.format={deploymentid}{interfacetype.openejblegacyname}' jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=openejb/deployerbusinessremote) --> ejb(deployment-id=openejb/deployer) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=global/openejb/openejb/deployer!org.apache.openejb.assembler.deployer) --> ejb(deployment-id=openejb/deployer) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=global/openejb/openejb/deployer) --> ejb(deployment-id=openejb/deployer) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=openejb/configurationinfobusinessremote) --> ejb(deployment-id=openejb/configurationinfo) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=global/openejb/openejb/configurationinfo!org.apache.openejb.assembler.classic.cmd.configurationinfo) --> ejb(deployment-id=openejb/configurationinfo) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=global/openejb/openejb/configurationinfo) --> ejb(deployment-id=openejb/configurationinfo) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=mejb) --> ejb(deployment-id=mejb) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=global/openejb/mejb!javax.management.j2ee.managementhome) --> ejb(deployment-id=mejb) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.jndibuilder bind info: jndi(name=global/openejb/mejb) --> ejb(deployment-id=mejb) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.assembler startejbs info: created ejb(deployment-id=openejb/deployer, ejb-name=openejb/deployer, container=default stateless container) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.assembler startejbs info: created ejb(deployment-id=mejb, ejb-name=mejb, container=default stateless container) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.assembler startejbs info: created ejb(deployment-id=openejb/configurationinfo, ejb-name=openejb/configurationinfo, container=default stateless container) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.assembler startejbs info: started ejb(deployment-id=openejb/deployer, ejb-name=openejb/deployer, container=default stateless container) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.assembler startejbs info: started ejb(deployment-id=mejb, ejb-name=mejb, container=default stateless container) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.assembler startejbs info: started ejb(deployment-id=openejb/configurationinfo, ejb-name=openejb/configurationinfo, container=default stateless container) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.assembler deploymbean info: deployed mbean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=jmxdeployer) jan 16, 2016 7:48:34 org.apache.openejb.assembler.classic.assembler createapplication info: deployed application(path=openejb) jan 16, 2016 7:48:35 org.apache.openejb.server.servicemanager initserver info: creating serverservice(id=cxf) jan 16, 2016 7:48:35 org.apache.openejb.server.servicemanager initserver info: creating serverservice(id=cxf-rs) jan 16, 2016 7:48:35 org.apache.openejb.server.simpleservicemanager start info: ** bound services ** jan 16, 2016 7:48:35 org.apache.openejb.server.simpleservicemanager printrow info: name ip port jan 16, 2016 7:48:35 org.apache.openejb.server.simpleservicemanager start info: ------- jan 16, 2016 7:48:35 org.apache.openejb.server.simpleservicemanager start info: ready! jan 16, 2016 7:48:35 org.apache.catalina.startup.catalina load info: initialization processed in 8327 ms jan 16, 2016 7:48:35 org.apache.tomee.catalina.openejbnamingcontextlistener bindresource info: importing tomcat resource id 'userdatabase' of type 'org.apache.catalina.userdatabase'. jan 16, 2016 7:48:35 org.apache.openejb.assembler.classic.assembler createrecipe info: creating resource(id=userdatabase) jan 16, 2016 7:48:35 org.apache.catalina.core.standardservice startinternal info: starting service catalina jan 16, 2016 7:48:35 org.apache.catalina.core.standardengine startinternal info: starting servlet engine: apache tomcat (tomee)/7.0.62 (1.7.2) jan 16, 2016 7:48:35 org.apache.catalina.startup.hostconfig deploydirectory info: deploying web application directory /root/apache-tomee-plus-1.7.2/webapps/host-manager jan 16, 2016 7:48:35 org.apache.tomee.catalina.tomcatwebappbuilder init info: ------------------------- localhost -> /host-manager jan 16, 2016 7:48:35 org.apache.openejb.config.configurationfactory configureapplication info: configuring enterprise application: /root/apache-tomee-plus-1.7.2/webapps/host-manager jan 16, 2016 7:48:35 org.apache.openejb.config.appinfobuilder build info: enterprise application "/root/apache-tomee-plus-1.7.2/webapps/host-manager" loaded. jan 16, 2016 7:48:35 org.apache.openejb.assembler.classic.assembler createapplication info: assembling app: /root/apache-tomee-plus-1.7.2/webapps/host-manager jan 16, 2016 7:48:35 org.apache.openejb.cdi.cdibuilder initsingleton info: existing thread singleton service in systeminstance(): org.apache.openejb.cdi.threadsingletonserviceimpl@703601d7 jan 16, 2016 7:48:36 org.apache.openejb.cdi.openejblifecycle startapplication info: openwebbeans container starting... jan 16, 2016 7:48:36 org.apache.webbeans.plugins.pluginloader startup info: adding openwebbeansplugin : [cdiplugin] jan 16, 2016 7:48:36 org.apache.webbeans.plugins.pluginloader startup info: adding openwebbeansplugin : [openwebbeansjsfplugin] jan 16, 2016 7:48:36 org.apache.webbeans.config.beansdeployer validateinjectionpoints info: injection points validated successfully. jan 16, 2016 7:48:36 org.apache.openejb.cdi.openejblifecycle startapplication info: openwebbeans container has started, took 225 ms. jan 16, 2016 7:48:36 org.apache.tomee.catalina.tomcatwebappbuilder deploywebapps info: using context file /root/apache-tomee-plus-1.7.2/webapps/host-manager/meta-inf/context.xml jan 16, 2016 7:48:36 org.apache.openejb.assembler.classic.assembler createapplication info: deployed application(path=/root/apache-tomee-plus-1.7.2/webapps/host-manager)
no "server startup in x ms"
ufw status:
status: active action -- ------ ---- 22 allow anywhere 8080 allow anywhere 8005 allow anywhere 5432 allow anywhere 8009 allow anywhere 22 (v6) allow anywhere (v6) 8080 (v6) allow anywhere (v6) 8005 (v6) allow anywhere (v6) 5432 (v6) allow anywhere (v6) 8009 (v6) allow anywhere (v6)
any ideas why won't start?
if else has same problem: found solution:
apt-get install haveged
worked me
Comments
Post a Comment