4.6.11

Glassfish - Error in linking security policy

Yep another day and another nonsense damn Glassfish error. I really miss Spring Framework.

I got the message in $Subject and resolve it via remove all folders&files in "[glassfishhome]/glassfish/domains/domain1/generated" then a fresh restart, it works.

1.6.11

Moving Glassfish

When you decide to move your Glassfish installation from one folder to another folder/computer probably you will get errors from osgi like;

WARNING: Failed to install
file:/export/home/luca/java/as/glassfish-v3.1/glassfish/modules/XXXX.jar
org.osgi.framework.BundleException: Bundle symbolic name and version are
not unique: org.glassfish.XXXXXX

All this errors are about osgi cache system. After you delete;

"glassfish-v3/glassfish/domains/domain1/osgi-cache/felix/"

everything should be fine.