Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Glassfish "osgi-cache"?

Tags:

glassfish

I am running GF 3 through Netbeans in a dev environment. I notice that my domain contains a huge directory with over 300 subdirectories. The parent directory is osgi-cache.

Does anyone know what this is? I deleted the entries underneath, but as soon as I restarted my server, it came back.

They're not bothering me, but I am wondering why they need so much space.

like image 355
EdgeCase Avatar asked Jan 22 '13 17:01

EdgeCase


1 Answers

GlassFish modularity layers on top of OSGi, and the OSGi runtime that ships with GlassFish is Apache Felix. The OSGi specification states that the OSGi runtime must cache bundles and store bundle runtime state. You can learn more here about the Apache Felix OSGi Cache.

Hope this helps.

like image 160
John Clingan Avatar answered Nov 14 '22 06:11

John Clingan