Thousands of Add Bundle entries in Application.log

For quite some time now I have been seeing entries like this in the application log.

1    add bundle:C:\lucee\tomcat\lib\tomcat-jdbc.jar 	5 minutes ago 	13767    	
2  	 add bundle:C:\lucee\tomcat\lib\ecj-4.5.1.jar 	5 minutes ago 	13766    	
3  	 - current size [0] 	30 minutes ago 	35    	
4  	 check size of directory [C:\inetpub\wwwroot\intranet\WEB-INF\lucee\temp] 	30 minutes ago 	18    	
5  	 - max size [104857600] 	30 minutes ago 	18    	
6  	 - current size [6007833] 	30 minutes ago 	1    	
7  	 - max size [1073741824] 	30 minutes ago 	18    	
8  	 check size of directory [C:\inetpub\wwwroot\intranet\WEB-INF\lucee\cache] 	30 minutes ago 	18 

The add bundle entries appear to be appearing every 5 minutes and appear to top out at 46,000 for each (!!) and I get a new log roll over every day.

I’m assuming I have some configuration issue but I didn’t mess with default settings AFAIK.

Any ideas?

OS: Server 2012 R2
Java Version: 1.8.0_121
Tomcat Version:8.5.11
Lucee Version: 5.3.2.77

here’s the relevant bug

OSGI logging bundles added from this.javaSettings on every request to application.log
https://luceeserver.atlassian.net/browse/LDEV-2516

Thanks Zac…wanted to ask before I filed a report

Does it happen in the latest RC?

I updated to latest stable 5.3.6.61 and it’s still happening. Not keen on applying an RC on the production server though.

I can update my dev server from 5.3.5.92…the RC is 5.3.7.34?

Yup, if you can try the latest snapshot or RC in your dev environment that would be great

Updated to 7.34

So far I only see one entry…but that’s normal on a restart of the service?

I’ll update this one way or another later today or tomorrow.

17 hours after patching with 7.34 and a restart and I’d say that bug is no more. :+1:

(I assume that the check size is supposed to run hourly?)

1 	 check size of directory [C:\inetpub\wwwroot\intranetdev\WEB-INF\lucee\temp] ; current size [5538691];max size [1073741824]	4 minutes ago	18   	
2 	 check size of directory [C:\inetpub\wwwroot\intranetdev\WEB-INF\lucee\cache] ; current size [0];max size [104857600]	4 minutes ago	18   	
3 	 add bundle:C:\lucee\tomcat\lucee-server\bundles\mssqljdbc4-4. 0.2206.100.jar	17 hours ago	1   	
4 	 Start bundle: [mssqljdbc4:4.0.2206.100]	17 hours ago	1   	
5 	 add bundle:C:\lucee\tomcat\lucee-server\bundles\sun.jai. codec-1.1.2.0003L.jar	17 hours ago	1   	
6 	 Start bundle: [metadata.extractor:2.8.1.0002L]	17 hours ago	1   	
7 	 add bundle:C:\lucee\tomcat\lucee-server\bundles\lucee.image. extension-1.0.0.35.jar	17 hours ago	1   	
8 	 add bundle:C:\lucee\tomcat\lucee-server\bundles\org.lucee. imgscalr-4.2.0.jar	17 hours ago	1   	
9 	 Start bundle: [sun.jai.codec:1.1.2.0003L]	17 hours ago	1  
1 Like

that’s great news! the hourly temp file check is expected

Can you update the task with your results, that way the other affected users can confirm it’s fixed
https://luceeserver.atlassian.net/browse/LDEV-2516

done

1 Like