users@grizzly.java.net

Re: Upgrade GF 3 Preview

From: felixx <dolaru_at_sympatico.ca>
Date: Tue, 30 Jun 2009 12:24:41 -0700 (PDT)

I've replaced these JARs with 1.9.17 snapshots: grizzly-comet.jar, cometd,
compat, framework, http, http-servlet, messagesbus, portunif, rcm and utils.
With the new jars, start-domain just hangs and quits after 90 secs, no log
messages.
Trying startserv.bat (java -jar "%~dp0..\modules\admin-cli.jar" start-domain
--verbose %*) shows these errs in console, nothing in the logs:

ERROR: Error starting file:/C:/GF3Preview/glassfish/modules/osgi-main.jar
(org.o
sgi.framework.BundleException: Activator start error in bundle
com.sun.enterpris
e.osgi-adapter [167].)
com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.core.kerne
l(Kernel Classes):3.0.0.Preview
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:14
3)
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1$1.loadClass(OSGiModuleIm
pl.java:280)
        at
com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
        at com.sun.hk2.component.LazyInhabitant.type(LazyInhabitant.java:78)
        at org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:149)
        at
com.sun.hk2.component.InhabitantsParser.add(InhabitantsParser.java:15
4)
        at
com.sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:
133)
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.parseInhabitants(OSGiModuleI
mpl.java:312)
        at
org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.parseInhabitants(OS
GiModulesRegistryImpl.java:247)
        at
com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
ateHabitat(AbstractModulesRegistryImpl.java:140)
        at
com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:394)

        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:118)
        at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
ion.java:589)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
        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(SecureAct
ion.java:589)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
        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:619)
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle 1
49: package; (package=com.sun.grizzly)
        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3097)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:779)
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:13
7)
        ... 20 more

It starts fine with the original jars. Thanks!



Jeanfrancois Arcand-2 wrote:
>
> Salut,
>
> felixx wrote:
>> Hi all,
>> I would like to try 1.9.17 snapshot with the GF V3 Preview (testing
>> comet
>> app). Is there a smart/correct way to do this? Just renaming & replacing
>> the
>> JARs didn't work, GF wouldn't start:
>> ERROR: Error starting file:/C:/GF3Preview/glassfish/modules/osgi-main.jar
>> (org.osgi.framework.BundleException: Activator start error in bundle
>> com.sun.enterprise.osgi-adapter [167].)
>
> Which jar have you updated? Can you cut&paste the stack trace (attach
> server.log).
>
> Thanks!
>
> -- Jeanfrancois
>
>
>
>
>> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Upgrade-GF-3-Preview-tp24276796p24277823.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.