Is there a J9 1.6 version that is know to work - or is there a WebSphere 
(7.x) patch that enables Akka to run there?

-Carsten 

On Saturday, September 7, 2013 5:03:58 PM UTC+2, √ wrote:
>
> And, are you running on the latest 1.6 jre?
> On Sep 7, 2013 4:54 PM, "Roland Kuhn" <goo...@rkuhn.info <javascript:>> 
> wrote:
>
>> Hi Stjepan,
>>
>> Akka relies upon sun.misc.Unsafe independent of dispatcher configuration. 
>> I have just verified that it works on the 1.7 version of J9. Would it be 
>> possible to try the upgrade?
>>
>> Regards,
>>
>> Roland
>>
>> 7 sep 2013 kl. 13:00 skrev Stjepan Buljat:
>>
>> It seems that every other combination (dispatcher / executor) at some 
>> point uses sun.misc.Unsafe which poses a problem on IBM JVM.
>>
>> Since I need to run this code on IBM's JVM how can I bypass this?
>> This part of the application is just a client, I'm sending in 
>> fire-and-forget manner messages to remote actor... there's no need for 
>> handling responses.
>> I know I can expose REST service on the server side (using spray.io or 
>> similar) and remove akka dependency from the client all together but I like 
>> Akka's approach and would like to keep it this way.
>>
>> Any thoughts?
>>
>> Best,
>> Stjepan
>>
>>
>>
>> On Thursday, September 5, 2013 2:56:52 PM UTC+2, Stjepan Buljat wrote:
>>>
>>> This class is available but apparently there's something wrong with it :(
>>>
>>> I've tried thread-pool-executor but similar error happens, it also uses 
>>> Unsafe at some point.
>>>
>>> I'm going to play around with different dispatchers/executors to see if 
>>> there's one which works with IBM JVM.
>>>
>>> Thanks!
>>>
>>> On Thursday, September 5, 2013 1:50:44 PM UTC+2, Alec Zorab wrote:
>>>>
>>>> A quick googling confirms that. ForkJoinPool is probably, therefore, 
>>>> not going to work for you. I would suggest trying to use a 
>>>> threadpoolexecutor instead, which might give you slightly lower 
>>>> performance 
>>>> than FJP would, but is certainly better than not working at all!
>>>>
>>>>
>>>> On 5 September 2013 12:48, Alec Zorab <alec...@gmail.com> wrote:
>>>>
>>>>> I'm going to take a wild guess that sun.misc.Unsafe isn't available on 
>>>>> J9...
>>>>>
>>>>>
>>>>> On 5 September 2013 12:43, Stjepan Buljat <sbu...@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm getting exception while accessing remote actor (stacktrace 
>>>>>> below), this is running on Java 1.6 (IBM J9 VM).
>>>>>>
>>>>>> Using Akka 2.2.0.
>>>>>>
>>>>>> Any ideas? 
>>>>>>
>>>>>> Best,
>>>>>> Stjepan
>>>>>>
>>>>>> Stack trace:
>>>>>> Caused by: java.lang.UnsatisfiedLinkError: sun/misc/Unsafe.
>>>>>> putOrderedObject(Ljava/lang/Object;JLjava/lang/Object;)V
>>>>>>  at scala.concurrent.forkjoin.ForkJoinPool.fullExternalPush(
>>>>>> ForkJoinPool.java:1897)
>>>>>> at scala.concurrent.forkjoin.ForkJoinPool.externalPush(
>>>>>> ForkJoinPool.java:1834)
>>>>>>  at scala.concurrent.forkjoin.ForkJoinPool.execute(
>>>>>> ForkJoinPool.java:2955)
>>>>>> at akka.dispatch.ForkJoinExecutorConfigurator$
>>>>>> AkkaForkJoinPool.execute(AbstractDispatcher.scala:374)
>>>>>>  at akka.dispatch.ExecutorServiceDelegate$class.
>>>>>> execute(ThreadPoolBuilder.scala:212)
>>>>>> at akka.dispatch.Dispatcher$LazyExecutorServiceDelegate.
>>>>>> execute(Dispatcher.scala:43)
>>>>>>  at akka.dispatch.Dispatcher.registerForExecution(
>>>>>> Dispatcher.scala:118)
>>>>>> at akka.dispatch.MessageDispatcher.attach(
>>>>>> AbstractDispatcher.scala:134)
>>>>>>  at akka.actor.dungeon.Dispatch$class.start(Dispatch.scala:84)
>>>>>> at akka.actor.ActorCell.start(ActorCell.scala:338)
>>>>>>  at akka.actor.LocalActorRef.start(ActorRef.scala:321)
>>>>>> at akka.actor.LocalActorRefProvider.init(ActorRefProvider.scala:619)
>>>>>>  at akka.remote.RemoteActorRefProvider.init(
>>>>>> RemoteActorRefProvider.scala:156)
>>>>>> at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.
>>>>>> scala:579)
>>>>>>  at akka.actor.ActorSystemImpl._start(ActorSystem.scala:577)
>>>>>> at akka.actor.ActorSystemImpl.start(ActorSystem.scala:588)
>>>>>>  at akka.actor.ActorSystem$.apply(ActorSystem.scala:111)
>>>>>> at akka.actor.ActorSystem$.apply(ActorSystem.scala:104)
>>>>>>  at akka.actor.ActorSystem$.create(ActorSystem.scala:66)
>>>>>> at akka.actor.ActorSystem.create(ActorSystem.scala)
>>>>>>  at hr.etna.baas.api.Baas.<init>(Baas.java:39)
>>>>>>  ... 15 more
>>>>>>
>>>>>> -- 
>>>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>> >>>>>>>>>> Search the archives: https://groups.google.com/
>>>>>> group/akka-user
>>>>>> --- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Akka User List" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to akka-user+...@googlegroups.com.
>>>>>> To post to this group, send email to akka...@googlegroups.com.
>>>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>
>>>>>
>>>>
>> -- 
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>  
>>
>> *Dr. Roland Kuhn*
>> *Akka Tech Lead*
>> Typesafe <http://typesafe.com/> – Reactive apps on the JVM.
>> twitter: @rolandkuhn
>>  <http://twitter.com/#!/rolandkuhn>
>>  
>>  -- 
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to