Thanks for your feedback.

I was able to get it to work again and pushed some minor changes to
the git repo. I downloaded Terracotta 3.1.1, and followed the
instructions in the tim-clojure-1.0-SNAPSHOT/example/README. I ended
up uncommenting all of the code in ClojureTerracottaConfigurator.java.
I believe I had commented it out, because some of the replacement
classes were not necessary anymore, and I was going to trim it down to
the essential replacements, but I never finished the work.

The error you are experiencing might be because of one of the
outstanding issues. A non-portable class cannot be used as a root
binding for any Var. As I mentioned before, I have an idea for a
workaround, but have not pursued it as yet. If you'd like to help,
then let me know.


Paul

On Nov 17, 12:43 pm, Sergey Didenko <sergey.dide...@gmail.com> wrote:
> Hi Paul,
>
> the code from [1] does not work under the latest Terracotta (3.1.1)
> with clojure-slim.jar's in the following combinations:
>
> 1) branch "1.0.x" from [3]
> 2) branch "1.0.x" from [3] + modified
> ClojureTerracottaConfigurator.java (uncommented lines)
> 3) [2] svn revision 1335 + modified ClojureTerracottaConfigurator.java
> (uncommented lines)
> 4) [2] svn revision 1310 + modified ClojureTerracottaConfigurator.java
> (uncommented lines)
>
> Terracotta writes messages like
>
> "Non-portable field name   : clojure.lang.Var.root
> Unshareable class         : clojure.lang.XMLHandler
> "
>
> [1]http://github.com/pjstadig/tim-clojure-1.0-snapshot
> [2]http://clojure.googlecode.com/svn
> [3]http://github.com/richhickey/clojure

-- 
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

Reply via email to