[jira] Resolved: (SM-845) servicemix-quartz includes unneeded spring libraries

2007-03-12 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/activemq/browse/SM-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved SM-845.


Resolution: Fixed
  Assignee: Guillaume Nodet

$ svn commit -m "SM-845: servicemix-quartz includes unneeded spring libraries"
Sendingservicemix-quartz/pom.xml
Transmitting file data .
Committed revision 517266.

$ svn commit -m "SM-845: servicemix-quartz includes unneeded spring libraries"
Sendingservicemix-quartz/pom.xml
Transmitting file data .
Committed revision 517267.

> servicemix-quartz includes unneeded spring libraries
> 
>
> Key: SM-845
> URL: https://issues.apache.org/activemq/browse/SM-845
> Project: ServiceMix
>  Issue Type: Bug
>  Components: servicemix-quartz
>Affects Versions: 3.1
>Reporter: Guillaume Nodet
> Assigned To: Guillaume Nodet
> Fix For: 3.1.1, 3.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SM-878) servicemix-bean is not include in the distribution

2007-03-12 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/activemq/browse/SM-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved SM-878.


Resolution: Fixed
  Assignee: Guillaume Nodet

$ svn commit -m "SM-878 include servicemix-bean in the distribution" pom.xml 
distributions/apache-servicemix/pom.xml
Sendingdistributions/apache-servicemix/pom.xml
Sendingpom.xml
Transmitting file data ..
Committed revision 517257.

$ svn commit -m "SM-878 include servicemix-bean in the distribution" pom.xml 
distributions/apache-servicemix/pom.xml
Sendingdistributions/apache-servicemix/pom.xml
Sendingpom.xml
Transmitting file data ..
Committed revision 517259.

> servicemix-bean is not include in the distribution
> --
>
> Key: SM-878
> URL: https://issues.apache.org/activemq/browse/SM-878
> Project: ServiceMix
>  Issue Type: Bug
>  Components: servicemix-assembly
>Affects Versions: 3.1
>Reporter: Guillaume Nodet
> Assigned To: Guillaume Nodet
> Fix For: 3.1.1, 3.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SM-331) JabberComponentSupport attempts to create a jabber account every time on start

2007-03-12 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/activemq/browse/SM-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38781
 ] 

Guillaume Nodet commented on SM-331:


I guess we need the same kind of fix for the new std JBI component 
servicemix-xmpp ...

> JabberComponentSupport attempts to create a jabber account every time on start
> --
>
> Key: SM-331
> URL: https://issues.apache.org/activemq/browse/SM-331
> Project: ServiceMix
>  Issue Type: Bug
>  Components: servicemix-components
>Affects Versions: 2.0.2
> Environment: any
>Reporter: Jan Maes
> Assigned To: Guillaume Nodet
>Priority: Minor
> Fix For: 3.1.1, 3.2
>
> Attachments: jabber_login_without_account_creation.diff
>
>
> JabberComponentSupport.start() always tries to create a new account on 
> startup.
> if (login && !connection.isAuthenticated()) {
> if (user != null) {
> AccountManager accountManager = new 
> AccountManager(connection);
> accountManager.createAccount(user, password);
> log.info("Logging in to Jabber as user: " + user + " on 
> connection: " + connection);
> connection.login(user, password, resource);
> }
> else {
> log.info("Logging in anonymously to Jabber on connection: 
> " + connection);
> connection.loginAnonymously();
> }
> At second startup, this throws an exception. Better try to login first, and 
> try to create account if that fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SM-331) JabberComponentSupport attempts to create a jabber account every time on start

2007-03-12 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/activemq/browse/SM-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved SM-331.


   Resolution: Fixed
Fix Version/s: 3.2
   3.1.1
 Assignee: Guillaume Nodet

Author: gnodet
Date: Mon Mar 12 08:25:49 2007
New Revision: 517251

URL: http://svn.apache.org/viewvc?view=rev&rev=517251
Log:
SM-331: JabberComponentSupport attempts to create a jabber account every time 
on start
Thanks Patch provided by Christian, thx !

Modified:
   
incubator/servicemix/trunk/common/servicemix-components/src/main/java/org/apache/servicemix/components/jabber/JabberComponentSupport.java

Author: gnodet
Date: Mon Mar 12 08:31:47 2007
New Revision: 517254

URL: http://svn.apache.org/viewvc?view=rev&rev=517254
Log:
SM-311: JabberComponentSupport attempts to create a jabber account every time 
on start

Modified:
   
incubator/servicemix/branches/servicemix-3.1/common/servicemix-components/src/main/java/org/apache/servicemix/components/jabber/JabberComponentSupport.java



> JabberComponentSupport attempts to create a jabber account every time on start
> --
>
> Key: SM-331
> URL: https://issues.apache.org/activemq/browse/SM-331
> Project: ServiceMix
>  Issue Type: Bug
>  Components: servicemix-components
>Affects Versions: 2.0.2
> Environment: any
>Reporter: Jan Maes
> Assigned To: Guillaume Nodet
>Priority: Minor
> Fix For: 3.1.1, 3.2
>
> Attachments: jabber_login_without_account_creation.diff
>
>
> JabberComponentSupport.start() always tries to create a new account on 
> startup.
> if (login && !connection.isAuthenticated()) {
> if (user != null) {
> AccountManager accountManager = new 
> AccountManager(connection);
> accountManager.createAccount(user, password);
> log.info("Logging in to Jabber as user: " + user + " on 
> connection: " + connection);
> connection.login(user, password, resource);
> }
> else {
> log.info("Logging in anonymously to Jabber on connection: 
> " + connection);
> connection.loginAnonymously();
> }
> At second startup, this throws an exception. Better try to login first, and 
> try to create account if that fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SM-611) Reduce non-optional core dependencies

2007-03-12 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/activemq/browse/SM-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved SM-611.


   Resolution: Fixed
Fix Version/s: 3.1.1

> Reduce non-optional core dependencies
> -
>
> Key: SM-611
> URL: https://issues.apache.org/activemq/browse/SM-611
> Project: ServiceMix
>  Issue Type: Improvement
>  Components: servicemix-core
>Reporter: Guillaume Nodet
> Assigned To: Guillaume Nodet
> Fix For: 3.1.1, 3.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SM-331) JabberComponentSupport attempts to create a jabber account every time on start

2007-03-12 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/activemq/browse/SM-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated SM-331:
---

Patch Info: [Patch Available]

> JabberComponentSupport attempts to create a jabber account every time on start
> --
>
> Key: SM-331
> URL: https://issues.apache.org/activemq/browse/SM-331
> Project: ServiceMix
>  Issue Type: Bug
>  Components: servicemix-components
>Affects Versions: 2.0.2
> Environment: any
>Reporter: Jan Maes
>Priority: Minor
> Attachments: jabber_login_without_account_creation.diff
>
>
> JabberComponentSupport.start() always tries to create a new account on 
> startup.
> if (login && !connection.isAuthenticated()) {
> if (user != null) {
> AccountManager accountManager = new 
> AccountManager(connection);
> accountManager.createAccount(user, password);
> log.info("Logging in to Jabber as user: " + user + " on 
> connection: " + connection);
> connection.login(user, password, resource);
> }
> else {
> log.info("Logging in anonymously to Jabber on connection: 
> " + connection);
> connection.loginAnonymously();
> }
> At second startup, this throws an exception. Better try to login first, and 
> try to create account if that fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SM-275) Consider enhancing file based components with servingxml

2007-03-12 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/activemq/browse/SM-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated SM-275:
---

Patch Info: [Patch Available]

> Consider enhancing file based components with servingxml
> 
>
> Key: SM-275
> URL: https://issues.apache.org/activemq/browse/SM-275
> Project: ServiceMix
>  Issue Type: New Feature
>Reporter: Guillaume Nodet
> Attachments: servingXml-se-su.zip
>
>
> I confess, I don't really understand all this jbi thing.. but I think this 
> might be a useful binding component if someone was willing to wrap it up as 
> such.
> http://servingxml.sourceforge.net/
> It's a flat-file to xml transformer. It claims to do edi. I'm not sure if a 
> NM can contain xml or what.. but I thought I'd make this connection to the 
> mailing list anyway.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



eip filter extension

2007-03-12 Thread Thomas TERMIN

--- Begin Message ---

On 3/12/07, Thomas TERMIN <[EMAIL PROTECTED]> wrote:


Hello Guillaume,

did you see my small patch in JIRA?



Yeah, thx.

The next days I will provide the patch for ComponentSupport related to

the correlationID. I couln't make it up to now.



Cool :-)

Peter my colleague asked if you need a switch-filter as an EIP

component. It does nothing more then check a property for message flow.
If this property is true it sends the message to the destination and if
it is false the exchange will be discarde. This is helpfull if you have
different installations where some services are installed or not
installed in servicemix. What he want to do is that you can enable or
disbale the flow via JMX as well as an property in a property file at
runtime. (Hope the explanation was understandable)



Sounds good, but I wonder wha's the difference with the
http://incubator.apache.org/servicemix/servicemix-eip.html#servicemix-eip-MessageFilter
.
We only need to implement a new predicate based on properties, which could
be
reused by the router for example.  I'm not sure if this is what you meant or
not
(maybe you were talking about a system property ?)
As for the JMX stuff, it's a very good idea.

I will also look in this embedded jetty stuff the next days.


Thanks ...

Btw, unless there is something confidential, such discussion should take
place on the dev list ...  If you could forward this mail there ... ;-)

Cheers,

Thomas


Guillaume Nodet wrote:
> Thanks a lot !
>
> On 3/9/07, [EMAIL PROTECTED]
> * < [EMAIL PROTECTED]
> > wrote:
>
>
>
> Hello Guillaume,
>
> I faxed this CLA to apache.
>
> Cheers,
> Thomas
>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> 
> Architect, LogicBlaze (http://www.logicblaze.com/
> )
> Blog: http://gnodet.blogspot.com/


--
Thomas Termin
___
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel:  (+49) 0711 - 45 10 17 676
Fax:  (+49) 0711 - 45 10 17 573
WWW:  http://www.blue-elephant-systems.com
Email  :  [EMAIL PROTECTED]

blue elephant systems GmbH
Firmensitz  : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
Geschäftsführer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle





--
Cheers,
Guillaume Nodet

Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/
--- End Message ---


[jira] Created: (SM-878) servicemix-bean is not include in the distribution

2007-03-12 Thread Guillaume Nodet (JIRA)
servicemix-bean is not include in the distribution
--

 Key: SM-878
 URL: https://issues.apache.org/activemq/browse/SM-878
 Project: ServiceMix
  Issue Type: Bug
  Components: servicemix-assembly
Affects Versions: 3.1
Reporter: Guillaume Nodet
 Fix For: 3.1.1, 3.2




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [jira] Getting "java.lang.IllegalStateException: component is not owner" Exception

2007-03-12 Thread Guillaume Nodet

Did you check that the exchange that you are processing has its status
set to ACTIVE ?  In JBI, exchanges always come back, so you will receive
exchanges acknowledgements: exchanges have been processed but come back
in a DONE status.  You have to discard those.

On 3/12/07, Keertikar <[EMAIL PROTECTED]> wrote:



I've tried with all combinations, as you suggested (sending the exchange
and
modifying it after that). but not solved.

However, there is one more interesting issue. This problem is occuring not
every time, only sometimes.
And not affecting my code. I'm able to achive the desired result but this
exception is occurring sometime on the Service Mix console.




gnodet wrote:
>
> This exception is thrown when a component modify
> an exchange while it is not the owner of the exchange.
> The common cause is that you send the exchange back
> and modify it after that.
>
> On 2/27/07, Keertikar <[EMAIL PROTECTED]> wrote:
>>
>> Yes Juergen, I've put a check to process the message only if the
exchange
>> is
>> active and since this block is skipped, so, this makes sure that
exchange
>> is
>> Active. I've printed the status on the console it's showing active. But
>> still the same exception.
>>
>>
>> Juergen Mayrbaeurl wrote:
>> >
>> > Are you sure you're getting a InOut MessageExchange that's active.
I'm
>> not
>> > sure but I think that the IllegalStateException comes from sending a
>> > response for an inactive MessageExchange.
>> >
>> > Kind regards
>> > Juergen
>> >
>> >
>> > Keertikar wrote:
>> >>
>> >> Hi All,
>> >>
>> >> I've written a simple application for publishing a message on the
>> Service
>> >> Bus and retrieving the same.
>> >> This is working fine and i'm able to receive the message in a proper
>> way
>> >> but an exception occurrs on ServiceMix console, (ERROR
[CBRComponent]
>> >> Error processing exchange InOut[)as follows:
>> >>
>> >> java.lang.IllegalStateException: component is not owner
>> >> at
>> >>
>> org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setMessage(
MessageExchangeImpl.java:297)
>> >> at
>> >>
>>
com.globallogic.chrysalis.esb.component.cbr.endpoint.ContentBasedRouter.sendResponse
(ContentBasedRouter.java:231)
>> >> at
>> >>
>>
com.globallogic.chrysalis.esb.component.cbr.endpoint.ContentBasedRouter.process
(ContentBasedRouter.java:124)
>> >> at
>> >>
>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(
AsyncBaseLifeCycle.java:431)
>> >> at
>> >>
>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(
BaseLifeCycle.java:43)
>> >> at
>> >>
>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(
DeliveryChannelImpl.java:624)
>> >> at
>> >>
>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(
AbstractFlow.java:169)
>> >> at
>> >>
>> org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow.access$301(JMSFlow.java
:73)
>> >> at
>> >> org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow$5.run(JMSFlow.java
:534)
>> >> at
>> >>
>> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
>> >> at
>> >> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
>> >> Source)
>> >> at java.lang.Thread.run(Thread.java:595)
>> >>
>> >> All suggestion are welcome.
>> >>
>> >> Keertikar
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Getting-%22java.lang.IllegalStateException%3A-component-is-not-owner%22-Exception-tf3298389s12049.html#a9177903
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> 
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>

--
View this message in context:
http://www.nabble.com/Getting-%22java.lang.IllegalStateException%3A-component-is-not-owner%22-Exception-tf3298389s12049.html#a9429170
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.





--
Cheers,
Guillaume Nodet

Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/