[
https://jira.jboss.org/jira/browse/JBBOOT-19?page=com.atlassian.jira.plug...
]
Andrew Lee Rubinger resolved JBBOOT-19.
---------------------------------------
Fix Version/s: 1.0.0-Beta-3
Resolution: Done
ServerLoader causes deployment errors in AS
-------------------------------------------
Key: JBBOOT-19
URL:
https://jira.jboss.org/jira/browse/JBBOOT-19
Project: JBoss Bootstrap
Issue Type: Bug
Affects Versions: 1.0.0-Beta-2
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 1.0.0-Beta-3
jboss-bootstrap ServerLoader adds all under $JBOSS_HOME/lib to the boot CP, resulting in
extra scanning/deployment errors (below).
ServerLoader in AS presently takes advantage of an explicit boot set. Until all under
$JBOSS_HOME/lib may be loaded, switch up to the explicit boot set for AS.
Failed to boot JBoss:
java.lang.RuntimeException: Error creating annotation for
@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.system:service=ServiceBindingManager",
exposedInterface=org.jboss.services.binding.ServiceBindingManagerMBean.class,
registerDirectly=true)
at
org.jboss.beans.metadata.plugins.AbstractAnnotationMetaData.getAnnotationInstance(AbstractAnnotationMetaData.java:128)
at
org.jboss.beans.metadata.plugins.AbstractAnnotationMetaData.getAnnotationInstance(AbstractAnnotationMetaData.java:100)
at
org.jboss.deployers.plugins.managed.BeanMetaDataICF.getManagedObjectClass(BeanMetaDataICF.java:119)
at
org.jboss.deployers.plugins.managed.BeanMetaDataICF.getManagedObjectClass(BeanMetaDataICF.java:50)
at
org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:342)
at
org.jboss.managed.api.factory.ManagedObjectFactory.initManagedObject(ManagedObjectFactory.java:77)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:439)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:242)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:216)
at org.jboss.Main$1.run(Main.java:546)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException:
org.jboss.services.binding.ServiceBindingManagerMBean
at org.jboss.annotation.factory.AnnotationCreator.visit(AnnotationCreator.java:241)
at org.jboss.annotation.factory.ast.ASTIdentifier.jjtAccept(ASTIdentifier.java:37)
at org.jboss.annotation.factory.AnnotationCreator.visit(AnnotationCreator.java:116)
at
org.jboss.annotation.factory.ast.ASTMemberValuePair.jjtAccept(ASTMemberValuePair.java:37)
at
org.jboss.annotation.factory.AnnotationCreator.createAnnotation(AnnotationCreator.java:403)
at
org.jboss.annotation.factory.AnnotationCreator.createAnnotation(AnnotationCreator.java:449)
at
org.jboss.beans.metadata.plugins.AbstractAnnotationMetaData.getAnnotationInstance(AbstractAnnotationMetaData.java:119)
... 11 more
Caused by: java.lang.ClassNotFoundException:
org.jboss.services.binding.ServiceBindingManagerMBean
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:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.jboss.annotation.factory.AnnotationCreator.visit(AnnotationCreator.java:175)
... 17 mor
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira