2 Replies Latest reply on Dec 31, 2010 12:53 AM by Ajin George

    Issue in reading files from jar file

    Ajin George Newbie

      Hi all.

       

                  I'm stuck into a problem while running my application in JBoss 5.1.0.GA. When its trying to locate a file which is in a jar file in deploy directory,

       

      its not able to locate it. But if i'm placing the same jar file in endorsed folder, its getting loaded. Can anyone tell what the problem could be?

       

       

       

       

      Regards

       

        Ajin

        • 1. Re: Issue in reading files from jar file
          jaikiran pai Master

          Ajin George wrote:

           

          Hi all.

           

          When its trying to locate a file which is in a jar file in deploy directory,

           

          How are you trying to locate that file? Or who is trying to locate it? And what exceptions do you see? Post any relevant code.

          • 2. Re: Issue in reading files from jar file
            Ajin George Newbie

            Hi jai,

             

                           I was trying to deploy an aribaweb application in JBoss 5.1.0.GA. In aribaweb, the files are accessed from a jar file which it generates.

             

            My problem here is that, while deploying in JBoss 5.1.0.GA, its nt able to locate the files in the jar (may be the jar is not located itself). I will add

             

            the jar file created by aribaweb as an attachment. Same thing was deployed in JBoss 4.2.3.GA and it was working properly. I have put all the jar files

             

            required by aribaweb in /default/deploy/Demo.war/WEB-INF/lib, but it wasnt locating the jar file created by aribaweb. But if i'm including all those jar

             

            files within JBOSS_HOME/lib/endorsed folder, its able to locate the page. Do i need to perform any additional configuration steps? Hope i have

             

            provided the information you required.

             

             

            Regards

             

              Ajin