Open tangyong opened 11 years ago
The following critical problem is needed to be investigated,
[#|2013-01-15T18:03:59.906+0900|SEVERE|glassfish 4.0|javax.enterprise.logging.stderr|_ThreadID=84;_ThreadName=FelixStartLevel;_TimeMillis=1358240639906;_LevelValue=1000;|java.lang.ClassCastException: org.apache.felix.shell.impl.Activator cannot be cast to org.osgi.framework.BundleActivator at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4177) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1972) at org.apache.felix.framework.Felix.startBundle(Felix.java:1895) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:722) |#] ... [#|2013-01-15T18:03:59.906+0900|SEVERE|glassfish 4.0|javax.enterprise.logging.stderr|_ThreadID=84;_ThreadName=FelixStartLevel;_TimeMillis=1358240639906;_LevelValue=1000;|java.lang.ClassCastException: myosgi.Activator cannot be cast to org.osgi.framework.BundleActivator at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4177) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1972) at org.apache.felix.framework.Felix.startBundle(Felix.java:1895) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:722) |#]
Rather than using embeded osgi launching, we must use glassfish osgi runtime to install/start bundles.
we must extend the plugin to support glassfish deploying.
Fixing should be based on glassfish current trunk and 3.1.2.x.