Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1283

[GSS](7.z) Not able to create project in offline environment.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.0.0.GA
    • Business Central
    • Workaround Exists
    • Hide

      xstream-1.4.10.jar is available in business-central.war/WEB-INF/lib directory. Intsall this jar file into local maven repository using below command:

      mvn install:install-file -Dfile=${JBOSS_HOME}/standalone/deployments/business-central.war/WEB-INF/lib/xstream-1.4.10.jar -DgroupId=com.thoughtworks.xstream -DartifactId=xstream -Dversion=1.4.10 -Dpackaging=jar

      Show
      xstream-1.4.10.jar is available in business-central.war/WEB-INF/lib directory. Intsall this jar file into local maven repository using below command: mvn install:install-file -Dfile=${JBOSS_HOME}/standalone/deployments/business-central.war/WEB-INF/lib/xstream-1.4.10.jar -DgroupId=com.thoughtworks.xstream -DartifactId=xstream -Dversion=1.4.10 -Dpackaging=jar
    • Hide
      • Try to create new project in RHPAM which is installed on system which dont have network connectivity.
      • Make sure artifact 'com.thoughtworks.xstream:xstream:1.4.10' is not available in local maven repository.
      Show
      Try to create new project in RHPAM which is installed on system which dont have network connectivity. Make sure artifact 'com.thoughtworks.xstream:xstream:1.4.10' is not available in local maven repository.

      When we create a new project in RHPAM for the first time, following dependencies are downloaded.

      [abhumbe@abhumbe repository]$ ls -lart
      total 0
      drwx------.  7 abhumbe abhumbe 244 Jun 26 12:07 ..
      drwxrwxr-x.  3 abhumbe abhumbe  21 Jun 26 12:09 xmlpull
      drwxrwxr-x.  3 abhumbe abhumbe  22 Jun 26 12:09 xpp3
      drwxrwxr-x.  3 abhumbe abhumbe  27 Jun 26 12:09 commons-codec
      drwxrwxr-x.  3 abhumbe abhumbe  19 Jun 26 12:10 junit
      drwxrwxr-x.  5 abhumbe abhumbe  51 Jun 26 12:10 com
      drwxrwxr-x. 17 abhumbe abhumbe 230 Jun 26 12:10 org
      drwxrwxr-x.  3 abhumbe abhumbe  18 Jun 26 12:10 net
      drwxrwxr-x.  3 abhumbe abhumbe  24 Jun 26 12:10 javax
      drwxrwxr-x. 10 abhumbe abhumbe 113 Jun 26 12:10 .
      [abhumbe@abhumbe repository]$ 
      
      

      But in offline environments its not able to create project. It fails with exception:

      ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (default task-16) Exception thrown: org.appformer.maven.integration.embedder.MavenEmbedderException: Failed to read artifact descriptor for com.thoughtworks.xstream:xstream:jar:1.4.10: org.guvnor.common.services.shared.exceptions.GenericPortableException: org.appformer.maven.integration.embedder.MavenEmbedderException: Failed to read artifact descriptor for com.thoughtworks.xstream:xstream:jar:1.4.10
      

              eignatow Eder Ignatowicz
              rhn-support-abhumbe Abhijit Humbe
              Lukáš Petrovický Lukáš Petrovický (Inactive)
              Lukáš Petrovický Lukáš Petrovický (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: