Log in to follow, share, and participate in this community.
Thread Single Deployment Unit from multiple files inside a zip
Single Deployment Unit from multiple files inside a zipHi, I am trying to write a new deployer for Teiid artifact which is a zip file. In there I have two xml files that I need to parse and gather metadata and deploy them as single unit. To accomplish this, I wrote depl...
Struggling with jboss-classloading.xmlHi all, I've be struggling with jboss-classloading.xml for about one week and really don't know even if it is possible. There is my problem (JBoss 5.1): 1) I have a RAR that contains a lot of jars that must be expos...
How to get DeploymentUnit?I want to integrate Jersey (aka reference impl for JAX-RS) and JBoss. Therefore, I have to provide an implementation for the annotation @EJB by myself. At http://www.jboss.org/index.html?module=bb&op=viewtopic&am...
Thread how to instantiate a generic/parameterized MC bean/POJO in b
how to instantiate a generic/parameterized MC bean/POJO in bHello, would you please so kind to give an example of a jboss-beans.xml /bean deployer/ which instantiates a parameterized bean/POJO class like: public class TypedRegistry { // ... public TypedRegistry() { // ....
Optional depends?Is there a way to express an optional dependency between beans? e.g. install bean A before bean B, but only if bean A exists. In psuedo-markup: <bean name="A" class="...">
<!-- A depends on B, if B exists -...
EAR being deployed over and over again?!Made a very simple EAR {in Eclipse}, using Maven, all seems to be in order for its contents and everything. Plucked into the JBoss 5.1 default server config's deploy folder and started the server: - the app seems to d...
Autoexplosion of archivesIs there some standard or default way to mark certain archives as needing exploding before doing a true deployment, or even structure deployment? Turns out, even with the .rails archives bit, the JRuby bits aren't qu...
Confused about POJO serviceHello, The new mc is probably the most feature-rich container out there. You can roll with anything from POJOs to MBeans. However, I am a little confused due to the multitude of options. My predicament is this: I wa...
VFS outside of ASHowdy guys-- JRuby has the need to deal with things-inside-jars-inside-jars and the like. I obviously have enjoyed VFS working within JBossAS, and have solved a lot of my problems. But, we'd like to try to wedge VFS...
Injecting bean instances in Servlets/EJBsLooked over the documentation but I didn't really see any explanation or recommendation for how deployed beans are supposed to be accessed through Servlet deployments. Is JNDI the suggested way? Is there support for @...
Using JBoss Microcontainer for JUnit TestsHello, I'd like to use the JBoss Microcontainer for JUnit Tests of Session Beans without a running JBoss 4.2.3. I read a lot about this. But I still don't know what exactly I have to download and where. There are dif...
Declare a dependency on an MC beanI'm trying to declare a dependency on the HornetQServer MC bean. I took the name of the bean from the JMX Console to create the depends clause but it does not work:
@Depends(value={"jboss.deployment:id=HornetQServ...
How to inject the result of a JNDI lookup?Hopefully I haven't missed something obvious, I've been searching for a few hours for the answer to this, to no avail... In Spring, I would do this: java:comp/env/jms/ConnectionFactory How can I do this in t...
Thread AOP does NOT work in User_Guide\gettingStarted\commandLineCl
AOP does NOT work in User_Guide\gettingStarted\commandLineClAOP does NOT work in User_Guide\gettingStarted\commandLineClient. Hello, below is the test steps. 1.I downloaded JBoss MC examples from http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/tags/2.2.0.M2/do...
Thread ClassLoaderFactory and AbstractVFSDeployment
ClassLoaderFactory and AbstractVFSDeploymentI am trying to do an in-memory deployment of a web service endpoint. The WS impl. class is created through javassist, and hence I need to pass a classloader into the deployment. One way of doing so seems to be the Cla...
Issue while running DZone sample.I have getting the following exception when I am running the simple application as pointed here http://java.dzone.com/articles/a-look-inside-jboss-microconta-0 Here is the error Using bootstrap: file:/home/vicky/wor...
Class loading conflictHi I have a sar that includes xmlbeans 2.3.0 - which works fine in AS 5.1. However when I installed ESB4.6, which has version 2.2.0 of this jar in its esb-deployer, I get schema version problems. What is the best wa...
Thread simple: bean name of ejb local in inject tag
simple: bean name of ejb local in inject tag0Sorry for the simple question. I think its too simple to show up on searches of this forum. I use the jndi name of an ejb for the bean attribute of the inject tag and am not successful. What am I not understanding c...
Thread Use of JBoss MC Pojo from in distributed env
Use of JBoss MC Pojo from in distributed envSorry, if this question have been answered earlier and i knw it is very basic question but i need answer. I am using JBoss MC as a standlone container for POJO deployment but how do i access these POJO services from ...
Thread StructureDeployer that supports subdeployments
StructureDeployer that supports subdeploymentsHi, I'm writing a StructureDeployer to determine an esb deployment. An esb archive is exactly like a JarStructure which is what we've been using until now. We have now got a requirement to support subdeployments. Fo...