Apache Tomcat 启动警告(ExceptionInInitializerError)
我在 eclipse 中使用 tomcat 启动 webtop 6.5 sp3 时出错。 DFC jar 已添加到类路径和构建路径中。访问网络应用程序会进入空白页面
关于如何解决此问题有什么想法吗?
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
I have an error starting webtop 6.5 sp3 in eclipse with tomcat. DFC jars are added to classpath and buildpath already. Accessing the webapplication goes to a blank page
Any ideas on how to resolve this?
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只是一个猜测,但在我看来你缺少一个配置文件。你的类路径中有config目录吗?
Just a guess, but it looks to me like you are missing a config file. Do you have the config directory in your classpath?