• Understanding deployment namespace schema with metadata parsing

    Hi,   I am trying to understand how the deployment xml file namespace is registered with JBossXB and how new/custom ones are added.   So far I see that org.jboss.xb.binding.sunday.unmarshalling.SingletonSc...
    Profile Photo
    last modified by saltnlight5
  • jbossws-cxf and the spring libs in AS

    Hi, the current jbossws-cxf integration allows users to provide their own spring configuration files and have the endpoint(s) specified in there be deployed using the jbossws customizations. One of the reasons for th...
    Profile Photo
    last modified by asoldano
  • How to handle character arrays in xml

    <bean name="ValueBean">     <constructor>       <parameter>someValue</parameter>     </constructor> </bean>   <bean na...
    Profile Photo
    last modified by dbschofield
  • Deployer ordering question (JBoss OSGi)

    In the JBoss OSGi project I have a deployer that adds some metadata to the deployment unit.   In the OSGiBundleState I want to read that metadata out again after the bundle is installed. Currently in the code it...
    Profile Photo
    last modified by bosschaert
  • What is the minimum configuration to register a Deployer?

    I'm trying to build a simplistic deployer using the structure in   http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk   Just registering my SimpleDeployer (extends AbstractDeployer)...
    Profile Photo
    last modified by bosschaert
  • Lookup up a POJO service without injecting it inside -beans.xml?

    I need to be able to look up a POJO deployed service on JBoss 5's MC, but I do not know how to obtain a reference to the kernel so I can obtain a ControllerContext.   My onIy constraint is I can not modify the i...
    Profile Photo
    last modified by martinn
  • Classloader, class NOT found and blacklisting.

    Hi   I'd be grateful if somebody could explain what's happening on my JBoss 6 M1 application? I appear to have a classloader issue from a WAR file when attempting to load a class from an separate EAR/lib jar. Th...
    Profile Photo
    last modified by danescott
  • Problem with JBoss Classloading.

    All,   I am struggling with class loading configuration for my web application. Following is the current configuration in jboss-classloading.xml (JBoss 5.1.0):   <classloading xmlns="urn:jboss:classload...
    Profile Photo
    created by sandesh.satam
  • Deployment ordering on HornetQ destinations and MDBs

    We have an issue where our destinations are being deployed after the MDBs on EAP 5.1 @ hornetq.   Users can define dependencies to other POJOs.. but we don't want to force users to do that, if they deploy the wh...
    Profile Photo
    last modified by clebert.suconic
  • ClassLoading delegation

    It's actually not a MC thing, but it's on MC's expertise...   I'm trying to do a classloader which will chain 2 other classloaders. I need this since I'm making a ContainerApp that will get another web applicati...
    Profile Photo
    last modified by rafaelliu
  • EOFException from ShrinkWrap Deployment into MCAnn

    Using the new EJBContainer APIs running inside of AS, I'm getting an error on deployment from mcann.   The flow is:   ShrinkWrap Archive > Mounted as ArchiveFileSystem VirtualFile > Passed to VFSDep...
    Profile Photo
    last modified by alrubinger
  • Hiding the True Error

    Hey guys:   I'm getting the following error message which looks wrong, and I suspect is hiding the true problem.  I've seen this before due to different underlying causes.   12:06:43,718 ERROR [org.jbo...
    Profile Photo
    last modified by alrubinger
  • How do I inject a static field when a constructor is private?

    Hi,   If I have a simple POJO like this:   package mypkg; import java.io.PrintStream; class Foo {      private PrintStream printStream;      public void setPrintStrea...
    Profile Photo
    last modified by saltnlight5
  • Is there auto-injection going on?

    Looking at the Spring demo in the User's Guide examples I can see that it references the mcBean and gets injected by it. However the mcBean itself doesn't explicitly reference the SimpleBean...   {code:xml}<b...
    Profile Photo
    last modified by bosschaert
  • Update the MC User Guide examples with the latest?

    Hi all,   I noticed two small bugs in the Microcontainer examples that are linked from http://www.jboss.org/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/ch02.html the spring demo is missin...
    Profile Photo
    created by bosschaert
  • controller.uninstall() fails when overriding the KernelControllerContext name

    When i manully set a name for a KernelControllerContext the uninstallation of contexts does not work properly.   BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder("test", Object.class.getName()); &#...
    Profile Photo
    last modified by emuckenhuber
  • isolated classloading for war file

    Hi,   I have a .war and .sar deployed in JBoss 5 which both require spring framework version 3 jars. We have other services deployed which use spring version 2 and the JAR for that version is in the server lib d...
    Profile Photo
    last modified by brad1973
  • How can I disable bean lifecycles per entire descriptor?

    Hi,   I have many pojos that contain a create method and I don't want MC  to call it during deployment. I understand we can use ignore attribute per bean to disable this lifecycle call like   <creat...
    Profile Photo
    last modified by saltnlight5
  • How to avoid canonical conversion of AbstractInjectionValueMetaData's value?

    I have got a piece of code which deploys a MC bean into the kernel: {code:java} String beanName = "abc"; BeanMetaDataBuilder builder = BeanMetaDataBuilderFactory.createBuilder(beanName, MyClass.class.getName()); Strin...
    Profile Photo
    last modified by jaikiran
  • 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...
    Profile Photo
    last modified by ssilvert