Tomcat not rolling over IDM4.6

I have installed IDM 4.6 on windows server our catalina.out file no longer rolls over on a daily basis and same for idapps and localhost_access_log aren't rolling over correctly. I have searched the forums followed the link below

https://www.netiq.com/documentation/...tml?view=print

but new error is coming

java.io.FileNotFoundException: C:\NetIQ\IdentityManager\apps\tomcat\logs\catalina .out (The process cannot access the file because it is being used by another process)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.jav a:270)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:213)
at java.io.FileOutputStream.<init>(FileOutputStream.j ava:133)
at org.apache.log4j.FileAppender.setFile(FileAppender .java:294)
at org.apache.log4j.FileAppender.activateOptions(File Appender.java:165)
at org.apache.log4j.DailyRollingFileAppender.activate Options(DailyRollingFileAppender.java:223)
at org.apache.log4j.config.PropertySetter.activate(Pr opertySetter.java:307)
at org.apache.log4j.xml.DOMConfigurator.parseAppender (DOMConfigurator.java:295)
at org.apache.log4j.xml.DOMConfigurator.findAppenderB yName(DOMConfigurator.java:176)
at org.apache.log4j.xml.DOMConfigurator.findAppenderB yReference(DOMConfigurator.java:191)
at org.apache.log4j.xml.DOMConfigurator.parseChildren OfLoggerElement(DOMConfigurator.java:523)
at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOM Configurator.java:492)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConf igurator.java:1006)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(D OMConfigurator.java:872)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(D OMConfigurator.java:778)
at org.apache.log4j.helpers.OptionConverter.selectAnd Configure(OptionConverter.java:526)
at org.apache.log4j.LogManager.<clinit>(LogManager.ja va:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jL oggerFactory.java:63)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.ja va:281)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.ja va:301)
at org.apache.activemq.jndi.JNDIReferenceFactory.<cli nit>(JNDIReferenceFactory.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.apache.naming.factory.FactoryBase.getObjectIns tance(FactoryBase.java:72)
at javax.naming.spi.NamingManager.getObjectInstance(N amingManager.java:321)
at org.apache.naming.NamingContext.lookup(NamingConte xt.java:839)
at org.apache.naming.NamingContext.lookup(NamingConte xt.java:159)
at org.apache.naming.NamingContextBindingsEnumeration .nextElementInternal(NamingContextBindingsEnumerat ion.java:117)
at org.apache.naming.NamingContextBindingsEnumeration .next(NamingContextBindingsEnumeration.java:71)
at org.apache.naming.NamingContextBindingsEnumeration .next(NamingContextBindingsEnumeration.java:34)
at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.createMBeans(GlobalResourcesLifecycleLis tener.java:138)
at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.createMBeans(GlobalResourcesLifecycleLis tener.java:145)
at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.createMBeans(GlobalResourcesLifecycleLis tener.java:110)
at org.apache.catalina.mbeans.GlobalResourcesLifecycl eListener.lifecycleEvent(GlobalResourcesLifecycleL istener.java:82)
at org.apache.catalina.util.LifecycleBase.fireLifecyc leEvent(LifecycleBase.java:94)
at org.apache.catalina.util.LifecycleBase.setStateInt ernal(LifecycleBase.java:395)
at org.apache.catalina.util.LifecycleBase.setState(Li fecycleBase.java:339)
at org.apache.catalina.core.StandardServer.startInter nal(StandardServer.java:786)
at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:655)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:355)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:495)
log4j:ERROR Either File or DatePattern options are not set for appender [CATALINALOG].