Tomcat Catalina Logs
I have a whole lot of catalina logs in the Tomcat\logs folder that are taking a whole lot of space, some of them are up to 95MB. They contain hundreds of messages like the one below. What is the issue here? Can I safely delete these log files?
SEVERE: Unhandled exception in purge c3cf17920c501000e758b93a5e625e62 purging build dc0d679b0c4f10008636b93a67926792
com.buildforge.services.common.api.APIException: CRRBF0102I: API: Permission denied: PurgeBuild.
at com.buildforge.services.common.api.APIException.needPerm(APIException.java:379)
at com.ibm.jas.mjc.server.purge.PurgeThread.setup(PurgeThread.java:174)
at com.ibm.jas.mjc.server.purge.PurgeThread.purge(PurgeThread.java:85)
at com.ibm.jas.mjc.server.purge.PurgeThread.run(PurgeThread.java:342)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:810)
SEVERE: Unhandled exception in purge c3cf17920c501000e758b93a5e625e62 purging build dc0d679b0c4f10008636b93a67926792
com.buildforge.services.common.api.APIException: CRRBF0102I: API: Permission denied: PurgeBuild.
at com.buildforge.services.common.api.APIException.needPerm(APIException.java:379)
at com.ibm.jas.mjc.server.purge.PurgeThread.setup(PurgeThread.java:174)
at com.ibm.jas.mjc.server.purge.PurgeThread.purge(PurgeThread.java:85)
at com.ibm.jas.mjc.server.purge.PurgeThread.run(PurgeThread.java:342)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:810)
3 answers
the tomcat logs can be deleted at any time. There will be a few files open when the console is running. Those will hold log information needed to resolve any issues with the currently running console. If you have no issues other than log file size, then feel free to delete them (if your operating system of choice lets you delete open files).
As an aside, the "Permission Denied" message in that log message typically means the "Owner" of the job that can't be purged doesn't have the "Purge Builds" Permission.
--Jeff
--Jeff
I have a whole lot of catalina logs in the Tomcat\logs folder that are taking a whole lot of space, some of them are up to 95MB. They contain hundreds of messages like the one below. What is the issue here? Can I safely delete these log files?
SEVERE: Unhandled exception in purge c3cf17920c501000e758b93a5e625e62 purging build dc0d679b0c4f10008636b93a67926792
com.buildforge.services.common.api.APIException: CRRBF0102I: API: Permission denied: PurgeBuild.
at com.buildforge.services.common.api.APIException.needPerm(APIException.java:379)
at com.ibm.jas.mjc.server.purge.PurgeThread.setup(PurgeThread.java:174)
at com.ibm.jas.mjc.server.purge.PurgeThread.purge(PurgeThread.java:85)
at com.ibm.jas.mjc.server.purge.PurgeThread.run(PurgeThread.java:342)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:810)
We are getting the following error on Build Forge Management Console 7.1.3.1. I have verified all security configurations and the user Build Engineer has to appropriate permissions to purge builds. I have removed the "purge build" from user Build Engineer and added it back. Still getting the same error. I have also restart build forge and the database. Please provide any insight.
Mar 28, 2012 1:34:23 AM com.ibm.jas.mjc.server.purge.PurgeThread run
SEVERE: Unhandled exception in purge f6a801f60c581000f6a99f1546ae46ae purging build f6a13d880c581000da589f152a962a96
Throwable occurred: com.buildforge.services.common.api.APIException: CRRBF0101I: API: Access denied: Build Engineer.
at com.buildforge.services.common.api.APIException.needLevel(APIException.java:386)
at com.buildforge.services.server.api.AuthContext.checkLevel(AuthContext.java:586)
at com.buildforge.services.server.manager.BuildEnvironmentManager.create(BuildEnvironmentManager.java:133)
at com.buildforge.services.server.manager.BuildEnvironmentManager.emptyEnvironment(BuildEnvironmentManager.java:675)
at com.buildforge.services.server.manager.BuildEnvironmentManager.classChangeEnvironment(BuildEnvironmentManager.java:694)
at com.buildforge.services.server.manager.BuildManager.createClassChangeBuild(BuildManager.java:1771)
at com.ibm.jas.mjc.server.purge.PurgeThread.runChain(PurgeThread.java:222)
at com.ibm.jas.mjc.server.purge.PurgeThread.purge(PurgeThread.java:105)
at com.ibm.jas.mjc.server.purge.PurgeThread.run(PurgeThread.java:350)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
at java.lang.Thread.run(Thread.java:736)
Mar 28, 2012 1:34:23 AM com.ibm.jas.mjc.server.purge.PurgeThread run
SEVERE: Unhandled exception in purge f6a801f80c581000f6aa9f1546ae46ae purging build f69ff8d90c58100083109f1508e808e8
Throwable occurred: com.buildforge.services.common.api.APIException: CRRBF0101I: API: Access denied: Build Engineer.
at com.buildforge.services.common.api.APIException.needLevel(APIException.java:386)
at com.buildforge.services.server.api.AuthContext.checkLevel(AuthContext.java:586)
at com.buildforge.services.server.manager.BuildEnvironmentManager.create(BuildEnvironmentManager.java:133)
at com.buildforge.services.server.manager.BuildEnvironmentManager.emptyEnvironment(BuildEnvironmentManager.java:675)
at com.buildforge.services.server.manager.BuildEnvironmentManager.classChangeEnvironment(BuildEnvironmentManager.java:694)
at com.buildforge.services.server.manager.BuildManager.createClassChangeBuild(BuildManager.java:1771)
at com.ibm.jas.mjc.server.purge.PurgeThread.runChain(PurgeThread.java:222)
at com.ibm.jas.mjc.server.purge.PurgeThread.purge(PurgeThread.java:105)
at com.ibm.jas.mjc.server.purge.PurgeThread.run(PurgeThread.java:350)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
at java.lang.Thread.run(Thread.java:736)
Mar 28, 2012 1:34:23 AM com.ibm.jas.mjc.server.purge.PurgeThread run
SEVERE: Unhandled exception in purge f6a801f60c581000f6a99f1546ae46ae purging build f6a13d880c581000da589f152a962a96
Throwable occurred: com.buildforge.services.common.api.APIException: CRRBF0101I: API: Access denied: Build Engineer.
at com.buildforge.services.common.api.APIException.needLevel(APIException.java:386)
at com.buildforge.services.server.api.AuthContext.checkLevel(AuthContext.java:586)
at com.buildforge.services.server.manager.BuildEnvironmentManager.create(BuildEnvironmentManager.java:133)
at com.buildforge.services.server.manager.BuildEnvironmentManager.emptyEnvironment(BuildEnvironmentManager.java:675)
at com.buildforge.services.server.manager.BuildEnvironmentManager.classChangeEnvironment(BuildEnvironmentManager.java:694)
at com.buildforge.services.server.manager.BuildManager.createClassChangeBuild(BuildManager.java:1771)
at com.ibm.jas.mjc.server.purge.PurgeThread.runChain(PurgeThread.java:222)
at com.ibm.jas.mjc.server.purge.PurgeThread.purge(PurgeThread.java:105)
at com.ibm.jas.mjc.server.purge.PurgeThread.run(PurgeThread.java:350)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
at java.lang.Thread.run(Thread.java:736)
Mar 28, 2012 1:34:23 AM com.ibm.jas.mjc.server.purge.PurgeThread run
SEVERE: Unhandled exception in purge f6a801f80c581000f6aa9f1546ae46ae purging build f69ff8d90c58100083109f1508e808e8
Throwable occurred: com.buildforge.services.common.api.APIException: CRRBF0101I: API: Access denied: Build Engineer.
at com.buildforge.services.common.api.APIException.needLevel(APIException.java:386)
at com.buildforge.services.server.api.AuthContext.checkLevel(AuthContext.java:586)
at com.buildforge.services.server.manager.BuildEnvironmentManager.create(BuildEnvironmentManager.java:133)
at com.buildforge.services.server.manager.BuildEnvironmentManager.emptyEnvironment(BuildEnvironmentManager.java:675)
at com.buildforge.services.server.manager.BuildEnvironmentManager.classChangeEnvironment(BuildEnvironmentManager.java:694)
at com.buildforge.services.server.manager.BuildManager.createClassChangeBuild(BuildManager.java:1771)
at com.ibm.jas.mjc.server.purge.PurgeThread.runChain(PurgeThread.java:222)
at com.ibm.jas.mjc.server.purge.PurgeThread.purge(PurgeThread.java:105)
at com.ibm.jas.mjc.server.purge.PurgeThread.run(PurgeThread.java:350)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
at java.lang.Thread.run(Thread.java:736)