You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Gert Vanthienen <ge...@skynet.be> on 2007/06/01 13:08:39 UTC

Re: hot deployment of servicecomponents is not happening

Arif,

Does this problem resemble the one I reported myself some time ago in 
http://www.nabble.com/Service-endpoint-combination-sometimes-not-found-tf3400745s12049.html#a9470091?

Gert

Hi Gert,
>  
>     Iam facing one serious problem in production environment for the 
> version 3.1
>  
>     The problem is servicemix is not deploying all the components 
> which are present in deploy directory, this is happening under 
> following conditions.
>  
>         a) when we restart the servicemix after some period of working.
>         b) when we try to remove the components from deploy and paste 
> it back during running, only some of the components gets deployed.
>        
>     During the above conditions it will not listen to any requests and 
> it is not responding.Not only this some times clients will not be able 
> to place the message in an input queue.
>  
>      *Temporary solution iam using*: replace the servicemix home 
> folder with new one and paste back my components into deploy directory.
>  
>         Again after some time the above problem will come back.
>  
>  
> Any help provided will be valuable for me.
>  
>  
> Regards,
> Arif.

Re: hot deployment of servicecomponents is not happening

Posted by Arif Mohd <ar...@wipro.com>.
Gert,
   Iam using jboss and i have created war file from the directory
apache-servicemix-web-3.1.1-incubating and my context path is
apache-servicemix-web-3.1.1-incubating if i open the url in a browser iam
getting index.jsp according to the welcome file list in web.xml but
index.jsp contains nothing except one url pointing to servicemix site

    I tried all the possible context names from web.xml but not able to get
jmx console.

 apache-servicemix-web-3.1.1-incubating/

Gert Vanthienen wrote:
> 
> Arif,
> 
> After the build has finished succesfully, you'll find the war file for 
> the servicemix-web under 
> distributions\apache-servicemix-web\servicemix-web\target
> 
> Gert
> 
> Arif Mohd wrote:
>> Gert,
>>
>>    Right now implementation is changed from Durable Topic to queue, it
>> seems
>> tobe it is not hanging now. 
>>
>>  Iam following the instruction provided in site for building
>> servicemix-web,
>> but i didn't find any folder by name servicemix-web under the tooling
>> directory of source distribution.
>>
>>   I found one in examples directory and tried to give the command mvn
>> war,
>> it is giving the following error, hope iam doing some thing wrong could u
>> suggest how to use jmx console i don't know that
>>
>>
>> E:\serviceMixVersions\patch-449649-sm-577\apache-servicemix-3.2-incubating-SNAPSHOT\examples\servicemix-web>mvn
>> war
>> [INFO] Scanning for projects...
>> [INFO] snapshot org.apache.servicemix:samples:3.2-incubating-SNAPSHOT:
>> checking for updates from apache.snapshots
>> [INFO] snapshot org.apache.servicemix:servicemix:3.2-incubating-SNAPSHOT:
>> checking for updates from apache.snapshots
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Invalid task 'war': you must specify a valid lifecycle phase, or a
>> goal in the format plugin:goal or pluginGroupId:pluginA
>> rtifactId:pluginVersion:goal
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 8 seconds
>> [INFO] Finished at: Mon Jun 04 14:41:46 IST 2007
>> [INFO] Final Memory: 1M/3M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>    
>>
>> Gert Vanthienen wrote:
>>   
>>> Arif,
>>>
>>>
>>> Can you try to provide a thread dump for this (pressing Ctrl-Break in
>>> your
>>> console window should give you this information)?  Perhaps it's best to
>>> start a JIRA issue for this and attach the thread dump there...
>>>
>>> Can you try to connect to ServiceMix using a JMX console and check
>>> whether
>>> threads are deadlocked or even monitor ServiceMix while running to see
>>> what happens inside the ESB (threads being added, memory leaks, ...)?
>>>
>>>
>>> Gert
>>>
>>>
>>> Arif Mohd wrote:
>>>     
>>>> Gert,
>>>>
>>>>    No it will not give any exceptions, it will just hangup after
>>>> restarting and only deploy some of the components and it will not
>>>> listen
>>>> to any requests
>>>>
>>>>     Removal of components from deploy and SA directory will aslo not
>>>> work, if i replace entire servicemix folder then it will work, again
>>>> after some period of time it will hang up.
>>>>
>>>>   One more observation is when message is posted in a consumer queue
>>>> the
>>>> message is not being sent immediately to the succeeding component my
>>>> configuration is
>>>>
>>>>    consumer queue -->Tap--->Content base router
>>>>
>>>> when i restart servicemix all the messages posted earlier will come at
>>>> time, is some kind of trigger should happen?
>>>>
>>>>
>>>> Gert Vanthienen wrote:
>>>>       
>>>>> Arif,
>>>>>
>>>>> Does this problem resemble the one I reported myself some time ago in 
>>>>> http://www.nabble.com/Service-endpoint-combination-sometimes-not-found-tf3400745s12049.html#a9470091?
>>>>>
>>>>> Gert
>>>>>
>>>>> Hi Gert,
>>>>>         
>>>>>>  
>>>>>>     Iam facing one serious problem in production environment for the 
>>>>>> version 3.1
>>>>>>  
>>>>>>     The problem is servicemix is not deploying all the components 
>>>>>> which are present in deploy directory, this is happening under 
>>>>>> following conditions.
>>>>>>  
>>>>>>         a) when we restart the servicemix after some period of
>>>>>> working.
>>>>>>         b) when we try to remove the components from deploy and paste 
>>>>>> it back during running, only some of the components gets deployed.
>>>>>>        
>>>>>>     During the above conditions it will not listen to any requests
>>>>>> and 
>>>>>> it is not responding.Not only this some times clients will not be
>>>>>> able 
>>>>>> to place the message in an input queue.
>>>>>>  
>>>>>>      *Temporary solution iam using*: replace the servicemix home 
>>>>>> folder with new one and paste back my components into deploy
>>>>>> directory.
>>>>>>  
>>>>>>         Again after some time the above problem will come back.
>>>>>>  
>>>>>>  
>>>>>> Any help provided will be valuable for me.
>>>>>>  
>>>>>>  
>>>>>> Regards,
>>>>>> Arif.
>>>>>>           
>>>>>         
>>>>       
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-hot-deployment-of-servicecomponents-is-not-happening-tf3851657s12049.html#a10947269
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: hot deployment of servicecomponents is not happening

Posted by Gert Vanthienen <ge...@skynet.be>.
Arif,

After the build has finished succesfully, you'll find the war file for 
the servicemix-web under 
distributions\apache-servicemix-web\servicemix-web\target

Gert

Arif Mohd wrote:
> Gert,
>
>    Right now implementation is changed from Durable Topic to queue, it seems
> tobe it is not hanging now. 
>
>  Iam following the instruction provided in site for building servicemix-web,
> but i didn't find any folder by name servicemix-web under the tooling
> directory of source distribution.
>
>   I found one in examples directory and tried to give the command mvn war,
> it is giving the following error, hope iam doing some thing wrong could u
> suggest how to use jmx console i don't know that
>
>
> E:\serviceMixVersions\patch-449649-sm-577\apache-servicemix-3.2-incubating-SNAPSHOT\examples\servicemix-web>mvn
> war
> [INFO] Scanning for projects...
> [INFO] snapshot org.apache.servicemix:samples:3.2-incubating-SNAPSHOT:
> checking for updates from apache.snapshots
> [INFO] snapshot org.apache.servicemix:servicemix:3.2-incubating-SNAPSHOT:
> checking for updates from apache.snapshots
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Invalid task 'war': you must specify a valid lifecycle phase, or a
> goal in the format plugin:goal or pluginGroupId:pluginA
> rtifactId:pluginVersion:goal
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Mon Jun 04 14:41:46 IST 2007
> [INFO] Final Memory: 1M/3M
> [INFO]
> ------------------------------------------------------------------------
>
>    
>
> Gert Vanthienen wrote:
>   
>> Arif,
>>
>>
>> Can you try to provide a thread dump for this (pressing Ctrl-Break in your
>> console window should give you this information)?  Perhaps it's best to
>> start a JIRA issue for this and attach the thread dump there...
>>
>> Can you try to connect to ServiceMix using a JMX console and check whether
>> threads are deadlocked or even monitor ServiceMix while running to see
>> what happens inside the ESB (threads being added, memory leaks, ...)?
>>
>>
>> Gert
>>
>>
>> Arif Mohd wrote:
>>     
>>> Gert,
>>>
>>>    No it will not give any exceptions, it will just hangup after
>>> restarting and only deploy some of the components and it will not listen
>>> to any requests
>>>
>>>     Removal of components from deploy and SA directory will aslo not
>>> work, if i replace entire servicemix folder then it will work, again
>>> after some period of time it will hang up.
>>>
>>>   One more observation is when message is posted in a consumer queue the
>>> message is not being sent immediately to the succeeding component my
>>> configuration is
>>>
>>>    consumer queue -->Tap--->Content base router
>>>
>>> when i restart servicemix all the messages posted earlier will come at
>>> time, is some kind of trigger should happen?
>>>
>>>
>>> Gert Vanthienen wrote:
>>>       
>>>> Arif,
>>>>
>>>> Does this problem resemble the one I reported myself some time ago in 
>>>> http://www.nabble.com/Service-endpoint-combination-sometimes-not-found-tf3400745s12049.html#a9470091?
>>>>
>>>> Gert
>>>>
>>>> Hi Gert,
>>>>         
>>>>>  
>>>>>     Iam facing one serious problem in production environment for the 
>>>>> version 3.1
>>>>>  
>>>>>     The problem is servicemix is not deploying all the components 
>>>>> which are present in deploy directory, this is happening under 
>>>>> following conditions.
>>>>>  
>>>>>         a) when we restart the servicemix after some period of working.
>>>>>         b) when we try to remove the components from deploy and paste 
>>>>> it back during running, only some of the components gets deployed.
>>>>>        
>>>>>     During the above conditions it will not listen to any requests and 
>>>>> it is not responding.Not only this some times clients will not be able 
>>>>> to place the message in an input queue.
>>>>>  
>>>>>      *Temporary solution iam using*: replace the servicemix home 
>>>>> folder with new one and paste back my components into deploy directory.
>>>>>  
>>>>>         Again after some time the above problem will come back.
>>>>>  
>>>>>  
>>>>> Any help provided will be valuable for me.
>>>>>  
>>>>>  
>>>>> Regards,
>>>>> Arif.
>>>>>           
>>>>         
>>>       
>>     
>
>   


Re: hot deployment of servicecomponents is not happening

Posted by Arif Mohd <ar...@wipro.com>.
Gert,

   Right now implementation is changed from Durable Topic to queue, it seems
tobe it is not hanging now. 

 Iam following the instruction provided in site for building servicemix-web,
but i didn't find any folder by name servicemix-web under the tooling
directory of source distribution.

  I found one in examples directory and tried to give the command mvn war,
it is giving the following error, hope iam doing some thing wrong could u
suggest how to use jmx console i don't know that


E:\serviceMixVersions\patch-449649-sm-577\apache-servicemix-3.2-incubating-SNAPSHOT\examples\servicemix-web>mvn
war
[INFO] Scanning for projects...
[INFO] snapshot org.apache.servicemix:samples:3.2-incubating-SNAPSHOT:
checking for updates from apache.snapshots
[INFO] snapshot org.apache.servicemix:servicemix:3.2-incubating-SNAPSHOT:
checking for updates from apache.snapshots
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Invalid task 'war': you must specify a valid lifecycle phase, or a
goal in the format plugin:goal or pluginGroupId:pluginA
rtifactId:pluginVersion:goal
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Mon Jun 04 14:41:46 IST 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

   

Gert Vanthienen wrote:
> 
> Arif,
> 
> 
> Can you try to provide a thread dump for this (pressing Ctrl-Break in your
> console window should give you this information)?  Perhaps it's best to
> start a JIRA issue for this and attach the thread dump there...
> 
> Can you try to connect to ServiceMix using a JMX console and check whether
> threads are deadlocked or even monitor ServiceMix while running to see
> what happens inside the ESB (threads being added, memory leaks, ...)?
> 
> 
> Gert
> 
> 
> Arif Mohd wrote:
>> 
>> Gert,
>> 
>>    No it will not give any exceptions, it will just hangup after
>> restarting and only deploy some of the components and it will not listen
>> to any requests
>> 
>>     Removal of components from deploy and SA directory will aslo not
>> work, if i replace entire servicemix folder then it will work, again
>> after some period of time it will hang up.
>> 
>>   One more observation is when message is posted in a consumer queue the
>> message is not being sent immediately to the succeeding component my
>> configuration is
>> 
>>    consumer queue -->Tap--->Content base router
>> 
>> when i restart servicemix all the messages posted earlier will come at
>> time, is some kind of trigger should happen?
>> 
>> 
>> Gert Vanthienen wrote:
>>> 
>>> Arif,
>>> 
>>> Does this problem resemble the one I reported myself some time ago in 
>>> http://www.nabble.com/Service-endpoint-combination-sometimes-not-found-tf3400745s12049.html#a9470091?
>>> 
>>> Gert
>>> 
>>> Hi Gert,
>>>>  
>>>>     Iam facing one serious problem in production environment for the 
>>>> version 3.1
>>>>  
>>>>     The problem is servicemix is not deploying all the components 
>>>> which are present in deploy directory, this is happening under 
>>>> following conditions.
>>>>  
>>>>         a) when we restart the servicemix after some period of working.
>>>>         b) when we try to remove the components from deploy and paste 
>>>> it back during running, only some of the components gets deployed.
>>>>        
>>>>     During the above conditions it will not listen to any requests and 
>>>> it is not responding.Not only this some times clients will not be able 
>>>> to place the message in an input queue.
>>>>  
>>>>      *Temporary solution iam using*: replace the servicemix home 
>>>> folder with new one and paste back my components into deploy directory.
>>>>  
>>>>         Again after some time the above problem will come back.
>>>>  
>>>>  
>>>> Any help provided will be valuable for me.
>>>>  
>>>>  
>>>> Regards,
>>>> Arif.
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-hot-deployment-of-servicecomponents-is-not-happening-tf3851657s12049.html#a10946381
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: hot deployment of servicecomponents is not happening

Posted by Gert Vanthienen <ge...@skynet.be>.
Arif,


Can you try to provide a thread dump for this (pressing Ctrl-Break in your
console window should give you this information)?  Perhaps it's best to
start a JIRA issue for this and attach the thread dump there...

Can you try to connect to ServiceMix using a JMX console and check whether
threads are deadlocked or even monitor ServiceMix while running to see what
happens inside the ESB (threads being added, memory leaks, ...)?


Gert


Arif Mohd wrote:
> 
> Gert,
> 
>    No it will not give any exceptions, it will just hangup after
> restarting and only deploy some of the components and it will not listen
> to any requests
> 
>     Removal of components from deploy and SA directory will aslo not work,
> if i replace entire servicemix folder then it will work, again after some
> period of time it will hang up.
> 
>   One more observation is when message is posted in a consumer queue the
> message is not being sent immediately to the succeeding component my
> configuration is
> 
>    consumer queue -->Tap--->Content base router
> 
> when i restart servicemix all the messages posted earlier will come at
> time, is some kind of trigger should happen?
> 
> 
> Gert Vanthienen wrote:
>> 
>> Arif,
>> 
>> Does this problem resemble the one I reported myself some time ago in 
>> http://www.nabble.com/Service-endpoint-combination-sometimes-not-found-tf3400745s12049.html#a9470091?
>> 
>> Gert
>> 
>> Hi Gert,
>>>  
>>>     Iam facing one serious problem in production environment for the 
>>> version 3.1
>>>  
>>>     The problem is servicemix is not deploying all the components 
>>> which are present in deploy directory, this is happening under 
>>> following conditions.
>>>  
>>>         a) when we restart the servicemix after some period of working.
>>>         b) when we try to remove the components from deploy and paste 
>>> it back during running, only some of the components gets deployed.
>>>        
>>>     During the above conditions it will not listen to any requests and 
>>> it is not responding.Not only this some times clients will not be able 
>>> to place the message in an input queue.
>>>  
>>>      *Temporary solution iam using*: replace the servicemix home 
>>> folder with new one and paste back my components into deploy directory.
>>>  
>>>         Again after some time the above problem will come back.
>>>  
>>>  
>>> Any help provided will be valuable for me.
>>>  
>>>  
>>> Regards,
>>> Arif.
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-hot-deployment-of-servicecomponents-is-not-happening-tf3851657s12049.html#a10944090
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: hot deployment of servicecomponents is not happening

Posted by Arif Mohd <ar...@wipro.com>.
Gert,

   No it will not give any exceptions, it will just hangup after restarting
and only deploy some of the components and it will not listen to any
requests

    Removal of components from deploy and SA directory will aslo not work,
if i replace entire servicemix folder then it will work, again after some
period of time it will hang up.

  One more observation is when message is posted in a consumer queue the
message is not being sent immediately to the succeeding component my
configuration is

   consumer queue -->Tap--->Content base router

when i restart servicemix all the messages posted earlier will come at time,
is some kind of trigger should happen?


Gert Vanthienen wrote:
> 
> Arif,
> 
> Does this problem resemble the one I reported myself some time ago in 
> http://www.nabble.com/Service-endpoint-combination-sometimes-not-found-tf3400745s12049.html#a9470091?
> 
> Gert
> 
> Hi Gert,
>>  
>>     Iam facing one serious problem in production environment for the 
>> version 3.1
>>  
>>     The problem is servicemix is not deploying all the components 
>> which are present in deploy directory, this is happening under 
>> following conditions.
>>  
>>         a) when we restart the servicemix after some period of working.
>>         b) when we try to remove the components from deploy and paste 
>> it back during running, only some of the components gets deployed.
>>        
>>     During the above conditions it will not listen to any requests and 
>> it is not responding.Not only this some times clients will not be able 
>> to place the message in an input queue.
>>  
>>      *Temporary solution iam using*: replace the servicemix home 
>> folder with new one and paste back my components into deploy directory.
>>  
>>         Again after some time the above problem will come back.
>>  
>>  
>> Any help provided will be valuable for me.
>>  
>>  
>> Regards,
>> Arif.
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-hot-deployment-of-servicecomponents-is-not-happening-tf3851657s12049.html#a10912122
Sent from the ServiceMix - User mailing list archive at Nabble.com.