1 Reply Latest reply on Oct 15, 2004 6:59 AM by adrian.brock

    MDB needs to read user-defined xml files deployed in ear fil

    timliu

      hello,

      My MDB needs to read some user-defined xml files those are deployed in ear file. It read I/O file but fails. Check jboss directory and find those user files are still in ear file and not unjarred. Is there API provided by MDB to retreive it from ear?

      userconfiguration.xml is defined by my specific application not JBOSS. It is in one jar file of ear file.

      jar tvf SimpleMessage.ear
       0 Thu Oct 14 19:59:32 PDT 2004 META-INF/
       106 Thu Oct 14 19:59:30 PDT 2004 META-INF/MANIFEST.MF
       3158 Thu Oct 14 16:38:10 PDT 2004 mdb-app-client.jar
      11307352 Thu Oct 14 20:05:08 PDT 2004 simplemessage.jar
       438 Fri Sep 10 21:04:24 PDT 2004 META-INF/application.xml
      



      jar tvf simplemessage.jar
       0 Thu Oct 14 19:49:26 PDT 2004 META-INF/
       106 Thu Oct 14 19:49:24 PDT 2004 META-INF/MANIFEST.MF
       713 Thu Oct 14 18:21:08 PDT 2004 META-INF/ejb-jar.xml
       390 Thu Oct 14 18:21:08 PDT 2004 META-INF/jboss.xml
       8791 Thu Oct 14 19:56:50 PDT 2004 SimpleMessageBean.class
       1219 Thu Oct 14 18:16:04 PDT 2004 userconfiguration.xml
      .....
      


      thx for your help

      Tim