3 Replies Latest reply on Mar 2, 2007 7:08 AM by Mark Little

    Finding Problem is instantiating message type

    Abdulla Rasfan Newbie

      hi,
      was trying to use esb for my application.The error is


      12:59:13,560 ERROR [STDERR] com.arjuna.common.util.exceptions.LoadPropertiesExce
      ption: Failed to instantiate plugin: java.lang.ClassCastException: com.arjuna.co
      mmon.internal.util.propertyservice.plugins.io.XMLFilePlugin


      The error is occuring at

      Message message = MessageFactory.getInstance().getMessage(MessageType.JBOSS_XML);

      The following have imported
      import org.jboss.soa.esb.message.Message;
      import org.jboss.soa.esb.message.format.MessageFactory;
      import org.jboss.soa.esb.message.format.MessageType;



      I figured out that com.arjuna.* are available in jbossts-common.jar

      But cant figure out how to intiate it.

      Please help.