web stats
Mirth Connect Build - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2017, 04:48 PM
RNeubert RNeubert is offline
 
Join Date: May 2007
Location: Germany
Posts: 28
RNeubert
Send a message via Skype™ to RNeubert
Exclamation 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.
Reply With Quote
  #2  
Old 04-21-2017, 07:01 AM
RNeubert RNeubert is offline
 
Join Date: May 2007
Location: Germany
Posts: 28
RNeubert
Send a message via Skype™ to RNeubert
Unhappy 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
Reply With Quote
  #3  
Old 04-21-2017, 01:28 PM
RNeubert RNeubert is offline
 
Join Date: May 2007
Location: Germany
Posts: 28
RNeubert
Send a message via Skype™ to RNeubert
Exclamation 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
Reply With Quote
  #4  
Old 04-21-2017, 01:54 PM
RNeubert RNeubert is offline
 
Join Date: May 2007
Location: Germany
Posts: 28
RNeubert
Send a message via Skype™ to RNeubert
Smile 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
Reply With Quote
  #5  
Old 04-24-2017, 10:06 AM
RNeubert RNeubert is offline
 
Join Date: May 2007
Location: Germany
Posts: 28
RNeubert
Send a message via Skype™ to RNeubert
Thumbs up geotrust.com

Seams now it's needed.

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

Best Regards
Reiner
Reply With Quote
  #6  
Old 04-24-2017, 02:28 PM
RNeubert RNeubert is offline
 
Join Date: May 2007
Location: Germany
Posts: 28
RNeubert
Send a message via Skype™ to RNeubert
Smile 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
Reply With Quote
  #7  
Old 07-06-2017, 01:04 AM
AlexNeiva AlexNeiva is online now
OBX.3 Kenobi
 
Join Date: Oct 2013
Location: Portugal
Posts: 167
AlexNeiva is on a distinguished road
Default

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
Reply With Quote
Reply

Tags
build error

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:44 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Mirth Corporation