You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by raakula <ra...@nsn.com> on 2011/08/22 06:28:02 UTC

Servicemix 4.3 on Linux

Hi,
  I downloaded SMX4.3 linux version from apache site and trying to run SMX
4.3 on RHEL.
When I start SMX using ./servicemix, the instance was able to start
successfully.
However, the jbi folder inside data folder is not getting created.

---------------------------------------
[root@vm186x022 data]# ls -ltr
total 40
drwxr-xr-x   2 root root 4096 Aug 17 09:12 generated-bundles
drwxr-xr-x   3 root root 4096 Aug 17 09:12 activemq
drwxr-xr-x   2 root root 4096 Aug 17 12:18 log
drwxr-xr-x 200 root root 4096 Aug 18 14:40 cache
-rw-r--r--   1 root root    5 Aug 22 09:52 port
[root@vm186x022 data]#
---------------------------------------
Probably, because of this I am not able to deploy any of the JBI components
successfully.
Does it require some configuration changes? Please help me.

regards,
Ramu



--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4722137.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Servicemix 4.3 on Linux

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

Yeah, you can put the dependencies into your local maven repo, take a  
look at $SMX_HOME/etc/org.ops4j.pax.url.mvn.cfg to get more details  
about how mvn-url-handler will check the maven repo locally and  
remotely.

Freeman
On 2011-8-24, at 上午11:36, raakula wrote:

> By the way I don’t have internet connection available on my linux  
> machine.
>
> If the dependencies are not found, should I maintain own local  
> repository so that maven can resolve it locally?
>
>
>
> best regards,
>
> Ramu
>
>
>
> From: ext Freeman-2 [via ServiceMix] [mailto:ml-node+4725123-437752512-236961@n5.nabble.com 
> ]
> Sent: Tuesday, August 23, 2011 7:07 AM
> To: Akula, Ramanjaneyul (NSN - IN/Bangalore)
> Subject: Re: Servicemix 4.3 on Linux
>
>
>
> Hi,
>
> Do you change configuration file for Apache Servicemix 4.3?
> If not, could you take a look at  data/log/servicemix.log to see if
> there is any exception?
>
> Freeman
> On 2011-8-22, at 下午12:28, raakula wrote:
>
>
>> Hi,
>> I downloaded SMX4.3 linux version from apache site and trying to
>> run SMX
>> 4.3 on RHEL.
>> When I start SMX using ./servicemix, the instance was able to start
>> successfully.
>> However, the jbi folder inside data folder is not getting created.
>>
>> ---------------------------------------
>> [root@vm186x022 data]# ls -ltr
>> total 40
>> drwxr-xr-x   2 root root 4096 Aug 17 09:12 generated-bundles
>> drwxr-xr-x   3 root root 4096 Aug 17 09:12 activemq
>> drwxr-xr-x   2 root root 4096 Aug 17 12:18 log
>> drwxr-xr-x 200 root root 4096 Aug 18 14:40 cache
>> -rw-r--r--   1 root root    5 Aug 22 09:52 port
>> [root@vm186x022 data]#
>> ---------------------------------------
>> Probably, because of this I am not able to deploy any of the JBI
>> components
>> successfully.
>> Does it require some configuration changes? Please help me.
>>
>> regards,
>> Ramu
>>
>>
>>
>> -- 
>> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4722137.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------
> Freeman Fang
>
> FuseSource
> Email:[hidden email]
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
>
>
>
>
>
>
>
>
>
>
>
>
> ________________________________
>
> If you reply to this email, your message will be added to the  
> discussion below:
>
> http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4725123.html
>
> To start a new topic under ServiceMix - User, email ml-node+396123-1038689410-236961@n5.nabble.com
> To unsubscribe from ServiceMix - User, click here <http://servicemix.396122.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=396123&code=cmFtYW5qYW5leXVsLmFrdWxhQG5zbi5jb218Mzk2MTIzfC0yMDM2MDc5NjI1 
> > .
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4729123.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com










Re: Servicemix 4.3 on Linux

Posted by Jon Anstey <ja...@gmail.com>.
FYI there is a good guide on resolving dependencies in ServiceMix here
http://fusesource.com/docs/esb/4.4/esb_deploy_osgi/Locate.html It also
describes how to create a local repository so that you don't need Internet
access when you start up ServiceMix.

Cheers,
Jon

On Wed, Aug 24, 2011 at 1:06 AM, raakula <ra...@nsn.com> wrote:

> By the way I don’t have internet connection available on my linux machine.
>
> If the dependencies are not found, should I maintain own local repository
> so that maven can resolve it locally?
>
>
>
> best regards,
>
> Ramu
>
>
>
> From: ext Freeman-2 [via ServiceMix] [mailto:
> ml-node+4725123-437752512-236961@n5.nabble.com]
> Sent: Tuesday, August 23, 2011 7:07 AM
> To: Akula, Ramanjaneyul (NSN - IN/Bangalore)
> Subject: Re: Servicemix 4.3 on Linux
>
>
>
> Hi,
>
> Do you change configuration file for Apache Servicemix 4.3?
> If not, could you take a look at  data/log/servicemix.log to see if
> there is any exception?
>
> Freeman
> On 2011-8-22, at 下午12:28, raakula wrote:
>
>
> > Hi,
> >  I downloaded SMX4.3 linux version from apache site and trying to
> > run SMX
> > 4.3 on RHEL.
> > When I start SMX using ./servicemix, the instance was able to start
> > successfully.
> > However, the jbi folder inside data folder is not getting created.
> >
> > ---------------------------------------
> > [root@vm186x022 data]# ls -ltr
> > total 40
> > drwxr-xr-x   2 root root 4096 Aug 17 09:12 generated-bundles
> > drwxr-xr-x   3 root root 4096 Aug 17 09:12 activemq
> > drwxr-xr-x   2 root root 4096 Aug 17 12:18 log
> > drwxr-xr-x 200 root root 4096 Aug 18 14:40 cache
> > -rw-r--r--   1 root root    5 Aug 22 09:52 port
> > [root@vm186x022 data]#
> > ---------------------------------------
> > Probably, because of this I am not able to deploy any of the JBI
> > components
> > successfully.
> > Does it require some configuration changes? Please help me.
> >
> > regards,
> > Ramu
> >
> >
> >
> > --
> > View this message in context:
> http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4722137.html
> > Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------
> Freeman Fang
>
> FuseSource
> Email:[hidden email]
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
>
>
>
>
>
>
>
>
>
>
>
>
> ________________________________
>
> If you reply to this email, your message will be added to the discussion
> below:
>
>
> http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4725123.html
>
> To start a new topic under ServiceMix - User, email
> ml-node+396123-1038689410-236961@n5.nabble.com
> To unsubscribe from ServiceMix - User, click here <
> http://servicemix.396122.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=396123&code=cmFtYW5qYW5leXVsLmFrdWxhQG5zbi5jb218Mzk2MTIzfC0yMDM2MDc5NjI1>
> .
>
>
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4729123.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>



-- 
Cheers,
Jon
---------------
FuseSource
Email: jon@fusesource.com
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

RE: Servicemix 4.3 on Linux

Posted by raakula <ra...@nsn.com>.
By the way I don’t have internet connection available on my linux machine. 

If the dependencies are not found, should I maintain own local repository so that maven can resolve it locally?

 

best regards,

Ramu

 

From: ext Freeman-2 [via ServiceMix] [mailto:ml-node+4725123-437752512-236961@n5.nabble.com] 
Sent: Tuesday, August 23, 2011 7:07 AM
To: Akula, Ramanjaneyul (NSN - IN/Bangalore)
Subject: Re: Servicemix 4.3 on Linux

 

Hi, 

Do you change configuration file for Apache Servicemix 4.3? 
If not, could you take a look at  data/log/servicemix.log to see if   
there is any exception? 

Freeman 
On 2011-8-22, at 下午12:28, raakula wrote: 


> Hi, 
>  I downloaded SMX4.3 linux version from apache site and trying to   
> run SMX 
> 4.3 on RHEL. 
> When I start SMX using ./servicemix, the instance was able to start 
> successfully. 
> However, the jbi folder inside data folder is not getting created. 
> 
> --------------------------------------- 
> [root@vm186x022 data]# ls -ltr 
> total 40 
> drwxr-xr-x   2 root root 4096 Aug 17 09:12 generated-bundles 
> drwxr-xr-x   3 root root 4096 Aug 17 09:12 activemq 
> drwxr-xr-x   2 root root 4096 Aug 17 12:18 log 
> drwxr-xr-x 200 root root 4096 Aug 18 14:40 cache 
> -rw-r--r--   1 root root    5 Aug 22 09:52 port 
> [root@vm186x022 data]# 
> --------------------------------------- 
> Probably, because of this I am not able to deploy any of the JBI   
> components 
> successfully. 
> Does it require some configuration changes? Please help me. 
> 
> regards, 
> Ramu 
> 
> 
> 
> -- 
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4722137.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com. 


--------------------------------------------- 
Freeman Fang 

FuseSource 
Email:[hidden email] 
Web: fusesource.com 
Twitter: freemanfang 
Blog: http://freemanfang.blogspot.com












________________________________

If you reply to this email, your message will be added to the discussion below:

http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4725123.html 

To start a new topic under ServiceMix - User, email ml-node+396123-1038689410-236961@n5.nabble.com 
To unsubscribe from ServiceMix - User, click here <http://servicemix.396122.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=396123&code=cmFtYW5qYW5leXVsLmFrdWxhQG5zbi5jb218Mzk2MTIzfC0yMDM2MDc5NjI1> . 



--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4729123.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

RE: Servicemix 4.3 on Linux

Posted by raakula <ra...@nsn.com>.
Hi Freeman,

  I didn’t change any configuration but in fact, I found few exceptions in the servicemix.log.

 

-----------------------------------------

08:56:18,261 | ERROR | rint Extender: 3 | BlueprintContainerImpl           | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Unable to start blueprint container for bundle org.apache.servicemix.jbi.osgi due to unresolved dependencies [(objectClass=org.apache.servicemix.nmr.api.NMR), (objectClass=org.apache.servicemix.document.DocumentRepository), (objectClass=javax.transaction.TransactionManager), (objectClass=org.fusesource.commons.management.ManagementStrategy), (objectClass=javax.management.MBeanServer)]

java.util.concurrent.TimeoutException

        at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:273)[7:org.apache.aries.blueprint:0.2.0.incubating]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_26]

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_26]

        at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_26]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_26]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)[:1.6.0_26]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]

        at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]

08:56:18,282 | ERROR | rint Extender: 2 | BlueprintContainerImpl           | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Unable to start blueprint container for bundle org.apache.servicemix.jbi.deployer due to unresolved dependencies [(objectClass=javax.management.MBeanServer), (objectClass=javax.transaction.TransactionManager), (objectClass=org.fusesource.commons.management.ManagementStrategy)]

java.util.concurrent.TimeoutException

        at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:273)[7:org.apache.aries.blueprint:0.2.0.incubating]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_26]

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_26]

        at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_26]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_26]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)[:1.6.0_26]

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]

        at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]

-----------------------------------------

 

 

When I checked the feature list, for nmr, it is comparable with what is there on my Windows SMX instance. Please help me.

 

karaf@root> features:list | grep -i nmr

[uninstalled] [4.3.0         ] cxf-nmr                              repo-0

[uninstalled] [4.3.0         ] camel-nmr                            repo-0

[uninstalled] [4.3.0         ] examples-cxf-nmr                     repo-0

[uninstalled] [4.3.0         ] examples-camel-nmr                   repo-0

[uninstalled] [4.3.0         ] examples-camel-nmr-blueprint         repo-0

[uninstalled] [4.3.0         ] examples-cxf-camel-nmr               repo-0

[installed  ] [1.4.0         ] nmr                                  repo-0

[uninstalled] [1.4.0         ] nmr-audit                            repo-0

[uninstalled] [1.4.0         ] examples-nmr                         repo-0

karaf@root>

 

best regards,

Ramu

 

From: ext Freeman-2 [via ServiceMix] [mailto:ml-node+4725123-437752512-236961@n5.nabble.com] 
Sent: Tuesday, August 23, 2011 7:07 AM
To: Akula, Ramanjaneyul (NSN - IN/Bangalore)
Subject: Re: Servicemix 4.3 on Linux

 

Hi, 

Do you change configuration file for Apache Servicemix 4.3? 
If not, could you take a look at  data/log/servicemix.log to see if   
there is any exception? 

Freeman 
On 2011-8-22, at 下午12:28, raakula wrote: 


> Hi, 
>  I downloaded SMX4.3 linux version from apache site and trying to   
> run SMX 
> 4.3 on RHEL. 
> When I start SMX using ./servicemix, the instance was able to start 
> successfully. 
> However, the jbi folder inside data folder is not getting created. 
> 
> --------------------------------------- 
> [root@vm186x022 data]# ls -ltr 
> total 40 
> drwxr-xr-x   2 root root 4096 Aug 17 09:12 generated-bundles 
> drwxr-xr-x   3 root root 4096 Aug 17 09:12 activemq 
> drwxr-xr-x   2 root root 4096 Aug 17 12:18 log 
> drwxr-xr-x 200 root root 4096 Aug 18 14:40 cache 
> -rw-r--r--   1 root root    5 Aug 22 09:52 port 
> [root@vm186x022 data]# 
> --------------------------------------- 
> Probably, because of this I am not able to deploy any of the JBI   
> components 
> successfully. 
> Does it require some configuration changes? Please help me. 
> 
> regards, 
> Ramu 
> 
> 
> 
> -- 
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4722137.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com. 


--------------------------------------------- 
Freeman Fang 

FuseSource 
Email:[hidden email] 
Web: fusesource.com 
Twitter: freemanfang 
Blog: http://freemanfang.blogspot.com












________________________________

If you reply to this email, your message will be added to the discussion below:

http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4725123.html 

To start a new topic under ServiceMix - User, email ml-node+396123-1038689410-236961@n5.nabble.com 
To unsubscribe from ServiceMix - User, click here <http://servicemix.396122.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=396123&code=cmFtYW5qYW5leXVsLmFrdWxhQG5zbi5jb218Mzk2MTIzfC0yMDM2MDc5NjI1> . 



--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4725377.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Servicemix 4.3 on Linux

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

Do you change configuration file for Apache Servicemix 4.3?
If not, could you take a look at  data/log/servicemix.log to see if  
there is any exception?

Freeman
On 2011-8-22, at 下午12:28, raakula wrote:

> Hi,
>  I downloaded SMX4.3 linux version from apache site and trying to  
> run SMX
> 4.3 on RHEL.
> When I start SMX using ./servicemix, the instance was able to start
> successfully.
> However, the jbi folder inside data folder is not getting created.
>
> ---------------------------------------
> [root@vm186x022 data]# ls -ltr
> total 40
> drwxr-xr-x   2 root root 4096 Aug 17 09:12 generated-bundles
> drwxr-xr-x   3 root root 4096 Aug 17 09:12 activemq
> drwxr-xr-x   2 root root 4096 Aug 17 12:18 log
> drwxr-xr-x 200 root root 4096 Aug 18 14:40 cache
> -rw-r--r--   1 root root    5 Aug 22 09:52 port
> [root@vm186x022 data]#
> ---------------------------------------
> Probably, because of this I am not able to deploy any of the JBI  
> components
> successfully.
> Does it require some configuration changes? Please help me.
>
> regards,
> Ramu
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-4-3-on-Linux-tp4722137p4722137.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com