2011-07-28 141 views
1

我在eclipse中用tomcat启动webtop 6.5 sp3时出错。 DFC jar已经添加到classpath和buildpath中。访问网络应用程序进入空白页Apache Tomcat启动警告(ExceptionInInitializerError)

关于如何解决这个问题的任何想法?

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

这是一个警告,而不是错误。它是否阻止您的服务器加载? – Sean

+0

看起来像服务器负载,但访问Web应用程序显示一个空白页面。 (用这个信息编辑问题) – Ayrad

回答

1

只是一个猜测,但它在我看来像你缺少一个配置文件。你的类路径中有config目录吗?

+0

这是一个很好的猜测。我已经将配置文件夹的构建路径(Windows中的CLASSPATH变量)添加到服务器启动配置中的类路径中,可能需要将其添加到其他位置。我知道这个配置文件夹因错误而出名 – Ayrad

+0

回到5.2.5天后,我们将它添加到了Tomcat类路径中。我认为这是你的意思是服务器启动配置。鉴于在DfClient类初始化过程中发生故障,我认为它是缺少的主要Documentum配置文件,这意味着类路径对于Tomcat来说是不正确的。您应该可以使用catalina.properties中的shared.loader属性来添加所需的Documentum(dctm.jar,config等)类路径条目 –