8 Replies Latest reply on Apr 9, 2014 9:36 AM by Ales Justin

    Migrating jboss-beans.xml to Wildfly - problems.

    Paul Keogh Novice

      Hi,

       

      I am having a problem migrating an application from JBoss 5 to Wildfly.

       

      First problem I see in the AS trace is;

       

      10:55:51,424 INFO  [org.jboss.as.pojo] (MSC service thread 1-1) JBAS017000: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing some xml features (potential exceptions).

       

      followed quickly by;

       

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[27,3]

      Message: JBAS014788: Unexpected attribute 'factoryClass' encountered

       

      when it tries to parse my jboss-beans.xml file.

       

      My questions are;

       

      What should be the namespace be ?

       

      How can I resolve the unexpected attribute error ?

       

      Thanks,