Apache Tomcat启动警告(ExceptionInInitializerError)

时间:2011-07-28 12:10:37

标签: eclipse tomcat eclipse-wtp documentum documentum6.5

我在使用tomcat在eclipse中启动webtop 6.5 sp3时出错。 DFC jar已经添加到classpath和buildpath中。访问Web应用程序转到空白页

有关如何解决此问题的任何想法?

Warning: WDK application could not be started, error msg= null, error type=java.lang.ExceptionInInitializerError. This message can be ignored during the installation.
java.lang.ExceptionInInitializerError
    at com.documentum.fc.client.DfClient.<clinit>(DfClient.java:700)
    at com.documentum.com.DfClientX.getLocalClient(DfClientX.java:43)
    at com.documentum.web.env.NotificationManager.contextInitialized(NotificationManager.java:101)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    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:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.NullPointerException
    at com.documentum.fc.impl.security.action.GetResourceAsStreamAction.run(GetResourceAsStreamAction.java:19)
    at com.documentum.fc.impl.security.action.GetResourceAsStreamAction.run(GetResourceAsStreamAction.java:9)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.documentum.fc.client.impl.bof.cache.CacheManifest$CacheSchemaEntityResolver.resolveEntity(CacheManifest.java:1040)
    at com.documentum.xerces_2_8_0.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.xs.XMLSchemaLoader.resolveDocument(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.parsers.XMLParser.parse(Unknown Source)
    at com.documentum.xerces_2_8_0.xerces.parsers.DOMParser.parse(Unknown Source)
    at com.documentum.xml.jaxp.DfDocumentBuilderImpl.parse(DfDocumentBuilderImpl.java:189)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at com.documentum.fc.client.impl.bof.cache.CacheManifest.syncDocumentAndAcquireLockIfNeeded(CacheManifest.java:591)
    at com.documentum.fc.client.impl.bof.cache.CacheManifest.getVersionMasterStamp(CacheManifest.java:309)
    at com.documentum.fc.client.impl.bof.cache.DefaultLocalAccessor.getMasterStamp(DefaultLocalAccessor.java:118)
    at com.documentum.fc.client.impl.bof.cache.DocbaseClassCache.getMasterStamp(DocbaseClassCache.java:48)
    at com.documentum.fc.client.impl.bof.cache.ClassCacheManager.getMasterStamp(ClassCacheManager.java:323)
    at com.documentum.fc.client.impl.bof.cache.BofConsistencyChecker.init(BofConsistencyChecker.java:24)
    at com.documentum.fc.client.impl.bof.cache.ClassCacheManager.initDocbase(ClassCacheManager.java:548)
    at com.documentum.fc.client.impl.bof.cache.ClassCacheManager.initialDiscovery(ClassCacheManager.java:530)
    at com.documentum.fc.client.impl.bof.cache.ClassCacheManager.<init>(ClassCacheManager.java:394)
    at com.documentum.fc.client.impl.bof.cache.ClassCacheManager.getInstance(ClassCacheManager.java:48)
    at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.init(ModuleManager.java:291)
    at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.getInstance(ModuleManager.java:36)
    at com.documentum.fc.client.security.impl.DfcIdentityPublisher.<init>(DfcIdentityPublisher.java:44)
    at com.documentum.fc.client.security.internal.RegistrationMgr.register(RegistrationMgr.java:34)
    at com.documentum.fc.impl.RuntimeContext.<clinit>(RuntimeContext.java:191)
    ... 18 more
28 juil. 2011 14:07:41 org.apache.coyote.http11.Http11BaseProtocol start

1 个答案:

答案 0 :(得分:1)

只是一个猜测,但它看起来像你错过了一个配置文件。你的类路径中有config目录吗?