Log in to follow, share, and participate in this community.
Thread When is a bean moved to START state?
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...
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...
Thread Classloading issues due to jboss-classloading.xml contained in jars
Classloading issues due to jboss-classloading.xml contained in jarsHi, We're working on some stuff for the Infinispan project and today we hit an issue with the Infinispan-rest web application on EAP 5. It seemed that a jboss-classloading.xml file in one of the dependent jars shipp...
JMX annotations and parsing questionHi guys, I'm trying to expose some properties of the Sip Stack used by Mobicents on top of JBoss AS 5.1.0.GA. Unfortunately the Stack is not a bean and not injected or anything, so I just added the following a...
Deployment order within rar fileI have a sar file within a rar file. smsconnector.rar META-INF/MANIFEST.MF META-INF/ra.xml smsjmx.sar META-INF/MANIFEST.MF META-INF/jboss-service.xml smsjmx-server.jar smsconnector-server.jar smslib.jar ...
Thread Running a deployer on resource in classpath
Running a deployer on resource in classpathHi, Do you have any suggestion on running a deployer on resource currently exists inside a JAR file? I guess I am looking for a way to explicitly invoke a deployer on a given resource identified by a URL rather than ...