Announcement

Collapse
No announcement yet.

Mirth Connect Build

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mirth Connect Build

    Hi all,

    actual we are not able to run a build.bat on several Plattforms (including Visual Studio Online ANT Build).

    The signing process fails on all Plattforms.

    Code:
         [echo] [Thread Count: 4] Modifying jar manifests to add Permissions: all-permissions; Codebase: *; Application-Name: Mirth Connect
         [echo] [Thread Count: 4] Signing jars for Java Web Start
      [signjar] Signing JAR: D:\Work\connect\server\setup\client-lib\bcpkix-jdk15on-151.jar to D:\Work\connect\server\setup\client-lib\bcpkix-jdk15on-151.jar as mirthconnect
      [signjar] Signing JAR: D:\Work\connect\server\setup\client-lib\bcprov-jdk15on-151.jar to D:\Work\connect\server\setup\client-lib\bcprov-jdk15on-151.jar as mirthconnect
      [signjar] Signing JAR: D:\Work\connect\server\setup\client-lib\bcprov-ext-jdk15on-151.jar to D:\Work\connect\server\setup\client-lib\bcprov-ext-jdk15on-151.jar as mirthconnect
      [signjar] jarsigner: unable to sign jar: java.net.SocketException: Connection reset
      [signjar] jarsigner: unable to sign jar: java.net.SocketException: Connection reset
      [signjar] jarsigner: unable to sign jar: java.net.SocketException: Connection reset
        [retry] Attempt [0]: error occurred; retrying after 1000 ms...
        [retry] Attempt [0]: error occurred; retrying after 1000 ms...
        [retry] Attempt [0]: error occurred; retrying after 1000 ms...
    Someone has an idea why?

    Best Regards
    Reiner

    ps:
    JAVA is uptodate
    ANT is uptodate
    Mirth Connect Sourcode is uptodate

    We try this with all Mirth Connect branches.

  • #2
    Final Build Message

    This is the final Build Message:

    Code:
    BUILD FAILED
    D:\connect\server\mirth-build.xml:123: The following error occurred while executing this line:
    D:\connect\server\build.xml:884:
    The following error occurred while executing this line:
    D:\connect\server\build.xml:887: Task [signjar] failed after [5] attempts; giving up.
    Error messages:
    jarsigner returned: 1
    jarsigner returned: 1
    jarsigner returned: 1
    jarsigner returned: 1
    jarsigner returned: 1
    jarsigner returned: 1
    Has no one the same problem?

    Best Regards
    Reiner

    Comment


    • #3
      geotrust.com

      Maybe this is the problem in build.xml in signjar.

      Code:
      tsaurl="https://timestamp.geotrust.com/tsa"
      The Server reset the call.

      Any Idea to handel this problem?

      Best Regards
      Reiner

      Comment


      • #4
        tsaurl

        I found a workaround to make build working.


        ich change the two geotrust urls to this:

        Code:
        tsaurl="https://freetsa.org/tsr"
        Works. Maybe the mirth team solve the problem with geotrust.

        Best Regards
        Reiner

        Comment


        • #5
          geotrust.com

          Seams now it's needed.

          http://www.mirthcorp.com/community/i...wse/MIRTH-4141

          Best Regards
          Reiner

          Comment


          • #6
            New Symantec url and SHA-256

            This workaround works fine for me:

            Code:
            		<for param="jarFile" parallel="true" threadCount="${signjar_thread_count}">
            			<fileset dir="${setup.client.lib}" includes="bcp*.jar" />
            			<sequential>
            				<retry retrycount="5" retrydelay="1000">
            					<signjar jar="@{jarFile}" alias="${key.alias}" keystore="${key.keystore}" storepass="${key.storepass}" keypass="${key.keypass}" storetype="${key.storetype}" tsaurl="http://sha256timestamp.ws.symantec.com/sha256/timestamp">
            						<!-- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7127374 -->
            						<sysproperty key="jsse.enableSNIExtension" value="false" />
            						<sysproperty key="https.protocols" value="TLSv1.2,TLSv1.1" />
            					</signjar>
            				</retry>
            			</sequential>
            		</for>
            		
            		<for param="jarFile" parallel="true" threadCount="${signjar_thread_count}">
            			<fileset dir="${setup.client.lib}" includes="**/*.jar" excludes="bcp*.jar" />
            			<fileset dir="${setup.extensions}" includes="**/*.jar" />
            			<sequential>
            				<retry retrycount="5" retrydelay="1000">
            					<signjar jar="@{jarFile}" alias="${key.alias}" keystore="${key.keystore}" storepass="${key.storepass}" keypass="${key.keypass}" storetype="${key.storetype}" tsaurl="http://sha256timestamp.ws.symantec.com/sha256/timestamp">
            						<!-- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7127374 -->
            						<sysproperty key="jsse.enableSNIExtension" value="false" />
            						<sysproperty key="https.protocols" value="TLSv1.2,TLSv1.1" />
            					</signjar>
            				</retry>
            			</sequential>
            		</for>
            Best Regards
            Reiner

            Comment


            • #7
              Hello RNeubert,

              thank you for your post, it help me a lot!
              I have now an issue that i have open a post http://www.mirthproject.org/community/forums/showthread.php?t=217337

              Can you please take a look and see if you face the same problems?

              Thank you,
              Best Regards
              Best Regards,
              Alex Neiva

              Comment

              Working...
              X