Excellent! There was a setNativeName is a Mac OS X specific method. Can
somebody please test the attached fix on Windows and confirm that it works?


On Fri, Jun 24, 2011 at 5:36 PM, Amila Maha Arachchi <ami...@wso2.com>wrote:

> Hi,
>
> On Fri, Jun 24, 2011 at 5:04 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> Supun,
>> Can you try replacing
>> CARBON_HOME/lib/endorsed/org.wso2.carbon.thread-3.2.1.jar with the attached
>> jar?
>>
>
> I tried this and AS started successfully with the provided jar.
>
> Thanks,
> AmilaM.
>
>>
>>
>> On Fri, Jun 24, 2011 at 3:34 PM, Supun Malinga <sup...@wso2.com> wrote:
>>
>>> Hi devs,
>>>
>>> Stratos appserver doesn't start due to the error [1], Anyone got any idea
>>> for the cause of this error?.
>>> Issue reported @ [2].
>>>
>>> [1] Stacktrace
>>> Exception in thread "[ThreadPool Manager] - Idle Thread"
>>> java.lang.UnsatisfiedLinkError:
>>> java.lang.Thread.setNativeName(Ljava/lang/String;)V
>>> at java.lang.Thread.setNativeName(Native Method)
>>>  at java.lang.Thread.setName(Thread.java:1123)
>>> at
>>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:90)
>>> Exception in thread "NioSocketAcceptor-1" java.lang.UnsatisfiedLinkError:
>>> java.lang.Thread.setNativeName(Ljava/lang/String;)V
>>> at java.lang.Thread.setNativeName(Native Method)
>>>  at java.lang.Thread.setName(Thread.java:1123)
>>> at
>>> org.apache.mina.util.NamePreservingRunnable.setName(NamePreservingRunnable.java:76)
>>>  at
>>> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:60)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>  at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>> at java.lang.Thread.run(Thread.java:686)
>>> Exception in thread "[Timer] - Main Queue Handler"
>>> java.lang.UnsatisfiedLinkError:
>>> java.lang.Thread.setNativeName(Ljava/lang/String;)V
>>> at java.lang.Thread.setNativeName(Native Method)
>>>  at java.lang.Thread.setName(Thread.java:1123)
>>> at
>>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.setRunnable(Executor.java:49)
>>>  at
>>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.ThreadPoolManagerImpl.execute(ThreadPoolManagerImpl.java:213)
>>> at
>>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.ThreadPoolFactoryImpl.execute0(ThreadPoolFactoryImpl.java:112)
>>>  at
>>> org.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl.run(TimerImpl.java:110)
>>> at java.lang.Thread.run(Thread.java:686)
>>> Exception in thread "[ThreadPool Manager] - Idle Thread"
>>> java.lang.UnsatisfiedLinkError:
>>> java.lang.Thread.setNativeName(Ljava/lang/String;)V
>>> at java.lang.Thread.setNativeName(Native Method)
>>>  at java.lang.Thread.setName(Thread.java:1123)
>>> at
>>> org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:90)
>>>
>>> [2] https://wso2.org/jira/browse/STRATOS-1216
>>>
>>> regards,
>>> --
>>> Supun Malinga,
>>>
>>> Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>> email - sup...@wso2.com <sup...@wso2.com>
>>> mobile - 071 56 91 321
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> _______________________________________________
>> Stratos-dev mailing list
>> stratos-...@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>
>>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to