8 Replies Latest reply on Jan 8, 2018 4:44 AM by shobha

    jive 9.0.1.0 set up error

    shobha

      Hello everyone,

       

      I am trying to set up the instance for jive 9.0.1.0 and  I am getting error as below while unpacking the war . I have posted the complete log as well.

       

      I am using java and maven versions

      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      java version "1.8.0_71"

      Java(TM) SE Runtime Environment (build 1.8.0_71-b15)

      Java HotSpot(TM) Client VM (build 25.71-b15, mixed mode)

       

      Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T17:27:37+05:30)

      Maven home: C:\SRDEV\tool\maven\maven-3.3.3

      Java version: 1.8.0_65, vendor: Oracle Corporation

      Java home: C:\SRDEV\tool\sdk\jdk1.8.0_65\jre

      Default locale: en_US, platform encoding: Cp1252

      OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

       

      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

       

      Please advise what would be the fix for this.

       

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project

      web: Error unpacking file [H:\.m2\repository\com\jivesoftware\jive-war\9.0.1.0_3140_1597bde\jive-war-9.0.1.0_3140_1597bde.war]to [C:\Users\user2\instace\web\target\tmp\com.jivesoftware\jive-war]:

      Error while expanding H:\.m2\repository\com\jivesoftware\jive-war\9.0.1.0_3140_1597bde\jive-war-9.0.1.0_3140_1597bde.war: Negative seek offset -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

       

       

      C:\Users\user2\instace>mvn clean install -Djive.setup=false

      [INFO] Scanning for projects...

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Build Order:

      [INFO]

      [INFO] instace

      [INFO] weboverlay

      [INFO] themes

      [INFO]

      [INFO] ------------------------------------------------------------------------

      [INFO] Building instace 9.0.1.0-0-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      [INFO]

      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ instace ---

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (assemble-jive-artifacts) @ instace ---

      [INFO] Skipping Antrun execution

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (setup-jive-home) @ instace ---

      [INFO] Executing tasks

       

       

      main:

           [echo] building jive home

          [mkdir] Created dir: C:\Users\user2\instace\target\jiveHome

          [mkdir] Created dir: C:\Users\user2\instace\target\jiveHome\plugins

          [mkdir] Created dir: C:\Users\user2\instace\target\jiveHome\themes

           [copy] Copying 2 files to C:\Users\user2\instace\target\jiveHome

      [INFO] Executed tasks

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (explode-jive-plugin) @ instace ---

      [INFO] Skipping Antrun execution

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (repackage-jive-jar) @ instace ---

      [INFO] Skipping Antrun execution

      [INFO]

      [INFO] --- maven-install-plugin:2.4:install (default-install) @ instace ---

      [INFO] Installing C:\Users\user2\instace\pom.xml to H:\.m2\repository\com\jivesoftware\local\instace\instace\9.0.1.0-0-SNAPSHOT\instace-9.0.1.0-0-SNAPSHOT.pom

      [INFO]

      [INFO] ------------------------------------------------------------------------

      [INFO] Building weboverlay 9.0.1.0-0-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      [WARNING] The POM for javax.jms:jms:jar:1.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

      Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/commons-codec/commons-codec/maven-metadata.xml

      Downloading: https://build.shibboleth.net/nexus/content/groups/public/commons-codec/commons-codec/maven-metadata.xml

      Downloading: https://oss.sonatype.org/content/repositories/snapshots/commons-codec/commons-codec/maven-metadata.xml

      [WARNING] Could not transfer metadata commons-codec:commons-codec/maven-metadata.xml from/to jive.internal (https://maven-secure.jivesoftware.com/archiva/repository/jive.internal): Connect to maven-secure.jivesoftware.com:443 [maven-secure.jivesoftware.com/204.93.66.110] failed: Connection timed out: connect

      [WARNING] Could not transfer metadata commons-codec:commons-codec/maven-metadata.xml from/to shib-release (https://build.shibboleth.net/nexus/content/groups/public): Connect to build.shibboleth.net:443 [build.shibboleth.net/174.142.198.207] failed: Connection timed out: connect

      [WARNING] Could not transfer metadata commons-codec:commons-codec/maven-metadata.xml from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots): Connect to oss.sonatype.org:443 [oss.sonatype.org/107.23.166.173, oss.sonatype.org/52.22.249.229] failed: Connection timed out: connect

      Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/com/google/guava/guava/maven-metadata.xml

      Downloading: https://build.shibboleth.net/nexus/content/groups/public/com/google/guava/guava/maven-metadata.xml

      [WARNING] Could not transfer metadata com.google.guava:guava/maven-metadata.xml from/to jive.internal (https://maven-secure.jivesoftware.com/archiva/repository/jive.internal): Connect to maven-secure.jivesoftware.com:443 [maven-secure.jivesoftware.com/204.93.66.110] failed: Connection timed out: connect

      [WARNING] Could not transfer metadata com.google.guava:guava/maven-metadata.xml from/to shib-release (https://build.shibboleth.net/nexus/content/groups/public): Connect to build.shibboleth.net:443 [build.shibboleth.net/174.142.198.207] failed: Connection timed out: connect

      [WARNING] The POM for com.google.guava:guava:jar:20.0-SNAPSHOT is missing, no dependency information available

      [WARNING] The POM for com.google.guava:guava:jar:21.0-SNAPSHOT is missing, no dependency information available

      [WARNING] The POM for com.google.guava:guava:jar:22.0-SNAPSHOT is missing, no dependency information available

      [WARNING] Failure to transfer commons-codec:commons-codec/maven-metadata.xml from https://maven-secure.jivesoftware.com/archiva/repository/jive.internal was cached in the local repository, resolution will not be reattempted until the update interval of jive.internal has elapsed or updates are forced. Original error: Could not transfer metadata commons-codec:commons-codec/maven-metadata.xml from/to jive.internal (https://maven-secure.jivesoftware.com/archiva/

      [WARNING] Failure to transfer commons-codec:commons-codec/maven-metadata.xml from https://build.shibboleth.net/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of shib-release has elapsed or updates are forced. Original error: Could not transfer metadata commons-codec:commons-codec/maven-metadata.xml from/to shib-release (https://build.shibboleth.net/nexus/content/groups/public): Con

      [INFO]

      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ web ---

      [INFO]

      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ web ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 2 resources

      [INFO] skip non existing resourceDirectory C:\Users\user2\instace\web\src\main\resources

      [INFO] skip non existing resourceDirectory C:\Users\user2\instace\web\src\main\resources

      [INFO]

      [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ web ---

      [INFO] Changes detected - recompiling the module!

      [INFO] Compiling 1 source file to C:\Users\user2\instace\web\target\classes

      [INFO]

      [INFO] --- aspectj-maven-plugin:1.7:compile (weave-aspects) @ web ---

      [INFO] Showing AJC message detail for messages of types: [error, warning, fail]

      [WARNING] incorrect classpath: H:\.m2\repository\com\jivesoftware\jive-war\9.0.1.0_3140_1597bde\jive-war-9.0.1.0_3140_1597bde.war

              <unknown source file>:<no line information>

       

       

      [WARNING] advice defined in com.jivesoftware.community.audit.aop.AuditAspect has not been applied [Xlint:adviceDidNotMatch]

              H:\.m2\repository\com\jivesoftware\jive-core\9.0.1.0_3140_1597bde\jive-core-9.0.1.0_3140_1597bde.jar!com\jivesoftware\community\audit\aop\AuditAspect.class:26

       

       

      [WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]

              C:\Users\user2\instace\org\springframework\mock\staticmock\AnnotationDrivenStaticEntityMockingControl.aj:115

       

       

      [WARNING] advice defined in com.jivesoftware.community.license.DenyLicenseSeatStatusAspect has not been applied [Xlint:adviceDidNotMatch]

              H:\.m2\repository\com\jivesoftware\jive-core\9.0.1.0_3140_1597bde\jive-core-9.0.1.0_3140_1597bde.jar!com\jivesoftware\community\license\DenyLicenseSeatStatusAspect.class:33

       

       

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (assemble-jive-artifacts) @ web ---

      [INFO] Executing tasks

       

       

      main:

          [mkdir] Created dir: C:\Users\user2\instace\target\jiveHome\etc

           [copy] Copying 1 file to C:\Users\user2\instace\target\jiveHome\etc

           [copy] Copying 1 file to C:\Users\user2\instace\target\jiveHome\etc

            [zip] Building zip: C:\Users\user2\instace\web\target\etc.zip

      [INFO] Executed tasks

      [INFO]

      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ web ---

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 4 resources

      [INFO]

      [INFO] --- maven-antrun-plugin:1.7:run (setup-jive-home) @ web ---

      [INFO] Skipping Antrun execution

      [INFO]

      [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ web ---

      [INFO] Changes detected - recompiling the module!

      [INFO] Compiling 1 source file to C:\Users\user2\instace\web\target\test-classes

      [INFO]

      [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ web ---

      [INFO] Surefire report directory: C:\Users\user2\instace\web\target\surefire-reports

       

       

      -------------------------------------------------------

      T E S T S

      -------------------------------------------------------

      Running AppTest

      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in AppTest

      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0

       

       

      Results :

       

       

      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

       

       

      [INFO]

      [INFO] --- maven-war-plugin:2.4:war (default-war) @ web ---

      [INFO] Packaging webapp

      [INFO] Assembling webapp [web] in [C:\Users\user2\instace\web\target\web-9.0.1.0-0-SNAPSHOT]

      [INFO] Processing war project

      [INFO] Copying webapp resources [C:\Users\user2\instace\web\src\main\webapp]

      [INFO] Processing overlay [ id com.jivesoftware:jive-war]

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Summary:

      [INFO]

      [INFO] instace ............................................ SUCCESS [  0.780 s]

      [INFO] weboverlay ......................................... FAILURE [01:40 min]

      [INFO] themes ............................................. SKIPPED

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 01:41 min

      [INFO] Finished at: 2017-03-20T10:36:53+05:30

      [INFO] Final Memory: 84M/769M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project

      web: Error unpacking file [H:\.m2\repository\com\jivesoftware\jive-war\9.0.1.0_3140_1597bde\jive-war-9.0.1.0_3140_1597bde.war]to [C:\Users\user2\instace\web\target\tmp\com.jivesoftware\jive-war]:

      Error while expanding H:\.m2\repository\com\jivesoftware\jive-war\9.0.1.0_3140_1597bde\jive-war-9.0.1.0_3140_1597bde.war: Negative seek offset -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

      [ERROR]

      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR]   mvn <goals> -rf :web

       

       

      C:\Users\user2\instace>

       

      Best regards,

      Shobha