tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravindranath Akila <ravindranathak...@gmail.com>
Subject OpenEJB + HBase + JPA - Problem With Zookeper
Date Wed, 27 Jun 2012 02:14:18 GMT
Hello,
  I am trying to run HBase with JPA on OpenEJB. While I managed to
configure a lot of hard stuff, I am having problems when I add
zookeeper-3.4.3.jar to the TOMCAT_HOME/lib directory. What happens is
OpenEJB waits for zookeeper to return forever. I checked zookeepr's
Manifest file and it indicates a main class.

1. Does OpenEJB start the main class and wait for it to return on any
included jars?
2. What might cause the main OpenEJB thread to not complete the startup but
wait on a task executed by a jar eternally?


Thanks a lot in advance. Logs below:

*Zookeper Manifest:*

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Created-By: 1.6.0_05-b13 (Sun Microsystems Inc.)
*Main-Class: org.apache.zookeeper.server.quorum.QuorumPeer*
Built-By: hortonma
Built-At: 02/06/2012 10:48 GMT
Built-On: hrt8n20.cc1.ygridcore.net
Implementation-Title: org.apache.zookeeper


*LOGS:*

Apache OpenEJB 3.1.4    build: 20101112-03:32
http://openejb.apache.org/
context path = /openejb
context path =
FOO moduleName =
/home/ravindranathakila/apache-tomcat-6.0.14/webapps/ROOT/WEB-INF/classes
07:24:52.252 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:zookeeper.version=3.4.3-1240972, built on 02/06/2012 10:48 GMT
07:24:52.260 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:host.name=ravindranathakila
07:24:52.260 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:java.version=1.6.0_24
07:24:52.260 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:java.vendor=Sun Microsystems Inc.
07:24:52.260 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:java.home=/usr/lib/jvm/java-6-openjdk-i386/jre
07:24:52.260 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:*
java.class.path=/home/ravindranathakila/apache-tomcat-6.0.14/lib:/home/ravindranathakila/apache-tomcat-6.0.14/lib/tomcat-dbcp.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/ilikeplaces-util-4.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/logback-classic-0.9.17.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/activation-1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/session-1.0.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jaxb-impl-2.1.9.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/datanucleus-api-jpa-3.1.0-m2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jasper-jdt.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/tomcat-i18n-ja.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/xercesImpl-2.8.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jdo-api-3.1-SNAPSHOT-20120609.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/mail-1.4.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-lang-2.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/json-20090211.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jsp-api.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jaxb-api-2.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/datanucleus-hbase-3.0.6.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/gson-1.7.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-codec-1.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/nekohtml.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/ilikeplaces-doc-3.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/datanucleus-rdbms-3.1.0-m4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/google-collect-1.0-rc1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/datanucleus-api-jdo-3.1.0-m2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/batik-util.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/servlet-api.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jasper.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/datanucleus-core-3.1.0-m4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/geronimo-jpa_2.0_spec-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-logging-1.1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/transaction-api-1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/hadoop-core-1.0.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/DisqusAPI-Client-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/oval-1.40.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/annotations-api.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/YahooGeoPlanet-Client-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/datanucleus-enhancer-3.0.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/zookeeper-3.4.3.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/ItsNat.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/gdata-contacts-3.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/GooglePlacesAPI-Client-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/batik-dom.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/gdata-core-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-cli-1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-fileupload-1.2.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/twitter4j-core-2.1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/hazelcast-2.0.3.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-httpclient-3.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/el-api.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/guice-2.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/hbase-0.92.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/log4j-1.2.15.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jasper-el.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/batik-xml.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/catalina-ha.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/guice-assisted-inject-2.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-codec-1.3.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-io-1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jta-1.0.1B.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/gdata-client-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jta-1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/xercesImpl.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/ilikeplaces-util-4.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/tomcat-i18n-es.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jdo-api-3.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/ehcache-core-2.5.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/catalina-ant.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/serializer.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/facebook-java-api-3.0.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/slf4j-api-1.5.8.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/catalina.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/ehcache-openjpa-0.2.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/commons-configuration-1.6.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/hazelcast-client-2.0.3.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/jta-1.1-sources.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/java-cloudfiles.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/catalina-tribes.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/logback-access-0.9.17.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/tomcat-coyote.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/stax-api-1.0-2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/logback-core-0.9.17.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/facebook-java-api-schema-3.0.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/runtime-0.4.1.5.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/aopalliance-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/tomcat-i18n-fr.jar:/home/ravindranathakila/apache-tomcat-6.0.14/lib/xml-apis.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/activemq-ra-5.3.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/junit-3.8.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/stax-api-1.0.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/jaxb-impl-2.1.9.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-telnet-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/neethi-2.0.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/bcprov-jdk15-1.43.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/geronimo-connector-2.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/javaee-api-5.0-3.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/xbean-reflect-3.7.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/commons-net-2.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-core-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-multicast-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/xbean-asm-shaded-3.7.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-loader-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/howl-1.0.1-1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/cxf-bundle-2.2.10.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-javaagent-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/ejb31-api-experimental-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/xml-resolver-1.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/activemq-core-5.3.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/commons-dbcp-all-1.3-r699049.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/commons-logging-api-1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openjpa-1.2.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-client-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/xmlsec-1.4.3.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/geronimo-j2ee-management_1.0_spec-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-tomcat-catalina-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/activemq-protobuf-1.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/commons-pool-1.3.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-ejbd-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/geronimo-javamail_1.4_mail-1.8.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/saaj-impl-1.3.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/geronimo-transaction-2.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/serializer-2.7.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-server-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-tomcat-webapp-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-webservices-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/wss4j-1.5.8.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-webapp-common-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/commons-cli-1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/wstx-asl-3.2.0.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/XmlSchema-1.4.5.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-tomcat-loader-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/wsdl4j-1.6.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-http-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/log4j-1.2.12.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-tomcat-webapp-3.1.4-sources.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/kahadb-5.3.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/commons-logging-1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/swizzle-stream-1.0.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/activeio-core-3.1.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-tomcat-common-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-api-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/geronimo-jms_1.1_spec-1.1.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/commons-lang-2.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/xbean-finder-shaded-3.7.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/commons-collections-3.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/quartz-1.5.2.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/xbean-naming-3.7.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-hsql-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/serp-1.13.1.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-jee-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/openejb-cxf-3.1.4.jar:/home/ravindranathakila/apache-tomcat-6.0.14/webapps/openejb/lib/hsqldb-1.8.0.7.jar
*
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:java.library.path=/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386:/usr/lib/jvm/java-6-openjdk-i386/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/i386-linux-gnu/jni:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/jni:/lib:/usr/lib
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:java.io.tmpdir=/home/ravindranathakila/apache-tomcat-6.0.14/temp
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:java.compiler=<NA>
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:os.name=Linux
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:os.arch=i386
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:os.version=3.2.0-24-generic-pae
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:user.name=ravindranathakila
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:user.home=/home/ravindranathakila
07:24:52.261 [main] INFO  org.apache.zookeeper.ZooKeeper - Client
environment:user.dir=/home/ravindranathakila/apache-tomcat-6.0.14/bin
07:24:52.263 [main] INFO  org.apache.zookeeper.ZooKeeper - Initiating
client connection, connectString=localhost:2181 sessionTimeout=180000
watcher=hconnection
07:24:52.270 [main] DEBUG org.apache.zookeeper.ClientCnxn -
zookeeper.disableAutoWatchReset is false
07:24:52.649 [main-SendThread()] INFO  org.apache.zookeeper.ClientCnxn -
Opening socket connection to server /127.0.0.1:2181
07:24:52.674 [main-SendThread(localhost:2181)] INFO
 o.a.z.client.ZooKeeperSaslClient - Client will not SASL-authenticate
because the default JAAS configuration section 'Client' could not be found.
If you are not using SASL, you may ignore this. On the other hand, if you
expected SASL to work, please fix your JAAS configuration.
07:24:52.705 [main-SendThread(localhost:2181)] INFO
 org.apache.zookeeper.ClientCnxn - Socket connection established to
localhost/127.0.0.1:2181, initiating session
07:24:52.707 [main-SendThread(localhost:2181)] DEBUG
org.apache.zookeeper.ClientCnxn - Session establishment request sent on
localhost/127.0.0.1:2181
07:24:52.728 [main-SendThread(localhost:2181)] INFO
 org.apache.zookeeper.ClientCnxn - Session establishment complete on server
localhost/127.0.0.1:2181, sessionid = 0x138290971cc0008, negotiated timeout
= 40000

<this goes on forever>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message