dev@glassfish.java.net

Re: Recently updated and rebuilt trunk workspace, server won't start

From: Justin Lee <Justin.Lee_at_Sun.COM>
Date: Wed, 02 Dec 2009 16:49:09 -0500

Here's the story. I worked on a new deployment of grizzly targetted to
be applied to the v3 branch which has hk2.version=1.0.0. At the last
minute, I was told to commit to the v3 trunk instead. I wasn't aware
that the trunk lists 0.4.xx instead and figured the drift between the
branches was insignificant relative to the minor patch I made. It fails
on the trunk because the trunk publishes an "older" version of hk2.

Now, I can either push a new version of grizzly with that older hk2
version listed (which i'd rather not do because that takes considerable
time) or we can bump the v3 trunk to hk2 1.0.0. Is there an issue with
bumping that up in the v3 trunk?

Tim Quinn wrote:
> Hi.
>
> I've updated my v3 trunk workspace and rebuilt, and the server does
> not start. It starts to start (the log stops after the "INFO:
> Successfully launched in 27 msec." message).
>
> When I use
>
> asadmin start-domain --verbose
>
> I see the reason why: many errors caused by this:
>
> Caused by: org.osgi.framework.BundleException: Unresolved constraint
> in bundle com.sun.grizzly.grizzly-config [95]: package;
> (&(package=com.sun.hk2.component)(version>=1.0.0))
>
>
> Is this a case of me needing to wait for a maven repository to be
> updated, or is there something more serious here?
>
> Is anyone else seeing this?
>
> - Tim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>