• Locating the current DeploymentUnit

    Is there, or could we create, a mechanism by which the DeploymentUnit (if any) assocaited with the current executing thread can be located statically? Such a mechanism would possibly use a ThreadLocal which is set be...
    Profile Photo
    last modified by dmlloyd
  • Fastest way to migrate mbean services (with dependencies) to

    I'm trying to migrate our ear application from JBoss 4.2.3GA to 5.1.0GA. The problem is that it looks like the microcontainer seems to ignore the "depends" relationships specified in META-INF/jboss-service.xml I don'...
    Profile Photo
    last modified by chtimi2
  • Classloading vs. VFS

    I get the following trace: Caused by: java.net.MalformedURLException: unknown protocol: vfsfile at java.net.URL.<init>(URL.java:574) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(...
    Profile Photo
    last modified by jesper.pedersen
  • Programmatically deploying an object

    I have a webapp and when a listener gets called I want to deploy an object into the microcontainer . The listener is being handled in the webapplication, so I can't just add it to the beans.xml file and it doesn't hav...
    Profile Photo
    last modified by mwringe
  • can't read resource from the classpath??

    Hi all, I've created a deployer for jboss identity, which is listening on the -jboss-idm.xml file. It has two deployer classes, one is the deployer that IDMVFSParsingDeployer, which extends AbstractVFSParsingDeploye...
    Profile Photo
    last modified by jeff.yuchang
  • Microcontainer Demos

    Although there is some good documentation and enough information on these forums I still cannot figure out how to run these (http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/) examples. Firs...
    Profile Photo
    last modified by udaypal.aarkoti
  • Hot-deployment on AS 5.x

    I get stack traces when I hot-deploy on AS 5.x (currently rev88714 using VFS-2.1.1.GA). Sample application is the web ui for JBoss Profiler 2 - a .WAR file around 6MB - deployment is done in non-exploded format. The ...
    Profile Photo
    last modified by jesper.pedersen
  • Tool for documenting MC beans

    Since a lot of hooking our services together have moved to the -jboss-beans.xml we need a way of documenting those beans, so other projects can get a quicker overview of what's available. Of course the beans should p...
    Profile Photo
    last modified by jesper.pedersen
  • Conflict between ejb3 deployer and custom GenericAnnotationD

    Using JBoss AS 5.0.1 GA I am trying to write custom deployer that will scan classes for annotation during POST_CLASSLOADING phase, save the found classes into metadata and then use that to perform some extra steps du...
    Profile Photo
    last modified by gregory.mostizky1
  • Possible issue with WebBeansWebUrlIntegrationDeployer during

    Hi, we using the branch Branch_5_x and noticed something that I've not seen before and wanted to ask if this is the expected behavior. As part of our deployment (.esb archives) we sometimes create JBossWebMetaData to...
    Profile Photo
    last modified by beve
  • Using VFS to create a symbolic link from WEB-INF/lib

    I have a deployer that adds jar files to a web app. The jar needs to be scanned for taglibs by the JSP servlet. A simple way to make sure the jar is scanned would be to symbolically add the jar to WEB-INF/lib. That is...
    Profile Photo
    last modified by ssilvert
  • Hashtable Bean in microcontainer XML configuration

    Hi, I've several POJOs deployed from the microcontainer which requires a Hashtable in their constructor (JNDI properties fwiw). I looked in the doc but I've not found a way to declare a Bean which is a Hashtable with...
    Profile Photo
    last modified by jmesnil
  • Retrieve all metadata from a deployment unit.

    Hi, I'm wondering what the correct way of retrieving all metadata from a VFSDeploymentUnit is. The following test decribes what we are doing. package org.jboss.deployers.vfs.plugins.structure; import static org.j...
    Profile Photo
    last modified by beve
  • Deployer test framework (Ruby and RSpec)

    For my rails deployers, I wanted to be able to write tests using RSpec. I've been reworking the rspec-maven-plugin so that this will eventually work in your normal mvn test build. RSpec itself is a BDD testing tool, ...
    Profile Photo
    last modified by bob.mcwhirter
  • VFS & Commons Configuration issue

    Migrating our application to JBoss 5 from JBoss 4 caused the automatic reloading of configuration files in server/default/conf/ to stop working. The culprit appears to be that resolving the (relative) path through the...
    Profile Photo
    last modified by past
  • Deploying JBoss Cache as MBean in microcontainer

    This is in continuation to http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148625 Since this question is related to MC I thought I should post here. I can start the JBoss cache programmatically by u...
    Profile Photo
    last modified by amit.bhayani
  • How do I get the POJO ?

    Actually I have deployed the POJO in the Jboss4.0.3 and I can verify this thorugh the jmx-console . How would I get the access the methods of the POJO in the jsp/servlet ? How do I get the POJO instance in the applica...
    Profile Photo
    last modified by vickyk
  • EJB3 hot deployment

    Quoting PMuir from the Seam/WebBeans team: the correct way to do this is to maintain a dependency graph, so that when you reload one EJB, you can reload all it dependencies, however you could easily end up with all ...
    Profile Photo
    last modified by asookazian
  • How to prevent MC calling start/stop

    I have a bean files declaring several beans. I want MC to inject them into each other. I *don't* want MC to call start/stop on the beans, just to inject. Any ideas how this would be possible, declaratively in the xm...
    Profile Photo
    last modified by timfox
  • Getting the MC to find a schema (xsd) file

    Where can I put my .xsd file so that my SchemaResolverDeployer uses it for validation? If I put it in META-INF, will JBossXB (or something else) find and register it? Can't find anything that explains this. Thanks.
    Profile Photo
    last modified by dmlloyd