• Zip deployers and deployment aliases

    I have a directory that I deploy on JBoss AS5 that contains various different deployables (mostly sars and wars). We use an alias file in a sar for dependency management. Everything works fine when the directory is d...
    Profile Photo
    last modified by mwringe
  • Ordering a deployer which needs multiple inputs

    If i have n number of deployers in a chain, is there a specific order these deployers follow while deploying an unit? Right now, i have the following scenario: public class FirstDeployer extends AbstractDeployer { ...
    Profile Photo
    last modified by jaikiran
  • Query on MicrocontainerTest

    Hey Guys, I am writing unit test for my application extending MicrocontainerTest. public class EventFactoryTest extends MicrocontainerTest { public EventFactoryTest(String name) { super(name); } public void ...
    Profile Photo
    last modified by amit.bhayani
  • Making the classloader of one deployment the delegate of ano

    Hi, I am currently trying to integrate an Execution Environment for BDI Agents into Jboss. I have a problem making classreloading work properly. I am deploying a ExecutionEnvironment using a jboss-beans.xml. The Age...
    Profile Photo
    last modified by bastib
  • Attachments eligible for being passed to the deployers?

    If one of the deployers adds a attachment to an unit that is being deployed, will that attachment then be passed on to the list of available deployers for being processed? Ex: public class MyDeployer extends Abstra...
    Profile Photo
    last modified by jaikiran
  • JBossTransactionServices and WebBeans

    Moving this to forum. "david.allen" wrote: how to best inject the RealTransactionManager bean into one of our beans. I modified webbeans-ejb-jboss-beans.xml to also have the following bean declaration: <beanf...
    Profile Photo
    last modified by alesj
  • What is the correct time to invoke the getProperties on a Be

    I am trying to dynamically create and deploy an MC bean as follows: // My MC bean public class MyBean { // the attributes especially the bean name will be dynamically modified @Inject private MyOtherBean otherBe...
    Profile Photo
    last modified by jaikiran
  • start() and stop() methods in a MC bean

    I have a simple MC bean with a method named start and annotated with @InstallMethod: public class MyBean { @InstallMethod public void start() throws Exception { // do something } @UnInstallMethod public voi...
    Profile Photo
    last modified by jaikiran
  • Howto inject beans into a collection

    Hi all, I just started looking at the Microcontainer and wonder how I should inject beans into a collection (List) that is a property to another bean? I can't find any examples how this should be done (if possible)....
    Profile Photo
    last modified by welle
  • Accessing EJB's with custom annotations.

    I dont know if this is an EJB or a Microcontainer question, but I will post it here. I am working with JBoss 5.0 GA. I would like to be able to annotate my session beans with a custom annotation (say @BK) and be able ...
    Profile Photo
    last modified by bryan.kearney
  • Setting up JBossMC_2.0 for Eclipse

    I am having a hard time figuring out setting up the microcontainer SVN source project in Eclipse. I am using the microcontainer for research purposes and would appreciate any help with setting up an eclipse project fo...
    Profile Photo
    last modified by segfault
  • Possible bug in jboss-cl dep resolution

    I'm deploying a couple of JARs in the "all" profile of a jbossas built from the 5.1 branch and getting a weird problem. I was originally getting that NPE bug, so I updated jboss-cl to a 2.0.3-SNAPSHOT I built from svn...
    Profile Photo
    last modified by dmlloyd
  • Deployment unit aware annotations

    I need to have deployment unit aware injection / annotations, so stuff like: @PersistenceUnit public void setEntityManagerFactory(EntityManagerFactory emf) { this.emf = emf; } works within a MC bean while obeying...
    Profile Photo
    last modified by wolfc
  • How to add Annotation Plugin?

    I'm currently adding my annotation plugin like: // Add our annotation plugin BeanAnnotationAdapter beanAnnotationAdapter = BeanAnnotationAdapterFactory.getInstance() .getBeanAnnotationAdapter(); AbstractBeanAnnot...
    Profile Photo
    last modified by alrubinger
  • annotation plugin - mismatch

    Hi, I'm trying to solve this problem for last two days. Following example in BeanContainerInjectionTestCase.xml and the ALR's example at http://is.gd/cV5p I want to add my custom annotation plugin. In spite of all th...
    Profile Photo
    last modified by obrien
  • Deployment contextual information

    Do deployments have a notion of contextual information? Like, deployment X is associated with context classloader Y or security context Z? I'm struggling with this idea in the Threads module. The case I'm thinking of...
    Profile Photo
    last modified by dmlloyd
  • Classpath order within a deployer (to support evil hacks)

    I'd like to "patch" a dependency of my deployer by providing a replacement class earlier in the classloader than the original .jar. ie: jboss-rails.deployer/ jboss-rails.jar # includes my patched org.apache.cxf.s...
    Profile Photo
    last modified by bob.mcwhirter
  • Deployment callbacks fail on static methods

    I was following this chapter on Deployment Callbacks http://www.jboss.org/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/ch13s02.html. Works fine except when the callback method is marked static. So...
    Profile Photo
    last modified by jaikiran
  • how do I use mdr in JCA project?

    Currently JCA/connector has a JCAMetaDataRepository package, it use HashMap as repository to save some metadata information and export information by JMX. We would like use jboss-mdr project as base repository for new...
    Profile Photo
    last modified by jeff.zhang
  • Programmatic redeploy using DeploymentManager

    Can org.jboss.deployers.spi.management.deploy.DeploymentManager be used for redeploying e.g. an EAR? If so, are there any examples or wiki pages?
    Profile Photo
    last modified by juergen.zimmermann