11 Replies Latest reply on Jan 9, 2009 10:32 AM by Onur AKTAS

    JBoss /tmp/vfs-nested.tmp/ folder problem, slows down web ap

    Onur AKTAS Newbie

      Hi,

      I am having a problem that kills my web application. I can successfully deploy Myfaces Trinidad project. However, each time i refresh my page on browser, it takes about 20 seconds to show a page. I found that the problem is JBoss duplicates tmp files each time i refresh the page.

      I checked
      $JBOSS_HOME/server/default/tmp/vfs-nester.tmp/

      Each time i refresh any page in my web application It creates 300 400 copies of my project and its libraries.

      Is this a bug or am i missing something?

      Thanks

        • 1. Re: JBoss /tmp/vfs-nested.tmp/ folder problem, slows down we
          Onur AKTAS Newbie

          Correction: The folder is

          $JBOSS_HOME/server/default/tmp/vfs-nested.tmp/

          • 4. Re: JBoss /tmp/vfs-nested.tmp/ folder problem, slows down we
            Onur AKTAS Newbie

            Hi again,

            Is there any build jar files of new vfs ? I can not build jar file,

            svn co http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk/
            ant build.xml
            


            And got following error:

            Buildfile: build.xml
            
            BUILD FAILED
            Target "build.xml" does not exist in the project "jbossbuild helper".
            
            Total time: 0 seconds
            


            • 5. Re: JBoss /tmp/vfs-nested.tmp/ folder problem, slows down we
              Ales Justin Master

              No idea what's the build.xml doing there. :-)
              It's all Maven2 based - see pom.xml.

              Simply run 'mvn clean install'.

              I also already deployed the snapshot to our mvn repo,
              but I guess it's easier to build it as-it-is.

              • 6. Re: JBoss /tmp/vfs-nested.tmp/ folder problem, slows down we
                Dimitris Andreadis Master

                Ales, why no attaching the .jar on a JIRA case?

                • 7. Re: JBoss /tmp/vfs-nested.tmp/ folder problem, slows down we
                  Ales Justin Master

                  Is there a JIRA case?

                  Create one, assign it to me, and I'll attach the jar.

                  • 8. Re: JBoss /tmp/vfs-nested.tmp/ folder problem, slows down we
                    Onur AKTAS Newbie

                    Hi, It still gives building error, can you please give the full url that i can download jar files because i could not find the path of jars in repository

                    Here is the error:
                    mvn clean install

                    [INFO] Scanning for projects...
                    Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-parent/4/jboss-parent-4.pom
                    [INFO] ------------------------------------------------------------------------
                    [ERROR] FATAL ERROR
                    [INFO] ------------------------------------------------------------------------
                    [INFO] Error building POM (may not be this project's POM).
                    
                    
                    Project ID: org.jboss:jboss-vfs:jar:2.2.0-SNAPSHOT
                    
                    Reason: Cannot find parent: org.jboss:jboss-parent for project: org.jboss:jboss-vfs:jar:2.2.0-SNAPSHOT for project org.jboss:jboss-vfs:jar:2.2.0-SNAPSHOT
                    
                    
                    [INFO] ------------------------------------------------------------------------
                    [INFO] Trace
                    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jboss:jboss-parent for project: org.jboss:jboss-vfs:jar:2.2.0-SNAPSHOT for project org.jboss:jboss-vfs:jar:2.2.0-SNAPSHOT
                     at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
                     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
                     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
                     at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
                     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
                     at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
                     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
                    Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jboss:jboss-parent for project: org.jboss:jboss-vfs:jar:2.2.0-SNAPSHOT for project org.jboss:jboss-vfs:jar:2.2.0-SNAPSHOT
                     at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370)
                     at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
                     at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
                     at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
                     at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
                     at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
                     at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
                     ... 11 more
                    Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jboss:jboss-parent' not found in repository: Unable to download the artifact from any repository
                    
                     org.jboss:jboss-parent:pom:4
                    
                    from the specified remote repositories:
                     central (http://repo1.maven.org/maven2)
                     for project org.jboss:jboss-parent
                     at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603)
                     at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
                     ... 17 more
                    Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
                    
                     org.jboss:jboss-parent:pom:4
                    
                    from the specified remote repositories:
                     central (http://repo1.maven.org/maven2)
                    
                     at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)
                     at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
                     at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
                     ... 18 more
                    Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
                     at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
                     at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
                     ... 20 more
                    [INFO] ------------------------------------------------------------------------
                    [INFO] Total time: 10 seconds
                    [INFO] Finished at: Fri Jan 09 17:13:37 EET 2009
                    [INFO] Final Memory: 1M/4M
                    [INFO] ------------------------------------------------------------------------
                    


                    • 9. Re: JBoss /tmp/vfs-nested.tmp/ folder problem, slows down we
                      jaikiran pai Master

                       

                      Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jboss:jboss-parent' not found
                      in repository: Unable to download the artifact from any repository

                      org.jboss:jboss-parent:pom:4

                      from the specified remote repositories:
                      central (http://repo1.maven.org/maven2)
                      for project org.jboss:jboss-parent


                      You probably haven't configure Maven for JBoss repositories. Follow this wiki http://jboss.org/community/docs/DOC-11378

                      • 10. Re: JBoss /tmp/vfs-nested.tmp/ folder problem, slows down we
                        Ales Justin Master

                         

                        "alesj" wrote:
                        Is there a JIRA case?

                        Create one, assign it to me, and I'll attach the jar.

                        https://jira.jboss.org/jira/browse/JBAS-6373