1 2 Previous Next 28 Replies Latest reply on Jul 30, 2009 2:35 AM by mariuszs Go to original post
      • 15. Re: VFS caching still not working in AS 5.0.1.GA

         

        "pgib1" wrote:
        "jaikiran" wrote:

        How did you verify that by setting this, the issue was gone? Just curious :)


        Yes, the problem would occur within a minute or so after hitting webpages hosted by JBoss-web. Finally, I decided to set JBOSS_HOME. Now the server has been running for almost 20 hours without any duplicates. I may try restarting the server later without JBOSS_HOME and see if the problem reoccurs (I expect it to).



        Ignore my previous two posts.

        Sure enough, no later than my announcement I receive a call from our Data Center. vfs-nested.tmp once again exploded into 700+ copies of my JARs and filled up the whole partition again.

        So, the JBOSS_HOME was not the fix. I wonder what could be wrong with my particular setup. Again, everything is vanilla except some changes to the config files to setup log4j, datasources, JMS destinations, etc. The only thing special about my setup that comes to mind is the fact that our jboss/server/ directory is actually a symlink to a path hosted on another partition. However, the symlink currently has totally open permissions (777).

        • 16. Re: VFS caching still not working in AS 5.0.1.GA
          dimitris

          My hunch is it may very well the symlink.

          Can you try without it?

          • 17. Re: VFS caching still not working in AS 5.0.1.GA

             

            "dimitris@jboss.org" wrote:
            My hunch is it may very well the symlink.

            Can you try without it?


            Certainly, but I must wait until our traffic dies down later tonight.

            I suppose I will try with a hardlink, then try by using a jboss/server as a mountpoint. Finally, I will try moving it all to one directory structure with no mountpoints or symlinks. I will then let you know what worked and what didn't


            Thanks again for all your help

            • 18. Re: VFS caching still not working in AS 5.0.1.GA

               

              "dimitris@jboss.org" wrote:
              Can you try without it?


              Been going for 24hrs+ without a duplicate. Looks like the symlink is the problem. So what am I supposed to do in order to get some of JBoss's directories to be stored on other partitions without having to actually place a mount-point in the JBOSS_HOME someplace?


              • 19. Re: VFS caching still not working in AS 5.0.1.GA
                josephhu

                Hi,
                I am having the same problem (where vfs-nested.tmp explodes with multiple copies of the same jar files) on my jBoss AS 5 installed on a Solaris machine. My jBoss AS 5 has no mountpoints or symlinks.

                I have only one Seam EAR which includes Apache POI. Looking the cached XXXXXX-poi-3.5-beta5-20090219.jar, it looks like VFS first created a cached copy on March 27 and everything stayed fine. But then all of a sudden on March 30 at 2:00 PM, it started creating a cached copy of the jar files every few minutes. This quickly filled up the filesystem.

                Hope this helps you debug this problem.
                Thanks,
                -Joseph

                • 20. Re: VFS caching still not working in AS 5.0.1.GA

                   

                  "josephhu" wrote:
                  Hi,
                  I am having the same problem (where vfs-nested.tmp explodes with multiple copies of the same jar files) on my jBoss AS 5 installed on a Solaris machine. My jBoss AS 5 has no mountpoints or symlinks.

                  I have only one Seam EAR which includes Apache POI. Looking the cached XXXXXX-poi-3.5-beta5-20090219.jar, it looks like VFS first created a cached copy on March 27 and everything stayed fine. But then all of a sudden on March 30 at 2:00 PM, it started creating a cached copy of the jar files every few minutes. This quickly filled up the filesystem.

                  Hope this helps you debug this problem.
                  Thanks,
                  -Joseph



                  Are you running Jboss AS 5.0.1.GA? If you read the release notes you will realize that general VFS-explosion is a symptom of JBoss 5.0.0.GA.

                  In either case, this thread has become about VFS not working properly with sym-links. So please do not abduct this thread and please instead create your own.

                  Thanks.

                  BUMP: Does anyone actually know how to get symlinks to work? I just realized mounting won't work because I have to go from /opt/jboss/server => /var/www/jboss etc..

                  • 21. Re: VFS caching still not working in AS 5.0.1.GA
                    josephhu

                    Hi:
                    Sorry about that.
                    Since your first post in this thread said that you installed jBoss5 and the subject says "VFS caching still not working in AS 5.0.1.GA", I thought this was a problem yet to be resolved.
                    Anyway, I sincerely thank you for the information you have provided.
                    Regards,
                    -Joseph

                    • 22. Re: VFS caching still not working in AS 5.0.1.GA

                       

                      "josephhu" wrote:
                      Hi:
                      Sorry about that.


                      I didn't mean to come off harsh. I just know it helps the developers if each bug-report is is isolated. Since you are running 5.0.1.GA, there is a good chance you can help with this bug. I appologize for being presumptuous.

                      • 23. Re: VFS caching still not working in AS 5.0.1.GA
                        eruiz

                        Hi,

                        I have the same problem but I think symlinks shouldn't be the issue, OS manages them and the processes don't see any difference.

                        Yesterday I found doc about vfs.xml, I think that only the deploy dirs listed in property permanentRoots are cached. Is this true? Could it be your problem?

                        Regards

                        • 24. Re: VFS caching still not working in AS 5.0.1.GA
                          jaikiran

                          You have to provide us more information. Which version of JBossAS do you use? Which OS? What issue are you seeing? How is your application deployed (as a symlink)? Where is it deployed - in the deploy folder of AS?

                          • 25. Re: VFS caching still not working in AS 5.0.1.GA
                            eruiz

                            jaikiran, this thread is for JBoss 5.0.1.GA ... so it is obvious. About OS, I'm using SUSe.

                            This thread is for the issue vfs-nested.tmp explodes with multiple copies of the same jar files.

                            My application is not deployed in the deploy forlder of AS, it is deployed in another dir (I set this dir up in profile-repository.xml).

                            • 26. Re: VFS caching still not working in AS 5.0.1.GA
                              jaikiran

                               

                              "eruiz" wrote:
                              jaikiran, this thread is for JBoss 5.0.1.GA ... so it is obvious.

                              I know this thread is for AS 5.0.1 GA, but not everyone takes that into account while posting their issues. So i just wanted to be sure that the version you are using has the fix.


                              "eruiz" wrote:

                              This thread is for the issue vfs-nested.tmp explodes with multiple copies of the same jar files

                              Again, i know that. But as you have already seen in this thread, even though the final issue was the same, the actual cause turned out to be a different one. And whenever someone is reporting some issue, its always good to post the full details about the issue.

                              "eruiz" wrote:

                              My application is not deployed in the deploy forlder of AS, it is deployed in another dir (I set this dir up in profile-repository.xml).


                              The VFS cache applies to only those folders that are listed in the vfs.xml. You will have to add your deploy folder in the vfs.xml configuration for the caching to apply.



                              • 27. Re: VFS caching still not working in AS 5.0.1.GA
                                eruiz

                                hehe, you know and you think, but it is your opinion, imho it is not needed because the thread is quite clear.

                                Anyway, thanks for the confirmation.

                                • 28. Re: VFS caching still not working in AS 5.0.1.GA
                                  mariuszs

                                   

                                  "pgib1" wrote:
                                  "josephhu" wrote:

                                  In either case, this thread has become about VFS not working properly with sym-links. So please do not abduct this thread and please instead create your own.

                                  You are wrong, this is general topic related to JBAS-6673. If you want discuss about problem with sym-links only then open new thread or correct JBAS-6673 forum link and this discussion subject.



                                  1 2 Previous Next