[Dev] Capacity planning sheet

2018-04-12 Thread dhanya
Hi,

As per this link
https://wso2.com/library/articles/2015/12/article-capacity-planning-exercise-with-wso2-middleware-platform/
there is a capacity planning matrix for WSO2.

Can you share the capacity planning matrix for WSO2/WSO2-EI or any such
document that helps in the arriving at the proper sizing of WSO2 EI?

Thanks and regards
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cluster configuration issue in Wso2 EI

2018-04-05 Thread dhanya
Hi Nadika,

The port offset is configured in the carbon.xml in node2. However once the
proxyport is added as 443 for https and 80 for http the port of management
console is shown as 443 for both nodes

Thanks 
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cluster configuration issue in Wso2 EI

2018-04-04 Thread dhanya
Hi,

I also noticed that both the EI nodes are on the same local machine so they
have the same console url defined. ie. https://:443/carbon . Could
that be an issue?

Thanks,
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cluster configuration issue in Wso2 EI

2018-04-03 Thread dhanya
Hi Prabushi,

The configuration in axis.xml already contains the ipaddresses for the
member host and  configurations.

I have also tried updating registry.xml as mentioned in the provided link.
However the issue persists still.

Thanks,
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Cluster configuration issue in Wso2 EI

2018-04-02 Thread dhanya
Hi,

I am trying out the nonWorkerManager cluster configuration in wso2 EI 6.1.1.
The 2 EI nodes and nginx is configured on the same windows machine.

Ref:https://docs.wso2.com/display/EI610/Clustering+the+Integration+Profile
  http://bsenduran.blogspot.in/2017/11/setting-up-wso2-ei-cluster.html

Attached are the logs and configurations.

Issue:
1) When i send a request using an inbound end point both the EI nodes
receive and proces axis2_node1.xml
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/axis2_node1.xml>  
axis2_node2.xml
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/axis2_node2.xml>  
carbon_node1.xml
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/carbon_node1.xml>  s
the request.
2)I noticed this line in the logs during startup, could that be an issue?
WARN - CarbonEventManagementService CEP started with clustering enabled, but
SingleNode configuration given
3)I am unable to access the management console with any of the uris.
The http://ei.wso2.com/,http://ssl.wso2.ei.com/,http://ui.ei.wso2.com/ opens
up the nginx console.
How to access the management console?

Thanks and regards
Dhanya

carbon_node2.xml
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/carbon_node2.xml>  
console.jpg
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/console.jpg>  
ei.conf <http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/ei.conf>  
ei.conf <http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/ei.conf>  
etc_hostsFile.txt
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/etc_hostsFile.txt>  
master-datasources.xml
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/master-datasources.xml> 
 
Node1_WSO2CarbonLog.txt
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/Node1_WSO2CarbonLog.txt>
  
Node2_WSO2CarbonLog.txt
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/Node2_WSO2CarbonLog.txt>
  
registry.xml
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/registry.xml>  
ui.conf <http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/ui.conf>  
user-mgt.xml
<http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/user-mgt.xml>  




--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to use pem/key in fileUri for inbound endpoint or file connector

2018-03-25 Thread dhanya
Any one has an idea on how this is possible in inbound endpoints?

Thanks and regards
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to use pem/key in fileUri for inbound endpoint or file connector

2018-03-22 Thread dhanya
Hi,

Is there a way to use the pem/key while uploading files to aws ec2/s3
instances using the inbound endpoint/file connector?ie. how do we specify
the key file in fileUri to transfer the files across.
I am transferring the files using sftp and the normal username/password
authentication works fine but not with aws instances. 

Thanks and regards
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regarding Paas and WSO2 EI

2018-03-06 Thread Dhanya Santhan
Thank you for the clarification.

On 06-Mar-2018 9:41 PM, "Pubudu Gunatilaka" <pubu...@wso2.com> wrote:

> Hi Dhanya,
>
> EI is not supported by default in PaaS and we have discontinued the PaaS.
>
> Thank you!
>
> On Tue, Mar 6, 2018 at 1:28 PM, dhanya <dhanyasanth2...@gmail.com> wrote:
>
>> Hi,
>>
>> I have a query regarding Paas and the use of wso2 EI as a cartridge.
>>
>> Is WSO2 Enterprise Integrator supported as a cartridge in Paas? As per the
>> https://docs.wso2.com/display/PP411/Architecture i couldn't find WSO2 EI
>> in
>> the list of supported cartridges.
>>
>> Can someone please clarify on this?
>>
>> Thanks and regards,
>> Dhanya
>>
>>
>>
>> --
>> Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development
>> -f3.html
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Regarding Paas and WSO2 EI

2018-03-05 Thread dhanya
Hi,

I have a query regarding Paas and the use of wso2 EI as a cartridge.

Is WSO2 Enterprise Integrator supported as a cartridge in Paas? As per the
https://docs.wso2.com/display/PP411/Architecture i couldn't find WSO2 EI in
the list of supported cartridges. 

Can someone please clarify on this?

Thanks and regards,
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reading file using inbound endpoint

2018-02-23 Thread dhanya
Hi Shakila,

Replaced the file configurations from registry values to hardcoded values as
shown below. 

C:/
C:/Failed
C:/ProcessedFiles

Error message still persists. 

Hi Himasha,

The permissions seems to be there and the file has already been moved to the
required folder. The error message looks to be misleading. Please note that
I am able to do further processing of the file contents.



Thanks and regards, 
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Reading file using inbound endpoint

2018-02-23 Thread dhanya
Hi,

While using an inbound endpoint for file processing, i am getting  the error
message that the file could not be renamed even though the file is processed
successfully and move to the specified "ProcessedFiles" folder.

What could be causing this error message?


[2018-02-23 13:24:26,534] [EI-Core] ERROR - FilePollingConsumer Error moving
file : file:///C:/Sample.txt to file://C:/ProcessedFiles
org.apache.commons.vfs2.FileSystemException: Could not rename
"file:///C:/Sample.txt" to "file:///C:/ProcessedFiles/Sample.txt".
at
org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1117)
at
org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer.moveOrDeleteAfterProcessing(FilePollingConsumer.java:849)
at
org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer.directoryHandler(FilePollingConsumer.java:570)
at
org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer.poll(FilePollingConsumer.java:214)
at
org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer.execute(FilePollingConsumer.java:134)
at
org.wso2.carbon.inbound.endpoint.protocol.file.FileTask.taskExecute(FileTask.java:47)
at
org.wso2.carbon.inbound.endpoint.common.InboundTask.execute(InboundTask.java:51)
at
org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:98)
at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.commons.vfs2.FileSystemException: Could not rename
file "C:\Sample.txt" to "file:///C:/ProcessedFiles/Sample.txt".
at
org.apache.commons.vfs2.provider.local.LocalFile.doRename(LocalFile.java:141)
at
org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1103)


Inbound Endpoint:


http://ws.apache.org/ns/synapse;>

10
false
true
text/plain
MOVE
3
MOVE



true
    false
false



Thanks and regards,
Dhanya




--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clustering in WSO2 EI 6.1.1

2018-02-15 Thread dhanya
Got it now. Thanks Senduran for the quick reply. 



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clustering in WSO2 EI 6.1.1

2018-02-14 Thread dhanya
Hi Nandika,

Thanks but now this leaves me confused. 
Is there a difference between clustering agent and load balancer?

And do we use Hazelcast community edition or NginX load balancer in a
production environment?

Thanks and regards
Dhanya





--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clustering in WSO2 EI 6.1.1

2018-02-14 Thread dhanya
Hi Senduran,

Thanks for the reply.

My query about Hazelcast is based on the documentation in
https://docs.wso2.com/display/EI611/Clustering+the+ESB+Profile.
Here it mentions that "It is recommended to use NGINX Plus as your load
balancer of choice."

So wanted to know if WSO2 recommends using a 3rd party load balancer in
production?

Thanks and regards
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clustering in WSO2 EI 6.1.1

2018-02-14 Thread dhanya
Hi,

Also, for a basic environment setup is the Hazelcast enough for a production
box?

Thanks and regards
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Clustering in WSO2 EI 6.1.1

2018-02-14 Thread dhanya
Hi,

Does wso2 EI 6.1.1 supports Worker/Manager clustering? 

https://docs.wso2.com/display/EI611/Clustered+Deployment.
The above mentioned link refers to only the 2 node cluster. Does that mean
other cluster options are not supported in wso2 EI?


Thanks and regards
Dhanya

Ref:https://docs.wso2.com/display/CLUSTER44x/Configuring+Clustering+for+Specific+Products



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Posting a plain text message to queue

2018-02-09 Thread dhanya
Hi Prabushi,

Thanks for the response. The workaround works for now.

Thanks,
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Posting a plain text message to queue

2018-02-07 Thread dhanya
Hi Prabushi,

I tried this. However when i give media-type as "text" there is an error in
the studio and i am not able to proceed. Please advice.

Thanks and regards
Dhanya <http://wso2-oxygen-tank.10903.n7.nabble.com/file/t1814/error.png> 



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Posting a plain text message to queue

2018-02-06 Thread dhanya
Hi,

Anyone has information on how this can be done?

Thanks and regards
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Posting a plain text message to queue

2018-02-06 Thread dhanya
Hi,

I am trying to convert an xml message to plain text and post it into a queue
in activemq. However the xml node gets added to the message. I would like to 
know how i can extract just the text nodes from the xml and post to the
queue.

Sample proxy xml:


http://ws.apache.org/ns/synapse;>


http://services.samples/;>





$1























queue
Consumer.Recieve.VirtualTopic.Publish
3


contentType
text/plain


2000
true
consumer



Sample Response posted to queue:
http://ws.apache.org/ns/synapse;>Sample Response

Expected response:
Sample Response

How do i recieve only the text of the message as indicated above?

Thanks and regards,
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Iterate mediator not working as expected.

2018-02-05 Thread dhanya
Hi Himasha,

Thanks for the help. Its working now.  This namespace xml
ns:ns1="http://ws.apache.org/ns/synapse; is not accepted by the mediator.
Changed the namespace to  xmlns:ns1="http://services.samples/; and it
worked.

Thanks and regards,
Dhanya




--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Iterate mediator not working as expected.

2018-02-05 Thread dhanya
Hi Himasha,

Thanks for the reply. I tried adding the namespace. However the error now
changed to :

[2018-02-05 16:41:00,215] []  INFO - LogMediator To:
/services/iFlightLiteReciev
e, MessageID: urn:uuid:caa488fc-ed36-4301-ac2c-bdd421dfd79f, Direction:
request,
 property_name = "AfterPayloadFactory:", Envelope: http://www.w3.org/2003/05/soap-envelope;
xml
ns:ns1="http://ws.apache.org/ns/synapse;>hihi1
[2018-02-05 16:41:00,217] [] ERROR - SynapseXPath Evaluation of the XPath
expres
sion //ns1:node1 resulted in an error
org.jaxen.UnresolvableException: Cannot resolve namespace prefix 'ns1'
at org.jaxen.expr.DefaultNameStep.matches(DefaultNameStep.java:358)
at org.jaxen.expr.DefaultNameStep.evaluate(DefaultNameStep.java:285)
at
org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:
140)
at
org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLo
cationPath.java:113)
at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102)
at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:677)
at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:216)
at org.jaxen.BaseXPath.evaluate(BaseXPath.java:175)
at
org.apache.synapse.util.xpath.SynapseXPath.evaluate(SynapseXPath.java
:403)
at
org.apache.synapse.mediators.eip.EIPUtils.getDetachedMatchingElements
(EIPUtils.java:92)
at
org.apache.synapse.mediators.eip.splitter.IterateMediator.mediate(Ite
rateMediator.java:130)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:97)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractLis
tMediator.java:59)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMe
diator.java:158)
at
org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(Pro
xyServiceMessageReceiver.java:213)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEn
closingRESTHandler(ServerWorker.java:326)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.j
ava:158)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(Native
WorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)


Code snippet for Iterate:

 http://ws.apache.org/ns/synapse; id="ENTRY_ITERATOR">










Sample Request :


http://www.w3.org/2003/05/soap-envelope;
xmlns:ns1="http://ws.apache.org/ns/synapse;>


hi
hi1




Is there something that i am missing here?

Thanks and regards
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Iterate mediator not working as expected.

2018-02-05 Thread dhanya
Hi,

I am using wso2 integrator and facing an issue while trying to use the
iterator mediator. 
My requirement is to iterate using a node in the xml and use the resulting
split value to create new files in a folder.
I have created a sample proxy file as follows:


http://ws.apache.org/ns/synapse;>



hi
hi1









http://schemas.xmlsoap.org/soap/envelope/;
continueParent="true" expression="//soapenv:Envelope/node1" 
xmlns="http://ws.apache.org/ns/synapse; id="ENTRY_ITERATOR"  >













 








sample XML:


http://schemas.xmlsoap.org/soap/envelope/;>

http://ws.apache.org/ns/synapse;>
hi
hi1




Based on the above xml i would like to split the file on  to get the
values hi, and hi1. Then create 2 files in the mentioned folder ( one file
having value hi and another file having value hi1).

However the iterate block is not getting invoked since the logs are not
getting printed from within the iterate mediator.
What could be wrong here?

Thanks and Regards
Dhanya



--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev