Hi Karl, It sounds like a classloader problem. Are you using clojure 1.0 or a recent build? If one, can you try with the other?
Christophe On Fri, Aug 14, 2009 at 7:04 AM, Krukow <karl.kru...@gmail.com> wrote: > > When running the AOT compiled Clojure (clojure.jar) on an Azul box I > get an error during startup (in particular in the class-initializer > for clojure.main). This error does not occur in the clojure-slim.jar. > The stacktrace is this: > > k...@azulpod1:~/download$ java $JVM_PARAMS -cp clojure.jar clojure.main > RTPM: Listening for HTTP connections on 0.0.0.0:52798. > Exception in thread "main" java.lang.ExceptionInInitializerError > at clojure.lang.Namespace.<init>(Namespace.java:32) > at clojure.lang.Namespace.findOrCreate(Namespace.java:117) > at clojure.main.<clinit>(main.java:21) > Caused by: java.lang.RuntimeException: > java.lang.IllegalStateException: Var clojure.core/refer is unbound. > at clojure.lang.RT.<clinit>(RT.java:291) > ... 3 more > Caused by: java.lang.IllegalStateException: Var clojure.core/refer > is > unbound. > at clojure.lang.Var.deref(Var.java:140) > at clojure.lang.Var.fn(Var.java:323) > at clojure.lang.Var.invoke(Var.java:346) > at clojure.lang.RT.doInit(RT.java:417) > at clojure.lang.RT.<clinit>(RT.java:288) > ... 3 more > k...@azulpod1:~/download$ echo $JVM_PARAMS > -PX:PolicyVhost=192.168.102.200 -PX:CPMDomain=podv2demo - > PX:AppLabel=v3 -PX:RTPMPort=any -PX:RTPMAuthorization=9@ > k...@azulpod1:~/download$ > > This error does not occur on my 2-core macbook; I've only seen it on > the 216-core Azul box. > > Anyone? > > /Karl > > > -- Professional: http://cgrand.net/ (fr) On Clojure: http://clj-me.blogspot.com/ (en) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---