It seems GlassFish did crash when starting blueprint sample.

Aries blueprint requires some other bundles to be ran in GlassFish. Here is the list of all bundles I installed:
com.springsource.org.objectweb.asm-3.2.0.jar
com.springsource.org.objectweb.asm.commons-3.2.0.jar
com.springsource.org.objectweb.asm.tree-3.2.0.jar
com.springsource.slf4j.api-1.6.1.jar
com.springsource.slf4j.log4j-1.6.1.jar
org.apache.aries.blueprint-0.3.jar
org.apache.aries.proxy-0.3.jar
org.apache.aries.util-0.3.jar

Then, I started a basic blueprint example and got the following NPE:
[#|2011-10-10T11:30:32.877+0200|SEVERE|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=18;_ThreadName=Thread-2;|java.lang.NullPointerException
at com.sun.hk2.component.ExistingSingletonInhabitant.<init>(ExistingSingletonInhabitant.java:57) at org.jvnet.hk2.osgiadapter.HK2Main$HK2ServiceTrackerCustomizer.addingService(HK2Main.java:273) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233)
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:840)
...

Do someone have a clue?

Kind regards,
Jean-Philippe

Quoting Sahoo <[email protected]>:

I am not the right person to answer the question. If I were to try, I
would download [1], which seems like a self contained implementation.

Thanks,
Sahoo

[1]
http://www.apache.org/dyn/closer.cgi/aries/org.apache.aries.blueprint-0.3.jar

On Monday 10 October 2011 01:53 PM, Jean-Philippe Clement wrote:
Hi,

Yep, could be great... which bundles do I need?

Kind regards,
Jean-Philippe

Quoting Sahoo <[email protected]>:

If one copies the blueprint implementation bundles to
glassfish/domains/domain1/autodeploy/bundles/ dir, then they will be
automatically activated as part of GlassFish lifecycle. Is that not
sufficient?

Thanks,
Sahoo

On Friday 07 October 2011 09:47 PM, Jean-Philippe Clement wrote:
Hi,

I would like to add Blueprint (mainly) to GlassFish.

What would be the best approach? Running GlassFish in Karaf? Running Karaf specific bundles in GlassFish? Else?

Kind regards,
Jean-Philippe


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to