Hi Claudio,
HK2 was upgraded to 0.3.5 recently and we will require this release
very soon... However, I think the error that you're seeing is related
to the JSP bundle (or maybe another one) looking for HK2 0.3.2. I
think your build correctly installed and built w/ 0.3.5, but downloaded
the JSP bundle which requires version 0.3.2. This prevents the web
module from starting.
To verify this, look at your
domains/domain1/.felix/gf/bundle65/bundle.location file. This will
tell you which .jar file requires HK2 0.3.2. You can then rebuild that
jar file, I had to do this for JSP, which involved checking out that
source code and doing mvn install (note: this required JDK 6):
% svn checkout
https://jsp.dev.java.net/svn/jsp/trunk jsp --username
username
% cd jsp
% mvn install
If it is another module, you can look into why its requiring version
0.3.2, ask if you have questions.
Good luck!
Ken Paulsen
Claudio Miranda wrote:
svn rev: 21146
mvn clean
svn -U -Dmaven.test.skip=true install
How to fix this one ?
SEVERE: Exception in command execution :
com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.admingui:console-plugin-service:1.0
com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.admingui:console-plugin-service:1.0
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:112)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.makeModuleFor(AbstractModulesRegistryImpl.java:238)
at com.sun.enterprise.v3.server.ApplicationLifecycle.createApplicationParentCL(ApplicationLifecycle.java:213)
.......
Caused by: org.osgi.framework.BundleException: Unresolved package in
bundle 65: module;
(&(bundle-symbolic-name=com.sun.enterprise.hk2)(bundle-version>=0.3.2)(bundle-version<=0.3.2))
at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)