

Cadet 2nd Class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-05-25
14:05
678 views
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
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].
5 Replies


Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-05-25
14:19
rajeevmca2086 wrote:
> > 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)
Java probably tries to be funny by throwing "file not found" just to correct
itself immediately to "file used by another process".
What does
say regarding who has it open?
--
http://www.is4it.de/en/solution/identity-access-management/
(If you find this post helpful, please click on the star below.)
> > 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)
Java probably tries to be funny by throwing "file not found" just to correct
itself immediately to "file used by another process".
What does
lsof | grep catalina.out
say regarding who has it open?
--
http://www.is4it.de/en/solution/identity-access-management/
(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
https://www.is4it.de/identity-access-management
frankabhinav

Commodore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-05-28
12:48
For windows server that would be ?


Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-05-28
13:02
frankabhinav wrote:
> For windows server that would be ?
Ooops, I should've looked closer and turned on my brain before posting...
On Windows I use procexp.exe from the Sysinternals Tools, see
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer. It
has a "Find..." menu item that does a substring search for open handles by name
and lists the processes using them. You can also browse open handles per
process by enabling the lower pane in the View menu.
--
http://www.is4it.de/en/solution/identity-access-management/
(If you find this post helpful, please click on the star below.)
> For windows server that would be ?
Ooops, I should've looked closer and turned on my brain before posting...
On Windows I use procexp.exe from the Sysinternals Tools, see
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer. It
has a "Find..." menu item that does a substring search for open handles by name
and lists the processes using them. You can also browse open handles per
process by enabling the lower pane in the View menu.
--
http://www.is4it.de/en/solution/identity-access-management/
(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
https://www.is4it.de/identity-access-management


Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-05-28
14:25
frankabhinav

Commodore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-05-28
14:47
Thanks thsundel
But that KB is for 4.5 where as I have installed 4.6 .And the log4j jar files is not stored inside tomcat/lib/ .
The log4j files are installed in diff war files.
But that KB is for 4.5 where as I have installed 4.6 .And the log4j jar files is not stored inside tomcat/lib/ .
The log4j files are installed in diff war files.