Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Installer mangles grouperRabbitMq.jar and others

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Installer mangles grouperRabbitMq.jar and others


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: John Gasper <>, " Mailing List" <>
  • Subject: [grouper-users] RE: Installer mangles grouperRabbitMq.jar and others
  • Date: Fri, 17 Nov 2017 04:08:39 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:/PavxxCPCOy1lS7BBuGFUyQJP3N1i/DPJgcQr6AfoPdwSP37o8ywAkXT6L1XgUPTWs2DsrQf2rqQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaronyu1QBoACkCgWwGO/i0CNEimP00KA8zu8vERvG3AslH98WvnjartX0NaYMXuCv1KXD0CvOb/NM2Tf884jEfA0qrPaJXb1sccrQyUguGB3fjliLqIzlJC+a2v4Qs2iD8eVgU+Svh3Q5pA5svzii38EhgZTHiIISz1DL7yR5wIAtKNKkTE57YMCrEJ1Mty2ALYR3TNgiT3l1uCYmy70GvYS3fSkLyJQ/3xLfbuaIc4mO4h75TuaRPDF4iGpkeLK5mxa971KgyuviWcmozlpGtDRKncTRtn0Lyhfd6dCHR+Nj8ku92zuDzQ/e5+BeLUwplKfWJYQtzqMtmpcdqUjPAyH7lFnsgKKSa0ko4Pak5/njb7n8u5ORNY55hwfjOao0gMO/G/43Mg0WUmib5+u80Lrj8FXhTrhWifM6jrTVvInHK8oDu6K1GghV3Z095BqlCDemzcgYkmIALFJYfhKIkpLlO0nUIPD/EfewnUijkCtqx/DBOL3tGJLNLmXfkLflerZ97E1cxBAvwtBY4pJYErABIPTtVU/trNHUEAM1Pg6uz+voCdhxzJ4SVGOBD6ODLa/erFGF6voqI+aWZY8VvDj9K+Ii5/7rlXI5nEMSfamp3JoWdn+4BO9rI0SCYXXwmNsBDH8KsRQ4TOzsklGNTyNcZ2uqU6Im+j47EJ6mDZvERo21j7yBxiC7HoBOZm9YEFCACGrod56aVPcWcyKfOcthkj0fVbi9UI8tywuitA78y7p7MOXU4CsYuoz/1NRr/eHciww99SEnR/iahkOKT2c8sWoTXzIslPR9rkVm0lqZ+bV+gvdfE5pV6u8fFk9wOoTb0vR3EZXvQQ/bZf+ITkqrWNOrHWt3Q94si/oHYkJ8HdrqqhHYw2DiV7APkKGTCYZx77nRxWPZJsBhxmzA2bV7yVQqX50cG3ehg/s11xnBCpSN226ZjaexP+xI2SXN5XWO10KPp0oeTRZ9V6ODUHwCMBiF5e/l71/PGuf9QY8sNRFMnIvbcvNH
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

John Gasper found an issue with the grouperInstaller which is now fixed.  Please download the installer and try again.

 

https://bugs.internet2.edu/jira/browse/GRP-1628

 

Thanks

Chris

 

 

 

Do you want to install grouper rabbitMQ messaging (t|f)? [f]: t

Downloading from URL: https://software.internet2.edu/grouper/release/2.3.0/grouper.rabbitMq-2.3.0.tar.gz to file: /tmp/grouperInstaller/tarballs/grouper.rabbitMq-2.3.0.tar.gz

Unzipping: /tmp/grouperInstaller/tarballs/grouper.rabbitMq-2.3.0.tar.gz

Expanding: /tmp/grouperInstaller/tarballs/grouper.rabbitMq-2.3.0.tar to /tmp/grouperInstaller/grouper.rabbitMq-2.3.0

Where do you want the Grouper RabbitMQ messaging connector installed? /tmp/grouperInstaller/grouper.apiBinary-2.3.0

Copying /tmp/grouperInstaller/grouper.rabbitMq-2.3.0/lib/amqp-client-4.0.2.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/amqp-client-4.0.2.jar

Skipping file that exists in destination: /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/slf4j-api-1.6.1.jar

Copying /tmp/grouperInstaller/grouper.rabbitMq-2.3.0/lib/grouperRabbitMq.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/grouperRabbitMq.jar

Skipping file that exists in destination: /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/slf4j-log4j12.jar

##################################

 

Configure your grouper.client.properties based on this file /tmp/grouperInstaller/grouper.rabbitMq-2.3.0/grouper.client.rabbitMq.example.properties

 

##################################

 

Do you want to install grouper AWS SQS messaging (t|f)? [f]: t

Downloading from URL: https://software.internet2.edu/grouper/release/2.3.0/grouper.aws-2.3.0.tar.gz to file: /tmp/grouperInstaller/tarballs/grouper.aws-2.3.0.tar.gz

Unzipping: /tmp/grouperInstaller/tarballs/grouper.aws-2.3.0.tar.gz

Expanding: /tmp/grouperInstaller/tarballs/grouper.aws-2.3.0.tar to /tmp/grouperInstaller/grouper.aws-2.3.0

Where do you want the Grouper AWS SQS messaging connector installed? /tmp/grouperInstaller/grouper.apiBinary-2.3.0

Copying /tmp/grouperInstaller/grouper.aws-2.3.0/lib/aws-java-sdk-bundle-1.11.155.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/aws-java-sdk-bundle-1.11.155.jar

Skipping file that exists in destination: /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/slf4j-api-1.6.1.jar

Copying /tmp/grouperInstaller/grouper.aws-2.3.0/lib/grouperSQSMessaging.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/grouperSQSMessaging.jar

Skipping file that exists in destination: /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/slf4j-log4j12.jar

##################################

 

Configure your grouper.client.properties based on this file /tmp/grouperInstaller/grouper.aws-2.3.0/grouper.client.aws.example.properties

 

##################################

 

Do you want to install grouper activeMq messaging (t|f)? [f]: t

Downloading from URL: https://software.internet2.edu/grouper/release/2.3.0/grouper.activeMq-2.3.0.tar.gz to file: /tmp/grouperInstaller/tarballs/grouper.activeMq-2.3.0.tar.gz

Unzipping: /tmp/grouperInstaller/tarballs/grouper.activeMq-2.3.0.tar.gz

Expanding: /tmp/grouperInstaller/tarballs/grouper.activeMq-2.3.0.tar to /tmp/grouperInstaller/grouper.activeMq-2.3.0

Where do you want the Grouper ActiveMq messaging connector installed? /tmp/grouperInstaller/grouper.apiBinary-2.3.0

Copying /tmp/grouperInstaller/grouper.activeMq-2.3.0/lib/grouperActiveMQMessaging.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/grouperActiveMQMessaging.jar

Copying /tmp/grouperInstaller/grouper.activeMq-2.3.0/lib/activemq-all-5.15.0.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/activemq-all-5.15.0.jar

Skipping file that exists in destination: /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/slf4j-api-1.6.1.jar

Copying /tmp/grouperInstaller/grouper.activeMq-2.3.0/lib/qpid-jms-client-0.11.1.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/qpid-jms-client-0.11.1.jar

Skipping file that exists in destination: /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/slf4j-log4j12.jar

Copying /tmp/grouperInstaller/grouper.activeMq-2.3.0/lib/geronimo-jms_1.1_spec-1.1.1.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/geronimo-jms_1.1_spec-1.1.1.jar

Copying /tmp/grouperInstaller/grouper.activeMq-2.3.0/lib/netty-all-4.0.41.Final.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/netty-all-4.0.41.Final.jar

Copying /tmp/grouperInstaller/grouper.activeMq-2.3.0/lib/proton-j-0.14.0.jar to /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/proton-j-0.14.0.jar

##################################

 

Configure your grouper.client.properties based on this file /tmp/grouperInstaller/grouper.activeMq-2.3.0/grouper.client.activeMq.example.properties

 

##################################

 

 

##################################

 

 

Installation success!

 

Run the installer's 'admin' function to get information and manage about your installation (db, tomcat, logs, etc)

 

##################################

 

[mchyzer@i2midev6 grouperInstaller]$ ls

apache-tomcat-8.5.12    grouper.apiBinary-2.3.0  grouperInstaller.jar    hsqlDbErr.log  subjects.sql

grouper.activeMq-2.3.0  grouper.aws-2.3.0        grouper.rabbitMq-2.3.0  hsqlDbOut.log  tarballs

[mchyzer@i2midev6 grouperInstaller]$ mkdir temp

[mchyzer@i2midev6 grouperInstaller]$ cd temp

[mchyzer@i2midev6 temp]$ jar xvf /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/grouperActiveMQMessaging.jar

  created: META-INF/

inflated: META-INF/MANIFEST.MF

  created: edu/

  created: edu/internet2/

  created: edu/internet2/middleware/

  created: edu/internet2/middleware/grouperMessagingActiveMQ/

inflated: edu/internet2/middleware/grouperMessagingActiveMQ/GrouperMessageActiveMQ.class

inflated: edu/internet2/middleware/grouperMessagingActiveMQ/GrouperMessageActiveMQ.java

inflated: edu/internet2/middleware/grouperMessagingActiveMQ/GrouperMessagingActiveMQSystem$1.class

inflated: edu/internet2/middleware/grouperMessagingActiveMQ/GrouperMessagingActiveMQSystem$ActiveMQClientConnectionFactory.class

inflated: edu/internet2/middleware/grouperMessagingActiveMQ/GrouperMessagingActiveMQSystem.class

inflated: edu/internet2/middleware/grouperMessagingActiveMQ/GrouperMessagingActiveMQSystem.java

[mchyzer@i2midev6 temp]$ jar xvf /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/grouper

grouperActiveMQMessaging.jar  grouperClient.jar             grouperRabbitMq.jar           grouperSQSMessaging.jar

[mchyzer@i2midev6 temp]$ jar xvf /tmp/grouperInstaller/grouper.apiBinary-2.3.0/lib/grouper/grouperRabbitMq.jar

  created: META-INF/

inflated: META-INF/MANIFEST.MF

  created: edu/

  created: edu/internet2/

  created: edu/internet2/middleware/

  created: edu/internet2/middleware/grouperMessagingRabbitmq/

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessageRabbitmq.class

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessageRabbitmq.java

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem$1.class

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem$2.class

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem$RabbitMQConnectionFactory.class

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem.class

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem.java

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/MessageReceiveEventListener.class

inflated: edu/internet2/middleware/grouperMessagingRabbitmq/MessageReceiveEventListener.java

[mchyzer@i2midev6 temp]$

 

 

 

From: John Gasper [mailto:]
Sent: Monday, November 13, 2017 1:44 PM
To: Hyzer, Chris <>
Subject: Re: Installer mangles grouperRabbitMq.jar and others

 

Here’s a little more details. I’ve run the build with OpenJDK Zulu and Oracle JDK. The both produce the same inconsistent output:

 

sha1sum /opt/grouper/2.3.0/grouper.rabbitMq-2.3.0/lib/grouperRabbitMq.jar

7bbc04d3574f90b65002f389bcb98714f8938657  /opt/grouper/2.3.0/grouper.rabbitMq-2.3.0/lib/grouperRabbitMq.jar

 

sha1sum /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/lib/grouper/grouperRabbitMq.jar

17c2ae0988cc4e643b0b11e836f1c9eaae4d3301  /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/lib/grouper/grouperRabbitMq.jar

 

-- 

John Gasper
IAM Consultant
Unicon, Inc.
PGP/GPG Key: 0xbafee3ef

 

From: John Gasper <>
Date: Monday, November 13, 2017 at 9:32 AM
To: "Hyzer, Chris" <>
Subject: Installer mangles grouperRabbitMq.jar and others

 

Hi Chris,

 

I just wanted to get your take on something privately as I’m sure what I’m experience means. I’m updating my Docker automated builds, and my proposed TIER Grouper noVM one specifically, to include the messaging components. I’m finding that the grouperRabbitMq.jar, etc. gets corrupted along the way. Here are two examples:

 

> diff /opt/grouper/2.3.0/grouper.rabbitMq-2.3.0/lib/grouperRabbitMq.jar /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/lib/grouper/grouperRabbitMq.jar

Binary files /opt/grouper/2.3.0/grouper.rabbitMq-2.3.0/lib/grouperRabbitMq.jar and /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/lib/grouper/grouperRabbitMq.jar differ

 

> grouper.rabbitMq-2.3.0]# diff /opt/grouper/2.3.0/grouper.activeMq-2.3.0/lib/grouperActiveMQMessaging.jar /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/lib/grouper/grouperActiveMQMessaging.jar

Binary files /opt/grouper/2.3.0/grouper.activeMq-2.3.0/lib/grouperActiveMQMessaging.jar and /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/lib/grouper/grouperActiveMQMessaging.jar differ

 

I’m using the grouperInstaller to do the install and I ran the previous command immediately after the process finished. The installer downloads and extracts them just fine. If I “jar tf” the unGzipped files the output expectedly:

 

> /opt/openjdk7/bin/jar tf lib/grouperRabbitMq.jar

META-INF/

META-INF/MANIFEST.MF

edu/

edu/internet2/

edu/internet2/middleware/

edu/internet2/middleware/grouperMessagingRabbitmq/

edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessageRabbitmq.class

edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessageRabbitmq.java

edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem$1.class

edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem$2.class

edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem$RabbitMQConnectionFactory.class

edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem.class

edu/internet2/middleware/grouperMessagingRabbitmq/GrouperMessagingRabbitmqSystem.java

edu/internet2/middleware/grouperMessagingRabbitmq/MessageReceiveEventListener.class

edu/internet2/middleware/grouperMessagingRabbitmq/MessageReceiveEventListener.java

 

If I do the same for the file that have been moved to the grouper.apiBinary/lib/grouper directory, I get:

 

> /opt/openjdk7/bin/jar tf grouperRabbitMq.jar

java.util.zip.ZipException: invalid CEN header (bad signature)

        at java.util.zip.ZipFile.open(Native Method)

        at java.util.zip.ZipFile.<init>(ZipFile.java:219)

        at java.util.zip.ZipFile.<init>(ZipFile.java:149)

        at java.util.zip.ZipFile.<init>(ZipFile.java:120)

        at sun.tools.jar.Main.list(Main.java:1115)

        at sun.tools.jar.Main.run(Main.java:293)

        at sun.tools.jar.Main.main(Main.java:1288)

 

Any idea why the installer is having issues copying the files over? My no frills installer properties file is attached.

 

 

Thanks,

John

 

-- 

John Gasper
IAM Consultant
Unicon, Inc.
PGP/GPG Key: 0xbafee3ef

 



  • [grouper-users] RE: Installer mangles grouperRabbitMq.jar and others, Hyzer, Chris, 11/17/2017

Archive powered by MHonArc 2.6.19.

Top of Page