I had been building over in common/amx-impl, then I did a 'clean' of
admin/config-api and tried to rebuild...I have no idea what this
complaint is about.
I don't understand the "secret sauce" going on here...
---------------
MB2:admin lloyd$ inst
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] GlassFish Administration related modules
[INFO] Administration Configuration APIs
[INFO] Admin Utilities classes
[INFO] Appserver Monitoring Infrastructure
[INFO] Admin Core classes
[INFO] CLI Framework
[INFO] Admin CLI for v3
[INFO] JMX Remote Service
[INFO] JMX Remote Service Commons
[INFO] JMX Remote Service Client
[INFO] JMX Remote Service Server
[INFO] Backup Restore classes
[INFO]
----------------------------------------------------------------------------
[INFO] Building GlassFish Administration related modules
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /v3/code/admin/pom.xml to /v3/repo/org/glassfish/
admin/admin/10.0-SNAPSHOT/admin-10.0-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building Administration Configuration APIs
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [hk2:hk2-compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: /v3/code/admin/config-api/target/
surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.sun.enterprise.configapi.tests.PersistenceTest
org.jvnet.hk2.component.ComponentException: Failed to load
com.sun.enterprise.config.serverbeans.PropertyInjector from
com.sun.enterprise.configapi.tests.Utils$1_at_eeba19
at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:70)
at
com
.sun
.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:
19)
at org.jvnet.hk2.config.ConfigModel$1.get(ConfigModel.java:68)
at org.jvnet.hk2.config.ConfigModel$1.get(ConfigModel.java:67)
at org.jvnet.hk2.config.Dom.getProxyType(Dom.java:660)
at
org
.glassfish
.config
.support
.GlassFishConfigBean.initializationCompleted(GlassFishConfigBean.java:
100)
at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:
156)
at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:
136)
at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:
90)
at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:
129)
at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:
136)
at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:
90)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:49)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:63)
at com.sun.enterprise.configapi.tests.Utils$2.run(Utils.java:106)
at com.sun.enterprise.configapi.tests.Utils.getHabitat(Utils.java:100)
at
com
.sun
.enterprise
.configapi.tests.ConfigApiTest.getHabitat(ConfigApiTest.java:70)
at
com
.sun
.enterprise
.configapi.tests.PersistenceTest.testWriting(PersistenceTest.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org
.junit
.internal
.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
at
org
.junit
.internal
.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
at
org
.junit
.internal
.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at
org
.junit
.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
at
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:
45)
at
org
.junit
.internal
.runners
.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
at
org
.junit
.internal
.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
at org.junit.internal.runners.TestClassRunner
$1.runUnprotected(TestClassRunner.java:42)
at
org
.junit
.internal
.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at
org
.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
62)
at
org
.apache
.maven
.surefire
.suite
.AbstractDirectoryTestSuite
.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org
.apache
.maven
.surefire
.suite
.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org
.apache
.maven
.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:
338)
at
org
.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
997)
Caused by: java.lang.ClassNotFoundException:
com.sun.enterprise.config.serverbeans.PropertyInjector
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:55)
... 42 more
---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc