2011-07-28 146 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等)類路徑條目 –