jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Archiva
  • MRM-1364

Unable to upload file with web form when running with jetty:run

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Reopened Reopened
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.4
  • Fix Version/s: Backlog
  • Component/s: Web Interface
  • Labels:
    None
  • Environment:
    1.4-SNAPSHOT trunk at r922259 in archiva-webapp with mvn jetty:run

Description

Attempting to upload a file using the web form results in an error and stack trace:

HTTP ERROR 500

Problem accessing /upload!doUpload.action. Reason:

INTERNAL_SERVER_ERROR
Caused by:

java.lang.ExceptionInInitializerError
at com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser.java:192)
at com.opensymphony.xwork2.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:72)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:361)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildClassValidatorConfigs(AnnotationActionValidatorManager.java:252)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:340)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:69)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:138)
...
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.<init>(File.java:363)
at com.opensymphony.xwork2.validator.ValidatorFactory.parseValidators(ValidatorFactory.java:323)
at com.opensymphony.xwork2.validator.ValidatorFactory.<clinit>(ValidatorFactory.java:230)
...

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. MRM-1111 upgrade to struts 2.1.8.1

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Wendy Smoak added a comment - 12/Mar/10 9:13 AM

Related thread: http://old.nabble.com/Upload-broken-on-trunk--td27855300.html

Brett wrote:
The upload issue looks like it needs a Struts upgrade: http://issues.apache.org/jira/browse/WW-2684. It also exists in Archiva 1.3.x.

Show
Wendy Smoak added a comment - 12/Mar/10 9:13 AM Related thread: http://old.nabble.com/Upload-broken-on-trunk--td27855300.html Brett wrote: The upload issue looks like it needs a Struts upgrade: http://issues.apache.org/jira/browse/WW-2684. It also exists in Archiva 1.3.x.
Hide
Permalink
Brett Porter added a comment - 12/Sep/11 10:30 AM

tested and working now. We've upgraded to the latest Struts.

Show
Brett Porter added a comment - 12/Sep/11 10:30 AM tested and working now. We've upgraded to the latest Struts.
Hide
Permalink
Brett Porter added a comment - 12/Sep/11 10:53 AM

was in the wrong location - in fact jetty:run / jetty:run-war / jetty:run-exploded are not working right now.

Show
Brett Porter added a comment - 12/Sep/11 10:53 AM was in the wrong location - in fact jetty:run / jetty:run-war / jetty:run-exploded are not working right now.
Hide
Permalink
Olivier Lamy added a comment - 12/Sep/11 10:57 AM

tomcat:run ?

Show
Olivier Lamy added a comment - 12/Sep/11 10:57 AM tomcat:run ?

People

  • Assignee:
    Unassigned
    Reporter:
    Wendy Smoak
Vote (0)
Watch (0)

Dates

  • Created:
    12/Mar/10 9:11 AM
    Updated:
    14/Dec/11 7:50 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.