Hi,
As part of customization, I am extending checkin_component.xml in "webcomponent/config/library/contenttransfer/checkin".
In webcomponent layer the checkin_component.xml is:
<config version="1.0"> <scope type="dm_sysobject"> <component id="checkin">
In my custom/config folder the checkin_component.xml is: (Iam limiting my customizations to our custom_document by scoping)
<config version="1.0"> <scope type="custom_document"> <component id="checkin" extends="webcomponent/config/library/contenttransfer/checkin">
When I start Tomcat, it is giving the following error:
Apr 23, 2012 9:31:32 AM org.apache.catalina.loader.WebappClassLoader findResourc
eInternal
INFO: Illegal access: this web application instance has been stopped already. C
ould not load dfc.properties. The eventual following stack trace is caused by a
n error thrown for debugging purposes as well as to attempt to terminate the thr
ead which caused the illegal access, and has no functional impact.
Exception in thread "Thread-17" java.lang.NullPointerException
at com.documentum.fc.common.DfLogger.getCurrentPrefix(DfLogger.java:535) at com.documentum.fc.common.DfLogger.getLogger(DfLogger.java:387)
at com.documentum.fc.common.DfLogger.error(DfLogger.java:95)
at com.documentum.fc.common.impl.preferences.PreferencesManager.readPers
istentProperties(PreferencesManager.java:352)
at com.documentum.fc.common.impl.preferences.PreferencesManager.<init>(P
referencesManager.java:41)
at com.documentum.fc.common.DfPreferences.initialize(DfPreferences.java:
64)
at com.documentum.fc.common.DfPreferences.getInstance(DfPreferences.java
:43)
at com.documentum.fc.common.DfFileWatcher.getConfigCheckInterval(DfFileW
atcher.java:31)
at com.documentum.fc.common.DfFileWatcher.run(DfFileWatcher.java:54)
In changed the custom checkin_component.xml as follows:
<config version="1.0"> <scope type="dm_sysobject"> <component id="checkin" extends="checkin:webcomponent/config/library/contenttransfer/checkin">
When I start Tomcat, it is giving the following error:
09:53:25,952 ERROR [main] com.documentum.web.common.Trace - An error occurred du
ring application intialization : ConfigService: Cannot locate component[id=check
in] in extends=webcomponent/config/library/contenttransfer/checkin while trying
to retrieve the inherited version for component[id=checkin] in /custom/config/ch
eckin_component.xml
java.lang.IllegalStateException: ConfigService: Cannot locate component[id=check
in] in extends=webcomponent/config/library/contenttransfer/checkin while trying
to retrieve the inherited version for component[id=checkin] in /custom/config/ch
eckin_component.xml
at com.documentum.web.formext.config.ConfigService.initialisePrimaryElem
entVersion(ConfigService.java:1719)
at com.documentum.web.formext.config.ConfigService.initialiseConfigFile(
ConfigService.java:1139)
at com.documentum.web.formext.config.ConfigService.initialiseApp(ConfigS
ervice.java:1006)
at com.documentum.web.formext.config.ConfigService.<init>(ConfigService.
java:845)
at com.documentum.web.formext.config.ConfigService.getInstance(ConfigSer
vice.java:78)
at com.documentum.web.formext.config.ConfigService.getConfigLookup(Confi
gService.java:95)
at com.documentum.web.env.NotificationManager.getListenersFromConfigFile
(NotificationManager.java:326)
at com.documentum.web.env.NotificationManager.getListerners(Notification
Manager.java:314)
at com.documentum.web.env.NotificationManager.initializeListenerMap(Noti
ficationManager.java:373)
at com.documentum.web.env.NotificationManager.doApplicationStart(Notific
ationManager.java:209)
at com.documentum.web.env.NotificationManager.contextInitialized(Notific
ationManager.java:113)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
429)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
at org.apache.catalina.core.StandardService.start(StandardService.java:5
16)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
I also tried with the following in checkincontainer_component.xml, but Tomcat failed to start again:
<config version="1.0"> <scope type="ecr_document"> <component id="checkin" extends="checkin:webcomponent/config/library/contenttransfer/checkin">
Please advise me.
Thanks.
ta