-
1. Re: jboss-threads brought into jbossas repository...
dmlloyd Feb 18, 2009 12:20 PM (in response to dmlloyd)Done. I put the sole XML file in varia, and use the varia build step to assemble the deployer - if that's not OK, let me know. Otherwise I'll probably do the same for the other new deployers which are structured similarly.
-
2. Re: jboss-threads brought into jbossas repository...
dmlloyd Feb 18, 2009 3:08 PM (in response to dmlloyd)Here's an interesting problem. I've introduced jboss-threads into the deployers/ folder so that it's available to deployments. However, there's no guarantee that it will be available to other deployers, since they may be deployed before it.
What's the best solution? Some kind of ordering directive? A pre-deployer deployers folder? Maybe make the threads deployer part of the bootstrap process somehow? -
3. Re: jboss-threads brought into jbossas repository...
dmlloyd Feb 18, 2009 3:15 PM (in response to dmlloyd)To expand a little - I would rely on the dependency mechanism but since there's a parser involved, it seems that it won't even parse a jboss-beans.xml which contains a "threads" tag, or a deployment which includes a jboss-threads.xml, even if there is a directive to indicate that it depends on the threads deployer bean...
-
4. Re: jboss-threads brought into jbossas repository...
adrian.brock Feb 18, 2009 3:19 PM (in response to dmlloyd)"david.lloyd@jboss.com" wrote:
Here's an interesting problem. I've introduced jboss-threads into the deployers/ folder so that it's available to deployments. However, there's no guarantee that it will be available to other deployers, since they may be deployed before it.
What's the best solution? Some kind of ordering directive? A pre-deployer deployers folder? Maybe make the threads deployer part of the bootstrap process somehow?
Deployers don't need to manage threads they just process metadata. -
5. Re: jboss-threads brought into jbossas repository...
dmlloyd Feb 18, 2009 3:56 PM (in response to dmlloyd)"adrian@jboss.org" wrote:
Deployers don't need to manage threads they just process metadata.
Ah. I was thinking from the perspective of the forthcoming XNIO deployer, which I was thinking would set up the thread stuff and the base provider as well as installing the actual deployer; though looking at it this way, those pieces probably should be considered a deployment and go into an "xnio-jboss-beans.xml" in deploy, which makes the whole issue disappear... -
6. Re: jboss-threads brought into jbossas repository...
dmlloyd Feb 24, 2009 5:20 PM (in response to dmlloyd)I've had a bug tracker created for this subproject at https://jira.jboss.org/jira/browse/JBTHR.