dev@glassfish.java.net

Exception (OSGI) when starting Appserver

From: Prashanth Abbagani <Prashanth.Abbagani_at_Sun.COM>
Date: Tue, 14 Jul 2009 10:24:42 -0700

Hi,

I am seeing this consistently on my Mac. I think because of this AMX
tests of quicklook are failing. Can you someone let me know how to fix
this. This is built locally last night.


Jul 14, 2009 10:15:34 AM
org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl <init>
WARNING: Cannot save metadata to cache
java.io.NotSerializableException: java.util.jar.Manifest
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
    at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
    at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
    at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    at java.util.HashMap.writeObject(HashMap.java:1001)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
    at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
    at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    at
org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.saveCache(OSGiModulesRegistryImpl.java:196)
    at
org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.<init>(OSGiModulesRegistryImpl.java:114)
    at
org.jvnet.hk2.osgiadapter.OSGiFactoryImpl.createModulesRegistry(OSGiFactoryImpl.java:70)
    at
org.jvnet.hk2.osgiadapter.OSGiFactoryImpl.createModulesRegistry(OSGiFactoryImpl.java:52)
    at
org.jvnet.hk2.osgiadapter.HK2Main.createModulesRegistry(HK2Main.java:125)
    at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:117)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1461)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:779)
    at org.jvnet.hk2.osgimain.Main.start(Main.java:104)
    at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1461)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
    at java.lang.Thread.run(Thread.java:637)
Jul 14, 2009 10:15:35 AM OSGiModuleImpl start