From: Wolfgang M. <wol...@ex...> - 2011-05-19 11:57:18
|
Hi Stefan, I see you are using gcj. Could you switch to the Sun jdk instead? I think this will help. Wolfgang 2011/5/19 Stefan Majewski <ste...@un...>: > Hi Wolfgang, > > thanks for taking the time looking into this. > > > On 19/05/11 13:06, Wolfgang Meier wrote: >> >> I wonder why the emergency backup doesn't run. > > So do I. I figured that it would be able to run even when the database > instance would not come up again. It works directly on the database files, > right? That means it does not matter that I have configured a non-default > password for the guest user and changed the entry-points for the servlets? > > The message I get is: > > on the console: > ERROR: Failed to open database: database instance 'exist' is not available > > but I just noticed that there is something in the exist.log as well. Looks > as if I would miss a jar? > > >> 2011-05-19 13:16:25,125 [main] ERROR (BrokerPool.java [configure]:238) - >> Unable to initialialize database instance 'exist': >> org.exist.management.impl.JMXAgent >> java.lang.NoClassDefFoundError: org.exist.management.impl.JMXAgent >> at java.lang.Class.initializeClass(libgcj.so.7rh) >> at java.lang.Class.forName(libgcj.so.7rh) >> at java.lang.Class.forName(libgcj.so.7rh) >> at org.exist.management.AgentFactory.getInstance(AgentFactory.java:36) >> at >> org.exist.storage.DefaultCacheManager.registerMBean(DefaultCacheManager.java:287) >> at >> org.exist.storage.DefaultCacheManager.<init>(DefaultCacheManager.java:143) >> at org.exist.storage.BrokerPool.initialize(BrokerPool.java:730) >> at org.exist.storage.BrokerPool.<init>(BrokerPool.java:654) >> at org.exist.storage.BrokerPool.configure(BrokerPool.java:216) >> at org.exist.storage.BrokerPool.configure(BrokerPool.java:188) >> at org.exist.backup.ExportMain.startDB(ExportMain.java:69) >> at org.exist.backup.ExportMain.main(ExportMain.java:120) >> at java.lang.reflect.Method.invoke(libgcj.so.7rh) >> at org.exist.start.Main.invokeMain(Main.java:128) >> at org.exist.start.Main.run(Main.java:407) >> at org.exist.start.Main.main(Main.java:59) >> Caused by: java.lang.ClassNotFoundException: javax.management.ObjectName >> not found in >> java.net.URLClassLoader{urls=[file:/usr/local/voice/voice-online-2010-11-23/start.jar,file:/usr/local/voice/voice-online-2010-11-23/exist.jar,file:/usr/local/voice/voice-online-2010-11-23/exist-optional.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/endorsed/saxon9-xpath.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/endorsed/xercesImpl-2.9.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/endorsed/saxon9.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/endorsed/resolver-1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/endorsed/serializer-2.9.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/endorsed/xml-apis-1.3.04.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/endorsed/saxon9-dom.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/endorsed/xalan-2.7.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/antlr-2.7.7.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/commons-pool-1.5.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/excalibur-cli-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/log4j-1.2.15.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/sunxacml-1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/xmldb.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/xmlrpc-common-3.1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/xmlrpc-server-3.1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/xmlrpc-client-3.1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/ws-commons-util-1.0.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/jgroups-all-2.2.6.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/javax.servlet-1.4.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/quartz-1.6.5.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/jta-1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/stax-api-1.0.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/commons-collections-3.2.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/core/commons-logging-1.1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/saaj-1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/axis-1.4.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/isorelax-20041111.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/commons-compress-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/axis-schema-1.3.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/wsdl4j-1.5.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/commons-codec-1.3.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/commons-fileupload-1.2.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/jing-20090920.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/commons-discovery-0.4.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/jaxrpc-1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/commons-io-1.4.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/axis-ant-1.4.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/optional/commons-httpclient-3.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/extensions/exist-modules.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/extensions/xprocxq.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/extensions/exist-ngram-module.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/extensions/exist-lucene-module.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/extensions/exist-versioning.jar,file:/usr/local/voice/voice-online-2010-11-23/extensions/debuggee/lib/mina-core-2.0.0-M6.jar,file:/usr/local/voice/voice-online-2010-11-23/extensions/debuggee/lib/slf4j-simple-1.5.8.jar,file:/usr/local/voice/voice-online-2010-11-23/extensions/debuggee/lib/slf4j-api-1.5.8.jar,file:/usr/local/voice/voice-online-2010-11-23/extensions/indexes/spatial/lib/hsqldb-1.8.0.7.jar,file:/usr/local/voice/voice-online-2010-11-23/extensions/indexes/lucene/lib/lucene-core-2.4.1.jar,file:/usr/local/voice/voice-online-2010-11-23/extensions/indexes/lucene/lib/lucene-regex-2.4.1.jar,file:/usr/local/voice/voice-online-2010-11-23/extensions/xprocxq/main/lib/expath.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/logkit-1.2.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-component-1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/commons-lang-2.0-20041007T2305.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-naming-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-datasource-1.1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/avalon-framework-impl-4.1.5.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/javacApi-0.9.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/commons-jexl-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-i18n-1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/cocoon-2.1.7.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-sourceresolve-1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/javacImpl-0.9.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-store-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-logger-1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-pool-1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/util.concurrent-1.3.4.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/avalon-framework-api-4.1.5.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-instrument-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-instrument-manager-interfaces-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-xmlutil-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-instrument-manager-1.0.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/commons-jxpath-1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/excalibur-io-1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/cocoon-xsp-block.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/cocoon-databases-block.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/cocoon-xmldb-block.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/cocoon-2.1.7-deprecated.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/cocoon/ehcache-1.1.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/captchaPackage.jar,file:/usr/local/voice/voice-online-2010-11-23/tools/ant/lib/ant.jar,file:/usr/local/voice/voice-online-2010-11-23/tools/ant/lib/junit-4.6.jar,file:/usr/local/voice/voice-online-2010-11-23/tools/ant/lib/xmlunit-1.2.jar,file:/usr/local/voice/voice-online-2010-11-23/tools/jetty/lib/org.mortbay.jetty.jar,file:/usr/local/voice/voice-online-2010-11-23/tools/jetty/lib/jasper-runtime.jar,file:/usr/local/voice/voice-online-2010-11-23/tools/jetty/lib/jasper-compiler.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/user/nekohtml-1.9.11.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/user/mail-1.4.2.jar,file:/usr/local/voice/voice-online-2010-11-23/lib/user/activation-1.1.1.jar], >> parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:start.jar], >> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}} >> at java.net.URLClassLoader.findClass(libgcj.so.7rh) >> at java.lang.ClassLoader.loadClass(libgcj.so.7rh) >> at java.lang.ClassLoader.loadClass(libgcj.so.7rh) >> at java.lang.Class.forName(libgcj.so.7rh) >> at java.lang.Class.initializeClass(libgcj.so.7rh) >> ...15 more > > > >> robust than any other backup method. Are your database files very >> large or could you just send me a tar of the directory? > > Nope, they aren't very large as it is the public instance of a webapp, our > internal ones are larger. Nevertheless, the trouble with this is that there > is lots of personal information in it. So, If I got a backup running in some > way, I would prefer that. Thanks for offering to look at the files, this is > very much appreciated and I would certainly keep this as a last resort. > > >> Also, could you again try to remove the .log files before you start >> the emergency tool? > > I tried this, but I think this is not related. I just have not figured that > the emergency-backup writes to exist.log as well and therefore not included > the stack-trace in the first place. > > > kind regards and thank you, > > Stefan > > -- > | Stefan Majewski | Department of English, University of Vienna | > | VOICE Corpus | Spitalgasse 2-4, Universitätscampus AAKH, Hof 8 | > | | A-1090 Vienna | > | Research Ass.(IT)| Phone: +43 1 4277 424 46 | > > > |