dev@glassfish.java.net

Re: V3 server won't start: Failed to inject class com.sun.enterprise.v3.admin.AdminAdapter

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 10 Jun 2008 17:25:33 -0700

CORRECTION:

I think this is the correct fix, but a number of other modules are
also expressing the dependency as ${project.version}.

common/container-common/pom.xml should express its dependency on
org.glassfish.deployment.dol (deployment/dol) this way, given how
org.glassfish.deployment defines its version:

        <dependency>
            <groupId>org.glassfish.deployment</groupId>
            <artifactId>dol</artifactId>
            <version>10.0-SNAPSHOT</version>
        </dependency>

Maybe. I see a number of other modules that also use $
{project.version}. A 10.0.0-SNAPSHOT is getting involved, and not
matching up to the hard-coded 10.0-SNAPSHOT. Or maybe there's
something else, but I'm not an OSGI voodoo expert.

Lloyd


On Jun 10, 2008, at 5:01 PM, Lloyd L Chambers wrote:

> Here's the bug (I think):
>
> common/container-common/pom.xml has a dependency stated as follows:
>
> <dependency>
> <groupId>org.glassfish.deployment</groupId>
> <artifactId>dol</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> But org.glassfish.deployment.dol HARD CODES its version as "10.0-
> SNAPSHOT".
>
> So I think that common/container-common/pom.xml should declare its
> version as ${project.version}. I'll try this and see if it fixes
> the issue.
>
> Lloyd
>
> On Jun 10, 2008, at 4:56 PM, Lloyd L Chambers wrote:
>
>> What I see in deployment/dol/pom.xml is:
>> <version>10.0-SNAPSHOT</version>
>>
>> The stack trace complains of a different version number:
>> 10.0.0.SNAPSHOT (notice the extra "0.0" and "." instead of "-").
>>
>> SEVERE: Caused by: org.osgi.framework.BundleException: Unresolved
>> package in bundle 39: module; (&(bundle-symbolic-
>> name=org.glassfish.deployment.dol)(bundle-version>=10.0.0.SNAPSHOT)
>> (bundle-version<=10.0.0.SNAPSHOT))
>>
>> This must be the problem. What I'm not clear on is who is
>> referencing it.
>>
>> A symbolic name eg ${deployment.dol.version} ought to be used in
>> deployment/dol/pom.xml (I think).
>>
>> What I don't understand is who is depending on it; the stack trace
>> doesn't help; AdminConsoleAdapter is in core/kernel, but it's pom
>> doesn not depend on org.glassfish.deployment.dol. So why is
>> org.glassfish.deployment.dol being requested when
>> AdminConsoleAdapter is running?
>>
>> Lloyd
>>
>> On Jun 10, 2008, at 4:43 PM, Lloyd L Chambers wrote:
>>
>>> Bahkti,
>>>
>>> I rebuilt with JDK 1.5 and ran with JDK 1.5. Same problem.
>>> Yesterday I rebuilt several times with no problem.
>>>
>>> So something was whacked in the last 24 hours. I remain unable to
>>> work on V3, and I'm not sure how to debug this mystery.
>>>
>>> Lloyd
>>>
>>> On Jun 10, 2008, at 4:13 PM, Bhakti Mehta wrote:
>>>
>>>> Llyod,
>>>> http://kohsuke.sfbay/hudson/view/GFv3/job/glassfish-v3/4315/ passes
>>>> and its corresponding QL also pass. http://kohsuke.sfbay/hudson/job/v3-quicklook/5535/
>>>> The only difference I can think of in our environments is you are
>>>> using JDK 6 vs us building with 1.5.x(Not sure though if that
>>>> would make a difference )
>>>> Regards,
>>>> Bhakti
>>>>
>>>>
>>>> Lloyd L Chambers wrote:
>>>>> Marina,
>>>>>
>>>>> Thanks.
>>>>>
>>>>> I don't still know what to do though.
>>>>>
>>>>> Bhakti, is there some way to remove the
>>>>> org.glassfish.deployment.dol bundle at startup so I can isolate
>>>>> that as the problem?
>>>>>
>>>>> Lloyd
>>>>>
>>>>> On Jun 10, 2008, at 3:16 PM, Marina Vatkina wrote:
>>>>>
>>>>>> Lloyd, Bhakti,
>>>>>>
>>>>>> I'm not sure if this can help, but when I had the same error 3
>>>>>> months ago, the problem was a ref in the class that hk2 can't
>>>>>> instantiate (and as such can't inject) to a class in a non-OSGi
>>>>>> bundle.
>>>>>>
>>>>>> Regards,
>>>>>> -marina
>>>>>>
>>>>>> Lloyd L Chambers wrote:
>>>>>>> Bhakti,
>>>>>>> I wish you could too, because I am hosed, unable to run the
>>>>>>> server. :) Whatever changed changed between yesterday and
>>>>>>> today.
>>>>>>> This is on Mac OS X, JDK 1.6.
>>>>>>> I'm a bit confused about "10.0.0.SNAPSHOT" vs "10.0.0-
>>>>>>> SNAPSHOT" but maybe that's something normal.
>>>>>>> I've built everything on my machine (all modules).
>>>>>>> This is what my MANIFEST.MF looks like for container-
>>>>>>> common-10.0- SNAPSHOT.jar:
>>>>>>> Manifest-Version: 1.0
>>>>>>> Archiver-Version: Plexus Archiver
>>>>>>> Created-By: Apache Maven
>>>>>>> Built-By: lloyd
>>>>>>> Build-Jdk: 1.6.0_05
>>>>>>> Extension-Name: container-common
>>>>>>> Specification-Vendor: Sun Microsystems, Inc.
>>>>>>> Implementation-Vendor: Sun Microsystems, Inc.
>>>>>>> Implementation-Title: container-common
>>>>>>> Implementation-Version: 10.0-SNAPSHOT
>>>>>>> Bundle-Vendor: Sun Microsystems, Inc.
>>>>>>> Bundle-Name: Container Common
>>>>>>> HK2-Import-Bundles: org.glassfish:javax.javaee,
>>>>>>> com.sun.enterprise:hk2
>>>>>>> , org.glassfish.common:glassfish-naming,
>>>>>>> org.glassfish.common:glassfi
>>>>>>> sh-api, org.glassfish.common:internal-api,
>>>>>>> org.glassfish.transaction:
>>>>>>> transaction-internal-api, org.glassfish.connectors:connectors-
>>>>>>> interna
>>>>>>> l-api, org.glassfish.deployment:dol,
>>>>>>> org.glassfish.common:common-util
>>>>>>> , org.glassfish.admin:config-api,
>>>>>>> org.glassfish.security:realms, org.
>>>>>>> glassfish.external:grizzly-module,
>>>>>>> org.glassfish.external:grizzly-opt
>>>>>>> ionals
>>>>>>> Bundle-SymbolicName: org.glassfish.common.container-common
>>>>>>> HK2-Bundle-Name: org.glassfish.common:container-common
>>>>>>> Export-Package:
>>>>>>> com.sun.appserv.security.provider,com.sun.enterprise.c
>>>>>>> ontainer
>>>>>>> .common,com.sun.enterprise.container.common.impl,com.sun.ente
>>>>>>> rprise
>>>>>>> .container.common.impl.util,com.sun.enterprise.container.common
>>>>>>> .spi
>>>>>>> ,com
>>>>>>> .sun.enterprise.container.common.spi.util,com.sun.enterprise.
>>>>>>> deployment
>>>>>>> .backend,org.glassfish.javaee.admin,org.glassfish.javaee.co
>>>>>>> re.deployment,org.glassfish.javaee.services
>>>>>>> Require-Bundle: org.glassfish.javax.javaee;bundle-
>>>>>>> version="[10.0.0.SNA
>>>>>>> PSHOT,
>>>>>>> 10.0.0.SNAPSHOT]";resolution:=mandatory;visibility:=private,co
>>>>>>> m.sun.enterprise.hk2;bundle-version="[0.3.2,
>>>>>>> 0.3.2]";resolution:=mand
>>>>>>> atory;visibility:=private,org.glassfish.common.glassfish-
>>>>>>> naming;bundl
>>>>>>> e-version="[10.0.0.SNAPSHOT,
>>>>>>> 10.0.0.SNAPSHOT]";resolution:=mandatory;
>>>>>>> visibility:=private,org.glassfish.common.glassfish-api;bundle-
>>>>>>> version
>>>>>>> ="[10.0.0.rev3,
>>>>>>> 10.0.0.rev3]";resolution:=mandatory;visibility:=priva
>>>>>>> te,org.glassfish.common.internal-api;bundle-
>>>>>>> version="[10.0.0.SNAPSHOT
>>>>>>> ,
>>>>>>> 10.0.0
>>>>>>> .SNAPSHOT]";resolution:=mandatory;visibility:=private,org.gla
>>>>>>> ssfish.transaction.transaction-internal-api;bundle-
>>>>>>> version="[10.0.0.S
>>>>>>> NAPSHOT,
>>>>>>> 10.0.0.SNAPSHOT]";resolution:=mandatory;visibility:=private,
>>>>>>> org.glassfish.connectors.connectors-internal-api;bundle-
>>>>>>> version="[10.
>>>>>>> 0.0.SNAPSHOT,
>>>>>>> 10.0.0.SNAPSHOT]";resolution:=mandatory;visibility:=pri
>>>>>>> vate,org.glassfish.deployment.dol;bundle-
>>>>>>> version="[10.0.0.SNAPSHOT, 1
>>>>>>> 0.0.0
>>>>>>> .SNAPSHOT]";resolution:=mandatory;visibility:=private,org.glassf
>>>>>>> ish.common.common-util;bundle-version="[10.0.0.SNAPSHOT,
>>>>>>> 10.0.0.SNAPS
>>>>>>> HOT
>>>>>>> ]";resolution
>>>>>>> :=mandatory;visibility:=private,org.glassfish.admin.c
>>>>>>> onfig-api;bundle-version="[10.0.0.SNAPSHOT,
>>>>>>> 10.0.0.SNAPSHOT]";resolut
>>>>>>> ion
>>>>>>> :=
>>>>>>> mandatory;visibility:=private,org.glassfish.security.realms;bund
>>>>>>> le-version="[10.0.0.SNAPSHOT,
>>>>>>> 10.0.0.SNAPSHOT]";resolution:=mandatory
>>>>>>> ;visibility:=private,org.glassfish.external.grizzly-
>>>>>>> module;bundle-ver
>>>>>>> sion="[1.7.3.rev1,
>>>>>>> 1.7.3.rev1]";resolution:=mandatory;visibility:=pri
>>>>>>> vate,org.glassfish.external.grizzly-optionals;bundle-
>>>>>>> version="[1.7.3.
>>>>>>> rev1, 1.7.3.rev1]";resolution:=mandatory;visibility:=private
>>>>>>> Bundle-Version: 10.0.0.SNAPSHOT
>>>>>>> Bundle-ManifestVersion: 2
>>>>>>> This is MANIFEST.MF for dol-10.0-SNAPSHOT.jar:
>>>>>>> Manifest-Version: 1.0
>>>>>>> Archiver-Version: Plexus Archiver
>>>>>>> Created-By: Apache Maven
>>>>>>> Built-By: lloyd
>>>>>>> Build-Jdk: 1.6.0_05
>>>>>>> Extension-Name: dol
>>>>>>> Specification-Vendor: Sun Microsystems, Inc.
>>>>>>> Implementation-Vendor: Sun Microsystems, Inc.
>>>>>>> Implementation-Title: dol
>>>>>>> Implementation-Version: 10.0-SNAPSHOT
>>>>>>> Bundle-Vendor: Sun Microsystems, Inc.
>>>>>>> Bundle-Name: Deployment Object Library
>>>>>>> HK2-Import-Bundles: com.sun.enterprise:hk2,
>>>>>>> org.glassfish:javax.javaee
>>>>>>> , org.glassfish.common:common-util,
>>>>>>> org.glassfish.common:glassfish-ap
>>>>>>> i, org.glassfish.common:annotation-framework
>>>>>>> Bundle-SymbolicName: org.glassfish.common.dol
>>>>>>> HK2-Bundle-Name: org.glassfish.common:dol
>>>>>>> Export-Package:
>>>>>>> com.sun.enterprise.deployment,com.sun.enterprise.deplo
>>>>>>> yment
>>>>>>> .annotation.context,com.sun.enterprise.deployment.annotation.fac
>>>>>>> tory
>>>>>>> ,com
>>>>>>> .sun.enterprise.deployment.annotation.handlers,com.sun.enterp
>>>>>>> rise
>>>>>>> .deployment
>>>>>>> .annotation.impl,com.sun.enterprise.deployment.annotat
>>>>>>> ion
>>>>>>> .introspection
>>>>>>> ,com.sun.enterprise.deployment.archivist,com.sun.ent
>>>>>>> erprise
>>>>>>> .deployment.deploy.spi,com.sun.enterprise.deployment.interface
>>>>>>> s
>>>>>>> ,com
>>>>>>> .sun.enterprise.deployment.io,com.sun.enterprise.deployment.io.r
>>>>>>> untime
>>>>>>> ,com.sun.enterprise.deployment.node,com.sun.enterprise.deployme
>>>>>>> nt
>>>>>>> .node
>>>>>>> .appclient,com.sun.enterprise.deployment.node.connector,com.su
>>>>>>> n
>>>>>>> .enterprise
>>>>>>> .deployment.node.ejb,com.sun.enterprise.deployment.node.r
>>>>>>> untime
>>>>>>> ,com.sun.enterprise.deployment.node.runtime.application,com.sun
>>>>>>> .enterprise
>>>>>>> .deployment.node.runtime.common,com.sun.enterprise.deploym
>>>>>>> ent
>>>>>>> .node
>>>>>>> .runtime.connector,com.sun.enterprise.deployment.node.runtime
>>>>>>> .web
>>>>>>> ,com
>>>>>>> .sun.enterprise.deployment.node.web,com.sun.enterprise.deploy
>>>>>>> ment
>>>>>>> .runtime
>>>>>>> ,com.sun.enterprise.deployment.runtime.common,com.sun.ent
>>>>>>> erprise
>>>>>>> .deployment.runtime.connector,com.sun.enterprise.deployment.ru
>>>>>>> ntime
>>>>>>> .web,com.sun.enterprise.deployment.types,com.sun.enterprise.depl
>>>>>>> oyment
>>>>>>> .util,com.sun.enterprise.deployment.util.logging,com.sun.enterp
>>>>>>> rise
>>>>>>> .deployment
>>>>>>> .util.webservice,com.sun.enterprise.deployment.web,com
>>>>>>> .sun.enterprise.deployment.xml,com.sun.enterprise.repository
>>>>>>> Require-Bundle: com.sun.enterprise.hk2;bundle-version="[0.3.2,
>>>>>>> 0.3.2]"
>>>>>>> ;resolution
>>>>>>> :=mandatory;visibility:=private,org.glassfish.javax.javaee
>>>>>>> ;bundle-version="[10.0.0.SNAPSHOT,
>>>>>>> 10.0.0.SNAPSHOT]";resolution:=mand
>>>>>>> atory;visibility:=private,org.glassfish.common.common-
>>>>>>> util;bundle-ver
>>>>>>> sion="[10.0.0.SNAPSHOT,
>>>>>>> 10.0.0.SNAPSHOT]";resolution:=mandatory;visib
>>>>>>> ility:=private,org.glassfish.common.glassfish-api;bundle-
>>>>>>> version="[10
>>>>>>> .0.0.rev2,
>>>>>>> 10.0.0.rev2]";resolution:=mandatory;visibility:=private,or
>>>>>>> g.glassfish.common.annotation-framework;bundle-
>>>>>>> version="[10.0.0.SNAPS
>>>>>>> HOT, 10.0.0.SNAPSHOT]";resolution:=mandatory;visibility:=private
>>>>>>> Bundle-Version: 10.0.0.SNAPSHOT
>>>>>>> Bundle-ManifestVersion: 2
>>>>>>> Lloyd
>>>>>>> On Jun 10, 2008, at 1:36 PM, Bhakti Mehta wrote:
>>>>>>>> Lloyd,
>>>>>>>> I really wished I could reproduce this so I could learn more.
>>>>>>>> I have the latest svn updates and mvn -U install is done
>>>>>>>> (did not clean but lets confirm the following first else I
>>>>>>>> can try that too). I can start glassfish without issues.[1]
>>>>>>>>
>>>>>>>> I looked at the MANIFEST.MF of container-common-10.0-
>>>>>>>> SNAPSHOT.jar and see the following in Require-Bundle
>>>>>>>> Require-Bundle: org.glassfish.deployment.dol;bundle-
>>>>>>>> version="[10.0.0.S
>>>>>>>> NAPSHOT,
>>>>>>>> 10.0.0.SNAPSHOT]";resolution:=mandatory;visibility:=private,
>>>>>>>> org.glassfish.security.realms;bundle-
>>>>>>>> version="[10.0.0.SNAPSHOT, 10.0.
>>>>>>>> 0
>>>>>>>> .SNAPSHOT
>>>>>>>> ]";resolution:=mandatory;visibility:=private,org.glassfish.
>>>>>>>> transaction.transaction-internal-api;bundle-
>>>>>>>> version="[10.0.0.SNAPSHOT
>>>>>>>> ,
>>>>>>>> 10.0.0
>>>>>>>> .SNAPSHOT]";resolution:=mandatory;visibility:=private,org.gla
>>>>>>>> ssfish.external.grizzly-module;bundle-version="[1.7.3.rev1,
>>>>>>>> 1.7.3.rev
>>>>>>>> 1
>>>>>>>> ]";resolution
>>>>>>>> :=mandatory;visibility:=private,org.glassfish.common.co
>>>>>>>> mmon-util;bundle-version="[10.0.0.SNAPSHOT,
>>>>>>>> 10.0.0.SNAPSHOT]";resolut.....
>>>>>>>>
>>>>>>>> Also the MANIFEST.MF of dol-10.0-SNAPSHOT.jar shows the
>>>>>>>> version of 10.0-SNAPSHOT
>>>>>>>>
>>>>>>>> Is there something different for you in these 2.
>>>>>>>> Is someone else facing similar issues?
>>>>>>>> Regards,
>>>>>>>> Bhakti
>>>>>>>>
>>>>>>>> [1]Welcome to Felix.
>>>>>>>> =================
>>>>>>>>
>>>>>>>> Jun 10, 2008 1:34:56 PM HK2Main start
>>>>>>>> INFO: contextRootDir = C:\buildtask\v3\distributions\web
>>>>>>>> \target \glassfish\module
>>>>>>>> s
>>>>>>>> Jun 10, 2008 1:34:56 PM OSGiFactoryImpl initialize
>>>>>>>> INFO: Singleton already initialized as
>>>>>>>> com.sun.enterprise.module.impl.HK2Factory
>>>>>>>> @73a34b
>>>>>>>> Jun 10, 2008 1:34:56 PM OSGiModuleImpl loadClass
>>>>>>>> INFO: Started bundle org.glassfish.core.kernel [16]
>>>>>>>> Jun 10, 2008 1:34:56 PM OSGiModuleImpl loadClass
>>>>>>>> INFO: Started bundle org.glassfish.common.glassfish-
>>>>>>>> mbeanserver [43]
>>>>>>>> Jun 10, 2008 1:34:56 PM OSGiModuleImpl loadClass
>>>>>>>> INFO: Started bundle org.glassfish.common.glassfish-naming [44]
>>>>>>>> Jun 10, 2008 1:34:56 PM OSGiModuleImpl loadClass
>>>>>>>> INFO: Started bundle org.glassfish.admin.config-api [47]
>>>>>>>> Jun 10, 2008 1:34:56 PM OSGiModuleImpl loadClass
>>>>>>>> INFO: Started bundle org.glassfish.common.internal-api [32]
>>>>>>>> Jun 10, 2008 1:34:57 PM OSGiModuleImpl loadClass
>>>>>>>> INFO: Started bundle org.glassfish.common.common-util [31]
>>>>>>>> Jun 10, 2008 1:34:57 PM
>>>>>>>> INFO: JMXMP connector server URL = service:jmx:jmxmp://
>>>>>>>> localhost:8888
>>>>>>>> Jun 10, 2008 1:34:57 PM
>>>>>>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
>>>>>>>> INFO: Listening on port 8080
>>>>>>>> Jun 10, 2008 1:34:57 PM
>>>>>>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
>>>>>>>> INFO: Listening on port 8181
>>>>>>>> Jun 10, 2008 1:34:57 PM
>>>>>>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
>>>>>>>> INFO: Listening on port 4848
>>>>>>>> Jun 10, 2008 1:34:57 PM OSGiModuleImpl loadClass
>>>>>>>> INFO: Started bundle org.glassfish.common.container-common [38]
>>>>>>>> Jun 10, 2008 1:34:57 PM
>>>>>>>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter
>>>>>>>> setContextRoot
>>>>>>>> INFO: Admin Console Adapter: context root: /admin
>>>>>>>> Jun 10, 2008 1:34:57 PM
>>>>>>>> com.sun.enterprise.v3.server.AppServerStartup run
>>>>>>>> INFO: Glassfish v3 started in 1359 ms
>>>>>>>> Jun 10, 2008 1:34:57 PM
>>>>>>>> com.sun.enterprise.glassfish.bootstrap.ASMainFelix launc
>>>>>>>> hOSGiFW
>>>>>>>> INFO: Framework successfully started
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Lloyd L Chambers wrote:
>>>>>>>>
>>>>>>>>> Seems like this is caused by a problem with
>>>>>>>>> org.glassfish.deployment.dol?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Jun 10, 2008, at 12:59 PM, Lloyd L Chambers wrote:
>>>>>>>>>
>>>>>>>>>> This is a brand-new fresh 'svn update', 'mvn clean', 'mvn -
>>>>>>>>>> U install'. It worked yesterday.
>>>>>>>>>>
>>>>>>>>>> Lloyd
>>>>>>>>>>
>>>>>>>>>> Jun 10, 2008 12:58:04 PM
>>>>>>>>>> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>>>>>>>>>> INFO: JVM invocation command line:
>>>>>>>>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/
>>>>>>>>>> Home/ bin/java
>>>>>>>>>> -cp
>>>>>>>>>> /v3/run/modules/glassfish-10.0-SNAPSHOT-sources.jar:/v3/
>>>>>>>>>> run/ modules/glassfish-10.0-SNAPSHOT.jar
>>>>>>>>>> -XX:+UnlockDiagnosticVMOptions
>>>>>>>>>> -XX:NewRatio=2
>>>>>>>>>> -XX:+LogVMOutput
>>>>>>>>>> -XX:LogFile=/v3/run/domains/domain1/logs/jvm.log
>>>>>>>>>> -Xmx512m
>>>>>>>>>> -client
>>>>>>>>>> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
>>>>>>>>>> -Djavax.net.ssl.trustStore=/v3/run/domains/domain1/config/
>>>>>>>>>> cacerts.jks
>>>>>>>>>> -Dsun.rmi.dgc.client.gcInterval=3600000
>>>>>>>>>> -Djavax.net.ssl.keyStore=/v3/run/domains/domain1/config/
>>>>>>>>>> keystore.jks
>>>>>>>>>> -Djava.security.policy=/v3/run/domains/domain1/config/
>>>>>>>>>> server.policy
>>>>>>>>>> -Dsun.rmi.dgc.server.gcInterval=3600000
>>>>>>>>>> -
>>>>>>>>>> Dcom
>>>>>>>>>> .sun .enterprise .config .config_environment_factory_class
>>>>>>>>>> =
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .enterprise
>>>>>>>>>> .config.serverbeans.AppserverConfigEnvironmentFactory
>>>>>>>>>> -Djava.security.auth.login.config=/v3/run/domains/domain1/
>>>>>>>>>> config/ login.conf
>>>>>>>>>> -Djava.endorsed.dirs=/v3/run/lib/endorsed
>>>>>>>>>> -Djava.ext.dirs=/System/Library/Frameworks/
>>>>>>>>>> JavaVM.framework/ Versions/1.6.0/Home/lib/ext:/System/
>>>>>>>>>> Library/Frameworks/ JavaVM.framework/Versions/1.6.0/Home/
>>>>>>>>>> jre/lib/ext:/v3/run/domains/ domain1/lib/ext:/v3/run/javadb/
>>>>>>>>>> lib
>>>>>>>>>> com.sun.enterprise.glassfish.bootstrap.ASMain
>>>>>>>>>> -domainname
>>>>>>>>>> domain1
>>>>>>>>>> -instancename
>>>>>>>>>> server
>>>>>>>>>> -verbose
>>>>>>>>>> true
>>>>>>>>>> -debug
>>>>>>>>>> false
>>>>>>>>>> -domaindir
>>>>>>>>>> /v3/run/domains/domain1
>>>>>>>>>> Jun 10, 2008 12:58:04 PM
>>>>>>>>>> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>>>>>>>>>> INFO: Successfully launched in 165 msec.
>>>>>>>>>> Jun 10, 2008 12:58:04 PM
>>>>>>>>>> com.sun.enterprise.glassfish.bootstrap.ASMain main
>>>>>>>>>> INFO: Launching GlassFish on Apache Felix OSGi platform
>>>>>>>>>> Jun 10, 2008 12:58:04 PM
>>>>>>>>>> com.sun.enterprise.glassfish.bootstrap.ASMainOSGi
>>>>>>>>>> getSharedRepos
>>>>>>>>>> INFO: /v3/run/domains/domain1/lib does not exist
>>>>>>>>>>
>>>>>>>>>> Welcome to Felix.
>>>>>>>>>> =================
>>>>>>>>>>
>>>>>>>>>> Jun 10, 2008 12:58:04 PM HK2Main start
>>>>>>>>>> INFO: contextRootDir = /v3/run/modules
>>>>>>>>>> Jun 10, 2008 12:58:04 PM OSGiFactoryImpl initialize
>>>>>>>>>> INFO: Singleton already initialized as
>>>>>>>>>> com.sun.enterprise.module.impl.HK2Factory_at_5edd7658
>>>>>>>>>> Jun 10, 2008 12:58:06 PM OSGiModuleImpl loadClass
>>>>>>>>>> INFO: Started bundle org.glassfish.common.glassfish-
>>>>>>>>>> mbeanserver [16]
>>>>>>>>>> Jun 10, 2008 12:58:06 PM OSGiModuleImpl loadClass
>>>>>>>>>> INFO: Started bundle org.glassfish.core.kernel [49]
>>>>>>>>>> Jun 10, 2008 12:58:06 PM OSGiModuleImpl loadClass
>>>>>>>>>> INFO: Started bundle org.glassfish.common.glassfish-naming
>>>>>>>>>> [6]
>>>>>>>>>> Jun 10, 2008 12:58:06 PM OSGiModuleImpl loadClass
>>>>>>>>>> INFO: Started bundle org.glassfish.admin.config-api [41]
>>>>>>>>>> Jun 10, 2008 12:58:06 PM OSGiModuleImpl loadClass
>>>>>>>>>> INFO: Started bundle org.glassfish.common.internal-api [31]
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> INFO: JMXMP connector server URL = service:jmx:jmxmp://
>>>>>>>>>> localhost: 8888
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
>>>>>>>>>> INFO: Listening on port 8080
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
>>>>>>>>>> INFO: Listening on port 8181
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
>>>>>>>>>> INFO: Listening on port 4848
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> INFO: ERROR: Error starting file:/v3/run//modules/osgi-
>>>>>>>>>> adapter-0.3.2.jar (org.osgi.framework.BundleException:
>>>>>>>>>> Activator start error.)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: java.lang.LinkageError: Failed to inject class
>>>>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter from 49.0
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org
>>>>>>>>>> .jvnet
>>>>>>>>>> .hk2
>>>>>>>>>> .component.InjectionManager.inject(InjectionManager.java:
>>>>>>>>>> 156)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component.AbstractWombImpl.inject(AbstractWombImpl.java:
>>>>>>>>>> 100)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component.ConstructorWomb.initialize(ConstructorWomb.java:
>>>>>>>>>> 86)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component.SingletonInhabitant.get(SingletonInhabitant.java:
>>>>>>>>>> 58)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:
>>>>>>>>>> 107)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component
>>>>>>>>>> .AbstractInhabitantImpl.get(AbstractInhabitantImpl.java: 60)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at org.jvnet.hk2.component.Habitat
>>>>>>>>>> $1.get(Habitat.java: 229)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at java.util.AbstractList
>>>>>>>>>> $Itr.next(AbstractList.java: 345)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .enterprise
>>>>>>>>>> .v3
>>>>>>>>>> .services
>>>>>>>>>> .impl.GrizzlyService.postConstruct(GrizzlyService.java: 116)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component.AbstractWombImpl.inject(AbstractWombImpl.java:
>>>>>>>>>> 150)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component.ConstructorWomb.initialize(ConstructorWomb.java:
>>>>>>>>>> 86)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component.SingletonInhabitant.get(SingletonInhabitant.java:
>>>>>>>>>> 58)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:
>>>>>>>>>> 107)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component
>>>>>>>>>> .AbstractInhabitantImpl.get(AbstractInhabitantImpl.java: 60)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .enterprise
>>>>>>>>>> .v3.server.AppServerStartup.run(AppServerStartup.java: 123)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:
>>>>>>>>>> 431)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:
>>>>>>>>>> 376)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:116)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org
>>>>>>>>>> .apache
>>>>>>>>>> .felix
>>>>>>>>>> .framework
>>>>>>>>>> .util.SecureAction.startActivator(SecureAction.java:591)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org.apache.felix.framework.Felix._startBundle(Felix.java:
>>>>>>>>>> 1610)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org
>>>>>>>>>> .apache
>>>>>>>>>> .felix.framework.Felix.setFrameworkStartLevel(Felix.java:
>>>>>>>>>> 1125)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org
>>>>>>>>>> .apache
>>>>>>>>>> .felix.framework.StartLevelImpl.run(StartLevelImpl.java: 258)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at java.lang.Thread.run(Thread.java:637)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: Caused by: com.sun.enterprise.module.ResolveError:
>>>>>>>>>> Failed to start org.glassfish.common:container-common:1.0
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org
>>>>>>>>>> .jvnet
>>>>>>>>>> .hk2
>>>>>>>>>> .osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java: 112)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org
>>>>>>>>>> .jvnet
>>>>>>>>>> .hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
>>>>>>>>>> 121)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at org.jvnet.hk2.osgiadapter.OSGiModuleImpl
>>>>>>>>>> $1$1.loadClass(OSGiModuleImpl.java:256)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:
>>>>>>>>>> 91)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:
>>>>>>>>>> 106)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .hk2
>>>>>>>>>> .component
>>>>>>>>>> .AbstractInhabitantImpl.get(AbstractInhabitantImpl.java: 60)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:
>>>>>>>>>> 312)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at com.sun.hk2.component.AbstractWombImpl
>>>>>>>>>> $1.getValue(AbstractWombImpl.java:122)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org
>>>>>>>>>> .jvnet
>>>>>>>>>> .hk2
>>>>>>>>>> .component.InjectionManager.inject(InjectionManager.java: 79)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: ... 25 more
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: Caused by: org.osgi.framework.BundleException:
>>>>>>>>>> Unresolved package in bundle 19: module; (&(bundle-
>>>>>>>>>> symbolic- name=org.glassfish.deployment.dol)(bundle-
>>>>>>>>>> version>=10.0.0.SNAPSHOT) (bundle-version<=10.0.0.SNAPSHOT))
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org.apache.felix.framework.Felix._resolveBundle(Felix.java:
>>>>>>>>>> 1728)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org.apache.felix.framework.Felix._startBundle(Felix.java:
>>>>>>>>>> 1591)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:
>>>>>>>>>> 371)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: at
>>>>>>>>>> org
>>>>>>>>>> .jvnet
>>>>>>>>>> .hk2
>>>>>>>>>> .osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java: 109)
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> SEVERE: ... 33 more
>>>>>>>>>> Jun 10, 2008 12:58:06 PM
>>>>>>>>>> com.sun.enterprise.glassfish.bootstrap.ASMainFelix
>>>>>>>>>> launchOSGiFW
>>>>>>>>>> INFO: Framework successfully started
>>>>>>>>>>
>>>>>>>>>> ---
>>>>>>>>>> Lloyd L Chambers
>>>>>>>>>> lloyd.chambers_at_sun.com
>>>>>>>>>> Sun Microsystems, Inc
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---
>>>>>>>>> Lloyd L Chambers
>>>>>>>>> lloyd.chambers_at_sun.com
>>>>>>>>> Sun Microsystems, Inc
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: dev-
>>>>>>>> help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>> ---
>>>>>>> Lloyd L Chambers
>>>>>>> lloyd.chambers_at_sun.com
>>>>>>> Sun Microsystems, Inc
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>> ---
>>>>> Lloyd L Chambers
>>>>> lloyd.chambers_at_sun.com
>>>>> Sun Microsystems, Inc
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---
>>> Lloyd L Chambers
>>> lloyd.chambers_at_sun.com
>>> Sun Microsystems, Inc
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---
>> Lloyd L Chambers
>> lloyd.chambers_at_sun.com
>> Sun Microsystems, Inc
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc