Re: [Dev] Two-way dependencies in G-REG 5.1
Hmm, I can't guess what the use-cases are that only require only-way relations. However, the intuitive logic is for two-way. It is simply not possible to have a one-way relation with something like owner/owned. If someone doesn't want to see those relations at a later date then fair enough, we should add options into the creation of the relation that says e.g. 'only show this direction'. But, to not have two-way by default is, to my mind, missing the point on dependancy relationships and simplificiation for the user. regards, john. John Hawkins Director: Solutions Architecture On Fri, Nov 6, 2015 at 11:04 AM, Sameera Kannangara <samee...@wso2.com> wrote: > Hi John, > > G-Reg associations are by design represents only one-way associations. > Reason behind this design is that some use cases need only one way of > association not both ways. > > But if a user wants associations to be added to reflect both ways of the > relation, > User has to add both associations separately from both asset views. > > However there is a config file that needs to be updated in order add other > association type in to the system before deployment. > > config file - /repository/conf/governance.xml. > > There is a section, > > > policy > restservice,soapservice,wsdl > restservice,soapservice,wsdl > > restservice,soapservice,wsdl,endpoint > > > You need to add a new association type to "restservice" extension type by > adding > > restservice,soapservice,wsdl > > in to association element. > After adding new line config element will look like following. > > > policy > restservice,soapservice,wsdl > restservice,soapservice,wsdl > > restservice,soapservice,wsdl,endpoint > *restservice,soapservice,wsdl* > > > With this config you can restart the G-reg server, and associate API2 with > API1 using "owns" association type. > This way you can represent 2 way association. > > Thank you, > SameeraK. > > > > On Wed, Nov 4, 2015 at 10:22 PM, John Hawkins <jo...@wso2.com> wrote: > >> Hi Folks, >> >> I just downloaded and ran G-REG 5.1 - nice UI !! >> >> I then created two REST API's (API1 and API2) >> I associated API1 with API2 ( API1 is 'owned by' API2) >> I then drilled down from API1 to the impact analysis which showed the >> dependency that correctly says API1 is owned by API2. >> >> However, when I drill down from API2 to the dependency analysis it >> doesn't show that API2 owns API1. >> >> To my mind it should, shouldn't it ? After all owner and ownee is a >> two-way relation? >> >> thanks, >> John. >> >> John Hawkins >> Director: Solutions Architecture >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Sameera Kannangara* > Software Engineer > Platform TG; WSO2 Inc. http://wso2.com > Contact: > phone: +94719541577 > Lean . Enterprise . Middleware > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Two-way dependencies in G-REG 5.1
Hi Folks, I just downloaded and ran G-REG 5.1 - nice UI !! I then created two REST API's (API1 and API2) I associated API1 with API2 ( API1 is 'owned by' API2) I then drilled down from API1 to the impact analysis which showed the dependency that correctly says API1 is owned by API2. However, when I drill down from API2 to the dependency analysis it doesn't show that API2 owns API1. To my mind it should, shouldn't it ? After all owner and ownee is a two-way relation? thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Docker containers
Hi, - I looked into this a little further yesterday and it's to do with when we take the IP address. The IP changes per start up of the container but we don't copy the files to the new /mnt//... location they remain on the original /mnt/. At least - that's the obvious thing I noticed ! cheers, john. John Hawkins Director: Solutions Architecture On Tue, Sep 22, 2015 at 5:48 AM, Imesh Gunaratne <im...@wso2.com> wrote: > [+ WSO2 Dev] > > On Mon, Sep 21, 2015 at 9:03 PM, John Hawkins <jo...@wso2.com> wrote: > >> >> I'm trying to run/stop/start the container and trying to keep the data >> that I had put into the container. I can't seem to get the container to >> start again once I've stopped it. it looks like it's started in docker ps >> but I can't connect to the port I set for the admin console. >> > > May be the server has not started properly when we stop and restart a > container. Shall we have a look at the wso2carbon.log? > > >> I've had a look in the log file on the container and it says [1]. I've >> looked in/mnt and there are lots of ip addr in there (I assume one for each >> time I've tried to start it ?) and under the specific ip addr I see [2] >> which isn't what it's looking for. >> >> There seems to be an issue in the startup process (init.sh). We will have > a look at it. > > >> [1]WSO2 ESB configured successfully >> >> Starting WSO2 ESB... >> >> /usr/local/bin/init.sh: line 47: /mnt/ >> 172.17.0.29/wso2esb-4.8.1/bin/wso2server.sh: No such file or directory >> >> [2] /mnt//wso2esb-4.8.1/repository/. >> > Thanks > > -- > *Imesh Gunaratne* > Senior Technical Lead > WSO2 Inc: http://wso2.com > T: +94 11 214 5345 M: +94 77 374 2057 > W: http://imesh.gunaratne.org > Lean . Enterprise . Middleware > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] cron job on MessageProcessor?
Hi Folks, Gentle nudge on this if I may - trying to write an article on this stuff so any help would be much appreciated :-) Anyone know what the message is that's sent to the deactive sequence? many thanks, john. John Hawkins Director: Solutions Architecture On Fri, Sep 11, 2015 at 8:51 AM, John Hawkins <jo...@wso2.com> wrote: > Thanks for your thoroughness folks !! > > I'm not sure, from the description, what gets sent to the > message.processor.deactivate.sequence > - is it the message that failed or just the reply from the server or both? > > cheers, > John. > > John Hawkins > Director: Solutions Architecture > > > On Thu, Sep 10, 2015 at 7:47 PM, Vanjikumaran Sivajothy <va...@wso2.com> > wrote: > >> >> [1] jira for the doc >> https://wso2.org/jira/browse/DOCUMENTATION-952 >> >> On Thu, Sep 10, 2015 at 11:44 AM, Vanjikumaran Sivajothy <va...@wso2.com> >> wrote: >> >>> Hi John, >>> >>> >>> On Wed, Sep 9, 2015 at 4:51 AM, John Hawkins <jo...@wso2.com> wrote: >>> >>>> Aargh - I meant "max.delivery.drop" ! I can't see that docced anywhere? >>>> >>> >>> >>> This new parameter is introduced in ESB 4.9.0 onwards. It should be >>> there in the 490 documentation according to [1] >>> >>> [1] https://docs.wso2.com/display/ESB490/Message+Forwarding+Processor >>> >>> >>> >>> >>>> So we are implementing a trigger sequence for when MessageProcessor >>>> gets de-activated? I think is the same thing I'm thinking of isn't it ? >>>> When the message fails to get sent after n retries then the sequence gets >>>> called - presumably with the message that's failing as part of the payload >>>> in the sequence - along with the error message from the server too? >>>> >>>> cheers for the clarifications ! >>>> John. >>>> >>>> John Hawkins >>>> Director: Solutions Architecture >>>> >>>> >>>> On Wed, Sep 9, 2015 at 12:41 PM, Ravindra Ranwala <ravin...@wso2.com> >>>> wrote: >>>> >>>>> Hi John, >>>>> >>>>> Message Processor Max Delivery attempt parameter is clearly documented >>>>> here [1]. >>>>> >>>>> >>>>> Anyway in ESB 4.9.0 version we have deactivateSequence, which can be >>>>> triggered when the Message Processor is deactivated after reaching >>>>> max-delivery-attempts. In that sequence you may implement DLC pattern. >>>>> >>>>> Also I understand that your requirement is valid, and you may create a >>>>> public jira to track that. We may incorporate it in to the product in a >>>>> future release. >>>>> >>>>> >>>>> >>>>> [1] https://docs.wso2.com/display/ESB481/Message+Forwarding+Processor >>>>> >>>>> >>>>> >>>>> Thanks & Regards, >>>>> >>>>> On Wed, Sep 9, 2015 at 4:07 PM, John Hawkins <jo...@wso2.com> wrote: >>>>> >>>>>> Hi Ravindra, >>>>>> I'm thinking about this a lot now >>>>>> max.delivery.attempts is not documented anywhere nor is it in the >>>>>> MessageProcessor wizard (but it is in a few JIRA's and blog entries). Is >>>>>> this deliberate do you know - are we hiding it for some reason? >>>>>> >>>>>> Personally I would expect some kind of 'retries fail' sequence to be >>>>>> an optional thing I can set. Then I could do what I wanted with the >>>>>> message >>>>>> and the MessageProcessor can continue. Are you aware of any thoughts like >>>>>> this at all? If not then I think I need to create a JIRA to at least >>>>>> document this feature as-is. >>>>>> >>>>>> cheers, >>>>>> john. >>>>>> >>>>>> John Hawkins >>>>>> Director: Solutions Architecture >>>>>> >>>>>> >>>>>> On Wed, Sep 9, 2015 at 11:03 AM, Ravindra Ranwala <ravin...@wso2.com> >>>>>> wrote: >>>>>> >>>>>>> Hi John, >>>>>>> >>>>>>> There is no DLC behaviour after reaching the max-retry-count at the >>>>>>&g
Re: [Dev] cron job on MessageProcessor?
Thanks for your thoroughness folks !! I'm not sure, from the description, what gets sent to the message.processor.deactivate.sequence - is it the message that failed or just the reply from the server or both? cheers, John. John Hawkins Director: Solutions Architecture On Thu, Sep 10, 2015 at 7:47 PM, Vanjikumaran Sivajothy <va...@wso2.com> wrote: > > [1] jira for the doc > https://wso2.org/jira/browse/DOCUMENTATION-952 > > On Thu, Sep 10, 2015 at 11:44 AM, Vanjikumaran Sivajothy <va...@wso2.com> > wrote: > >> Hi John, >> >> >> On Wed, Sep 9, 2015 at 4:51 AM, John Hawkins <jo...@wso2.com> wrote: >> >>> Aargh - I meant "max.delivery.drop" ! I can't see that docced anywhere? >>> >> >> >> This new parameter is introduced in ESB 4.9.0 onwards. It should be there >> in the 490 documentation according to [1] >> >> [1] https://docs.wso2.com/display/ESB490/Message+Forwarding+Processor >> >> >> >> >>> So we are implementing a trigger sequence for when MessageProcessor gets >>> de-activated? I think is the same thing I'm thinking of isn't it ? When the >>> message fails to get sent after n retries then the sequence gets called - >>> presumably with the message that's failing as part of the payload in the >>> sequence - along with the error message from the server too? >>> >>> cheers for the clarifications ! >>> John. >>> >>> John Hawkins >>> Director: Solutions Architecture >>> >>> >>> On Wed, Sep 9, 2015 at 12:41 PM, Ravindra Ranwala <ravin...@wso2.com> >>> wrote: >>> >>>> Hi John, >>>> >>>> Message Processor Max Delivery attempt parameter is clearly documented >>>> here [1]. >>>> >>>> >>>> Anyway in ESB 4.9.0 version we have deactivateSequence, which can be >>>> triggered when the Message Processor is deactivated after reaching >>>> max-delivery-attempts. In that sequence you may implement DLC pattern. >>>> >>>> Also I understand that your requirement is valid, and you may create a >>>> public jira to track that. We may incorporate it in to the product in a >>>> future release. >>>> >>>> >>>> >>>> [1] https://docs.wso2.com/display/ESB481/Message+Forwarding+Processor >>>> >>>> >>>> >>>> Thanks & Regards, >>>> >>>> On Wed, Sep 9, 2015 at 4:07 PM, John Hawkins <jo...@wso2.com> wrote: >>>> >>>>> Hi Ravindra, >>>>> I'm thinking about this a lot now >>>>> max.delivery.attempts is not documented anywhere nor is it in the >>>>> MessageProcessor wizard (but it is in a few JIRA's and blog entries). Is >>>>> this deliberate do you know - are we hiding it for some reason? >>>>> >>>>> Personally I would expect some kind of 'retries fail' sequence to be >>>>> an optional thing I can set. Then I could do what I wanted with the >>>>> message >>>>> and the MessageProcessor can continue. Are you aware of any thoughts like >>>>> this at all? If not then I think I need to create a JIRA to at least >>>>> document this feature as-is. >>>>> >>>>> cheers, >>>>> john. >>>>> >>>>> John Hawkins >>>>> Director: Solutions Architecture >>>>> >>>>> >>>>> On Wed, Sep 9, 2015 at 11:03 AM, Ravindra Ranwala <ravin...@wso2.com> >>>>> wrote: >>>>> >>>>>> Hi John, >>>>>> >>>>>> There is no DLC behaviour after reaching the max-retry-count at the >>>>>> moment. >>>>>> >>>>>> >>>>>> Thanks & Regards, >>>>>> >>>>>> On Wed, Sep 9, 2015 at 3:23 PM, John Hawkins <jo...@wso2.com> wrote: >>>>>> >>>>>>> Another question - is there no Dead Letter Queue behaviour then if a >>>>>>> message fails to get sent after max_retry is done? >>>>>>> >>>>>>> John Hawkins >>>>>>> Director: Solutions Architecture >>>>>>> >>>>>>> >>>>>>> On Thu, Sep 3, 2015 at 4:41 PM, Ravindra Ranwala <ravin...@wso2.com> >>>>>>> wrote: >>>>>>>
Re: [Dev] cronExpression versus client.retry.interval in MessageProcessor
OOh - that's not what the doc says to my reading [1] [2] It implies that the cron job is to do with message retry only - not forwarding interval. I can see how the docs are slightly ambiguous now that you say what you just said ! I'll raise a JIRA and ask to get make it made a little clearer. Thanks for your help ! [1] *Cron expression to be used to configure the retry pattern* [2] https://docs.wso2.com/display/ESB481/Message+Sampling+Processor John Hawkins Director: Solutions Architecture On Mon, Sep 7, 2015 at 2:29 PM, Yasassri Ratnayake <yasas...@wso2.com> wrote: > Hi John, > > As per my observation the cron expression is equal to message forward > interval. So in this case the cron expression should take the preceding > over message processing interval. > > > With Regards, > > On Mon, Sep 7, 2015 at 6:48 PM, John Hawkins <jo...@wso2.com> wrote: > >> Hi Folks, >> >> am I correct in saying that, in a MessageProcessor, a *cronExpression* >> and a *client.retry.interval *affect the same thing i.e. when a message >> gets retried in case of a failure to send? >> If I'm correct then, if I set both which gets precedence? (I'm assuming >> cron - but I can't see it documented anywhere.)? >> >> >> thanks for your help! >> John. >> >> >> John Hawkins >> Director: Solutions Architecture >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Yasassri Ratnayake > Software Engineer - QA > WSO2 Inc ; http://wso2.com > lean.enterprise.middleware > *Mobile : +94715933168 <%2B94715933168>* > *Blogs : http://yasassriratnayake.blogspot.com > <http://yasassriratnayake.blogspot.com/>* > *http://wso2logs.blogspot.com <http://wso2logs.blogspot.com>* > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] travelocity doesn't work on WSO2 App server
Ah ha ! That'll do it - exactly my error :-) thanks ! John Hawkins Director: Solutions Architecture On Tue, Sep 8, 2015 at 1:21 PM, Jayanga Kaushalya <jayan...@wso2.com> wrote: > Hi John > > In the doc page [1] for travelocity sample, there is separate section for > deploying this in AS called "Click here to view vital information when > running this sample in WSO2 Application Server". This section is collapsed > by default and that's why may be you have missed it. > > Basically you have to do is, remove "log4j-over-slf4j-1.6.1.jar" file from > "travelocity.com.war/WEB-INF/lib" directory and deploy in AS. > > [1] > https://docs.wso2.com/display/IS500/Configuring+Single+Sign-On+with+SAML+2.0 > <https://docs.wso2.com/display/IS500/Configuring+Single+Sign-On+with+SAML+2.0> > > Thanks! > > *Jayanga Kaushalya* > Software Engineer > Mobile: +94777860160 > WSO2 Inc. | http://wso2.com > lean.enterprise.middleware > > On Tue, Sep 8, 2015 at 3:53 PM, John Hawkins <jo...@wso2.com> wrote: > >> Hi Folks, >> >> How come we don't support travelocity sample in our own WSO2 Appserver? >> >> It fails to deploy (with classloader issues). I don't see anyone who says >> that they have deployed it in our appserver (and docs tell you to use raw >> tomcat) - but it should right? >> >> >> cheers, >> John. >> >> >> John Hawkins >> Director: Solutions Architecture >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] cron job on MessageProcessor?
Another question - is there no Dead Letter Queue behaviour then if a message fails to get sent after max_retry is done? John Hawkins Director: Solutions Architecture On Thu, Sep 3, 2015 at 4:41 PM, Ravindra Ranwala <ravin...@wso2.com> wrote: > Hi John, > > The Cron expression in MP is used to create firing schedules such as "At > 8:00am every Monday through Friday" [1]. If it is set the MP will run > according to that. Otherwise MP will poll the queue with the specified > interval value continuously. > > Also the MP has a parameter called max_delivery_attempts (defaults to 4), > which defines the maximum retry attempts in case of a failure in end point. > By default if the MP could not send the message to the end point after this > number of retry count, it deactivates itself. But that message remains in > the queue. After that you have to activate the MP explicitly to make the > next schedule to be effective. Otherwise it will remain deactivated. > > If you need to override the above behaviour, you need to enable > max-delivery-drop parameter, so that if the MP could not send the message > after this number of attempts, it merely drops the message and continues. > Here you loose the message if the endpoint is down. > > > [1] > http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger > > > Thanks & Regards, > > On Thu, Sep 3, 2015 at 8:05 PM, John Hawkins <jo...@wso2.com> wrote: > >> Hi All, >> >> I'm trying to figure out when does the "cron schedule" get used that I >> can configure on the MessageProcessor? >> >> The logic that I think is happening is - if the message fails to get sent >> 'retry' number of times then it's put to the dead letter queue (or DLC as >> its called in qpid) . The Message Processor then looks at the DLC based on >> when the cron job tells it to? >> >> If this logic is correct (?) then I have a number of other questions >> please: >> >> 1) what if this cron job is not set - does the message remain on the DLQ? >> 2) Where is the DLQ defined to synapse/the message processor so that it >> knows where to go? >> 3) What if the message gets removed from the DLC for some reason >> (manually or otherwise)? Do we fail quietly or log it somewhere? >> 4) What if other messages from other parts of the ESB get put to the DLQ >> ? How does the MessageProcessor know which messages are for it? >> >> >> many thanks for your help ! >> john. >> >> >> John Hawkins >> Director: Solutions Architecture >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Ravindra Ranwala > Software Engineer > WSO2, Inc: http://wso2.com > <http://www.google.com/url?q=http%3A%2F%2Fwso2.com=D=1=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> > Mobile: +94714198770 > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] cron job on MessageProcessor?
Aargh - I meant "max.delivery.drop" ! I can't see that docced anywhere? So we are implementing a trigger sequence for when MessageProcessor gets de-activated? I think is the same thing I'm thinking of isn't it ? When the message fails to get sent after n retries then the sequence gets called - presumably with the message that's failing as part of the payload in the sequence - along with the error message from the server too? cheers for the clarifications ! John. John Hawkins Director: Solutions Architecture On Wed, Sep 9, 2015 at 12:41 PM, Ravindra Ranwala <ravin...@wso2.com> wrote: > Hi John, > > Message Processor Max Delivery attempt parameter is clearly documented > here [1]. > > > Anyway in ESB 4.9.0 version we have deactivateSequence, which can be > triggered when the Message Processor is deactivated after reaching > max-delivery-attempts. In that sequence you may implement DLC pattern. > > Also I understand that your requirement is valid, and you may create a > public jira to track that. We may incorporate it in to the product in a > future release. > > > > [1] https://docs.wso2.com/display/ESB481/Message+Forwarding+Processor > > > > Thanks & Regards, > > On Wed, Sep 9, 2015 at 4:07 PM, John Hawkins <jo...@wso2.com> wrote: > >> Hi Ravindra, >> I'm thinking about this a lot now >> max.delivery.attempts is not documented anywhere nor is it in the >> MessageProcessor wizard (but it is in a few JIRA's and blog entries). Is >> this deliberate do you know - are we hiding it for some reason? >> >> Personally I would expect some kind of 'retries fail' sequence to be an >> optional thing I can set. Then I could do what I wanted with the message >> and the MessageProcessor can continue. Are you aware of any thoughts like >> this at all? If not then I think I need to create a JIRA to at least >> document this feature as-is. >> >> cheers, >> john. >> >> John Hawkins >> Director: Solutions Architecture >> >> >> On Wed, Sep 9, 2015 at 11:03 AM, Ravindra Ranwala <ravin...@wso2.com> >> wrote: >> >>> Hi John, >>> >>> There is no DLC behaviour after reaching the max-retry-count at the >>> moment. >>> >>> >>> Thanks & Regards, >>> >>> On Wed, Sep 9, 2015 at 3:23 PM, John Hawkins <jo...@wso2.com> wrote: >>> >>>> Another question - is there no Dead Letter Queue behaviour then if a >>>> message fails to get sent after max_retry is done? >>>> >>>> John Hawkins >>>> Director: Solutions Architecture >>>> >>>> >>>> On Thu, Sep 3, 2015 at 4:41 PM, Ravindra Ranwala <ravin...@wso2.com> >>>> wrote: >>>> >>>>> Hi John, >>>>> >>>>> The Cron expression in MP is used to create firing schedules such as >>>>> "At 8:00am every Monday through Friday" [1]. If it is set the MP will run >>>>> according to that. Otherwise MP will poll the queue with the specified >>>>> interval value continuously. >>>>> >>>>> Also the MP has a parameter called max_delivery_attempts (defaults to >>>>> 4), which defines the maximum retry attempts in case of a failure in end >>>>> point. By default if the MP could not send the message to the end point >>>>> after this number of retry count, it deactivates itself. But that message >>>>> remains in the queue. After that you have to activate the MP explicitly to >>>>> make the next schedule to be effective. Otherwise it will remain >>>>> deactivated. >>>>> >>>>> If you need to override the above behaviour, you need to enable >>>>> max-delivery-drop parameter, so that if the MP could not send the message >>>>> after this number of attempts, it merely drops the message and continues. >>>>> Here you loose the message if the endpoint is down. >>>>> >>>>> >>>>> [1] >>>>> http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger >>>>> >>>>> >>>>> Thanks & Regards, >>>>> >>>>> On Thu, Sep 3, 2015 at 8:05 PM, John Hawkins <jo...@wso2.com> wrote: >>>>> >>>>>> Hi All, >>>>>> >>>>>> I'm trying to figure out when does the "cron schedule" get used that >>>>>> I can configure on the MessageProcessor? >>>
Re: [Dev] cron job on MessageProcessor?
Hi Ravindra, I'm thinking about this a lot now max.delivery.attempts is not documented anywhere nor is it in the MessageProcessor wizard (but it is in a few JIRA's and blog entries). Is this deliberate do you know - are we hiding it for some reason? Personally I would expect some kind of 'retries fail' sequence to be an optional thing I can set. Then I could do what I wanted with the message and the MessageProcessor can continue. Are you aware of any thoughts like this at all? If not then I think I need to create a JIRA to at least document this feature as-is. cheers, john. John Hawkins Director: Solutions Architecture On Wed, Sep 9, 2015 at 11:03 AM, Ravindra Ranwala <ravin...@wso2.com> wrote: > Hi John, > > There is no DLC behaviour after reaching the max-retry-count at the moment. > > > Thanks & Regards, > > On Wed, Sep 9, 2015 at 3:23 PM, John Hawkins <jo...@wso2.com> wrote: > >> Another question - is there no Dead Letter Queue behaviour then if a >> message fails to get sent after max_retry is done? >> >> John Hawkins >> Director: Solutions Architecture >> >> >> On Thu, Sep 3, 2015 at 4:41 PM, Ravindra Ranwala <ravin...@wso2.com> >> wrote: >> >>> Hi John, >>> >>> The Cron expression in MP is used to create firing schedules such as "At >>> 8:00am every Monday through Friday" [1]. If it is set the MP will run >>> according to that. Otherwise MP will poll the queue with the specified >>> interval value continuously. >>> >>> Also the MP has a parameter called max_delivery_attempts (defaults to >>> 4), which defines the maximum retry attempts in case of a failure in end >>> point. By default if the MP could not send the message to the end point >>> after this number of retry count, it deactivates itself. But that message >>> remains in the queue. After that you have to activate the MP explicitly to >>> make the next schedule to be effective. Otherwise it will remain >>> deactivated. >>> >>> If you need to override the above behaviour, you need to enable >>> max-delivery-drop parameter, so that if the MP could not send the message >>> after this number of attempts, it merely drops the message and continues. >>> Here you loose the message if the endpoint is down. >>> >>> >>> [1] >>> http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger >>> >>> >>> Thanks & Regards, >>> >>> On Thu, Sep 3, 2015 at 8:05 PM, John Hawkins <jo...@wso2.com> wrote: >>> >>>> Hi All, >>>> >>>> I'm trying to figure out when does the "cron schedule" get used that I >>>> can configure on the MessageProcessor? >>>> >>>> The logic that I think is happening is - if the message fails to get >>>> sent 'retry' number of times then it's put to the dead letter queue (or DLC >>>> as its called in qpid) . The Message Processor then looks at the DLC based >>>> on when the cron job tells it to? >>>> >>>> If this logic is correct (?) then I have a number of other questions >>>> please: >>>> >>>> 1) what if this cron job is not set - does the message remain on the >>>> DLQ? >>>> 2) Where is the DLQ defined to synapse/the message processor so that >>>> it knows where to go? >>>> 3) What if the message gets removed from the DLC for some reason >>>> (manually or otherwise)? Do we fail quietly or log it somewhere? >>>> 4) What if other messages from other parts of the ESB get put to the >>>> DLQ ? How does the MessageProcessor know which messages are for it? >>>> >>>> >>>> many thanks for your help ! >>>> john. >>>> >>>> >>>> John Hawkins >>>> Director: Solutions Architecture >>>> >>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Ravindra Ranwala >>> Software Engineer >>> WSO2, Inc: http://wso2.com >>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com=D=1=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> >>> Mobile: +94714198770 >>> >>> >> > > > -- > Ravindra Ranwala > Software Engineer > WSO2, Inc: http://wso2.com > <http://www.google.com/url?q=http%3A%2F%2Fwso2.com=D=1=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> > Mobile: +94714198770 > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] travelocity doesn't work on WSO2 App server
Hi Folks, How come we don't support travelocity sample in our own WSO2 Appserver? It fails to deploy (with classloader issues). I don't see anyone who says that they have deployed it in our appserver (and docs tell you to use raw tomcat) - but it should right? cheers, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] cronExpression versus client.retry.interval in MessageProcessor
Hi Folks, am I correct in saying that, in a MessageProcessor, a *cronExpression* and a *client.retry.interval *affect the same thing i.e. when a message gets retried in case of a failure to send? If I'm correct then, if I set both which gets precedence? (I'm assuming cron - but I can't see it documented anywhere.)? thanks for your help! John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Transaction in JMSMessageProcessor
Hi Folks, I've just had a customer asking me this question as they are trying to do the work under a tran as well. I've read the MessageProcessor code and it appears to do it all under AUTO_ACK. I can't see it reading the axis.xml file either - but I'm sure it does somewhere. So, maybe I read the code wrong (wouldn't be the first time !Aalthough the AUTO_ACK does appear to be hardcoded.). Can anyone confirm my findings please - and whether we intend to change this behaviour (if what I found is correct). many thanks, John. John Hawkins Director: Solutions Architecture On Tue, Sep 1, 2015 at 12:05 PM, John Hawkins <jo...@wso2.com> wrote: > Hi All, > > I'm trying to figure out if and how I enable transactions on the > JMSMessageProcessor > > I am using QPID as the message broker. I have not set any JMS transports > properties in conf/axis2.xml. I think that the JMSMessageProcessor is using > conf/axis2/axis2_blocking_client.xml by default - is that correct ? (I read > it in a blog but I can't see it specified in the docs). > > As I have no jms transports set up in my axis2_blocking_client.xml I'm > assuming that it's also not being read as my JMSMessageProcess is working > just fine? > > So, I'm therefore assuming that my MessageProcessor is not working under a > tran (and is probably using AUTO_ACK) which will lose messages in case of a > failure. > > > If all the above is correct then can I set up axis2_blocking_client.xml so > that messages are pulled from the queue by JMSMessageProcessor under a > true xa or JTA tran? > > many thanks for your help, > John. > > > > John Hawkins > Director: Solutions Architecture > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] cron job on MessageProcessor?
Hi All, I'm trying to figure out when does the "cron schedule" get used that I can configure on the MessageProcessor? The logic that I think is happening is - if the message fails to get sent 'retry' number of times then it's put to the dead letter queue (or DLC as its called in qpid) . The Message Processor then looks at the DLC based on when the cron job tells it to? If this logic is correct (?) then I have a number of other questions please: 1) what if this cron job is not set - does the message remain on the DLQ? 2) Where is the DLQ defined to synapse/the message processor so that it knows where to go? 3) What if the message gets removed from the DLC for some reason (manually or otherwise)? Do we fail quietly or log it somewhere? 4) What if other messages from other parts of the ESB get put to the DLQ ? How does the MessageProcessor know which messages are for it? many thanks for your help ! john. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Transaction in JMSMessageProcessor
Hi All, I'm trying to figure out if and how I enable transactions on the JMSMessageProcessor I am using QPID as the message broker. I have not set any JMS transports properties in conf/axis2.xml. I think that the JMSMessageProcessor is using conf/axis2/axis2_blocking_client.xml by default - is that correct ? (I read it in a blog but I can't see it specified in the docs). As I have no jms transports set up in my axis2_blocking_client.xml I'm assuming that it's also not being read as my JMSMessageProcess is working just fine? So, I'm therefore assuming that my MessageProcessor is not working under a tran (and is probably using AUTO_ACK) which will lose messages in case of a failure. If all the above is correct then can I set up axis2_blocking_client.xml so that messages are pulled from the queue by JMSMessageProcessor under a true xa or JTA tran? many thanks for your help, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] JMS configuration for ESB MessageStore and processor
Hi Folks, I've been playing around with JMS on the ESB. All the instructions I find seem to say that I should set up the axis2 jms receiver and senders. However, when I don't do that and use a JMSMessageStore and MessageProcessor it all seems to work fine. Am I correct in saying that I only need the axis2 configuration when I want to use JMS endpoints and not JMSMessage stores ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] clustering ESB: deployment of artifacts?
I also just deleted the complete svn repos (on the file system), then recreated it. I then restarted the mgr with -cleanRegistry and -Dsetup but the mgr had held onto the svn details (it complained that the svn repo revision was wrong). This isn't right is it? Shouldn't it have cleared out any memory it had of repos ? Which makes me think that maybe it's keeping hold of other info that it shouldn't ? btw: to get the mgr talking to svn cleanly again I restarted the mgr enough times so that the created versions matched. cheers, john. John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 8:08 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: On Wed, Aug 26, 2015 at 2:44 PM, John Hawkins jo...@wso2.com wrote: I did just clear svn and restart mgr and it created -1234 in svn again. -1234 should be created. But only the directory is created? Nothing inside? John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 7:38 PM, John Hawkins jo...@wso2.com wrote: It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote: Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO
Re: [Dev] clustering ESB: deployment of artifacts?
It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote: Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Echo.aar [2015-08-26 18:19:05,773] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,874] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,888] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Version.aar [2015-08-26 18:19:05,904] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,947] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:05,962] INFO - PassThroughHttpListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:06,062] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v10 - file:/API-M_Scenario
Re: [Dev] clustering ESB: deployment of artifacts?
I did just clear svn and restart mgr and it created -1234 in svn again. John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 7:38 PM, John Hawkins jo...@wso2.com wrote: It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote: Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Echo.aar [2015-08-26 18:19:05,773] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,874] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,888] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Version.aar [2015-08-26 18:19:05,904] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,947] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:05,962] INFO
[Dev] clustering ESB: deployment of artifacts?
Hi Folks, I've deployed a small cluster of ESBs - one manager, two workers. And connected to SVN. However, when I deploy my .car file the only system that looks like it's doing anything is the manager (tells me it's deploying the .car file). I don't see anything in SVN. But I do see the .car file in the repository/deployment/server/carbonapps of the manager node. When I try to address the proxy (which is what's in the .car file) at the worker node there is nothing there i.e. I don't believe it has deployed. When I do the same on the manager node it works i.e. it has deployed and is available. There are three things that are wrong here to my mind - 1) the manager is deploying and able to server the proxy - I had assumed that the manager would not serve the proxy ? 2) Why is there nothing in svn? 3) why isn't the worker node picking anything up (I assume because there's nothing in SVN because the manager node doesn't think it's a manager ?) Where do I start to look for what's going wrong here please? I've triple checked my configurations and have no clue what to look at next. many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005
Hi all, Has anyone created this patch at all? If so - where would it be please ? many thanks ! John. John Hawkins Director: Solutions Architecture On Wed, Aug 19, 2015 at 4:43 PM, John Hawkins jo...@wso2.com wrote: Awesome response guys ! Will this patch be available to customers/opensource too ? John Hawkins Director: Solutions Architecture On Wed, Aug 19, 2015 at 1:58 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi Harshana, Thanks for pointing out this. You can find Oracle JDK bug report at [1]. [1] http://bugs.java.com/view_bug.do?bug_id=8027686 Thanks, Rajeevan On Wed, Aug 19, 2015 at 6:22 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Since you are having difficulties while installing Java 7u51 on your Mac, we have to patch DevS 3.7.1 to overcome this issue. Since we have already fixed this issue in master branch we will be able to provide a patched jar. Thanks, Viraj. On Wed, Aug 19, 2015 at 6:09 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi John, We just tried to install JDK 7u51 (.dmg) on Mac OS X 10.10.5 but getting the same error as you got. We initially checked this issue (switching between source and design view issue) with Mac OS X 10.9.x and found out that is solved with 7u51. That's why we recommended you to use 7u51 as a workaround. But now JDK installation fails on Mac OS X 10.10.x because of a known issue with JDK installer[1] and it has been fixed with 8u20. [1] https://bugs.openjdk.java.net/browse/JDK-8027686 Thanks, Rajeevan On Mon, Aug 17, 2015 at 6:30 PM, John Hawkins jo...@wso2.com wrote: I just tried to install 7u51 and it comes up with the following error - Your system has Mac OS X Version 10.10.3. This product can be installed on Version 10.7.3 or later. then dumps me out of the install :-( I'm guessing their installer has a problem with parsing the number '10' :-( I can't see a way to install other than through the .dmg (I'm new to mac but nothing comes back in google or the oracle site). Do you have any experience of this sort of thing ? many thanks, john. John Hawkins Director: Solutions Architecture On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Looking at the stack trace you provided in issue TOOLS-3005, I suspect that the same class loading issue described in TOOLS-2958[1] caused this issue. This class loading issue exists on MacOS with Java 7 update 55(7u55) and later updates. As a workaround we can use Java 7 update 51(7u51) with DevS 3.7.1 on Mac OS to avoid this issue. Can you please attach the full log($workspace/.metadata/.log) so that I can confirm the workaround. Thanks, Viraj. [1] - https://wso2.org/jira/browse/TOOLS-2958 On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875 %2B94%20773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875 %2B94%20773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] clustering ESB: deployment of artifacts?
domain: wso2.esb.domain [2015-08-26 18:19:25,271] INFO - HazelcastClusteringAgent Using wka based membership management scheme [2015-08-26 18:19:25,272] INFO - MemberUtils Added member: Host:127.0.0.1, Remote Host:null, Port: 4101, HTTP:-1, HTTPS:-1, Domain: null, Sub-domain:null, Active:true [2015-08-26 18:19:25,272] INFO - MemberUtils Added member: Host:127.0.0.1, Remote Host:null, Port: 4108, HTTP:-1, HTTPS:-1, Domain: null, Sub-domain:null, Active:true [2015-08-26 18:19:25,396] INFO - HazelcastGroupManagementAgent Group management local member for domain [wso2.esb.domain],sub-domain [mgt] UUID: df1d6faa-5399-4cfc-ae79-5ff83a234772. Host:127.0.0.1, Remote Host:null, Port: , HTTP:8287, HTTPS:8250, Domain: wso2.esb.domain, Sub-domain:mgt, Active:true [2015-08-26 18:19:25,450] INFO - MemberUtils Added member: Host:127.0.0.1, Remote Host:null, Port: , HTTP:8287, HTTPS:8250, Domain: wso2.esb.domain, Sub-domain:mgt, Active:true [2015-08-26 18:19:25,451] INFO - HazelcastGroupManagementAgent Application member Host:127.0.0.1, Remote Host:null, Port: , HTTP:8287, HTTPS:8250, Domain: wso2.esb.domain, Sub-domain:mgt, Active:true joined application cluster [2015-08-26 18:19:33,474] INFO - HazelcastClusteringAgent Hazelcast initialized in 8024ms [2015-08-26 18:19:33,487] INFO - HazelcastClusteringAgent Local member: [e7219aff-1c24-4493-af4e-3dbb6e750d4b] - Host:127.0.0.1, Remote Host:null, Port: 4107, HTTP:8287, HTTPS:8250, Domain: wso2.esb.domain, Sub-domain:mgt, Active:true [2015-08-26 18:19:33,490] INFO - MemberUtils Added member: Host:127.0.0.1, Remote Host:null, Port: 4107, HTTP:8287, HTTPS:8250, Domain: wso2.esb.domain, Sub-domain:mgt, Active:true [2015-08-26 18:19:33,688] INFO - HazelcastClusteringAgent Cluster initialization completed [2015-08-26 18:19:33,689] INFO - NioSelectorPool Using a shared selector for servlet write/read [2015-08-26 18:19:33,703] INFO - NioSelectorPool Using a shared selector for servlet write/read [2015-08-26 18:19:33,740] INFO - RegistryEventingServiceComponent Successfully Initialized Eventing on Registry [2015-08-26 18:19:33,784] INFO - JMXServerManager JMX Service URL : service:jmx:rmi://localhost:8/jndi/rmi://localhost:10006/jmxrmi [2015-08-26 18:19:33,784] INFO - StartupFinalizerServiceComponent Server : WSO2 Enterprise Service Bus-4.8.1 [2015-08-26 18:19:33,784] INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 41 sec [2015-08-26 18:19:34,203] INFO - CarbonDeploymentSchedulerTask Sent [SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super', messageId=02a35f29-3f67-447d-b1b2-c8b6ade04dce}] John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 5:35 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi John, Dep-sync configs look good. If your svn server is functioning fine, this should work. Are you sure you don't see any logs related to svn, in manager node? Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:21 PM, John Hawkins jo...@wso2.com wrote: Sure - there you go - thanks ! John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 5:17 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi John, Can you please attach 2 carbon.xml files? There must be an issue with dep sync configurations. Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:08 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've deployed a small cluster of ESBs - one manager, two workers. And connected to SVN. However, when I deploy my .car file the only system that looks like it's doing anything is the manager (tells me it's deploying the .car file). I don't see anything in SVN. But I do see the .car file in the repository/deployment/server/carbonapps of the manager node. When I try to address the proxy (which is what's in the .car file) at the worker node there is nothing there i.e. I don't believe it has deployed. When I do the same on the manager node it works i.e. it has deployed and is available. There are three things that are wrong here to my mind - 1) the manager is deploying and able to server the proxy - I had assumed that the manager would not serve the proxy ? 2) Why is there nothing in svn? 3) why isn't the worker node picking anything up (I assume because there's nothing in SVN because the manager node doesn't think it's a manager ?) Where do I start to look for what's going wrong here please? I've triple checked my configurations and have no clue what to look at next. many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax
Re: [Dev] clustering ESB: deployment of artifacts?
Sure - there you go - thanks ! John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 5:17 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi John, Can you please attach 2 carbon.xml files? There must be an issue with dep sync configurations. Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:08 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've deployed a small cluster of ESBs - one manager, two workers. And connected to SVN. However, when I deploy my .car file the only system that looks like it's doing anything is the manager (tells me it's deploying the .car file). I don't see anything in SVN. But I do see the .car file in the repository/deployment/server/carbonapps of the manager node. When I try to address the proxy (which is what's in the .car file) at the worker node there is nothing there i.e. I don't believe it has deployed. When I do the same on the manager node it works i.e. it has deployed and is available. There are three things that are wrong here to my mind - 1) the manager is deploying and able to server the proxy - I had assumed that the manager would not serve the proxy ? 2) Why is there nothing in svn? 3) why isn't the worker node picking anything up (I assume because there's nothing in SVN because the manager node doesn't think it's a manager ?) Where do I start to look for what's going wrong here please? I've triple checked my configurations and have no clue what to look at next. many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ?xml version=1.0 encoding=ISO-8859-1? !-- ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) ~ ~ Licensed under the Apache License, Version 2.0 (the License); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an AS IS BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. -- !-- This is the main server configuration file ${carbon.home} represents the carbon.home system property. Other system properties can be specified in a similar manner. -- Server xmlns=http://wso2.org/projects/carbon/carbon.xml; !-- Product Name -- NameWSO2 Enterprise Service Bus/Name !-- machine readable unique key to identify each product -- ServerKeyESB/ServerKey !-- Product Version -- Version4.8.1/Version !-- Host name or IP address of the machine hosting this server e.g. www.wso2.org, 192.168.1.10 This is will become part of the End Point Reference of the services deployed on this server instance. -- HostNamemgt.esb.wso2.com/HostName !-- Host name to be used for the Carbon management console -- MgtHostNamemgt.esb.wso2.com/MgtHostName !-- The URL of the back end server. This is where the admin services are hosted and will be used by the clients in the front end server. This is required only for the Front-end server. This is used when seperating BE server from FE server -- ServerURLlocal:/${carbon.context}/services//ServerURL !-- ServerURLhttps://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services//ServerURL -- !-- The URL of the index page. This is where the user will be redirected after signing in to the carbon server. -- !-- IndexPageURL/carbon/admin/index.jsp/IndexPageURL-- !-- For cApp deployment, we have to identify the roles that can be acted by the current server. The following property is used for that purpose. Any number of roles can be defined here. Regular expressions can be used in the role. Ex : Role.*/Role means this server can act any role -- ServerRoles RoleEnterpriseServiceBus/Role /ServerRoles !-- uncommnet this line to subscribe to a bam instance automatically -- !--BamServerURLhttps://bamhost:bamport/services//BamServerURL-- !-- The fully qualified name of the server -- Packageorg.wso2.carbon/Package !-- Webapp context root of WSO2 Carbon. -- WebContextRoot//WebContextRoot !-- In-order
Re: [Dev] Can't upload carbon app in cluster mode
Thanks for that. I realised what my problem was eventually after triple checking my nginx file again. In one of the blogs about this stuff someone had set a server location to be /carbon - which I had blindly followed. Of course - that doesn't work when the url is /fileupload ! thanks for your help, John. John Hawkins Director: Solutions Architecture On Tue, Aug 25, 2015 at 7:15 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi John, Some time back I setup a similar cluster with ESB 4.8.1. I just tried to install a car file, and it worked fine. I'm attaching my nginx config file here. Thanks, Bhathiya On Tue, Aug 25, 2015 at 12:23 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, having problems with using an LB infront of two ESB's. I'm using nginx to LB two ESBs One of the ESBs is both a worker and a manager. Both nodes are on my machine - as is everything else (SVN, nginx etc ) I have set up mgt.esb.wso2.com in nginx and I can see and log in to the carbon console OK (admin/admin) I have also set up esb.wso2.com in nginx and if I try to see that carbon console (https://esb.wso2.com) I can see it but it fails to log me in as admin/admin (I'm assuming that is OK too) My problem comes when I try to upload a new carbon application using https://mgt.esb.wso2.com/carbon/carbonapps/app_upload.jsp?region=region1item=apps_add_menu When I try to upload a car file it fails with 404 not found - https://mgt.esb.wso2.com/fileupload/carbonapp I can upload the .car file if I go through https://127.0.0.1:9450 - which is the port my mgmnt console is running on i..e avoiding the LB. Any ideas what's going on here ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Can't upload carbon app in cluster mode
Hi Folks, having problems with using an LB infront of two ESB's. I'm using nginx to LB two ESBs One of the ESBs is both a worker and a manager. Both nodes are on my machine - as is everything else (SVN, nginx etc ) I have set up mgt.esb.wso2.com in nginx and I can see and log in to the carbon console OK (admin/admin) I have also set up esb.wso2.com in nginx and if I try to see that carbon console (https://esb.wso2.com) I can see it but it fails to log me in as admin/admin (I'm assuming that is OK too) My problem comes when I try to upload a new carbon application using https://mgt.esb.wso2.com/carbon/carbonapps/app_upload.jsp?region=region1item=apps_add_menu When I try to upload a car file it fails with 404 not found - https://mgt.esb.wso2.com/fileupload/carbonapp I can upload the .car file if I go through https://127.0.0.1:9450 - which is the port my mgmnt console is running on i..e avoiding the LB. Any ideas what's going on here ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005
Awesome response guys ! Will this patch be available to customers/opensource too ? John Hawkins Director: Solutions Architecture On Wed, Aug 19, 2015 at 1:58 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi Harshana, Thanks for pointing out this. You can find Oracle JDK bug report at [1]. [1] http://bugs.java.com/view_bug.do?bug_id=8027686 Thanks, Rajeevan On Wed, Aug 19, 2015 at 6:22 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Since you are having difficulties while installing Java 7u51 on your Mac, we have to patch DevS 3.7.1 to overcome this issue. Since we have already fixed this issue in master branch we will be able to provide a patched jar. Thanks, Viraj. On Wed, Aug 19, 2015 at 6:09 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi John, We just tried to install JDK 7u51 (.dmg) on Mac OS X 10.10.5 but getting the same error as you got. We initially checked this issue (switching between source and design view issue) with Mac OS X 10.9.x and found out that is solved with 7u51. That's why we recommended you to use 7u51 as a workaround. But now JDK installation fails on Mac OS X 10.10.x because of a known issue with JDK installer[1] and it has been fixed with 8u20. [1] https://bugs.openjdk.java.net/browse/JDK-8027686 Thanks, Rajeevan On Mon, Aug 17, 2015 at 6:30 PM, John Hawkins jo...@wso2.com wrote: I just tried to install 7u51 and it comes up with the following error - Your system has Mac OS X Version 10.10.3. This product can be installed on Version 10.7.3 or later. then dumps me out of the install :-( I'm guessing their installer has a problem with parsing the number '10' :-( I can't see a way to install other than through the .dmg (I'm new to mac but nothing comes back in google or the oracle site). Do you have any experience of this sort of thing ? many thanks, john. John Hawkins Director: Solutions Architecture On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Looking at the stack trace you provided in issue TOOLS-3005, I suspect that the same class loading issue described in TOOLS-2958[1] caused this issue. This class loading issue exists on MacOS with Java 7 update 55(7u55) and later updates. As a workaround we can use Java 7 update 51(7u51) with DevS 3.7.1 on Mac OS to avoid this issue. Can you please attach the full log($workspace/.metadata/.log) so that I can confirm the workaround. Thanks, Viraj. [1] - https://wso2.org/jira/browse/TOOLS-2958 On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875 %2B94%20773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 -- Vimalanathan Rajeevan Software Engineer, WSO2, Inc. *http://wso2.com* http://wso2.com Lean.Enterprise.Middleware Mobile: *+94 773090875 %2B94%20773090875* LinkedIn: *https://www.linkedin.com/in/RajeevanVimalanathan https://www.linkedin.com/in/rajeevanvimalanathan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] https://wso2.org/jira/browse/TOOLS-3005
I just tried to install 7u51 and it comes up with the following error - Your system has Mac OS X Version 10.10.3. This product can be installed on Version 10.7.3 or later. then dumps me out of the install :-( I'm guessing their installer has a problem with parsing the number '10' :-( I can't see a way to install other than through the .dmg (I'm new to mac but nothing comes back in google or the oracle site). Do you have any experience of this sort of thing ? many thanks, john. John Hawkins Director: Solutions Architecture On Sat, Aug 15, 2015 at 7:24 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, Looking at the stack trace you provided in issue TOOLS-3005, I suspect that the same class loading issue described in TOOLS-2958[1] caused this issue. This class loading issue exists on MacOS with Java 7 update 55(7u55) and later updates. As a workaround we can use Java 7 update 51(7u51) with DevS 3.7.1 on Mac OS to avoid this issue. Can you please attach the full log($workspace/.metadata/.log) so that I can confirm the workaround. Thanks, Viraj. [1] - https://wso2.org/jira/browse/TOOLS-2958 On Fri, Aug 7, 2015 at 1:31 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to debug BAM NotificationDispatchTask
Hi Folks, I turned this into a JIRA [1] as I figure it may be, at the very least, a doc issue that I couldn't find a way to debug my problem. [1]https://wso2.org/jira/browse/BAM-2163 many thanks, John. John Hawkins Director: Solutions Architecture On Wed, Aug 12, 2015 at 10:34 AM, John Hawkins jo...@wso2.com wrote: Hi Folks, I'm trying to get working bam_notification messages. I can see the cassandra db getting full with my data and I can see the BAM_NOTIFICATION_DISPATCHER_TASK starting in the BAM console. I believe I have the correct columnId in my dataset and yet my stream does not appear to be working. My problem is that I have no idea how to debug this from here.. I tried turning on debug for the BAM notification class (NotificationDispatchTask) but looking at that code - it doesn't appear to have any debug trace in it ? And I don't see any messages. Could someone tell me the next steps on understanding how I can debug what's going wrong here please ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BAM adapters missing?
Hi Folks, created a JIRA for this [1] - many thanks [1] https://wso2.org/jira/browse/BAM-2160 John Hawkins Director: Solutions Architecture On Tue, Aug 11, 2015 at 1:27 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I'm trying to set up an email output event adapter in BAM but there is no such adapter in the dropdown list. I only see, cassandra, http, JMS, kafka,logger. Someone else appears to have had the same problem [1]. All the documentation I read says that they should be there. Anyone know why we can't see them at all? [1] http://stackoverflow.com/questions/28726858/wso2-bam-2-5-0-output-adapters-are-missing many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BAM JMX Toolbox not showing stats
Hi Folks, created a JIRA for this [1] - thanks. [1] https://wso2.org/jira/browse/BAM-2161 John Hawkins Director: Solutions Architecture On Tue, Aug 11, 2015 at 12:37 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, Trying to get the BAM JMX Toolkit working. I can see all the stats flowing through to cassandra (from my esb). I can see the hive script putting them into the local h2. I can see the stats in the h2 but the pretty graphs are not being filled out - they show the message No data available. Please visit our docs to see how to configure JMX monitoring I know that the page is connecting to the DB OK because it is retrieving the information about which servers are in the DB. I've done some java console debugging and can see the functions being called to reload the iframes (debug in [1]) . However, I can see that a field - rname is not filled out (comes out as a blank string) . This variable appears to have to be loaded from a combo box - rname-dd. However, index.jsp does not appear to have such a combo box ! Any ideas folks - is there a script not being loaded or something else? thanks, John. [2] function reloadIFrame(param){ var params = param || {}; var server = param.server || ; var rname = param.rname || ; var rtype = param.rtype || ; var t = param.timeGroup || ; $(iframe).each(function(){ //var id = $(this).attr('id'); var currentUrl = $(this).attr('src'); if(currentUrl.indexOf('?')){ var absUrl = currentUrl.split('?'); currentUrl = absUrl[0]; } var newUrl = currentUrl+?server=+encodeURI(server)+rtype=+ encodeURI(rtype)+rname=+encodeURI(rname)+t=+t; $(this).attr('src',newUrl); }); John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] BAM JMX Toolbox not showing stats
Hi Folks, Trying to get the BAM JMX Toolkit working. I can see all the stats flowing through to cassandra (from my esb). I can see the hive script putting them into the local h2. I can see the stats in the h2 but the pretty graphs are not being filled out - they show the message No data available. Please visit our docs to see how to configure JMX monitoring I know that the page is connecting to the DB OK because it is retrieving the information about which servers are in the DB. I've done some java console debugging and can see the functions being called to reload the iframes (debug in [1]) . However, I can see that a field - rname is not filled out (comes out as a blank string) . This variable appears to have to be loaded from a combo box - rname-dd. However, index.jsp does not appear to have such a combo box ! Any ideas folks - is there a script not being loaded or something else? thanks, John. [2] function reloadIFrame(param){ var params = param || {}; var server = param.server || ; var rname = param.rname || ; var rtype = param.rtype || ; var t = param.timeGroup || ; $(iframe).each(function(){ //var id = $(this).attr('id'); var currentUrl = $(this).attr('src'); if(currentUrl.indexOf('?')){ var absUrl = currentUrl.split('?'); currentUrl = absUrl[0]; } var newUrl = currentUrl+?server=+encodeURI(server)+rtype=+ encodeURI(rtype)+rname=+encodeURI(rname)+t=+t; $(this).attr('src',newUrl); }); John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] BAM adapters missing?
Hi Folks, I'm trying to set up an email output event adapter in BAM but there is no such adapter in the dropdown list. I only see, cassandra, http, JMS, kafka,logger. Someone else appears to have had the same problem [1]. All the documentation I read says that they should be there. Anyone know why we can't see them at all? [1] http://stackoverflow.com/questions/28726858/wso2-bam-2-5-0-output-adapters-are-missing many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] https://wso2.org/jira/browse/TOOLS-3005
Hi Folks, re $subject. I've had this problem for ages now and it takes hours of my day to work around it. I've spoken about it before on this mailing list but the conversation kinda trailed off. This bug is now hitting me hard again - can anyone give me some of there time to fix? I know other users have had this in the past so it's not just me I suspect :-( many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] InMemory message store losing namespace
Hi, Created a JIRA [1] for this problem - many thanks. [1] https://wso2.org/jira/browse/ESBJAVA-4028 John Hawkins Director: Solutions Architecture On Wed, Aug 5, 2015 at 3:27 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, Got an interesting case here - can some one help please? I'm using a MessageStore in a proxy flow. I have a message which I send to a SOAP endpoint. When I use a JMS store it works fine - the correct message gets sent to the endpoint. However, when I swap that out for an in-memory store the ns is lost and the message fails to get processed at the EP. I have copied three versions of the message below: [1] is the message as I sent it before I used a messagestore. [2] is the message that works when I send it through a JMS message store [3] is the failing message as is sent when it comes out of the JMSStore. I'm assuming that the message is serialised in and out of the message store and this is probably where the problem is ? [1] ORIGINAL MESSAGE ?xml version=1.0 encoding=UTF-8 standalone=no? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:cof=http://coffee.suppliers.com/; soapenv:Header/ soapenv:Body cof:orderSupplies shopNamemylovelyshop/shopName supplyTypemorecoffee !!/supplyType quantity3/quantity /cof:orderSupplies /soapenv:Body /soapenv:Envelope [2] WORKING JMS_MESSAGE_STORE MESSAGE ?xml version=1.0 encoding=UTF-8 standalone=no? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ soapenv:Body cof:orderSupplies xmlns:cof=http://coffee.suppliers.com/; shopNamemylovelyshop/shopName supplyTypemorecoffee !!/supplyType quantity3/quantity /cof:orderSupplies /soapenv:Body /soapenv:Envelope [3] FAILING IN-MEMORY MESSAGE ?xml version=1.0 encoding=UTF-8 standalone=no? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ soapenv:Body orderSupplies shopNamemylovelyshop/shopName supplyTypemorecoffee !!/supplyType quantity3/quantity /orderSupplies /soapenv:Body /soapenv:Envelope Is this a bug in the in-memory message store serialisation or a feature of my configuration ? many thanks ! John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] InMemory message store losing namespace
Hi Folks, Got an interesting case here - can some one help please? I'm using a MessageStore in a proxy flow. I have a message which I send to a SOAP endpoint. When I use a JMS store it works fine - the correct message gets sent to the endpoint. However, when I swap that out for an in-memory store the ns is lost and the message fails to get processed at the EP. I have copied three versions of the message below: [1] is the message as I sent it before I used a messagestore. [2] is the message that works when I send it through a JMS message store [3] is the failing message as is sent when it comes out of the JMSStore. I'm assuming that the message is serialised in and out of the message store and this is probably where the problem is ? [1] ORIGINAL MESSAGE ?xml version=1.0 encoding=UTF-8 standalone=no? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:cof=http://coffee.suppliers.com/; soapenv:Header/ soapenv:Body cof:orderSupplies shopNamemylovelyshop/shopName supplyTypemorecoffee !!/supplyType quantity3/quantity /cof:orderSupplies /soapenv:Body /soapenv:Envelope [2] WORKING JMS_MESSAGE_STORE MESSAGE ?xml version=1.0 encoding=UTF-8 standalone=no? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body cof:orderSupplies xmlns:cof=http://coffee.suppliers.com/; shopNamemylovelyshop/shopName supplyTypemorecoffee !!/supplyType quantity3/quantity /cof:orderSupplies /soapenv:Body /soapenv:Envelope [3] FAILING IN-MEMORY MESSAGE ?xml version=1.0 encoding=UTF-8 standalone=no? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body orderSupplies shopNamemylovelyshop/shopName supplyTypemorecoffee !!/supplyType quantity3/quantity /orderSupplies /soapenv:Body /soapenv:Envelope Is this a bug in the in-memory message store serialisation or a feature of my configuration ? many thanks ! John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Devstudio -new-project - bug?
Hi Folks, This is something that's got me several times over recent weeks so I've created a JIRA for it to get your opinion please [1]. I've not seen any other product do this so I'm thinking that it's not the correct behaviour ? [1] https://wso2.org/jira/browse/TOOLS-3002 many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Devstudio -new-project - bug?
Hi, thanks for the info. I tried closing it but I don't seem to have authority - would you mind please? John Hawkins Director: Solutions Architecture On Tue, Aug 4, 2015 at 6:30 PM, Harshana Eranga Martin harshan...@gmail.com wrote: Hi John, This is actually not a bug rather a feature provided in the Dev Studio. In regular Eclipse Distributions or any other flavour of Eclipse you cannot create SubProjects. But in order to simulate the real world enterprise development scenarios we identified this as a requirement. Specially when you are working with Maven build system this is a real useful feature. Eclipse community has been requesting this feature for years now. Considering all of above we implemented this feature for Dev Studio. In case you are having trouble creating projects in the Workspace Root level, CTRL + Click to unselect the currently selected project. Then go ahead and create your projects as usual. Thanks and Regards, Harshana -- Harshana Eranga Martin Committer - Eclipse ECF: http://www.eclipse.org/ecf/ Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 On 4 August 2015 at 18:10, John Hawkins jo...@wso2.com wrote: Hi Folks, This is something that's got me several times over recent weeks so I've created a JIRA for it to get your opinion please [1]. I've not seen any other product do this so I'm thinking that it's not the correct behaviour ? [1] https://wso2.org/jira/browse/TOOLS-3002 many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] IS_Server JWT Settings
Hi Folks, I've just been following these instructions [1] to get the API-M talking to the Identity server. I am confused as to why I have set JWT on in the Identity servers api-manager.xml [2] and not just in the API-M? Isn't it the API-M sending JWT out rather than the IS ? Can someone explain to me what's going on under-the-hood please? [1] https://docs.wso2.com/display/CLUSTER420/Configuring+the+Pre-Packaged+Identity+Server+5.0.0+with+API+Manager+1.9.0 [2] Bullet 7: JWT configuration must be done in the IS_HOME/repository/conf/api-manager.xml file in the Identity Server. many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Pre-packaged IS 5.0 server creating invalid XACML
Hi, I just noticed that I am getting a namespace error in the console when it happens - ERROR {org.wso2.carbon.identity.entitlement.EntitlementUtil} - Invalid Namespace in policy So looks like some ns thing in the UI created policy perhaps ? cheers, John. John Hawkins Director: Solutions Architecture On Sat, Aug 1, 2015 at 5:35 PM, John Hawkins jo...@wso2.com wrote: Hmm, Hi Tharindu, thanks for looking at this so quickly !! I just downloaded it and then bin/wso2server.sh then go to the policy page and try to create a policy. This fails whether I have done the additional steps to connect the API-M up to it or not. It seems to be a validation thing - where is the validation done - on the server or in the client ? Maybe there are some clues there - perhaps Java versions or some such? I'm on a mac too ? John Hawkins Director: Solutions Architecture On Sat, Aug 1, 2015 at 7:16 AM, Tharindu Dharmarathna tharin...@wso2.com wrote: Hi John, I have setup the Pre-packaged IS according to the documentaion [1]. I couldn't get any issue on creating policy on Identity server. Can you please send us the steps you are done in order to reproduce this issue. [1] - https://docs.wso2.com/display/CLUSTER420/Configuring+the+Pre-Packaged+Identity+Server+5.0.0+with+API+Manager+1.9.0 Thanks Tharindu On Fri, Jul 31, 2015 at 3:50 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've created a JIRA for this [1]. I couldn't see any JIRA that looked like this one but I apologise if it's a dupe. The UI appears unable to create any policies using the wizards. This only happens in the pre-packaged Identity server package when you're trying to connect IS and API-M. [1] https://wso2.org/jira/browse/IDENTITY-3473 best regards, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Tharindu Dharmarathna*Associate Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94779109091 %2B94779109091* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Pre-packaged IS 5.0 server creating invalid XACML
Hmm, Hi Tharindu, thanks for looking at this so quickly !! I just downloaded it and then bin/wso2server.sh then go to the policy page and try to create a policy. This fails whether I have done the additional steps to connect the API-M up to it or not. It seems to be a validation thing - where is the validation done - on the server or in the client ? Maybe there are some clues there - perhaps Java versions or some such? I'm on a mac too ? John Hawkins Director: Solutions Architecture On Sat, Aug 1, 2015 at 7:16 AM, Tharindu Dharmarathna tharin...@wso2.com wrote: Hi John, I have setup the Pre-packaged IS according to the documentaion [1]. I couldn't get any issue on creating policy on Identity server. Can you please send us the steps you are done in order to reproduce this issue. [1] - https://docs.wso2.com/display/CLUSTER420/Configuring+the+Pre-Packaged+Identity+Server+5.0.0+with+API+Manager+1.9.0 Thanks Tharindu On Fri, Jul 31, 2015 at 3:50 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've created a JIRA for this [1]. I couldn't see any JIRA that looked like this one but I apologise if it's a dupe. The UI appears unable to create any policies using the wizards. This only happens in the pre-packaged Identity server package when you're trying to connect IS and API-M. [1] https://wso2.org/jira/browse/IDENTITY-3473 best regards, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Tharindu Dharmarathna*Associate Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94779109091 %2B94779109091* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Pre-packaged IS 5.0 server creating invalid XACML
Hi Folks, I've created a JIRA for this [1]. I couldn't see any JIRA that looked like this one but I apologise if it's a dupe. The UI appears unable to create any policies using the wizards. This only happens in the pre-packaged Identity server package when you're trying to connect IS and API-M. [1] https://wso2.org/jira/browse/IDENTITY-3473 best regards, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] mysql error on addUser
Hi Folks, I'm trying to share databases between my API-M and my identity server. I'm using a mysql db between them with three DB's - registry, userstore and apimgt. When I start either the api-m or the identity server for the first time they both come back with exactly the same error - they can't create the admin user in the DB. I see that Elilmatha had exactly the same problem [1] - but there is no response on that thread so I can't see what fixed it. I've spoken with Elil who thinks it may have been something to do with setting wso2registry in registry.xml - but I have that set up from what I can tell.. dbConfig name=wso2registry dataSourcejdbc/WSO2REG_DB/dataSource /dbConfig And as the error is a sql error on putting the data in the db I think that it's more likely that there is an error with the values going into the DB or that the definition of the UM_USER table is wrong? Any clues folks ? [1] http://mail.wso2.org/mailarchive/dev/2015-July/051104.html many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] mysql error on addUser
For future reference for others - this was caused by a backward level of mysql client (3.1) connecting to mysql server 5.6 i.e. user error :-( John Hawkins Director: Solutions Architecture On Wed, Jul 29, 2015 at 9:57 AM, John Hawkins jo...@wso2.com wrote: Hi Folks, I'm trying to share databases between my API-M and my identity server. I'm using a mysql db between them with three DB's - registry, userstore and apimgt. When I start either the api-m or the identity server for the first time they both come back with exactly the same error - they can't create the admin user in the DB. I see that Elilmatha had exactly the same problem [1] - but there is no response on that thread so I can't see what fixed it. I've spoken with Elil who thinks it may have been something to do with setting wso2registry in registry.xml - but I have that set up from what I can tell.. dbConfig name=wso2registry dataSourcejdbc/WSO2REG_DB/dataSource /dbConfig And as the error is a sql error on putting the data in the db I think that it's more likely that there is an error with the values going into the DB or that the definition of the UM_USER table is wrong? Any clues folks ? [1] http://mail.wso2.org/mailarchive/dev/2015-July/051104.html many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] axis2 set-property in different scope in ScriptMediator?
Hi Folks, Inside a scriptmediator I can set-property($axis2:username, value). This variable is then available to me later on in the sequence as if it has been set on the axis2 context e.g. in the logmediator as axis2:username. However, when I then have an EntitlementMediator after the setting of this property it doesn't pick up the $axis2:username variable. It only picks it up if I set the 'username' variable in a PropertyMediator with scope axis2. Is there something special I should be doing in the scriptmediator to change the property setting or is this a bug? It feels as if the scriptmediator $axis2 is not actually the 'real' $axis2' context ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] XML works in devstudio but fails in UI editor
Hi Folks, I tried to manually edit an esb flow through the web UI but it fails with javax.xml.stream.XMLStreamException: ParseError at [row,col]:[27,62] Message: Element type header must be followed by either attribute specifications, or /. This flow had been exported from devstudio - so devstsudio was the thing that output the malformed xml ? Is this a known problem or should I raise a jira (I tried googling but couldn't see it reported anywhere). many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] BAM: new reports screens lose state
Hi, Any thoughts folks? thanks, John. John Hawkins Director: Solutions Architecture On Fri, Jul 17, 2015 at 9:42 AM, John Hawkins jo...@wso2.com wrote: Hi Folks, Just playing with BAM and when I tools-report-add I lose data when I go back and forth between screens - follows is the scenario. Adding a table report - fill out step 1 (name of report, table name, field names etc.) click next. On step 2 click back which takes me back to step 1 but all the data has been lost. I tried this same scenario when creating a bar chart report type as well - it too loses *some* data when I go back from step 2 to step 1 - but it does retain just the name. I haven't tried any of the other report types but I'm guessing that they need to be checked too to ensure that data gets shown when moving between steps? I don't know what method we use for retaining data between screens but it doesn't appear to be consistent across report types? Shall I create a JIRA or has someone already noted/tackled this (I'm using BAM release 2.5) many thanks ! John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] BAM: new reports screens lose state
Hi Folks, Just playing with BAM and when I tools-report-add I lose data when I go back and forth between screens - follows is the scenario. Adding a table report - fill out step 1 (name of report, table name, field names etc.) click next. On step 2 click back which takes me back to step 1 but all the data has been lost. I tried this same scenario when creating a bar chart report type as well - it too loses *some* data when I go back from step 2 to step 1 - but it does retain just the name. I haven't tried any of the other report types but I'm guessing that they need to be checked too to ensure that data gets shown when moving between steps? I don't know what method we use for retaining data between screens but it doesn't appear to be consistent across report types? Shall I create a JIRA or has someone already noted/tackled this (I'm using BAM release 2.5) many thanks ! John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] DSS: Can't alter wrong query
After an online chat with Madhawa (thanks Madhawa !) I've created a JIRA for this - https://wso2.org/jira/browse/TOOLS-2970 This was a combination of newbie error and dataservice mappings wizard bug. thanks folks, John. John Hawkins Director: Solutions Architecture On Wed, Jul 15, 2015 at 9:17 AM, John Hawkins jo...@wso2.com wrote: Hi Sure - Which error log ? I've attached the relevant sections of the carbon log (from when I deploy it onwards) which doesn't show me much apart from when it fails. Do you want me to put on some tracing et al ? thanks for your help, John. John Hawkins Director: Solutions Architecture On Tue, Jul 14, 2015 at 6:21 PM, Madhawa Gunasekara madha...@wso2.com wrote: Hi John, Can you share the error logs with us, then it will be easier to find the root cause. Normally when a user change the dbs file, It removes the existing service, which relevant to the dbs file and redeploy it. It happens when the time-stamp of the file changes. Thanks, Madhawa On Tue, Jul 14, 2015 at 9:10 PM, John Hawkins jo...@wso2.com wrote: HiFolks, While creating a new Data Service (DSS version 3.2.2) I mistyped a column name in the query (I typed modifieddata rather than modifieddate). I deployed that service and saw my error and now I can't get rid of that error. I've gone back to the query (using both the service wizard and xml editor) and can see that I have changed it so that it is now correct. But each time I re-run my query (through the REST interface) it comes back with the same error. So, it looks like it's not picked up my changes to the query - despite everything appearing to tell me that I have corrected the query and that the query has been redeployed (I can see the axis2 service being deployed when I save the newly altered service). I've tried restarting the wso2server DSS and that makes no difference. Any ideas anyone? many thanks for you help, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Madhawa Gunasekara* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 719411002 +94+719411002 blog: *http://madhawa-gunasekara.blogspot.com http://madhawa-gunasekara.blogspot.com* linkedin: *http://lk.linkedin.com/in/mgunasekara http://lk.linkedin.com/in/mgunasekara* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] DSS: Can't alter wrong query
HiFolks, While creating a new Data Service (DSS version 3.2.2) I mistyped a column name in the query (I typed modifieddata rather than modifieddate). I deployed that service and saw my error and now I can't get rid of that error. I've gone back to the query (using both the service wizard and xml editor) and can see that I have changed it so that it is now correct. But each time I re-run my query (through the REST interface) it comes back with the same error. So, it looks like it's not picked up my changes to the query - despite everything appearing to tell me that I have corrected the query and that the query has been redeployed (I can see the axis2 service being deployed when I save the newly altered service). I've tried restarting the wso2server DSS and that makes no difference. Any ideas anyone? many thanks for you help, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] report from search in Governance Registry
HI Rajith, I've created a new feature request in redmine #4081 I hope that's the right way to do this ?? many thanks John. John Hawkins Director: Solutions Architecture On Fri, Jul 10, 2015 at 4:55 AM, Rajith Roshan raji...@wso2.com wrote: Hi John, This behavior is due to storing only data within a one page at the front end. Every time a client make a request to navigate to a new page, that is send to the server to get information within that particular page. I think, as you have suggested correct behavior should be allowing user to decide which parts of the report they want to download. This can be consider as a possible feature request. Thanks, Rajith On Thu, Jul 9, 2015 at 4:35 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, Whilst learning all about the Governance Registry I downloaded a pdf copy of a set of search results that I had done. However, the resulting pdf only had the results from the page that I was viewing. I had expected that it would contain all the results from the search and not just the ones I was viewing. This behaviour was also true when I downloaded it as spreadsheet or HTML. This behaviour seems counter-intuitive and I took it to be a bug or a possible feature request? I don't see that much benefit in downloading a very small number of the items when I explicitly searched for a much larger number of items. Having said that - I can see how the report may get very large so what I think we need is a function that allows the user to decide which parts of the report they want to download. Thoughts anyone? cheers, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Rajith Roshan Software Engineer, WSO2 Inc. Mobile: +94-72-642-8350 %2B94-71-554-8430 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] report from search in Governance Registry
No Worries - Thanks for your help ! John Hawkins Director: Solutions Architecture On Fri, Jul 10, 2015 at 1:29 PM, Rajith Roshan raji...@wso2.com wrote: Hi John, Thanks for creating the redmine issue. We will look into this. Thanks, Rajith On Fri, Jul 10, 2015 at 4:12 PM, John Hawkins jo...@wso2.com wrote: HI Rajith, I've created a new feature request in redmine #4081 I hope that's the right way to do this ?? many thanks John. John Hawkins Director: Solutions Architecture On Fri, Jul 10, 2015 at 4:55 AM, Rajith Roshan raji...@wso2.com wrote: Hi John, This behavior is due to storing only data within a one page at the front end. Every time a client make a request to navigate to a new page, that is send to the server to get information within that particular page. I think, as you have suggested correct behavior should be allowing user to decide which parts of the report they want to download. This can be consider as a possible feature request. Thanks, Rajith On Thu, Jul 9, 2015 at 4:35 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, Whilst learning all about the Governance Registry I downloaded a pdf copy of a set of search results that I had done. However, the resulting pdf only had the results from the page that I was viewing. I had expected that it would contain all the results from the search and not just the ones I was viewing. This behaviour was also true when I downloaded it as spreadsheet or HTML. This behaviour seems counter-intuitive and I took it to be a bug or a possible feature request? I don't see that much benefit in downloading a very small number of the items when I explicitly searched for a much larger number of items. Having said that - I can see how the report may get very large so what I think we need is a function that allows the user to decide which parts of the report they want to download. Thoughts anyone? cheers, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Rajith Roshan Software Engineer, WSO2 Inc. Mobile: +94-72-642-8350 %2B94-71-554-8430 -- Rajith Roshan Software Engineer, WSO2 Inc. Mobile: +94-72-642-8350 %2B94-71-554-8430 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Fwd: Governance registry Endpoint collection not created by default
OK, so there is no endpoints by default but it will created if not there - gotcha. Thanks John Hawkins Director: Solutions Architecture On Wed, Jul 8, 2015 at 10:57 PM, Viraj Rajaguru vi...@wso2.com wrote: Hi John, On Wed, Jul 8, 2015 at 4:10 PM, John Hawkins jo...@wso2.com wrote: I'm following our ESB lab and in lab 14 (embedded registry) it tells me to 1) create a new registry resource project 2) create a new address endpoint 3) make it a dynamic endpoint 4) select the registry project I just created 5) target to the governance registry/endpoints path However - when i follow those steps, there is no endpoints path. So I'm wondering how to get that endpoints path. You seem to say that it's created automatically - but how does that work in this case? I would split your step 5 into two steps. 5.1 - Target to the governance registry and click OK(See attached selectParent.png). Still there is no endpoints collection under governance registry and there will be only event, permission, repository and trunk collections. Once you select the governance registry and click OK, content of Registry Path text box will be gov: 5.2 Then add /endpoints string part at the end of gov: manually and click finish. When you click finish, the content of Registry Path text box should be gov:/endpoints. Please note that still there is no collection called endpoints in the governance registry. As Kishanthan mentioned in his previous comment, while the deployment of this endpoint(registry resource), a collection called endpoints will be created inside the governance registry and this endpoint will be deployed to gov:/endpoints path. (Additionally, if you set gov:/foo/bar as the registry path from Developer Studio, while the deployment foo bar collections will be created) Thanks, Viraj. many thanks, John. John Hawkins Director: Solutions Architecture On Wed, Jul 8, 2015 at 10:42 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi John, Are you trying out the registry resource project from dev-studio? If there are endpoints added under a specific registry path, then it should be created automatically at ESB when you deploy registry resource project from dev-studio. But by default - event, permission, repository and trunk collections are found under the governance collection. And any newly added collections from dev-studio will be added to ESB registry space by deploying the registry resource project. Let me also add some dev-studio team members to this thread to get some better responses, if the above does not provide information on what you seek. Thanks, On Wed, Jul 8, 2015 at 2:42 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, any thoughts on this - is it a bug or expected behaviour ? many thanks, John, John Hawkins Director: Solutions Architecture On Mon, Jul 6, 2015 at 10:59 AM, John Hawkins jo...@wso2.com wrote: Hi Folks, Using the ESB v4.8.1; I've just created a new governance registry using dev studio v3.7.1 and I see that it's created the collections: event, permission, repository and trunk collections under the governance context. But, it hasn't created the endpoint collection though. Should it have done? And, if I have to create it manually, are there any instructions on what has to go under the governance/endpoints/ collection? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kishanthan Thangarajah* Associate Technical Lead, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* -- Viraj Rajaguru Senior Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Fwd: Governance registry Endpoint collection not created by default
Hi Folks, any thoughts on this - is it a bug or expected behaviour ? many thanks, John, John Hawkins Director: Solutions Architecture On Mon, Jul 6, 2015 at 10:59 AM, John Hawkins jo...@wso2.com wrote: Hi Folks, Using the ESB v4.8.1; I've just created a new governance registry using dev studio v3.7.1 and I see that it's created the collections: event, permission, repository and trunk collections under the governance context. But, it hasn't created the endpoint collection though. Should it have done? And, if I have to create it manually, are there any instructions on what has to go under the governance/endpoints/ collection? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Fwd: Governance registry Endpoint collection not created by default
I'm following our ESB lab and in lab 14 (embedded registry) it tells me to 1) create a new registry resource project 2) create a new address endpoint 3) make it a dynamic endpoint 4) select the registry project I just created 5) target to the governance registry/endpoints path However - when i follow those steps, there is no endpoints path. So I'm wondering how to get that endpoints path. You seem to say that it's created automatically - but how does that work in this case? many thanks, John. John Hawkins Director: Solutions Architecture On Wed, Jul 8, 2015 at 10:42 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi John, Are you trying out the registry resource project from dev-studio? If there are endpoints added under a specific registry path, then it should be created automatically at ESB when you deploy registry resource project from dev-studio. But by default - event, permission, repository and trunk collections are found under the governance collection. And any newly added collections from dev-studio will be added to ESB registry space by deploying the registry resource project. Let me also add some dev-studio team members to this thread to get some better responses, if the above does not provide information on what you seek. Thanks, On Wed, Jul 8, 2015 at 2:42 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, any thoughts on this - is it a bug or expected behaviour ? many thanks, John, John Hawkins Director: Solutions Architecture On Mon, Jul 6, 2015 at 10:59 AM, John Hawkins jo...@wso2.com wrote: Hi Folks, Using the ESB v4.8.1; I've just created a new governance registry using dev studio v3.7.1 and I see that it's created the collections: event, permission, repository and trunk collections under the governance context. But, it hasn't created the endpoint collection though. Should it have done? And, if I have to create it manually, are there any instructions on what has to go under the governance/endpoints/ collection? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kishanthan Thangarajah* Associate Technical Lead, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com* Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Governance registry Endpoint collection not created by default
Hi Folks, Using the ESB v4.8.1; I've just created a new governance registry using dev studio v3.7.1 and I see that it's created the collections: event, permission, repository and trunk collections under the governance context. But, it hasn't created the endpoint collection though. Should it have done? And, if I have to create it manually, are there any instructions on what has to go under the governance/endpoints/ collection? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] DevStudio errors
btw - I think I've also just figured out why the old editor is coming up - it seems to happen whenever I try to open a file (using double click) and I've either not got the dev studio dashboard open or I've not got it highlighted as the current perspective. In both of these cases it reverts to the old editor. cheers for now, John. John Hawkins Director: Solutions Architecture On Fri, Jul 3, 2015 at 12:44 PM, John Hawkins jo...@wso2.com wrote: OK, that explains what the editor is :-) I'm not sure that I was doing anything other than double clicking the config file (the .xml file ) but I do see that if I explicitly open-with then it does open up in that editor. I've just had a manifestation of the unable to open editor problem. The sequence of events I did was... 1) create new ESB Config project 2) Create new Proxy Service. If failed to open the editor on the new proxy service. I'm attaching the .log. The relevant events are at 2015-07-03 12:27:22.354 which then has a classcastexception following it at 2015-07-03 12:27:22:409 java.lang.ClassCastException: org.eclipse.ui.internal.ErrorEditorPart cannot be cast to org.wso2.developerstudio.eclipse.gmf.esb.diagram.part.EsbMultiPageEditor Looks like a cause perhaps of at least one of the problems? I've had it before now that if the workspace dies underneath somewhere (like in this case where an exception happens) then I've had to restart the workspace to get it working again. Perhaps the classcastexception is the error thats causing a pyramid of other issues ? many thanks for your help ! John. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] server restart in eclipse dupe bug
Hi Folks, I get the same problem as someone else did last year - https://wso2.org/jira/browse/TOOLS-2597 That defect is marked closed and un-reproducable - I can reproduce it everytime I restart the ESB server in eclipse server view :-) I'm guessing that what is going on is that whatever is monitoring for the server to close is not working quite correctly and is restarting the server too soon and therefore hitting the port clash. (I've had this sort of thing before when ports are held open even though you think they are closed. I don't know if this is the exact error but very similar - very annoying and OS dependent !). What's the best way to re-open this bug? I'm happy to help in reproducing it if you folks can't in order to get you more information or try out fixes ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] server restart in eclipse dupe bug
Ah, OK - thanks; will do. John Hawkins Director: Solutions Architecture On Thu, Jul 2, 2015 at 2:20 PM, Isuru Perera isu...@wso2.com wrote: Hi John, It's okay to re-open the JIRA as you can reproduce the issue. On Thu, Jul 2, 2015 at 6:16 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I get the same problem as someone else did last year - https://wso2.org/jira/browse/TOOLS-2597 That defect is marked closed and un-reproducable - I can reproduce it everytime I restart the ESB server in eclipse server view :-) I'm guessing that what is going on is that whatever is monitoring for the server to close is not working quite correctly and is restarting the server too soon and therefore hitting the port clash. (I've had this sort of thing before when ports are held open even though you think they are closed. I don't know if this is the exact error but very similar - very annoying and OS dependent !). What's the best way to re-open this bug? I'm happy to help in reproducing it if you folks can't in order to get you more information or try out fixes ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] DevStudio errors
Sorry- I meant to put that in the original message !! Here is the data section of the error in eclipse eclipse.buildId=4.3.2.M20140221-1700 java.version=1.7.0_79 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/wso2/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/wso2/.eclipse_keyring -showlocation And I downloaded devstudio (3.7.1) right of the wso2.com pages (two days ago) - as a single, eclipse included, bundle - *not* installed into a pre-existing eclipse. thanks, John. John Hawkins Director: Solutions Architecture On Thu, Jul 2, 2015 at 12:39 PM, Harshana Eranga Martin harshan...@gmail.com wrote: Hi John, What is the Dev Studio version you are using? Did you download it from the Products listing in wso2.com? What is the JDK version you are using? Thanks and Regards, Harshana -- Harshana Eranga Martin Committer - Eclipse ECF: http://www.eclipse.org/ecf/ Blog: http://harshana05.blogspot.com Profile: https://www.google.com/profiles/harshana05 On 2 July 2015 at 19:29, John Hawkins jo...@wso2.com wrote: Hi Folks, I'm getting a few errors with DevStudio which are really beginning to bug me. I can't see anyone else having these errors so I'll put it out there so you folks may be able to guide me as to what to do ( or you may have seen them before but google has let me down :-) Key problem is that eclipse/dev studio is struggling to save files e.g. an api.xml file or a proxy-service.xml file. This shows itself when I try to save a diagram or when I try to move from the diagram to the source view. The first error in the chain is... *Problems occurred when invoking code from plug-in: org.eclipse.ui.workbench. which has the stacktrace of * *java.lang.NullPointerException* * at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionChanged(CompatibilityPart.java:435)* * at org.eclipse.ui.part.MultiPageSelectionProvider$1.run(MultiPageSelectionProvider.java:110)* * at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)* * at org.eclipse.ui.part.MultiPageSelectionProvider.fireEventChange(MultiPageSelectionProvider.java:108)* * etc.etc.* It then has three other errors along those lines. This may or may not be related but.What also happens is that files also don't look right in the esb editor.. They come out as a tree structure and not the nice diagram editor. In order to get around this (and get it opening in the nice diagram editor) I have to close the WSO2 ESB Graphical perspective and then re-open the Dev Studio (by going Dev Studio-Open Dashboard. That solves the problem of the editor not showing the graphical view and also seems to solve the problem of file saving. However, it's not long before both problems come back - but I have no idea what sequence of events makes them come back ! I realise this is a bit of a random problem - but it's really making editing a very long winded process so any help would be much appreciated !! many thanks John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] server restart in eclipse dupe bug
Turns out that I had to clone it rather than re-open - is that what you meant or do I just not have the authority to re-open? John Hawkins Director: Solutions Architecture On Thu, Jul 2, 2015 at 2:20 PM, Isuru Perera isu...@wso2.com wrote: Hi John, It's okay to re-open the JIRA as you can reproduce the issue. On Thu, Jul 2, 2015 at 6:16 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I get the same problem as someone else did last year - https://wso2.org/jira/browse/TOOLS-2597 That defect is marked closed and un-reproducable - I can reproduce it everytime I restart the ESB server in eclipse server view :-) I'm guessing that what is going on is that whatever is monitoring for the server to close is not working quite correctly and is restarting the server too soon and therefore hitting the port clash. (I've had this sort of thing before when ports are held open even though you think they are closed. I don't know if this is the exact error but very similar - very annoying and OS dependent !). What's the best way to re-open this bug? I'm happy to help in reproducing it if you folks can't in order to get you more information or try out fixes ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] server restart in eclipse dupe bug
Excellent - will do - many thanks ! John Hawkins Director: Solutions Architecture On Thu, Jul 2, 2015 at 2:45 PM, Isuru Perera isu...@wso2.com wrote: Done. Please add a comment to the original issue. Thanks! On Thu, Jul 2, 2015 at 7:03 PM, John Hawkins jo...@wso2.com wrote: OK, please - can you close the clone as well please ? John Hawkins Director: Solutions Architecture On Thu, Jul 2, 2015 at 2:32 PM, Isuru Perera isu...@wso2.com wrote: I see the Reopen Issue button. I think it's visible as I'm a developer. Shall I reopen? On Thu, Jul 2, 2015 at 6:54 PM, John Hawkins jo...@wso2.com wrote: Turns out that I had to clone it rather than re-open - is that what you meant or do I just not have the authority to re-open? John Hawkins Director: Solutions Architecture On Thu, Jul 2, 2015 at 2:20 PM, Isuru Perera isu...@wso2.com wrote: Hi John, It's okay to re-open the JIRA as you can reproduce the issue. On Thu, Jul 2, 2015 at 6:16 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I get the same problem as someone else did last year - https://wso2.org/jira/browse/TOOLS-2597 That defect is marked closed and un-reproducable - I can reproduce it everytime I restart the ESB server in eclipse server view :-) I'm guessing that what is going on is that whatever is monitoring for the server to close is not working quite correctly and is restarting the server too soon and therefore hitting the port clash. (I've had this sort of thing before when ports are held open even though you think they are closed. I don't know if this is the exact error but very similar - very annoying and OS dependent !). What's the best way to re-open this bug? I'm happy to help in reproducing it if you folks can't in order to get you more information or try out fixes ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] server restart in eclipse dupe bug
OK, please - can you close the clone as well please ? John Hawkins Director: Solutions Architecture On Thu, Jul 2, 2015 at 2:32 PM, Isuru Perera isu...@wso2.com wrote: I see the Reopen Issue button. I think it's visible as I'm a developer. Shall I reopen? On Thu, Jul 2, 2015 at 6:54 PM, John Hawkins jo...@wso2.com wrote: Turns out that I had to clone it rather than re-open - is that what you meant or do I just not have the authority to re-open? John Hawkins Director: Solutions Architecture On Thu, Jul 2, 2015 at 2:20 PM, Isuru Perera isu...@wso2.com wrote: Hi John, It's okay to re-open the JIRA as you can reproduce the issue. On Thu, Jul 2, 2015 at 6:16 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I get the same problem as someone else did last year - https://wso2.org/jira/browse/TOOLS-2597 That defect is marked closed and un-reproducable - I can reproduce it everytime I restart the ESB server in eclipse server view :-) I'm guessing that what is going on is that whatever is monitoring for the server to close is not working quite correctly and is restarting the server too soon and therefore hitting the port clash. (I've had this sort of thing before when ports are held open even though you think they are closed. I don't know if this is the exact error but very similar - very annoying and OS dependent !). What's the best way to re-open this bug? I'm happy to help in reproducing it if you folks can't in order to get you more information or try out fixes ? many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 https://www.google.com/+IsuruPereraWSO2/about ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] How to find JIRA number from JIRE attachment number?
Ah ha - where/what did you search to find that - I tried searching on google and in jira but couldn't find it? btw - certainly looks like my problem - many thanks ! many thanks, John. John Hawkins Director: Solutions Architecture On Tue, Jun 30, 2015 at 5:52 PM, Rajkumar Rajaratnam rajkum...@wso2.com wrote: Hi, I don't how to get JIRA number from attachment number :). But here is the JIRA you are searching for. https://wso2.org/jira/browse/TOOLS-2674 Thanks, Raj. On Tue, Jun 30, 2015 at 10:02 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I'm working my way through the WSO2 training exercises and have hit a problem when redeploying the HiRollerBankProject to the ESB. The redeploy fails with a webcontext error saying that there is an unexpected colon at start of token. which appears to start in carbonserver.base.utils.CarbonServerUtils.getWebContextRoot(CarbonServerUtils.java:164) I think this may well be a known problem as a google search points me to - https://wso2.org/jira/secure/attachment/35542/ Which is the exact same message that I get. My problem is that I don't know how to get from the attachment number to the JIRA number :-( So, can anyone tell me how to find out what JIRA this attachment is related to please? I can then figure out whether it is exactly the same problem as I am seeing. many thanks ! John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Rajkumar Rajaratnam Committer PMC Member, Apache Stratos Software Engineer, WSO2 Mobile : +94777568639 Blog : rajkumarr.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] How to find JIRA number from JIRE attachment number?
Hi Folks, I'm working my way through the WSO2 training exercises and have hit a problem when redeploying the HiRollerBankProject to the ESB. The redeploy fails with a webcontext error saying that there is an unexpected colon at start of token. which appears to start in carbonserver.base.utils.CarbonServerUtils.getWebContextRoot(CarbonServerUtils.java:164) I think this may well be a known problem as a google search points me to - https://wso2.org/jira/secure/attachment/35542/ Which is the exact same message that I get. My problem is that I don't know how to get from the attachment number to the JIRA number :-( So, can anyone tell me how to find out what JIRA this attachment is related to please? I can then figure out whether it is exactly the same problem as I am seeing. many thanks ! John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] wso2server.sh start/stop not working with space in
Excellent - many thanks for your help :) John Hawkins Director solutions architecture sent from phone - pls excuse spelling/succinctness. On Jun 25, 2015 6:56 AM, Kishanthan Thangarajah kishant...@wso2.com wrote: Hi John, Thanks for pointing out these issues. We will review our script files and fix these issues for the next release. I have made this jira a must fix for the next release. Also If you have any other suggestions or improvements that can be incorporated into our script files, please feel free to shoot them as-well. Thanks, On Wed, Jun 24, 2015 at 5:54 PM, John Hawkins jo...@wso2.com wrote: Created - https://wso2.org/jira/browse/CARBON-15284 Hope this is OK - any problems please shout. thanks, John Hawkins Director Solutions Architecture On 24 Jun 2015, at 12:25, Senaka Fernando sen...@wso2.com wrote: Hi Aruna et al, I think its useful to do a code-review on our batch/shell scripts in general. Over the years, we seem to have made a few mistakes here and there. While chatting with John on this specific issue we noted a few others. Hi John, May be you should report all what you've noted on a JIRA issue (on the CARBON jira project) and Kishanthan, Aruna and all can then schedule a review when they've found some time for this. Thanks, Senaka. On Wed, Jun 24, 2015 at 12:08 PM, John Hawkins jo...@wso2.com wrote: Hi, Senaka F and I were just discussing this yesterday and it looks like there are some other problems with the .sh file . Seneka pointed out a few things like... 1) the script is supposed to run under any scripting language (!/bin/sh) but then reverts back to bash only at one point when running a command. Seems like an inconsistency - what is the customer pre-req list - that they have to have bash ? In which case why do we put !/bin/sh ? 2) There are quite a few places where the right syntax is used e.g. “$CARBON_DUMP” but only a few others where it’s not. 3) Also: I just looked in Carbondump.sh and it seems to want only bash environment (“!/usr/bash”).this ties in with [1] where we suggest one pre-req in one file but another pre-req in another? So, it looks like we may have more than just this one inconsistency in the various cmd files. Seneka suggested some kind of code review - does this make sense to you as well ? Looks like the review may have to look at all the bat sh scripts we provide not just startserver.sh - just to make sure ? many thanks, John. John Hawkins Director Solutions Architecture On 22 Jun 2015, at 19:51, Aruna Karunarathna ar...@wso2.com wrote: On Mon, Jun 22, 2015 at 5:52 AM, John Hawkins jo...@wso2.com wrote: Hi Rajith, Sure, I understand that is the workaround. But this a bug in the script - and if I found it then so will others? As I'm a newbie - What's the best way to raise this as a bug ? Hi John, You can raise a bug in the public Jira?. [1], explaining the steps to reproduce. [1]. https://wso2.org/jira/secure/Dashboard.jspa On Monday, June 22, 2015, Rajith Roshan raji...@wso2.com wrote: Hi John, Change the directory to the bin folder inside the wso2am-1.8.0 directory in command line . Then enter ./wso2server.sh to start the server and press ctrl+c to stop the server. Thanks. Rajith On Mon, Jun 22, 2015 at 5:21 PM, John Hawkins jo...@wso2.com wrote: HI Jason, this isn't the same problem as I'm seeing is it? My scenario is this... UNZIP e.g. APIM into directory with a space in the path e.g. /my spaced path/APIM wso2server.sh start - doesn't appear to work. Pid file is created but I can't see a running process wso2server.sh stop - fails because the cmd line produced needs quoting. Presumably this is why the above fails as well. cheers, John. On Monday, June 22, 2015, Jason De Silva jas...@wso2.com wrote: Hi John, I did try it with Application Server 5.2.1 and it seems to not work out the box. However I found out a jira issue raised for carbon [1]. And I did the relevant change [2] to the wso2server.sh file and ran the commands wso2server.sh start wso2server.sh stop After the change made, I observed that it works fine and you can start / stop the server. Hope this helps Regards Jason 1. https://wso2.org/jira/browse/CARBON-14477 2. https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff On Mon, Jun 22, 2015 at 2:37 PM, John Hawkins jo...@wso2.com wrote: HI Folks, Possibly a newbie error but when I’ve unzipped wso2 server (API manager in this case if that makes a difference) into a directory with a space in it e.g. /wso2 servers/wso2am-1.8.0 then starting and stopping the server seems to fail using the syntax wso2server.sh start wso2server.sh stop I can see when I try the stop that it can’t find the pid file as it interprets the file tree wrongly however I don’t think the start is working anyhow so it wouldn’t find anything to stop :-) Any thoughts ? many thanks, John. John
Re: [Dev] wso2server.sh start/stop not working with space in
Created - https://wso2.org/jira/browse/CARBON-15284 https://wso2.org/jira/browse/CARBON-15284 Hope this is OK - any problems please shout. thanks, John Hawkins Director Solutions Architecture On 24 Jun 2015, at 12:25, Senaka Fernando sen...@wso2.com wrote: Hi Aruna et al, I think its useful to do a code-review on our batch/shell scripts in general. Over the years, we seem to have made a few mistakes here and there. While chatting with John on this specific issue we noted a few others. Hi John, May be you should report all what you've noted on a JIRA issue (on the CARBON jira project) and Kishanthan, Aruna and all can then schedule a review when they've found some time for this. Thanks, Senaka. On Wed, Jun 24, 2015 at 12:08 PM, John Hawkins jo...@wso2.com mailto:jo...@wso2.com wrote: Hi, Senaka F and I were just discussing this yesterday and it looks like there are some other problems with the .sh file . Seneka pointed out a few things like... 1) the script is supposed to run under any scripting language (!/bin/sh) but then reverts back to bash only at one point when running a command. Seems like an inconsistency - what is the customer pre-req list - that they have to have bash ? In which case why do we put !/bin/sh ? 2) There are quite a few places where the right syntax is used e.g. “$CARBON_DUMP” but only a few others where it’s not. 3) Also: I just looked in Carbondump.sh and it seems to want only bash environment (“!/usr/bash”).this ties in with [1] where we suggest one pre-req in one file but another pre-req in another? So, it looks like we may have more than just this one inconsistency in the various cmd files. Seneka suggested some kind of code review - does this make sense to you as well ? Looks like the review may have to look at all the bat sh scripts we provide not just startserver.sh - just to make sure ? many thanks, John. John Hawkins Director Solutions Architecture On 22 Jun 2015, at 19:51, Aruna Karunarathna ar...@wso2.com mailto:ar...@wso2.com wrote: On Mon, Jun 22, 2015 at 5:52 AM, John Hawkins jo...@wso2.com mailto:jo...@wso2.com wrote: Hi Rajith, Sure, I understand that is the workaround. But this a bug in the script - and if I found it then so will others? As I'm a newbie - What's the best way to raise this as a bug ? Hi John, You can raise a bug in the public Jira?. [1], explaining the steps to reproduce. [1]. https://wso2.org/jira/secure/Dashboard.jspa https://wso2.org/jira/secure/Dashboard.jspa On Monday, June 22, 2015, Rajith Roshan raji...@wso2.com mailto:raji...@wso2.com wrote: Hi John, Change the directory to the bin folder inside the wso2am-1.8.0 directory in command line . Then enter ./wso2server.sh to start the server and press ctrl+c to stop the server. Thanks. Rajith On Mon, Jun 22, 2015 at 5:21 PM, John Hawkins jo...@wso2.com wrote: HI Jason, this isn't the same problem as I'm seeing is it? My scenario is this... UNZIP e.g. APIM into directory with a space in the path e.g. /my spaced path/APIM wso2server.sh start - doesn't appear to work. Pid file is created but I can't see a running process wso2server.sh stop - fails because the cmd line produced needs quoting. Presumably this is why the above fails as well. cheers, John. On Monday, June 22, 2015, Jason De Silva jas...@wso2.com wrote: Hi John, I did try it with Application Server 5.2.1 and it seems to not work out the box. However I found out a jira issue raised for carbon [1]. And I did the relevant change [2] to the wso2server.sh file and ran the commands wso2server.sh start wso2server.sh stop After the change made, I observed that it works fine and you can start / stop the server. Hope this helps Regards Jason 1. https://wso2.org/jira/browse/CARBON-14477 https://wso2.org/jira/browse/CARBON-14477 2. https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff On Mon, Jun 22, 2015 at 2:37 PM, John Hawkins jo...@wso2.com wrote: HI Folks, Possibly a newbie error but when I’ve unzipped wso2 server (API manager in this case if that makes a difference) into a directory with a space in it e.g. /wso2 servers/wso2am-1.8.0 then starting and stopping the server seems to fail using the syntax wso2server.sh start wso2server.sh stop I can see when I try the stop that it can’t find the pid file as it interprets the file tree wrongly however I don’t think the start is working anyhow so it wouldn’t find anything to stop :-) Any thoughts ? many thanks, John. John Hawkins Director Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jason De Silva Software Engineer - QA
Re: [Dev] wso2server.sh start/stop not working with space in
Yep - Sorry Senaka, I put the issues we found in a note asking the dev folks what was the right way to go - didn’t cc you - my bad :-( I’l whack ‘em into a JIRA. cheers, John John Hawkins Director Solutions Architecture On 24 Jun 2015, at 12:25, Senaka Fernando sen...@wso2.com wrote: Hi Aruna et al, I think its useful to do a code-review on our batch/shell scripts in general. Over the years, we seem to have made a few mistakes here and there. While chatting with John on this specific issue we noted a few others. Hi John, May be you should report all what you've noted on a JIRA issue (on the CARBON jira project) and Kishanthan, Aruna and all can then schedule a review when they've found some time for this. Thanks, Senaka. On Wed, Jun 24, 2015 at 12:08 PM, John Hawkins jo...@wso2.com mailto:jo...@wso2.com wrote: Hi, Senaka F and I were just discussing this yesterday and it looks like there are some other problems with the .sh file . Seneka pointed out a few things like... 1) the script is supposed to run under any scripting language (!/bin/sh) but then reverts back to bash only at one point when running a command. Seems like an inconsistency - what is the customer pre-req list - that they have to have bash ? In which case why do we put !/bin/sh ? 2) There are quite a few places where the right syntax is used e.g. “$CARBON_DUMP” but only a few others where it’s not. 3) Also: I just looked in Carbondump.sh and it seems to want only bash environment (“!/usr/bash”).this ties in with [1] where we suggest one pre-req in one file but another pre-req in another? So, it looks like we may have more than just this one inconsistency in the various cmd files. Seneka suggested some kind of code review - does this make sense to you as well ? Looks like the review may have to look at all the bat sh scripts we provide not just startserver.sh - just to make sure ? many thanks, John. John Hawkins Director Solutions Architecture On 22 Jun 2015, at 19:51, Aruna Karunarathna ar...@wso2.com mailto:ar...@wso2.com wrote: On Mon, Jun 22, 2015 at 5:52 AM, John Hawkins jo...@wso2.com mailto:jo...@wso2.com wrote: Hi Rajith, Sure, I understand that is the workaround. But this a bug in the script - and if I found it then so will others? As I'm a newbie - What's the best way to raise this as a bug ? Hi John, You can raise a bug in the public Jira?. [1], explaining the steps to reproduce. [1]. https://wso2.org/jira/secure/Dashboard.jspa https://wso2.org/jira/secure/Dashboard.jspa On Monday, June 22, 2015, Rajith Roshan raji...@wso2.com mailto:raji...@wso2.com wrote: Hi John, Change the directory to the bin folder inside the wso2am-1.8.0 directory in command line . Then enter ./wso2server.sh to start the server and press ctrl+c to stop the server. Thanks. Rajith On Mon, Jun 22, 2015 at 5:21 PM, John Hawkins jo...@wso2.com wrote: HI Jason, this isn't the same problem as I'm seeing is it? My scenario is this... UNZIP e.g. APIM into directory with a space in the path e.g. /my spaced path/APIM wso2server.sh start - doesn't appear to work. Pid file is created but I can't see a running process wso2server.sh stop - fails because the cmd line produced needs quoting. Presumably this is why the above fails as well. cheers, John. On Monday, June 22, 2015, Jason De Silva jas...@wso2.com wrote: Hi John, I did try it with Application Server 5.2.1 and it seems to not work out the box. However I found out a jira issue raised for carbon [1]. And I did the relevant change [2] to the wso2server.sh file and ran the commands wso2server.sh start wso2server.sh stop After the change made, I observed that it works fine and you can start / stop the server. Hope this helps Regards Jason 1. https://wso2.org/jira/browse/CARBON-14477 https://wso2.org/jira/browse/CARBON-14477 2. https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff On Mon, Jun 22, 2015 at 2:37 PM, John Hawkins jo...@wso2.com wrote: HI Folks, Possibly a newbie error but when I’ve unzipped wso2 server (API manager in this case if that makes a difference) into a directory with a space in it e.g. /wso2 servers/wso2am-1.8.0 then starting and stopping the server seems to fail using the syntax wso2server.sh start wso2server.sh stop I can see when I try the stop that it can’t find the pid file as it interprets the file tree wrongly however I don’t think the start is working anyhow so it wouldn’t find anything to stop :-) Any thoughts ? many thanks, John. John Hawkins Director Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jason De
Re: [Dev] wso2server.sh start/stop not working with space in
Hi, Senaka F and I were just discussing this yesterday and it looks like there are some other problems with the .sh file . Seneka pointed out a few things like... 1) the script is supposed to run under any scripting language (!/bin/sh) but then reverts back to bash only at one point when running a command. Seems like an inconsistency - what is the customer pre-req list - that they have to have bash ? In which case why do we put !/bin/sh ? 2) There are quite a few places where the right syntax is used e.g. “$CARBON_DUMP” but only a few others where it’s not. 3) Also: I just looked in Carbondump.sh and it seems to want only bash environment (“!/usr/bash”).this ties in with [1] where we suggest one pre-req in one file but another pre-req in another? So, it looks like we may have more than just this one inconsistency in the various cmd files. Seneka suggested some kind of code review - does this make sense to you as well ? Looks like the review may have to look at all the bat sh scripts we provide not just startserver.sh - just to make sure ? many thanks, John. John Hawkins Director Solutions Architecture On 22 Jun 2015, at 19:51, Aruna Karunarathna ar...@wso2.com wrote: On Mon, Jun 22, 2015 at 5:52 AM, John Hawkins jo...@wso2.com mailto:jo...@wso2.com wrote: Hi Rajith, Sure, I understand that is the workaround. But this a bug in the script - and if I found it then so will others? As I'm a newbie - What's the best way to raise this as a bug ? Hi John, You can raise a bug in the public Jira?. [1], explaining the steps to reproduce. [1]. https://wso2.org/jira/secure/Dashboard.jspa https://wso2.org/jira/secure/Dashboard.jspa On Monday, June 22, 2015, Rajith Roshan raji...@wso2.com mailto:raji...@wso2.com wrote: Hi John, Change the directory to the bin folder inside the wso2am-1.8.0 directory in command line . Then enter ./wso2server.sh to start the server and press ctrl+c to stop the server. Thanks. Rajith On Mon, Jun 22, 2015 at 5:21 PM, John Hawkins jo...@wso2.com wrote: HI Jason, this isn't the same problem as I'm seeing is it? My scenario is this... UNZIP e.g. APIM into directory with a space in the path e.g. /my spaced path/APIM wso2server.sh start - doesn't appear to work. Pid file is created but I can't see a running process wso2server.sh stop - fails because the cmd line produced needs quoting. Presumably this is why the above fails as well. cheers, John. On Monday, June 22, 2015, Jason De Silva jas...@wso2.com wrote: Hi John, I did try it with Application Server 5.2.1 and it seems to not work out the box. However I found out a jira issue raised for carbon [1]. And I did the relevant change [2] to the wso2server.sh file and ran the commands wso2server.sh start wso2server.sh stop After the change made, I observed that it works fine and you can start / stop the server. Hope this helps Regards Jason 1. https://wso2.org/jira/browse/CARBON-14477 https://wso2.org/jira/browse/CARBON-14477 2. https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff On Mon, Jun 22, 2015 at 2:37 PM, John Hawkins jo...@wso2.com wrote: HI Folks, Possibly a newbie error but when I’ve unzipped wso2 server (API manager in this case if that makes a difference) into a directory with a space in it e.g. /wso2 servers/wso2am-1.8.0 then starting and stopping the server seems to fail using the syntax wso2server.sh start wso2server.sh stop I can see when I try the stop that it can’t find the pid file as it interprets the file tree wrongly however I don’t think the start is working anyhow so it wouldn’t find anything to stop :-) Any thoughts ? many thanks, John. John Hawkins Director Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jason De Silva Software Engineer - QA Mobile: +94 (0) 772 097 678 tel:%2B94%20%280%29%20772%20097%20678 Email: jas...@wso2.com WSO2 Inc. www.wso2.com http://www.wso2.com/ -- John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev http://wso2.org/cgi-bin/mailman/listinfo/dev -- Rajith Roshan Software Engineer, WSO2 Inc. Mobile: +94-72-642-8350 tel:%2B94-71-554-8430 -- John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org mailto:Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev http://wso2.org/cgi-bin/mailman/listinfo/dev -- Aruna Sujith Karunarathna | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka
Re: [Dev] wso2server.sh start/stop not working with space in
HI Jason, this isn't the same problem as I'm seeing is it? My scenario is this... UNZIP e.g. APIM into directory with a space in the path e.g. /my spaced path/APIM wso2server.sh start - doesn't appear to work. Pid file is created but I can't see a running process wso2server.sh stop - fails because the cmd line produced needs quoting. Presumably this is why the above fails as well. cheers, John. On Monday, June 22, 2015, Jason De Silva jas...@wso2.com wrote: Hi John, I did try it with Application Server 5.2.1 and it seems to not work out the box. However I found out a jira issue raised for carbon [1]. And I did the relevant change [2] to the wso2server.sh file and ran the commands wso2server.sh start wso2server.sh stop After the change made, I observed that it works fine and you can start / stop the server. Hope this helps Regards Jason 1. https://wso2.org/jira/browse/CARBON-14477 2. https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff On Mon, Jun 22, 2015 at 2:37 PM, John Hawkins jo...@wso2.com javascript:_e(%7B%7D,'cvml','jo...@wso2.com'); wrote: HI Folks, Possibly a newbie error but when I’ve unzipped wso2 server (API manager in this case if that makes a difference) into a directory with a space in it e.g. /wso2 servers/wso2am-1.8.0 then starting and stopping the server seems to fail using the syntax wso2server.sh start wso2server.sh stop I can see when I try the stop that it can’t find the pid file as it interprets the file tree wrongly however I don’t think the start is working anyhow so it wouldn’t find anything to stop :-) Any thoughts ? many thanks, John. John Hawkins Director Solutions Architecture ___ Dev mailing list Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org'); http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jason De Silva *Software Engineer - QA* Mobile: +94 (0) 772 097 678 Email: jas...@wso2.com javascript:_e(%7B%7D,'cvml','jas...@wso2.com'); WSO2 Inc. www.wso2.com -- John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Fwd: wso2server.sh start/stop not working with space in
HI Folks, Possibly a newbie error but when I’ve unzipped wso2 server (API manager in this case if that makes a difference) into a directory with a space in it e.g. /wso2 servers/wso2am-1.8.0 then starting and stopping the server seems to fail using the syntax wso2server.sh start wso2server.sh stop I can see when I try the stop that it can’t find the pid file as it interprets the file tree wrongly however I don’t think the start is working anyhow so it wouldn’t find anything to stop :-) Any thoughts ? many thanks, John. John Hawkins Director Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] wso2server.sh start/stop not working with space in
Yes - exactly :-) John Hawkins Director Solutions Architecture On 22 Jun 2015, at 14:01, Jason De Silva jas...@wso2.com wrote: Hi John, If I understood correctly now your concern is to run APIM in background mode right? If so what Rajith suggested is not the solution as I believe, hope I am not missing some thing. Also in the initial mail I missed out what you meant by space which made me suggest the previous solution. How ever I got APIM 1.8.0 to run wso2server.sh start out of the box which resided in a folder which did not have a space in between the folder name. But when I tried to do the same where the APIM was in a folder which had a name with space in between it did not start successfully. Is this what you are facing too? Regards Jason On Mon, Jun 22, 2015 at 6:22 PM, John Hawkins jo...@wso2.com mailto:jo...@wso2.com wrote: Hi Rajith, Sure, I understand that is the workaround. But this a bug in the script - and if I found it then so will others? As I'm a newbie - What's the best way to raise this as a bug ? On Monday, June 22, 2015, Rajith Roshan raji...@wso2.com mailto:raji...@wso2.com wrote: Hi John, Change the directory to the bin folder inside the wso2am-1.8.0 directory in command line . Then enter ./wso2server.sh to start the server and press ctrl+c to stop the server. Thanks. Rajith On Mon, Jun 22, 2015 at 5:21 PM, John Hawkins jo...@wso2.com wrote: HI Jason, this isn't the same problem as I'm seeing is it? My scenario is this... UNZIP e.g. APIM into directory with a space in the path e.g. /my spaced path/APIM wso2server.sh start - doesn't appear to work. Pid file is created but I can't see a running process wso2server.sh stop - fails because the cmd line produced needs quoting. Presumably this is why the above fails as well. cheers, John. On Monday, June 22, 2015, Jason De Silva jas...@wso2.com wrote: Hi John, I did try it with Application Server 5.2.1 and it seems to not work out the box. However I found out a jira issue raised for carbon [1]. And I did the relevant change [2] to the wso2server.sh file and ran the commands wso2server.sh start wso2server.sh stop After the change made, I observed that it works fine and you can start / stop the server. Hope this helps Regards Jason 1. https://wso2.org/jira/browse/CARBON-14477 https://wso2.org/jira/browse/CARBON-14477 2. https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff On Mon, Jun 22, 2015 at 2:37 PM, John Hawkins jo...@wso2.com wrote: HI Folks, Possibly a newbie error but when I’ve unzipped wso2 server (API manager in this case if that makes a difference) into a directory with a space in it e.g. /wso2 servers/wso2am-1.8.0 then starting and stopping the server seems to fail using the syntax wso2server.sh start wso2server.sh stop I can see when I try the stop that it can’t find the pid file as it interprets the file tree wrongly however I don’t think the start is working anyhow so it wouldn’t find anything to stop :-) Any thoughts ? many thanks, John. John Hawkins Director Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev http://wso2.org/cgi-bin/mailman/listinfo/dev -- Jason De Silva Software Engineer - QA Mobile: +94 (0) 772 097 678 tel:%2B94%20%280%29%20772%20097%20678 Email: jas...@wso2.com WSO2 Inc. www.wso2.com http://www.wso2.com/ -- John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev http://wso2.org/cgi-bin/mailman/listinfo/dev -- Rajith Roshan Software Engineer, WSO2 Inc. Mobile: +94-72-642-8350 tel:%2B94-71-554-8430 -- John Hawkins Director: Solutions Architecture -- Jason De Silva Software Engineer - QA Mobile: +94 (0) 772 097 678 tel:%2B94%20%280%29%20772%20097%20678 Email: jas...@wso2.com mailto:jas...@wso2.com WSO2 Inc. www.wso2.com http://www.wso2.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev