Yes ActiveMQ jars are expected to be in packs folder. Then script will copy
it to the Stratos lib folder.

Do you get this error when the jar is is pack folder?

If somehow your modified script copy the jar to lib that it is fine.



Touched, not typed. Erroneous words are a feature, not a typo.
On Apr 4, 2014 7:26 PM, "Isuru Perera" <[email protected]> wrote:

> Hi Manas,
>
> Thanks for informing this.
>
> When the initial setup script was created [1], we asked to copy the
> ActiveMQ jars to stratos-pack-path.
>
> Looks like that step is missing in the Wiki [2].
>
> Dinesh/Udara, Can you please check.
>
> Thanks!
>
> [1] "Single JVM - default profile - set up script and initial guide"
> http://mail-archives.apache.org/mod_mbox/stratos-dev/201403.mbox/%3CCA+-yGgmbPwJr+wvX0fO=xznyAxRr-3WDnP=mnvgxqbnw628...@mail.gmail.com%3E
> [2]
> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Automated+Product+Configuration
>
>
> On Fri, Apr 4, 2014 at 6:59 PM, Manas Padegaonkar -T (mpadegao - ARICENT
> TECHNOLOGIES HOLDINGS LIMITED at Cisco) <[email protected]> wrote:
>
>>  root@stratos:/opt/stratos-installer# ./setup.sh -p default
>>
>> default
>>
>> You have selected the profile : default
>>
>> user provided in conf/setup.conf is megh. If you want to provide some
>> other user name please specify it at the prompt.
>>
>> If you want to continue with megh just press enter to continue
>>
>>
>>
>> Do you want to configure ActiveMQ [y/n]: y
>>
>> In default profile CEP will be configured.
>>
>>
>>
>> For all the questions asked while during executing the script please just
>> press the enter button
>>
>>
>>
>> Extracting Apache Stratos
>>
>> Extracting ActiveMQ
>>
>> /opt/stratos/apache-stratos /opt/stratos-installer
>>
>> In repository/conf/carbon.xml
>>
>> In repository/conf/jndi.properties
>>
>> /opt/stratos-installer
>>
>> *cp: cannot stat `/opt/stratos-packs/activemq-broker-5.8.0.jar': No such
>> file or directory*
>>
>>
>>
>>
>>
>> To make it work I modified the setup.sh script &
>>
>>
>>
>> *Replaced*
>>
>> cp -f *$stratos_path/*$activemq_client_lib
>> $stratos_extract_path/repository/components/lib/
>>
>>
>>
>> *With*
>>
>> cp -f *$activemq_path/lib*/$activemq_client_lib
>> $stratos_extract_path/repository/components/lib/
>>
>>
>>
>>
>>
>> Regards
>>
>> Manas..
>>
>>
>>
>>
>>
>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>
  • ... Manas Padegaonkar -T (mpadegao - ARICENT TECHNOLOGIES HOLDINGS LIMITED at Cisco)
    • ... Isuru Perera
      • ... Udara Liyanage
    • ... Dinesh Bandara

Reply via email to