Re: Received fatal alert: protocol_version

2018-11-22 Thread lawrence . krubner
Okay, on my Macbook Pro, I fixed this problem by adding this to my 
.bash_profile:

export 
JAVA_TOOL_OPTIONS="-Djavax.net.ssl.trustAnchors=$JAVA_HOME/jre/lib/security/cacerts
 
-Djavax.net.ssl.trustStore=$JAVA_HOME/jre/lib/security/cacerts"





On Thursday, November 22, 2018 at 3:37:31 PM UTC-5, lawrence...@gmail.com 
wrote:
>
> I've been away from Clojure for a year and I'm just coming back to it. I 
> assume some of my dependencies are out of date. I'm working on a project 
> that is 90% Java with a Clojure wrapper. I tried this:
>
> lein uber
>
> I got a "protocol version" error which seems to have something to do with 
> a new level of security at Maven. 
>
> So I tried this:
>
>  LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2   lein uber
>
> and got all this: 
>
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGBUS (0xa) at pc=106510692, pid=66917, tid=123145404563456
> #
> # JRE version: 7.0-b222
> # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 
> compressed oops)
> # Problematic frame:
> # J  clojure.lang.Symbol.equals(Ljava/lang/Object;)Z
> #
> # Failed to write core dump. Core dumps have been disabled. To enable core 
> dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # 
> /Users/sugar/projects/vegetable/repos/cortex/cortext-clj/hs_err_pid66917.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://bugreport.sun.com/bugreport/crash.jsp
> #
> /usr/local/bin/lein: line 152: 66917 Abort trap: 6  
>  "$LEIN_JAVA_CMD" "${BOOTCLASSPATH[@]}" -Dfile.encoding=UTF-8 
> -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=1 $LEIN_JVM_OPTS 
> -Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$0" -classpath 
> "$CLASSPATH" clojure.main -m leiningen.core.main "$@"
>
>
> Looking for some advice about the simplest way to get past this error? 
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Received fatal alert: protocol_version

2018-11-22 Thread Andy Fingerhut
What are the outputs of 'java -version' and 'lein version' ?  What OS?

Some older versions of the JVM have older crypto certificates built into
them, which newer versions may improve upon.

Andy

On Thu, Nov 22, 2018 at 12:42 PM  wrote:

> Saw a suggestion here:
>
> https://github.com/technomancy/leiningen/issues/2364
>
> and tried it:
>
> LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2 lein -U deps
>
> but got:
>
> Could not transfer artifact io.javalin:javalin:pom:2.4.0 from/to central (
> https://repo1.maven.org/maven2/): java.lang.RuntimeException: Unexpected
> error: java.security.InvalidAlgorithmParameterException: the trustAnchors
> parameter must be non-empty
>
>
>
>
> On Thursday, November 22, 2018 at 3:37:31 PM UTC-5, lawrence...@gmail.com
> wrote:
>>
>> I've been away from Clojure for a year and I'm just coming back to it. I
>> assume some of my dependencies are out of date. I'm working on a project
>> that is 90% Java with a Clojure wrapper. I tried this:
>>
>> lein uber
>>
>> I got a "protocol version" error which seems to have something to do with
>> a new level of security at Maven.
>>
>> So I tried this:
>>
>>  LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2   lein uber
>>
>> and got all this:
>>
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> #  SIGBUS (0xa) at pc=106510692, pid=66917, tid=123145404563456
>> #
>> # JRE version: 7.0-b222
>> # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64
>> compressed oops)
>> # Problematic frame:
>> # J  clojure.lang.Symbol.equals(Ljava/lang/Object;)Z
>> #
>> # Failed to write core dump. Core dumps have been disabled. To enable
>> core dumping, try "ulimit -c unlimited" before starting Java again
>> #
>> # An error report file with more information is saved as:
>> #
>> /Users/sugar/projects/vegetable/repos/cortex/cortext-clj/hs_err_pid66917.log
>> #
>> # If you would like to submit a bug report, please visit:
>> #   http://bugreport.sun.com/bugreport/crash.jsp
>> #
>> /usr/local/bin/lein: line 152: 66917 Abort trap: 6
>>  "$LEIN_JAVA_CMD" "${BOOTCLASSPATH[@]}" -Dfile.encoding=UTF-8
>> -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=1 $LEIN_JVM_OPTS
>> -Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$0" -classpath
>> "$CLASSPATH" clojure.main -m leiningen.core.main "$@"
>>
>>
>> Looking for some advice about the simplest way to get past this error?
>>
>>
>>
>>
>> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Received fatal alert: protocol_version

2018-11-22 Thread lawrence . krubner
Saw a suggestion here:

https://github.com/technomancy/leiningen/issues/2364

and tried it:

LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2 lein -U deps

but got:

Could not transfer artifact io.javalin:javalin:pom:2.4.0 from/to central 
(https://repo1.maven.org/maven2/): java.lang.RuntimeException: Unexpected 
error: java.security.InvalidAlgorithmParameterException: the trustAnchors 
parameter must be non-empty




On Thursday, November 22, 2018 at 3:37:31 PM UTC-5, lawrence...@gmail.com 
wrote:
>
> I've been away from Clojure for a year and I'm just coming back to it. I 
> assume some of my dependencies are out of date. I'm working on a project 
> that is 90% Java with a Clojure wrapper. I tried this:
>
> lein uber
>
> I got a "protocol version" error which seems to have something to do with 
> a new level of security at Maven. 
>
> So I tried this:
>
>  LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2   lein uber
>
> and got all this: 
>
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGBUS (0xa) at pc=106510692, pid=66917, tid=123145404563456
> #
> # JRE version: 7.0-b222
> # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 
> compressed oops)
> # Problematic frame:
> # J  clojure.lang.Symbol.equals(Ljava/lang/Object;)Z
> #
> # Failed to write core dump. Core dumps have been disabled. To enable core 
> dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # 
> /Users/sugar/projects/vegetable/repos/cortex/cortext-clj/hs_err_pid66917.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://bugreport.sun.com/bugreport/crash.jsp
> #
> /usr/local/bin/lein: line 152: 66917 Abort trap: 6  
>  "$LEIN_JAVA_CMD" "${BOOTCLASSPATH[@]}" -Dfile.encoding=UTF-8 
> -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=1 $LEIN_JVM_OPTS 
> -Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$0" -classpath 
> "$CLASSPATH" clojure.main -m leiningen.core.main "$@"
>
>
> Looking for some advice about the simplest way to get past this error? 
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Received fatal alert: protocol_version

2018-11-22 Thread lawrence . krubner
I've been away from Clojure for a year and I'm just coming back to it. I 
assume some of my dependencies are out of date. I'm working on a project 
that is 90% Java with a Clojure wrapper. I tried this:

lein uber

I got a "protocol version" error which seems to have something to do with a 
new level of security at Maven. 

So I tried this:

 LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2   lein uber

and got all this: 

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0xa) at pc=106510692, pid=66917, tid=123145404563456
#
# JRE version: 7.0-b222
# Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 
compressed oops)
# Problematic frame:
# J  clojure.lang.Symbol.equals(Ljava/lang/Object;)Z
#
# Failed to write core dump. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# 
/Users/sugar/projects/vegetable/repos/cortex/cortext-clj/hs_err_pid66917.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
/usr/local/bin/lein: line 152: 66917 Abort trap: 6  
 "$LEIN_JAVA_CMD" "${BOOTCLASSPATH[@]}" -Dfile.encoding=UTF-8 
-Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=1 $LEIN_JVM_OPTS 
-Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$0" -classpath 
"$CLASSPATH" clojure.main -m leiningen.core.main "$@"


Looking for some advice about the simplest way to get past this error? 




-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [ANN] Clojure 1.10.0-beta8

2018-11-22 Thread Sean Corfield
In news that should surprise no one: our full test suite passes on Beta 8 (I 
meant to post that yesterday afternoon but got distracted).

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


From: clojure@googlegroups.com  on behalf of Alex 
Miller 
Sent: Wednesday, November 21, 2018 7:17:26 AM
To: Clojure
Subject: [ANN] Clojure 1.10.0-beta8

1.10.0-beta8 is now available.

You can try it with clj using:

clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.0-beta8"}}}'

Changes in 1.10.0-beta8:

  *   CLJ-2438 - demunge source 
location in execution error messages
  *   CLJ-2437 - add 
async-require and use it from requiring-resolve
  *   CLJ-2436 - fix reflection 
warning in reflect.java

You can read the full 1.10 changelog here: 
https://github.com/clojure/clojure/blob/master/changes.md

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ANN] How to structure Clojurescript apps for simplicity and testability

2018-11-22 Thread Oliver Hine
Hi everyone,

I've recently published a blog post describing the techniques I have 
evolved over the last 3 years for writing Clojurescript applications.
It started as an explanation of why I like to use re-frame but grew to 
encompass the idea of separation of data and representation (the HTML 
layer) and how this makes your code simpler and more testable.
It includes the techniques used for testing these boundaries including 
generative tests for UIs and UI assertions that don't involve digging into 
HTML structures. The grand finale shows how your can prove that data coming 
from the server will be rendered in a way that makes sense to your users 
using transitive properties of unit tests rather than complicated and slow 
(Selenium) integration tests.

I hope you find it interesting and I would greatly appreciate any feedback 
you have.
http://juxt.pro/blog/posts/cljs-apps.html

Cheers,
Oliy

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.