Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4200

Unable to import non-POM jar into artifact repository

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 6.1.0.Final
    • jBPM 6.0.0.Final
    • Workbench
    • None
    • Hide

      From the workbench select Authoring > Artifact Repository
      Click on Upload button
      From the Artifact Upload dialog click on Upload
      Select htmlunit-core-js-2.13.jar
      Pop-up says: "The Jar does not contain a valid POM file. Please specify GAV info manually."
      I enter the GAV information and click on Upload again.
      The result is an exception: org.guvnor.common.services.shared.exceptions.GenericPortableException: mark/reset not supported

      This is the jar:

      http://mvnrepository.com/artifact/net.sourceforge.htmlunit/htmlunit-core-js/2.13

      Show
      From the workbench select Authoring > Artifact Repository Click on Upload button From the Artifact Upload dialog click on Upload Select htmlunit-core-js-2.13.jar Pop-up says: "The Jar does not contain a valid POM file. Please specify GAV info manually." I enter the GAV information and click on Upload again. The result is an exception: org.guvnor.common.services.shared.exceptions.GenericPortableException: mark/reset not supported This is the jar: http://mvnrepository.com/artifact/net.sourceforge.htmlunit/htmlunit-core-js/2.13

      Importing a non-maven built jar into the artifact repository fails with the following stack trace:

      Upload failed:
      HTTP Status 500 -
      type Exception report
      

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.guvnor.common.services.shared.exceptions.GenericPortableException: mark/reset not supported
      	org.guvnor.common.services.backend.exceptions.ExceptionUtilities.handleException(ExceptionUtilities.java:24)
      	org.guvnor.m2repo.backend.server.FileServlet.uploadFile(FileServlet.java:180)
      	org.guvnor.m2repo.backend.server.FileServlet.processUpload(FileServlet.java:84)
      	org.guvnor.m2repo.backend.server.FileServlet.doPost(FileServlet.java:70)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      	javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      	org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
      	org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
      	org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
      	org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
      	org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266)
      

      note The full stack trace of the root cause is available in the JBoss Web/7.0.13.Final logs.

      JBoss Web/7.0.13.Final

            manstis@redhat.com Michael Anstis
            david.bush_jira David Bush (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: