6 Replies Latest reply on Jan 13, 2012 1:36 AM by Nick .

    Getting error while trying to upload file in JBoss AS 7 + Struts2 FileUpload

    Nick . Apprentice

      Hi,

           I'm getting the following error while i try to upload a file using Struts2 FileUpload. After this error Server is getting shut down, when we restart the server and upload a file again then its not showing the error and file is getting uploaded. I guess this could be a bug in JBoss AS7. Please help me out.

       

       

      20:58:33,484 INFO  [org.apache.struts2.dispatcher.Dispatcher] (http-127.0.0.1-127.0.0.1-8080-5) Unable to find 'struts.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir

      20:58:34,297 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Server\jboss-as-7.1.0.CR1-SNAPSHOT\jboss-modules.jar'

       

       

      20:58:34,465 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\resources.jar'

       

       

      20:58:34,563 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\rt.jar'

       

       

      20:58:42,285 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\jsse.jar'

       

       

      20:58:42,541 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\jce.jar'

       

       

      20:58:42,668 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\charsets.jar'

       

       

      20:58:42,887 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\ext\dnsns.jar'

       

       

      20:58:42,903 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\ext\localedata.jar'

       

       

      20:58:43,025 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\ext\sunjce_provider.jar'

       

       

      20:58:43,098 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\ext\sunmscapi.jar'

       

       

      20:58:43,136 ERROR [stderr] (http-127.0.0.1-127.0.0.1-8080-5) *sys-package-mgr*: processing new jar, 'C:\Program Files\Java\jdk1.6.0\jre\lib\ext\sunpkcs11.jar'