4 Replies Latest reply on Jun 12, 2009 10:05 AM by Heinz JRookie

    Can't deploy a struts2 application

    Heinz JRookie Newbie

      Hi all,
      I try to deploy a struts2 example on jboss5.0 for quite a while and I can't find the error.
      When I start jboss everything is fine unless I drop strus2inaction.war to the deploy directory. Please see below the error I got. I thought it looks like having a corrupt war file, but I checked it and it is free from errors.

      The main error message (see listing below) seems to be:
      Der Prozess kann nicht auf die Datei zugreifen, da sie von einem
      anderen Prozess verwendet wird
      which means: The process can't access the file, as it is used by another process.
      Before this there is a warning HD scanner failed. What can I do ?? Is it the inner structure of the war file? Does anyone knows anything??
      Thanks in advance for any help
      JRookie


      19:42:14,171 INFO [TomcatDeployment] deploy, ctxPath=/example2, vfsUrl=example2.ear/example2.war
      19:42:14,640 INFO [TomcatDeployment] deploy, ctxPath=/example3, vfsUrl=example3.ear/example3.war
      19:42:14,906 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      19:42:14,953 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      19:42:14,968 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 1m:17s:547ms
      19:48:38,343 WARN [HDScanner] Scan failed
      org.jboss.deployers.spi.DeploymentException: Error determining structure: Struts2InAction.war
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:87)
      at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
      at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
      at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
      at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:853)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:267)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: Failed to read zip file: org.jboss.virtual.plugins.context.zip.ZipFileWrapper@1d7bd99 - F:\Entwicklung\JBoss_5.0\jboss-5.0.0.GA\server\default\deploy\
      truts2InAction.war
      at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:563)
      at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:693)
      at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:737)
      at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:175)
      at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:542)
      at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:155)
      at org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:106)
      at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:451)
      at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:64)
      ... 18 more
      Caused by: java.io.FileNotFoundException: F:\Entwicklung\JBoss_5.0\jboss-5.0.0.GA\server\default\deploy\Struts2InAction.war (Der Prozess kann nicht auf die Datei zugreifen, da sie von einem
      anderen Prozess verwendet wird)
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.(ZipFile.java:114)
      at java.util.zip.ZipFile.(ZipFile.java:131)
      at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:175)
      at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:245)
      at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:461)
      at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:554)
      ... 26 more


        • 1. Re: Can't deploy a struts2 application
          jaikiran pai Master

          Post the output of

          jar -tf Struts2InAction.war


          While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.

          • 2. Re: Can't deploy a struts2 application
            Heinz JRookie Newbie

            Hi jaikiran,
            thanks for the quick reply!
            here it is. It is structured in chapters to the according book.
            JRookie

            G:\Struts\struts\SampleApplication>jar -tf struts2inaction.war
            META-INF/
            META-INF/MANIFEST.MF
            chapterFive/
            chapterFive/ListsDataTransferSuccess.jsp
            chapterFive/AdminPortfolio.jsp
            chapterFive/MapsDataTransferSuccess.jsp
            chapterFive/Error.jsp
            chapterFive/ArraysDataTransferSuccess.jsp
            chapterFive/CustomConverterSuccess.jsp
            chapterFive/ViewPortfolios.jsp
            chapterFive/ListsDataTransferTest.jsp
            chapterFive/MapsDataTransferTest.jsp
            chapterFive/ArraysDataTransferTest.jsp
            chapterFive/CustomConverterTest.jsp
            chapterFive/RegistrationSuccess.jsp
            chapterFive/ImageRemoved.jsp
            chapterFive/ImageAdded.jsp
            chapterFive/DataTransferSuccess.jsp
            chapterFive/Login.jsp
            chapterFive/Registration.jsp
            chapterFive/ImageUploadForm.jsp
            chapterFive/DataTransferTest.jsp
            chapterFive/PortfolioHomePage.jsp
            chapterNine/
            chapterNine/AdminPortfolio.jsp
            chapterNine/CreatePortfolio.jsp
            chapterNine/UpdateAccountSuccess.jsp
            chapterNine/Error.jsp
            chapterNine/PortfolioAdded.jsp
            chapterNine/RegistrationSuccess.jsp
            chapterNine/ImageRemoved.jsp
            chapterNine/ImageAdded.jsp
            chapterNine/VisitorHomePage.jsp
            chapterNine/EditPortfolio.jsp
            chapterNine/ViewPortfolio.jsp
            chapterNine/Login.jsp
            chapterNine/Registration.jsp
            chapterNine/ImageUploadForm.jsp
            chapterNine/ArtistHomePage.jsp
            chapterNine/SelectPortfolio.jsp
            chapterNine/UpdateAccountForm.jsp
            chapterNine/PortfolioHomePage.jsp
            chapterNine/UpdatePortfolioSuccess.jsp
            chapterTwo/
            chapterTwo/AnnotatedNameCollector.jsp
            chapterTwo/NameCollector.jsp
            chapterTwo/HelloWorld.jsp
            chapterFour/
            chapterFour/ImageAdded.jsp
            chapterFour/ImageRemoved.jsp
            chapterFour/AdminPortfolio.jsp
            chapterFour/Login.jsp
            chapterFour/Error.jsp
            chapterFour/Registration.jsp
            chapterFour/ImageUploadForm.jsp
            chapterFour/ViewPortfolios.jsp
            chapterFour/PortfolioHomePage.jsp
            chapterFour/RegistrationSuccess.jsp
            menu/
            menu/Menu.jsp
            WEB-INF/
            WEB-INF/src/
            WEB-INF/src/manning/
            WEB-INF/src/manning/chapterFive/
            WEB-INF/src/manning/chapterFive/Register.properties
            WEB-INF/src/manning/chapterFive/chapterFive.xml
            WEB-INF/src/manning/chapterFive/CustomConverterTest-conversion.properties
            WEB-INF/src/manning/chapterFive/CustomConverterTest.java
            WEB-INF/src/manning/chapterFive/Register.java
            WEB-INF/src/manning/chapterFive/Register_es.properties
            WEB-INF/src/manning/chapterFive/ImageUpload.java
            WEB-INF/src/manning/chapterFive/Login.java
            WEB-INF/src/manning/chapterFive/DataTransferTest.properties
            WEB-INF/src/manning/chapterFive/DataTransferTest-conversion.properties
            WEB-INF/src/manning/chapterFive/DataTransferTest.java
            WEB-INF/src/manning/chapterFive/utils/
            WEB-INF/src/manning/chapterFive/utils/Portfolio.java
            WEB-INF/src/manning/chapterFive/utils/PortfolioService.java
            WEB-INF/src/manning/chapterFive/utils/User.java
            WEB-INF/src/manning/chapterFive/utils/Struts2PortfolioConstants.java
            WEB-INF/src/manning/chapterFive/utils/AuthenticationInterceptor.java
            WEB-INF/src/manning/chapterFive/utils/UserAware.java
            WEB-INF/src/manning/chapterFive/utils/Circle.java
            WEB-INF/src/manning/chapterFive/utils/CircleTypeConverter.java
            WEB-INF/src/manning/chapterTwo/
            WEB-INF/src/manning/chapterTwo/chapterTwo.xml
            WEB-INF/src/manning/chapterTwo/AnnotatedNameCollector.java
            WEB-INF/src/manning/chapterTwo/AnnotatedHelloWorldAction.java
            WEB-INF/src/manning/chapterTwo/HelloWorld.java
            WEB-INF/src/manning/utils/
            WEB-INF/src/manning/utils/AuthenticationInterceptor.java
            WEB-INF/src/manning/utils/User.properties
            WEB-INF/src/manning/utils/Portfolio.java
            WEB-INF/src/manning/utils/PortfolioServiceInterface.java
            WEB-INF/src/manning/utils/PortfolioServiceJPAImpl.java
            WEB-INF/src/manning/utils/Struts2PortfolioConstants.java
            WEB-INF/src/manning/utils/User.java
            WEB-INF/src/manning/utils/UserAware.java
            WEB-INF/src/manning/utils/PasswordIntegrityValidator.java
            WEB-INF/src/manning/utils/User-validation.xml
            WEB-INF/src/manning/chapterFour/
            WEB-INF/src/manning/chapterFour/Register.properties
            WEB-INF/src/manning/chapterFour/chapterFour.xml
            WEB-INF/src/manning/chapterFour/Register.java
            WEB-INF/src/manning/chapterFour/Register_es.properties
            WEB-INF/src/manning/chapterFour/ImageUpload.java
            WEB-INF/src/manning/chapterFour/Login.java
            WEB-INF/src/manning/chapterFour/ErrorProne.java
            WEB-INF/src/manning/chapterFour/utils/
            WEB-INF/src/manning/chapterFour/utils/Portfolio.java
            WEB-INF/src/manning/chapterFour/utils/PortfolioService.java
            WEB-INF/src/manning/chapterFour/utils/User.java
            WEB-INF/src/manning/chapterFour/utils/Struts2PortfolioConstants.java
            WEB-INF/src/manning/chapterFour/utils/AuthenticationInterceptor.java
            WEB-INF/src/manning/chapterFour/utils/UserAware.java
            WEB-INF/src/manning/servlet/
            WEB-INF/src/manning/servlet/AnotherServlet.java
            WEB-INF/src/manning/chapterEight/
            WEB-INF/src/manning/chapterEight/UpdateAccount.java
            WEB-INF/src/manning/chapterEight/Register.properties
            WEB-INF/src/manning/chapterEight/ViewPortfolio.java
            WEB-INF/src/manning/chapterEight/Login.java
            WEB-INF/src/manning/chapterEight/JSONResult.java
            WEB-INF/src/manning/chapterEight/UpdateAccountForm.java
            WEB-INF/src/manning/chapterEight/PortfolioHomePage.java
            WEB-INF/src/manning/chapterEight/RetrieveUser.java
            WEB-INF/src/manning/chapterEight/Register.java
            WEB-INF/src/manning/chapterEight/Register_es.properties
            WEB-INF/src/manning/chapterEight/AjaxUserBrowser.java
            WEB-INF/src/manning/chapterEight/ImageUpload.java
            WEB-INF/src/manning/chapterEight/ForwardToAnotherServlet.java
            WEB-INF/src/manning/chapterEight/ErrorProne.java
            WEB-INF/src/manning/chapterEight/UpdateAccountForm.properties
            WEB-INF/src/manning/chapterEight/PortfolioHomePage.properties
            WEB-INF/src/manning/chapterEight/chapterEight.xml
            WEB-INF/src/manning/chapterEight/utils/
            WEB-INF/src/manning/chapterEight/utils/Portfolio.java
            WEB-INF/src/manning/chapterEight/utils/PortfolioService.java
            WEB-INF/src/manning/chapterEight/utils/User.java
            WEB-INF/src/manning/chapterEight/utils/Struts2PortfolioConstants.java
            WEB-INF/src/manning/chapterEight/utils/AuthenticationInterceptor.java
            WEB-INF/src/manning/chapterEight/utils/UserAware.java
            WEB-INF/src/manning/chapterEight/utils/Circle.java
            WEB-INF/src/manning/chapterEight/utils/CircleTypeConverter.java
            WEB-INF/src/manning/chapterSeven/
            WEB-INF/src/manning/chapterSeven/Register.properties
            WEB-INF/src/manning/chapterSeven/UpdateAccount.java
            WEB-INF/src/manning/chapterSeven/PortfolioHomePage.java
            WEB-INF/src/manning/chapterSeven/UpdateAccountForm.java
            WEB-INF/src/manning/chapterSeven/Register.java
            WEB-INF/src/manning/chapterSeven/Register_es.properties
            WEB-INF/src/manning/chapterSeven/chapterSeven.xml
            WEB-INF/src/manning/chapterSeven/ImageUpload.java
            WEB-INF/src/manning/chapterSeven/Login.java
            WEB-INF/src/manning/chapterSeven/ViewPortfolio.java
            WEB-INF/src/manning/chapterSeven/ErrorProne.java
            WEB-INF/src/manning/chapterSeven/SelectPortfolio.java
            WEB-INF/src/manning/chapterSeven/PortfolioHomePage.properties
            WEB-INF/src/manning/chapterSeven/UpdateAccountForm.properties
            WEB-INF/src/manning/chapterSeven/utils/
            WEB-INF/src/manning/chapterSeven/utils/Portfolio.java
            WEB-INF/src/manning/chapterSeven/utils/PortfolioService.java
            WEB-INF/src/manning/chapterSeven/utils/User.java
            WEB-INF/src/manning/chapterSeven/utils/Struts2PortfolioConstants.java
            WEB-INF/src/manning/chapterSeven/utils/AuthenticationInterceptor.java
            WEB-INF/src/manning/chapterSeven/utils/UserAware.java
            WEB-INF/src/manning/chapterSeven/utils/Circle.java
            WEB-INF/src/manning/chapterSeven/utils/CircleTypeConverter.java
            WEB-INF/src/manning/chapterSix/
            WEB-INF/src/manning/chapterSix/Register.properties
            WEB-INF/src/manning/chapterSix/TagDemo.java
            WEB-INF/src/manning/chapterSix/Register.java
            WEB-INF/src/manning/chapterSix/TargetAction.java
            WEB-INF/src/manning/chapterSix/Register_es.properties
            WEB-INF/src/manning/chapterSix/ImageUpload.java
            WEB-INF/src/manning/chapterSix/Login.java
            WEB-INF/src/manning/chapterSix/chapterSix.xml
            WEB-INF/src/manning/chapterSix/ViewPortfolios.java
            WEB-INF/src/manning/chapterSix/ErrorProne.java
            WEB-INF/src/manning/chapterSix/utils/
            WEB-INF/src/manning/chapterSix/utils/Portfolio.java
            WEB-INF/src/manning/chapterSix/utils/PortfolioService.java
            WEB-INF/src/manning/chapterSix/utils/User.java
            WEB-INF/src/manning/chapterSix/utils/Struts2PortfolioConstants.java
            WEB-INF/src/manning/chapterSix/utils/AuthenticationInterceptor.java
            WEB-INF/src/manning/chapterSix/utils/UserAware.java
            WEB-INF/src/manning/chapterSix/utils/Circle.java
            WEB-INF/src/manning/chapterSix/utils/CircleTypeConverter.java
            WEB-INF/src/manning/chapterSix/utils/JokeBean.java
            WEB-INF/src/manning/chapterSix/myResourceBundle_tr.properties
            WEB-INF/src/manning/chapterTen/
            WEB-INF/src/manning/chapterTen/Register.properties
            WEB-INF/src/manning/chapterTen/UpdateAccount.java
            WEB-INF/src/manning/chapterTen/UpdateAccount-validation.xml
            WEB-INF/src/manning/chapterTen/RegisterValidationAnnotated.properties
            WEB-INF/src/manning/chapterTen/Login.java
            WEB-INF/src/manning/chapterTen/ViewPortfolio.java
            WEB-INF/src/manning/chapterTen/chapterTen.xml
            WEB-INF/src/manning/chapterTen/PortfolioHomePage.java
            WEB-INF/src/manning/chapterTen/UpdateAccountForm.java
            WEB-INF/src/manning/chapterTen/RetrieveUser.java
            WEB-INF/src/manning/chapterTen/Register.java
            WEB-INF/src/manning/chapterTen/Register_es.properties
            WEB-INF/src/manning/chapterTen/ImageUpload.java
            WEB-INF/src/manning/chapterTen/Register-validation.xml
            WEB-INF/src/manning/chapterTen/RegisterValidationAnnotated.java
            WEB-INF/src/manning/chapterTen/PortfolioHomePage.properties
            WEB-INF/src/manning/chapterTen/UpdateAccountForm.properties
            WEB-INF/src/manning/chapterTen/UpdatePortfolio.java
            WEB-INF/src/manning/chapterTen/EditPortfolio.java
            WEB-INF/src/manning/chapterThree/
            WEB-INF/src/manning/chapterThree/objectBacked/
            WEB-INF/src/manning/chapterThree/objectBacked/ObjectBackedRegister.properties
            WEB-INF/src/manning/chapterThree/objectBacked/ObjectBackedRegister.java
            WEB-INF/src/manning/chapterThree/objectBacked/ObjectBackedRegister_es.properties
            WEB-INF/src/manning/chapterThree/objectBacked/chapterThree.xml
            WEB-INF/src/manning/chapterThree/utils/
            WEB-INF/src/manning/chapterThree/utils/Portfolio.java
            WEB-INF/src/manning/chapterThree/utils/PortfolioService.java
            WEB-INF/src/manning/chapterThree/utils/User.java
            WEB-INF/src/manning/chapterThree/modelDriven/
            WEB-INF/src/manning/chapterThree/modelDriven/ModelDrivenRegister_es.properties
            WEB-INF/src/manning/chapterThree/modelDriven/ModelDrivenRegister.properties
            WEB-INF/src/manning/chapterThree/modelDriven/ModelDrivenRegister.java
            WEB-INF/src/manning/chapterThree/modelDriven/chapterThree.xml
            WEB-INF/src/manning/chapterThree/Register.properties
            WEB-INF/src/manning/chapterThree/Register.java
            WEB-INF/src/manning/chapterThree/Register_es.properties
            WEB-INF/src/manning/chapterThree/ImageUpload.java
            WEB-INF/src/manning/chapterThree/chapterThree.xml
            WEB-INF/src/manning/chapterNine/
            WEB-INF/src/manning/chapterNine/CreatePortfolio.java
            WEB-INF/src/manning/chapterNine/ErrorProne.java
            WEB-INF/src/manning/chapterNine/CreatePortfolio.properties
            WEB-INF/src/manning/chapterNine/ImageUpload.java
            WEB-INF/src/manning/chapterNine/Login.java
            WEB-INF/src/manning/chapterNine/PortfolioHomePage.java
            WEB-INF/src/manning/chapterNine/PortfolioHomePage.properties
            WEB-INF/src/manning/chapterNine/Register.java
            WEB-INF/src/manning/chapterNine/Register.properties
            WEB-INF/src/manning/chapterNine/Register_es.properties
            WEB-INF/src/manning/chapterNine/EditPortfolio.java
            WEB-INF/src/manning/chapterNine/UpdateAccount.java
            WEB-INF/src/manning/chapterNine/UpdateAccountForm.java
            WEB-INF/src/manning/chapterNine/UpdateAccountForm.properties
            WEB-INF/src/manning/chapterNine/ViewPortfolio.java
            WEB-INF/src/manning/chapterNine/chapterNine.xml
            WEB-INF/src/manning/chapterNine/UpdatePortfolio.java
            WEB-INF/src/manning/chapterEleven/
            WEB-INF/src/manning/chapterEleven/Register.properties
            WEB-INF/src/manning/chapterEleven/UpdateAccount.java
            WEB-INF/src/manning/chapterEleven/UpdateAccount-validation.xml
            WEB-INF/src/manning/chapterEleven/chapterEleven.xml
            WEB-INF/src/manning/chapterEleven/Login.java
            WEB-INF/src/manning/chapterEleven/UserBundle.java
            WEB-INF/src/manning/chapterEleven/ViewPortfolio.java
            WEB-INF/src/manning/chapterEleven/PortfolioHomePage.java
            WEB-INF/src/manning/chapterEleven/UpdateAccountForm.java
            WEB-INF/src/manning/chapterEleven/package.properties
            WEB-INF/src/manning/chapterEleven/Register.java
            WEB-INF/src/manning/chapterEleven/Register_es.properties
            WEB-INF/src/manning/chapterEleven/MySuperClass.java
            WEB-INF/src/manning/chapterEleven/ImageUpload.java
            WEB-INF/src/manning/chapterEleven/Register-validation.xml
            WEB-INF/src/manning/chapterEleven/PortfolioHomePage_es.properties
            WEB-INF/src/manning/chapterEleven/PortfolioHomePage.properties
            WEB-INF/src/manning/chapterEleven/UpdatePortfolio.java
            WEB-INF/src/manning/chapterEleven/EditPortfolio.java
            WEB-INF/src/manning/chapterEleven/MySuperClass.properties
            WEB-INF/src/manning/chapterEleven/PropertiesFileInterface.java
            WEB-INF/src/manning/chapterEleven/PropertiesFileInterface.properties
            WEB-INF/src/manning/chapterEleven/package_es.properties
            WEB-INF/src/manning/chapterEleven/PropertiesFileInterface_en.properties
            WEB-INF/src/manning/chapterEleven/MySuperClass_en_US.properties
            WEB-INF/src/manning/package.properties
            WEB-INF/src/struts.properties
            WEB-INF/src/global-messages.properties
            WEB-INF/src/struts.xml
            WEB-INF/src/validators.xml
            WEB-INF/src/META-INF/
            WEB-INF/src/META-INF/persistence.xml
            WEB-INF/src/global-messages_es.properties
            WEB-INF/applicationContext.xml
            WEB-INF/web.xml
            WEB-INF/classes/
            WEB-INF/classes/validators.xml
            WEB-INF/classes/struts.xml
            WEB-INF/classes/struts.properties
            WEB-INF/classes/manning/
            WEB-INF/classes/manning/utils/
            WEB-INF/classes/manning/utils/User.properties
            WEB-INF/classes/manning/utils/User-validation.xml
            WEB-INF/classes/manning/utils/UserAware.class
            WEB-INF/classes/manning/utils/User.class
            WEB-INF/classes/manning/utils/Struts2PortfolioConstants.class
            WEB-INF/classes/manning/utils/PortfolioServiceJPAImpl.class
            WEB-INF/classes/manning/utils/PortfolioServiceInterface.class
            WEB-INF/classes/manning/utils/Portfolio.class
            WEB-INF/classes/manning/utils/PasswordIntegrityValidator.class
            WEB-INF/classes/manning/utils/AuthenticationInterceptor.class
            WEB-INF/classes/manning/package.properties
            WEB-INF/classes/manning/chapterTwo/
            WEB-INF/classes/manning/chapterTwo/chapterTwo.xml
            WEB-INF/classes/manning/chapterTwo/HelloWorld.class
            WEB-INF/classes/manning/chapterTwo/AnnotatedNameCollector.class
            WEB-INF/classes/manning/chapterTwo/AnnotatedHelloWorldAction.class
            WEB-INF/classes/manning/chapterThree/
            WEB-INF/classes/manning/chapterThree/objectBacked/
            WEB-INF/classes/manning/chapterThree/objectBacked/chapterThree.xml
            WEB-INF/classes/manning/chapterThree/objectBacked/ObjectBackedRegister_es.properties
            WEB-INF/classes/manning/chapterThree/objectBacked/ObjectBackedRegister.properties
            WEB-INF/classes/manning/chapterThree/objectBacked/ObjectBackedRegister.class
            WEB-INF/classes/manning/chapterThree/modelDriven/
            WEB-INF/classes/manning/chapterThree/modelDriven/chapterThree.xml
            WEB-INF/classes/manning/chapterThree/modelDriven/ModelDrivenRegister_es.properties
            WEB-INF/classes/manning/chapterThree/modelDriven/ModelDrivenRegister.properties
            WEB-INF/classes/manning/chapterThree/modelDriven/ModelDrivenRegister.class
            WEB-INF/classes/manning/chapterThree/chapterThree.xml
            WEB-INF/classes/manning/chapterThree/Register_es.properties
            WEB-INF/classes/manning/chapterThree/Register.properties
            WEB-INF/classes/manning/chapterThree/utils/
            WEB-INF/classes/manning/chapterThree/utils/User.class
            WEB-INF/classes/manning/chapterThree/utils/PortfolioService.class
            WEB-INF/classes/manning/chapterThree/utils/Portfolio.class
            WEB-INF/classes/manning/chapterThree/Register.class
            WEB-INF/classes/manning/chapterThree/ImageUpload.class
            WEB-INF/classes/manning/chapterTen/
            WEB-INF/classes/manning/chapterTen/chapterTen.xml
            WEB-INF/classes/manning/chapterTen/UpdateAccountForm.properties
            WEB-INF/classes/manning/chapterTen/UpdateAccount-validation.xml
            WEB-INF/classes/manning/chapterTen/Register_es.properties
            WEB-INF/classes/manning/chapterTen/RegisterValidationAnnotated.properties
            WEB-INF/classes/manning/chapterTen/Register.properties
            WEB-INF/classes/manning/chapterTen/Register-validation.xml
            WEB-INF/classes/manning/chapterTen/PortfolioHomePage.properties
            WEB-INF/classes/manning/chapterTen/ViewPortfolio.class
            WEB-INF/classes/manning/chapterTen/UpdatePortfolio.class
            WEB-INF/classes/manning/chapterTen/UpdateAccountForm.class
            WEB-INF/classes/manning/chapterTen/UpdateAccount.class
            WEB-INF/classes/manning/chapterTen/RetrieveUser.class
            WEB-INF/classes/manning/chapterTen/RegisterValidationAnnotated.class
            WEB-INF/classes/manning/chapterTen/Register.class
            WEB-INF/classes/manning/chapterTen/PortfolioHomePage.class
            WEB-INF/classes/manning/chapterTen/Login.class
            WEB-INF/classes/manning/chapterTen/ImageUpload.class
            WEB-INF/classes/manning/chapterTen/EditPortfolio.class
            WEB-INF/classes/manning/chapterSix/
            WEB-INF/classes/manning/chapterSix/myResourceBundle_tr.properties
            WEB-INF/classes/manning/chapterSix/chapterSix.xml
            WEB-INF/classes/manning/chapterSix/Register_es.properties
            WEB-INF/classes/manning/chapterSix/Register.properties
            WEB-INF/classes/manning/chapterSix/utils/
            WEB-INF/classes/manning/chapterSix/utils/UserAware.class
            WEB-INF/classes/manning/chapterSix/utils/User.class
            WEB-INF/classes/manning/chapterSix/utils/Struts2PortfolioConstants.class
            WEB-INF/classes/manning/chapterSix/utils/PortfolioService.class
            WEB-INF/classes/manning/chapterSix/utils/Portfolio.class
            WEB-INF/classes/manning/chapterSix/utils/JokeBean.class
            WEB-INF/classes/manning/chapterSix/utils/CircleTypeConverter.class
            WEB-INF/classes/manning/chapterSix/utils/Circle.class
            WEB-INF/classes/manning/chapterSix/utils/AuthenticationInterceptor.class
            WEB-INF/classes/manning/chapterSix/ViewPortfolios.class
            WEB-INF/classes/manning/chapterSix/TargetAction.class
            WEB-INF/classes/manning/chapterSix/TagDemo.class
            WEB-INF/classes/manning/chapterSix/Register.class
            WEB-INF/classes/manning/chapterSix/Login.class
            WEB-INF/classes/manning/chapterSix/ImageUpload.class
            WEB-INF/classes/manning/chapterSix/ErrorProne.class
            WEB-INF/classes/manning/chapterSeven/
            WEB-INF/classes/manning/chapterSeven/chapterSeven.xml
            WEB-INF/classes/manning/chapterSeven/UpdateAccountForm.properties
            WEB-INF/classes/manning/chapterSeven/Register_es.properties
            WEB-INF/classes/manning/chapterSeven/Register.properties
            WEB-INF/classes/manning/chapterSeven/PortfolioHomePage.properties
            WEB-INF/classes/manning/chapterSeven/utils/
            WEB-INF/classes/manning/chapterSeven/utils/UserAware.class
            WEB-INF/classes/manning/chapterSeven/utils/User.class
            WEB-INF/classes/manning/chapterSeven/utils/Struts2PortfolioConstants.class
            WEB-INF/classes/manning/chapterSeven/utils/PortfolioService.class
            WEB-INF/classes/manning/chapterSeven/utils/Portfolio.class
            WEB-INF/classes/manning/chapterSeven/utils/CircleTypeConverter.class
            WEB-INF/classes/manning/chapterSeven/utils/Circle.class
            WEB-INF/classes/manning/chapterSeven/utils/AuthenticationInterceptor.class
            WEB-INF/classes/manning/chapterSeven/ViewPortfolio.class
            WEB-INF/classes/manning/chapterSeven/UpdateAccountForm.class
            WEB-INF/classes/manning/chapterSeven/UpdateAccount.class
            WEB-INF/classes/manning/chapterSeven/SelectPortfolio.class
            WEB-INF/classes/manning/chapterSeven/Register.class
            WEB-INF/classes/manning/chapterSeven/PortfolioHomePage.class
            WEB-INF/classes/manning/chapterSeven/Login.class
            WEB-INF/classes/manning/chapterSeven/ImageUpload.class
            WEB-INF/classes/manning/chapterSeven/ErrorProne.class
            WEB-INF/classes/manning/chapterNine/
            WEB-INF/classes/manning/chapterNine/chapterNine.xml
            WEB-INF/classes/manning/chapterNine/UpdateAccountForm.properties
            WEB-INF/classes/manning/chapterNine/Register_es.properties
            WEB-INF/classes/manning/chapterNine/Register.properties
            WEB-INF/classes/manning/chapterNine/PortfolioHomePage.properties
            WEB-INF/classes/manning/chapterNine/CreatePortfolio.properties
            WEB-INF/classes/manning/chapterNine/ViewPortfolio.class
            WEB-INF/classes/manning/chapterNine/UpdatePortfolio.class
            WEB-INF/classes/manning/chapterNine/UpdateAccountForm.class
            WEB-INF/classes/manning/chapterNine/UpdateAccount.class
            WEB-INF/classes/manning/chapterNine/Register.class
            WEB-INF/classes/manning/chapterNine/PortfolioHomePage.class
            WEB-INF/classes/manning/chapterNine/Login.class
            WEB-INF/classes/manning/chapterNine/ImageUpload.class
            WEB-INF/classes/manning/chapterNine/ErrorProne.class
            WEB-INF/classes/manning/chapterNine/EditPortfolio.class
            WEB-INF/classes/manning/chapterNine/CreatePortfolio.class
            WEB-INF/classes/manning/chapterFour/
            WEB-INF/classes/manning/chapterFour/chapterFour.xml
            WEB-INF/classes/manning/chapterFour/Register_es.properties
            WEB-INF/classes/manning/chapterFour/Register.properties
            WEB-INF/classes/manning/chapterFour/utils/
            WEB-INF/classes/manning/chapterFour/utils/UserAware.class
            WEB-INF/classes/manning/chapterFour/utils/User.class
            WEB-INF/classes/manning/chapterFour/utils/Struts2PortfolioConstants.class
            WEB-INF/classes/manning/chapterFour/utils/PortfolioService.class
            WEB-INF/classes/manning/chapterFour/utils/Portfolio.class
            WEB-INF/classes/manning/chapterFour/utils/AuthenticationInterceptor.class
            WEB-INF/classes/manning/chapterFour/Register.class
            WEB-INF/classes/manning/chapterFour/Login.class
            WEB-INF/classes/manning/chapterFour/ImageUpload.class
            WEB-INF/classes/manning/chapterFour/ErrorProne.class
            WEB-INF/classes/manning/chapterFive/
            WEB-INF/classes/manning/chapterFive/chapterFive.xml
            WEB-INF/classes/manning/chapterFive/Register_es.properties
            WEB-INF/classes/manning/chapterFive/Register.properties
            WEB-INF/classes/manning/chapterFive/DataTransferTest.properties
            WEB-INF/classes/manning/chapterFive/DataTransferTest-conversion.properties
            WEB-INF/classes/manning/chapterFive/CustomConverterTest-conversion.properties
            WEB-INF/classes/manning/chapterFive/utils/
            WEB-INF/classes/manning/chapterFive/utils/UserAware.class
            WEB-INF/classes/manning/chapterFive/utils/User.class
            WEB-INF/classes/manning/chapterFive/utils/Struts2PortfolioConstants.class
            WEB-INF/classes/manning/chapterFive/utils/PortfolioService.class
            WEB-INF/classes/manning/chapterFive/utils/Portfolio.class
            WEB-INF/classes/manning/chapterFive/utils/CircleTypeConverter.class
            WEB-INF/classes/manning/chapterFive/utils/Circle.class
            WEB-INF/classes/manning/chapterFive/utils/AuthenticationInterceptor.class
            WEB-INF/classes/manning/chapterFive/Register.class
            WEB-INF/classes/manning/chapterFive/Login.class
            WEB-INF/classes/manning/chapterFive/ImageUpload.class
            WEB-INF/classes/manning/chapterFive/DataTransferTest.class
            WEB-INF/classes/manning/chapterFive/CustomConverterTest.class
            WEB-INF/classes/manning/chapterEleven/
            WEB-INF/classes/manning/chapterEleven/package_es.properties
            WEB-INF/classes/manning/chapterEleven/package.properties
            WEB-INF/classes/manning/chapterEleven/chapterEleven.xml
            WEB-INF/classes/manning/chapterEleven/UpdateAccount-validation.xml
            WEB-INF/classes/manning/chapterEleven/Register_es.properties
            WEB-INF/classes/manning/chapterEleven/Register.properties
            WEB-INF/classes/manning/chapterEleven/Register-validation.xml
            WEB-INF/classes/manning/chapterEleven/PropertiesFileInterface_en.properties
            WEB-INF/classes/manning/chapterEleven/PropertiesFileInterface.properties
            WEB-INF/classes/manning/chapterEleven/PortfolioHomePage_es.properties
            WEB-INF/classes/manning/chapterEleven/PortfolioHomePage.properties
            WEB-INF/classes/manning/chapterEleven/MySuperClass_en_US.properties
            WEB-INF/classes/manning/chapterEleven/MySuperClass.properties
            WEB-INF/classes/manning/chapterEleven/ViewPortfolio.class
            WEB-INF/classes/manning/chapterEleven/UserBundle.class
            WEB-INF/classes/manning/chapterEleven/UpdatePortfolio.class
            WEB-INF/classes/manning/chapterEleven/UpdateAccountForm.class
            WEB-INF/classes/manning/chapterEleven/UpdateAccount.class
            WEB-INF/classes/manning/chapterEleven/Register.class
            WEB-INF/classes/manning/chapterEleven/PropertiesFileInterface.class
            WEB-INF/classes/manning/chapterEleven/PortfolioHomePage.class
            WEB-INF/classes/manning/chapterEleven/MySuperClass.class
            WEB-INF/classes/manning/chapterEleven/Login.class
            WEB-INF/classes/manning/chapterEleven/ImageUpload.class
            WEB-INF/classes/manning/chapterEleven/EditPortfolio.class
            WEB-INF/classes/manning/chapterEight/
            WEB-INF/classes/manning/chapterEight/chapterEight.xml
            WEB-INF/classes/manning/chapterEight/UpdateAccountForm.properties
            WEB-INF/classes/manning/chapterEight/Register_es.properties
            WEB-INF/classes/manning/chapterEight/Register.properties
            WEB-INF/classes/manning/chapterEight/PortfolioHomePage.properties
            WEB-INF/classes/manning/chapterEight/utils/
            WEB-INF/classes/manning/chapterEight/utils/UserAware.class
            WEB-INF/classes/manning/chapterEight/utils/User.class
            WEB-INF/classes/manning/chapterEight/utils/Struts2PortfolioConstants.class
            WEB-INF/classes/manning/chapterEight/utils/PortfolioService.class
            WEB-INF/classes/manning/chapterEight/utils/Portfolio.class
            WEB-INF/classes/manning/chapterEight/utils/CircleTypeConverter.class
            WEB-INF/classes/manning/chapterEight/utils/Circle.class
            WEB-INF/classes/manning/chapterEight/utils/AuthenticationInterceptor.class
            WEB-INF/classes/manning/chapterEight/ViewPortfolio.class
            WEB-INF/classes/manning/chapterEight/UpdateAccountForm.class
            WEB-INF/classes/manning/chapterEight/UpdateAccount.class
            WEB-INF/classes/manning/chapterEight/RetrieveUser.class
            WEB-INF/classes/manning/chapterEight/Register.class
            WEB-INF/classes/manning/chapterEight/PortfolioHomePage.class
            WEB-INF/classes/manning/chapterEight/Login.class
            WEB-INF/classes/manning/chapterEight/JSONResult.class
            WEB-INF/classes/manning/chapterEight/ImageUpload.class
            WEB-INF/classes/manning/chapterEight/ForwardToAnotherServlet.class
            WEB-INF/classes/manning/chapterEight/ErrorProne.class
            WEB-INF/classes/manning/chapterEight/AjaxUserBrowser.class
            WEB-INF/classes/manning/servlet/
            WEB-INF/classes/manning/servlet/AnotherServlet.class
            WEB-INF/classes/global-messages_es.properties
            WEB-INF/classes/global-messages.properties
            WEB-INF/classes/META-INF/
            WEB-INF/classes/META-INF/persistence.xml
            WEB-INF/lib/
            WEB-INF/lib/antlr-2.7.2.jar
            WEB-INF/lib/commons-beanutils-1.6.jar
            WEB-INF/lib/commons-chain-1.1.jar
            WEB-INF/lib/commons-collections-3.2.jar
            WEB-INF/lib/commons-digester-1.8.jar
            WEB-INF/lib/commons-fileupload-1.1.1.jar
            WEB-INF/lib/commons-io-1.2.jar
            WEB-INF/lib/commons-lang-2.3.jar
            WEB-INF/lib/commons-logging-1.1.jar
            WEB-INF/lib/commons-validator-1.3.0.jar
            WEB-INF/lib/freemarker-2.3.8.jar
            WEB-INF/lib/jettison-1.0-RC1.jar
            WEB-INF/lib/ognl-2.6.11.jar
            WEB-INF/lib/oro-2.0.8.jar
            WEB-INF/lib/spring.jar
            WEB-INF/lib/stax-1.2.0.jar
            WEB-INF/lib/stax-api-1.0.1.jar
            WEB-INF/lib/struts-core-1.3.5.jar
            WEB-INF/lib/struts2-spring-plugin-2.0.11.jar
            WEB-INF/lib/struts2-pell-multipart-plugin-2.0.11.jar
            WEB-INF/lib/struts2-core-2.0.11.jar
            WEB-INF/lib/tiles-api-2.0.4.jar
            WEB-INF/lib/tiles-core-2.0.4.jar
            WEB-INF/lib/tiles-jsp-2.0.4.jar
            WEB-INF/lib/velocity-1.5.jar
            WEB-INF/lib/velocity-tools-1.3.jar
            WEB-INF/lib/xpp3_min-1.1.3.4.O.jar
            WEB-INF/lib/xstream-1.2.2.jar
            WEB-INF/lib/xwork-2.0.4.jar
            WEB-INF/lib/asm.jar
            WEB-INF/lib/asm-attrs.jar
            WEB-INF/lib/cglib-2.1.3.jar
            WEB-INF/lib/dom4j-1.6.1.jar
            WEB-INF/lib/jta.jar
            WEB-INF/lib/hibernate3.jar
            WEB-INF/lib/mysql-connector-java-5.1.5-bin.jar
            WEB-INF/lib/hibernate-annotations.jar
            WEB-INF/lib/ejb3-persistence.jar
            WEB-INF/lib/hibernate-commons-annotations.jar
            WEB-INF/lib/hibernate-entitymanager.jar
            WEB-INF/lib/jboss-archive-browsing.jar
            WEB-INF/lib/javassist.jar
            chapterEight/
            chapterEight/css/
            chapterEight/css/ajaxUserBrowser.css
            chapterEight/AdminPortfolio.jsp
            chapterEight/ajaxUserBrowser.jsp
            chapterEight/UpdateAccountSuccess.jsp
            chapterEight/Error.jsp
            chapterEight/ViewPortfolio.vm
            chapterEight/ViewPortfolio.ftl
            chapterEight/RegistrationSuccess.jsp
            chapterEight/ImageRemoved.jsp
            chapterEight/ImageAdded.jsp
            chapterEight/VisitorHomePage.jsp
            chapterEight/ajaxUserBrowser.js
            chapterEight/ViewPortfolio.jsp
            chapterEight/Login.jsp
            chapterEight/Registration.jsp
            chapterEight/ImageUploadForm.jsp
            chapterEight/ArtistHomePage.jsp
            chapterEight/SelectPortfolio.jsp
            chapterEight/UpdateAccountForm.jsp
            chapterEight/PortfolioHomePage.jsp
            chapterSeven/
            chapterSeven/ImageAdded.jsp
            chapterSeven/ImageRemoved.jsp
            chapterSeven/AdminPortfolio.jsp
            chapterSeven/Login.jsp
            chapterSeven/UpdateAccountSuccess.jsp
            chapterSeven/ViewPortfolio.jsp
            chapterSeven/Error.jsp
            chapterSeven/Registration.jsp
            chapterSeven/ImageUploadForm.jsp
            chapterSeven/SelectPortfolio.jsp
            chapterSeven/PortfolioHomePage.jsp
            chapterSeven/RegistrationSuccess.jsp
            chapterSeven/UpdateAccountForm.jsp
            chapterSix/
            chapterSix/InternationalizationTags.jsp
            chapterSix/IteratorTag.jsp
            chapterSix/TargetResult.jsp
            chapterSix/IfElseTags.jsp
            chapterSix/AdminPortfolio.jsp
            chapterSix/SetTag.jsp
            chapterSix/Error.jsp
            chapterSix/ViewPortfolios.jsp
            chapterSix/UrlTag.jsp
            chapterSix/RegistrationSuccess.jsp
            chapterSix/ImageRemoved.jsp
            chapterSix/ImageAdded.jsp
            chapterSix/ActionTagNoResult.jsp
            chapterSix/Login.jsp
            chapterSix/ViewPortfolio.jsp
            chapterSix/ActionTag.jsp
            chapterSix/Registration.jsp
            chapterSix/ImageUploadForm.jsp
            chapterSix/PushTag.jsp
            chapterSix/PropertyTag.jsp
            chapterSix/DebugTag.jsp
            chapterSix/BeanTag1.jsp
            chapterSix/BeanTag2.jsp
            chapterSix/PortfolioHomePage.jsp
            chapterTen/
            chapterTen/AdminPortfolio.jsp
            chapterTen/UpdateAccountSuccess.jsp
            chapterTen/Error.jsp
            chapterTen/RegistrationSuccess.jsp
            chapterTen/ImageRemoved.jsp
            chapterTen/ImageAdded.jsp
            chapterTen/VisitorHomePage.jsp
            chapterTen/ViewPortfolio.jsp
            chapterTen/Login.jsp
            chapterTen/Registration.jsp
            chapterTen/ImageUploadForm.jsp
            chapterTen/ArtistHomePage.jsp
            chapterTen/SelectPortfolio.jsp
            chapterTen/UpdateAccountForm.jsp
            chapterTen/PortfolioHomePage.jsp
            chapterTen/EditPortfolio.jsp
            chapterTen/UpdatePortfolioSuccess.jsp
            chapterTen/CreatePortfolio.jsp
            chapterTen/PortfolioAdded.jsp
            chapterThree/
            chapterThree/ImageAdded.jsp
            chapterThree/ImageRemoved.jsp
            chapterThree/AdminPortfolio.jsp
            chapterThree/Registration.jsp
            chapterThree/Registration_MD.jsp
            chapterThree/Registration_OB.jsp
            chapterThree/ImageUploadForm.jsp
            chapterThree/ViewPortfolios.jsp
            chapterThree/PortfolioHomePage.jsp
            chapterThree/RegistrationSuccess.jsp
            chapterThree/RegistrationSuccess_OB.jsp
            index.html
            chapterEleven/
            chapterEleven/AdminPortfolio.jsp
            chapterEleven/UpdateAccountSuccess.jsp
            chapterEleven/Error.jsp
            chapterEleven/RegistrationSuccess.jsp
            chapterEleven/ImageRemoved.jsp
            chapterEleven/ImageAdded.jsp
            chapterEleven/VisitorHomePage.jsp
            chapterEleven/ViewPortfolio.jsp
            chapterEleven/Login.jsp
            chapterEleven/Registration.jsp
            chapterEleven/ImageUploadForm.jsp
            chapterEleven/ArtistHomePage.jsp
            chapterEleven/SelectPortfolio.jsp
            chapterEleven/UpdateAccountForm.jsp
            chapterEleven/PortfolioHomePage.jsp
            chapterEleven/EditPortfolio.jsp
            chapterEleven/UpdatePortfolioSuccess.jsp
            chapterEleven/CreatePortfolio.jsp
            chapterEleven/PortfolioAdded.jsp
            images/
            README.txt
            applicationContext.xml
            


            • 3. Re: Can't deploy a struts2 application
              jaikiran pai Master

              The application contents look fine to me, except that the application packages even the source java files. But that should not cause any issues.

              How are you deploying the application? From an IDE or simply by copy/paste in deploy folder? And can you download the latest JBoss AS 5.1.0 GA and see if this works there?

              • 4. Re: Can't deploy a struts2 application
                Heinz JRookie Newbie

                Hi jaikiran,

                I deployed by copy and paste.
                If I install JBoss 5.1 I have to do this in a new directory and transfer then step by step my configurations from JBoss 5.0, isn't it?
                There is no way to simply just "upgrade" ???
                Regards
                JRookie