Thread Using a deployer to add jars to a webapp classpath.
Using a deployer to add jars to a webapp classpath.In AS5 this was fairly straightforward. But in AS6 the same code doesn't work. I want to add the JSF impl jars on the fly using a JSFDeployer. The reason is that I want to allow different JSF impls...
When is a bean moved to START state?This question relates to a thread in JBoss AS forum where a user is running into error trying to setup a dependency between a web application and an EJB http://community.jboss.org/message/534413#534413 Here's ...
Inputs to deployersI am trying to understand the usage of setInput()/setInputs()/addInput() APIs on the deployers:
public void setInput(Class<?> input)
public void setInputs(Set<String> inputs)
public void setInputs(...
Thread Adding a CDI extension programatically to a deployed application
Adding a CDI extension programatically to a deployed applicationHello, I have a CDI extension (.jar file) which does some integration with resteasy. I am wondering what is needed to have this extension placed in the AS so that it does not have to be placed in a deployed ap...
MultipleVFSParsingDeployer on HornetQ@Ales, You have created a MultipleVFSParsingDeployer on the HornetQ's branch. For other's reference: http://anonsvn.jboss.org/repos/jbossas/branches/Branch_Hornet_Temporary_2/hornetq-int/src/ma...
Thread Sub deployer not kicking in on CreateDestinationDeployer
Sub deployer not kicking in on CreateDestinationDeployerI'm making a few changes on the the CreateDestinationDeployer. Instead of having the Deployer calling the Bean creations directly I'm having it to reuse another deployer.
Thread Error Starting Jboss Server 5.0 within eclipse
Error Starting Jboss Server 5.0 within eclipseCorrecting... When I try to start JBoss Microcontainer from withing eclipse JBoss Server View I got the error below; /bin/bash: mc: line 1: syntax error: unexpected end of file /bin/bash: error importing func...
Thread Classloaders & Domains: Some questions & a suggestion
Classloaders & Domains: Some questions & a suggestionHaving played with the MC classloading mechanism and its notion of domain, there is something I don't understand. The notion of domains seems to be there to allow visibility of classes without having to declar...
Processed BMD as an input to a deployerI am trying to create a chain of deployers which would allow me to do something like the following:
- DeployerA in POST_CLASSLOADER phase would attach some metadata XYZ to a unit and *also* attach the same XYZ as a B...
Thread Classloaders: How to hide classes from the DefaultDomain?
Classloaders: How to hide classes from the DefaultDomain?I have a jar that uses Infinispan (JBossCache's replacement) and I want to load it with the Infinispan libraries on JBoss AS 5.1. Now my problem is that JBoss AS 5.1 uses an older version of JGroups that seems...
JBossMicrocontainer Supply/Demand CustomizationThe supply and demand features of the MC allow one to express dependencies between beans that are not wired together using injection. For example, the following deployment fragment associates the Consumer beand with t...
Thread Dependency management of multiple webapp start
Dependency management of multiple webapp startHi, I'm presently researching ways to refactor some standalone software to a container-based architecture. I'm developing a proof of concept in JBoss EAP 5.0.0.RC. The current non-JBoss implementation us...
Fluctuating uninstallI'm encountering a pendulous bug in the naming deployers [1]. Whenever I run the tests I get a failure about 50% of the time. On a glance it looks like a race condition, but there are no multiple threads involved. I...
Info required about jboss-classloading.xmlGood day, I've been working on migration from jboss as4 to jboss as5 and hit the as5 specific classloading problem with my ejb's where the third party jars referenced by ejbs are not loaded because they are also foun...
Undemanding DependenciesI want to declare a relationship, A depending on B, where B is on-demand. However, I don't want A to cause B to start if nothing else depends on B. In other words, A should only start if something else cau...
Thread java.lang.RuntimeException: No Context associated with current Thread
java.lang.RuntimeException: No Context associated with current ThreadHello Guys, I have a blocking issue, could you please help me? I would highly appreciate if there would be some fast solution, workaround for this. I have a MicroContainer bean/service which is accessed by a servlet...
VDF doesn't do component compositionI've created the new naming deployer to setup the application name spaces (https://jira.jboss.org/jira/browse/RELOADED-12), but to have a container be composed of a component I had to install it in another component. ...
Thread How do I access the JBoss Kernel from an EJB3?
How do I access the JBoss Kernel from an EJB3?I have a stateless EJB that needs access to the JBoss org.jboss.kernel.Kernel object. In the JBoss microcontainer world I would inject the kernel into my bean using "jboss.kernel:service=Kernel". How can I...