You need to create a worker profile during the product p2-profile
generation. This profile should only contain the back-end server components
but not ui components. Have a look at the AS 5.2.0 p2-profile-gen pom for
an example.

Regards,
KasunG


On Tue, Nov 5, 2013 at 2:05 PM, Malintha Adikari <malin...@wso2.com> wrote:

> Hi,
>
> I got the error while I run the ESB server as worker in cluster set-up
> with ELB. Without using "-DworkerNode=true" option is there any other
> alternative for this. It seems that I can't setup the cluster without
> running the worker profile.
>
> Thanks,
> Malintha Adikari
>
>
> On Wed, Sep 18, 2013 at 12:25 AM, Vanjikumaran Sivajothy 
> <va...@wso2.com>wrote:
>
>> yes we will be doing it
>>
>>
>> On Tue, Sep 17, 2013 at 4:50 PM, Isuru Perera <isu...@wso2.com> wrote:
>>
>>> Hi Vanji,
>>>
>>>
>>> On Tue, Sep 17, 2013 at 4:46 PM, Vanjikumaran Sivajothy 
>>> <va...@wso2.com>wrote:
>>>
>>>> Hi Issuru,
>>>> It seems profile is not configured for DworkerNode, Nevertheless you
>>>> can use the ESB with out the WorkNode while you working on ELB
>>>>
>>> Yes, I can proceed with my testing with out the worker profile for now.
>>>
>>> Anyway, I didn't see a JIRA for this issue. Shall I create one?
>>>
>>> I hope you guys will fix the worker profile for next milestone release.
>>>
>>>>
>>>> Best regards,
>>>> Vanji
>>>>
>>>>
>>>> On Tue, Sep 17, 2013 at 3:41 PM, Isuru Perera <isu...@wso2.com> wrote:
>>>>
>>>>> I get following error when I run the server as "./wso2server.sh
>>>>> -DworkerNode=true"
>>>>>
>>>>> JAVA_HOME environment variable is set to /usr/lib/jvm/jdk1.6.0_45
>>>>> CARBON_HOME environment variable is set to
>>>>> /home/isuru/test/elb-release/esb/wso2esb-4.8.0-worker
>>>>> [2013-09-17 15:35:14,559] FATAL {org.wso2.carbon.server.Main} -  OSGi
>>>>> runtime worker profile not found
>>>>> java.lang.reflect.InvocationTargetException
>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>     at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>     at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>     at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:63)
>>>>>     at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:45)
>>>>> Caused by: java.lang.RuntimeException: worker profile not found
>>>>>     at org.wso2.carbon.server.Main.main(Main.java:86)
>>>>>     ... 6 more
>>>>>
>>>>> Please check.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> --
>>>>> Isuru Perera
>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>> about.me/chrishantha
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sivajothy Vanjikumaran
>>>> *Senior Software Engineer*
>>>> *Integration Technologies Team*
>>>> *WSO2 Inc. http://wso2.com/ <http://wso2.com/>*
>>>> *Mobile:(+94)777219209*
>>>> [image: Facebook] <https://www.facebook.com/vanjikumaran> [image:
>>>> Twitter] <https://twitter.com/vanjikumaran> [image: 
>>>> LinkedIn]<http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> 
>>>> [image:
>>>> Blogger] <http://vanjikumaran.blogspot.com/> [image: 
>>>> SlideShare]<http://www.slideshare.net/vanjikumaran>
>>>>
>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>>
>>
>>
>>
>> --
>> Sivajothy Vanjikumaran
>> *Senior Software Engineer*
>> *Integration Technologies Team*
>> *WSO2 Inc. http://wso2.com/ <http://wso2.com/>*
>> *Mobile:(+94)777219209*
>> [image: Facebook] <https://www.facebook.com/vanjikumaran> [image:
>> Twitter] <https://twitter.com/vanjikumaran> [image: 
>> LinkedIn]<http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> 
>> [image:
>> Blogger] <http://vanjikumaran.blogspot.com/> [image: 
>> SlideShare]<http://www.slideshare.net/vanjikumaran>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Software Engineer,
> WSO2 Inc.  http://wso2.com
> (M) +94(71) 2312958
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Gajasinghe*
Software Engineer;
WSO2 Inc.; http://wso2.com


 ,
*email: *
*kasung AT spamfree wso2.com <http://wso2.com>   ** cell: **+94 (77)
678-0813*
*linked-in: *http://lk.linkedin.com/in/gajasinghe



*blog: **http://kasunbg.org* <http://kasunbg.org>



*twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to