[webbeans-issues] [JBoss JIRA] Commented: (WBRI-86) Add metadata defaults deployers

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jan 5 13:40:04 EST 2009


    [ https://jira.jboss.org/jira/browse/WBRI-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12444580#action_12444580 ] 

Pete Muir commented on WBRI-86:
-------------------------------

I get 

18:34:18,307 WARN  [AbstractKernelController] Broken callback: ClassSingleCallbackItem at d5e01d{name=interface org.jboss.deployers.spi.deployer.Deployer whenRequired=ControllerState at 1f741a{Installed} dependentState=ControllerState at 1f741a{Installed} attributeName=addDeployer owner=AbstractKernelControllerContext at ef1aa4{ metadata=AbstractBeanMetaData at d3fae4{name=Deployers bean=org.jboss.deployers.plugins.deployers.DeployersImpl properties=[mgtObjectCreator] classLoader=AbstractClassLoaderMetaData at 27ad0d{classloader=AbstractDependencyValueMetaData at 5465c{value=deployers-classloader:0.0.0}} constructor=AbstractConstructorMetaData at f56e09{parameters=[null]} autowireCandidate=true annotations=[AbstractAnnotationMetaData at dde075{expr={registerDirectly=true, exposedInterface=interface org.jboss.deployers.plugins.deployers.DeployersImplMBean, name=jboss.deployment:service=DeployersImpl}}] installCallbacks=[method=addDeployer] uninstallCallbacks=[method=removeDeployer]}name=Deployers target=org.jboss.deployers.plugins.deployers.DeployersImpl at 91315a state=Installed depends=AbstractDependencyInfo at 2c25e5{idependOn=[AbstractDependencyItem at a13207{name=Deployers dependsOn=jboss.kernel:service=KernelController whenRequired=Instantiated resolved=true}, AbstractDependencyItem at be3008{name=Deployers dependsOn=deployers-classloader:0.0.0 whenRequired=PreInstall resolved=true}, AbstractDependencyItem at 1548ee{name=Deployers dependsOn=ManagedObjectCreator whenRequired=Configured resolved=true}, AbstractDependencyItem at db74a9{name=Deployers dependsOn=JMXCreateDestroyAdvice whenRequired=Instantiated dependentState=Installed resolved=true}, AbstractDependencyItem at c8084d{name=Deployers dependsOn=JMXRegistrationAdvice whenRequired=Instantiated dependentState=Installed resolved=true}, AbstractDependencyItem at 990b1f{name=Deployers dependsOn=JMXStartStopAdvice whenRequired=Instantiated dependentState=Installed resolved=true}] unresolved=[AbstractDependencyItem at a13207{name=Deployers dependsOn=jboss.kernel:service=KernelController whenRequired=Instantiated resolved=true}, AbstractDependencyItem at be3008{name=Deployers dependsOn=deployers-classloader:0.0.0 whenRequired=PreInstall resolved=true}, AbstractDependencyItem at 1548ee{name=Deployers dependsOn=ManagedObjectCreator whenRequired=Configured resolved=true}, AbstractDependencyItem at db74a9{name=Deployers dependsOn=JMXCreateDestroyAdvice whenRequired=Instantiated dependentState=Installed resolved=true}, AbstractDependencyItem at c8084d{name=Deployers dependsOn=JMXRegistrationAdvice whenRequired=Instantiated dependentState=Installed resolved=true}, AbstractDependencyItem at 990b1f{name=Deployers dependsOn=JMXStartStopAdvice whenRequired=Instantiated dependentState=Installed resolved=true}]}} signature=org.jboss.deployers.spi.deployer.Deployer}
java.lang.IllegalStateException: Cannot add org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostWebMetadataDeployer at e8ed94 it will cause a loop
org.jboss.deployment.LegacyWebXmlLessDeployer at bc7316{inputs=[org.jboss.metadata.web.spec.WebMetaData, org.jboss.metadata.web.jboss.JBossWebMetaData] outputs=[org.jboss.metadata.web.jboss.JBossWebMetaData]}
org.jboss.resource.deployers.ManagedConnectionFactoryClassLoaderDeployer at 6e21b4{inputs=[org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup] outputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]}
org.jboss.system.deployers.ServiceClassLoaderDeployer at 36c0ec{inputs=[org.jboss.system.metadata.ServiceDeployment] outputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]}
org.jboss.web.tomcat.service.deployers.ClusteringDefaultsDeployer at 69f0af{inputs=[org.jboss.metadata.web.jboss.JBossWebMetaData] outputs=[org.jboss.metadata.web.jboss.JBossWebMetaData]}
org.jboss.web.tomcat.service.deployers.WarClassLoaderDeployer at 8423ec{inputs=[org.jboss.metadata.web.jboss.JBossWebMetaData, org.jboss.classloading.spi.metadata.ClassLoadingMetaData] outputs=[org.jboss.classloading.spi.metadata.ClassLoadingMetaData]}
org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostEjbJarMetadataDeployer at b2e035{inputs=[org.jboss.metadata.ejb.spec.EjbJarMetaData] outputs=[org.jboss.metadata.ejb.spec.EjbJarMetaData]}
org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostJBossWebMetadataDeployer at bcf36c{inputs=[org.jboss.metadata.web.jboss.JBossWebMetaData, org.jboss.classloading.spi.metadata.ClassLoadingMetaData] outputs=[org.jboss.metadata.web.jboss.JBossWebMetaData, org.jboss.classloading.spi.metadata.ClassLoadingMetaData]}
org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostWebMetadataDeployer at e8ed94{inputs=[org.jboss.metadata.web.jboss.JBossWebMetaData] outputs=[org.jboss.metadata.web.jboss.JBossWebMetaData]}

	at org.jboss.deployers.plugins.sort.DominoOrdering.throwCycleException(DominoOrdering.java:191)
	at org.jboss.deployers.plugins.sort.DominoOrdering.orderDominoes(DominoOrdering.java:100)
	at org.jboss.deployers.plugins.sort.DominoDeployerSorter.sortDeployers(DominoDeployerSorter.java:46)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.insert(DeployersImpl.java:1530)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.addDeployer(DeployersImpl.java:270)
	at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
	at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
	at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)
	at org.jboss.dependency.plugins.SingleCallbackItem.changeCallback(SingleCallbackItem.java:67)
	at org.jboss.dependency.plugins.AbstractCallbackItem.changeCallback(AbstractCallbackItem.java:79)
	at org.jboss.dependency.plugins.OwnerCallbackItem.changeCallback(OwnerCallbackItem.java:88)
	at org.jboss.dependency.plugins.AbstractController.resolveCallbacks(AbstractController.java:1468)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:944)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
	at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:297)
	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
	at org.jboss.Main.boot(Main.java:209)
	at org.jboss.Main$1.run(Main.java:547)
	at java.lang.Thread.run(Thread.java:613)

for

<!--
    Web Beans RI + JBossAS integration
-->
<deployment xmlns="urn:jboss:bean-deployer:2.0">

  <!-- Web Beans deployers -->
  
  <!-- Responsible for discovering Web Bean classes -->
  <bean name="WebBeansDiscoveryDeployer" class="org.jboss.webbeans.integration.microcontainer.deployer.env.WebBeanDiscoveryDeployer"/>
  
  <!-- Responsible for pushing the Web Beans RI onto the application classpath -->
  <bean name="WebBeansWebUrlInteegrationDeployer" class="org.jboss.webbeans.integration.microcontainer.deployer.cl.WebBeansWebUrlIntegrationDeployer"/>
  
  <!-- Responsible for inserting the Web Beans RI EJB interceptor -->
  <bean name="PostEjbJarMetadataDeployer" class="org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostEjbJarMetadataDeployer"/>
  
  <!-- Responsible for enabling classloader isolation for Web Bean wars -->
  <bean name="PostJBossWebMetadataDeployer" class="org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostJBossWebMetadataDeployer"/>
  
  <!-- Responsible for adding the Web Beans RI listener to the Servlet -->
  <bean name="PostWebMetadataDeployer" class="org.jboss.webbeans.integration.microcontainer.deployer.metadata.PostWebMetadataDeployer"/>

</deployment>

> Add metadata defaults deployers
> -------------------------------
>
>                 Key: WBRI-86
>                 URL: https://jira.jboss.org/jira/browse/WBRI-86
>             Project: Web Beans RI
>          Issue Type: Feature Request
>    Affects Versions: 1.0.0.ALPHA1
>            Reporter: Ales Justin
>            Assignee: Ales Justin
>             Fix For: 1.0.0.ALPHA2
>
>
> Add deployers that based on web-beans.xml presence create default metadata values.
> See forum post for more details.

-- 
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

       




More information about the weld-issues mailing list