users@glassfish.java.net

RE: Activator start error in bundle com.sun.enterprise.osgi-adapter [175]

From: Keenan, Bill <Bill_Keenan_at_intuit.com>
Date: Mon, 14 Sep 2009 12:35:30 -0700

Downloaded
http://download.java.net/glassfish/v3-preview/release/glassfish-v3-web-p
review.zip

Moved unzip'd folder to /Applications/NetBeans/glassfishv3/

In NetBeans 6.7.1, I did "Add Server...", selected "Glassfish v3", and
browsed to the preceding path.

I edited
/Applications/NetBeans/glassfishv3/glassfish/domains/domain1/config/doma
in.xml
        <jvm-options>-server</jvm-options>
        <jvm-options>-Xmx1G</jvm-options>

based documentation at
http://docs.sun.com/app/docs/doc/820-3320/ghnnu?a=view

In NB, I did a 'Start' on GlassFish v3, and the resulting log at the
beginning of this thread.

BillK

-----Original Message-----
From: Sahoo [mailto:Sahoo_at_Sun.COM]
Sent: Friday, September 11, 2009 11:42 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Activator start error in bundle
com.sun.enterprise.osgi-adapter [175]

Can you tell how you got this error?

Sahoo

Keenan, Bill wrote:
>
> After google'ng the error, I found others with it; however, I did not
> find a resolution. I missed the resolution at
> https://glassfish.dev.java.net/servlets/SearchList?listName=users
>
> (I am using NB 6.7.1.)
>
> BillK
>
> INFO: Launching GlassFish on Apache Felix OSGi platform
>
> Welcome to Felix.
>
> =================
>
> INFO: Started bundle org.glassfish.core.kernel [156]
>
> ERROR: Error starting
>
file:/Applications/NetBeans/glassfishv3/glassfish/modules/osgi-main.jar
> (org.osgi.framework.BundleException: Activator start error in bundle
> com.sun.enterprise.osgi-adapter [175].)
>
> INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [92]
>
> INFO: Started bundle org.glassfish.common.util [36]
>
> INFO: Started bundle com.sun.enterprise.config [42]
>
> INFO: Started bundle org.glassfish.admin.config-api [41]
>
> INFO: Started bundle com.sun.grizzly.grizzly-config [100]
>
> INFO: Hibernate Validator null
>
> INFO: No META-INF/validation.xml found. Using annotation based
> configuration only!
>
> com.sun.enterprise.module.ResolveError: Failed to start
> org.glassfish.verifier(Verifier implementation module):3.0.0.b57
>
> at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:143)
>
> at
>
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1$1.loadClass(OSGiModuleImpl.
java:280)
>
> at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
>
> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
>
> at
>
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.
java:60)
>
> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:252)
>
> at java.util.AbstractList$Itr.next(AbstractList.java:345)
>
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:365)
>
> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:120)
>
> at
>
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction
.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(SecureAction
.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:637)
>
> Caused by: org.osgi.framework.BundleException: Unresolved constraint
> in bundle 192: package;
>
(&(package=com.sun.enterprise.deployment.node.runtime)(version>=3.0.0))
>
> 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:137)
>
> ... 17 more
>