[Dev] Why can't we convert POX into SOAP using messageType property?

2014-08-21 Thread Charitha Kankanamge
Hi,

Suppose ESB receives an application/xml response from backend and need to
convert it to a SOAP-1.1 message when sending out to client. I
expected property name=messageType value=text/xml scope=axis2
type=STRING/ would use SOAP message formatter and wrap the pure XML body
inside SOAP envelope.
But it did not. The outgoing message was still PoX with text/xml
Content-Type.

Next, I tried  property name=messageType value=application/soap+xml
scope=axis2 type=STRING/ assuming that it converted the message into
SOAP-1.2. But it did not. Instead the Content-Type was changed to
application/soap+xml but the message was formatted as a SOAP-1.1 message.

Can someone please explain this behaviour? Isn't this a bug?

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Question about reading synapse message context properties from within class mediator

2014-07-24 Thread Charitha Kankanamge
Thanks a lot Isuru for the explanation!

On Wednesday, July 23, 2014, Isuru Udana isu...@wso2.com wrote:

 Hi Charitha,


 On Wed, Jul 23, 2014 at 11:33 PM, Charitha Kankanamge chari...@wso2.com
 javascript:_e(%7B%7D,'cvml','chari...@wso2.com'); wrote:

 Hi,

 Can someone please explain the following behavior?

 Inside the *mediate* method in a class mediator, the following returns
 NULL.

 context.getProperty(SERVER_IP)

 However, the following returns correct property value.

 context.getEntry(SERVER_IP)

 This is because 'SERVER_IP' is not a property but an entry added to the
 synapse configuration while the initialization.


 But context.getEntry(SYSTEM_DATE) still returns null.

 SYSTEM_DATE is again not a message context property or an entry. In
 get-property function there is a special logic to get the system date from
 java utils.


 Another observation. When I set a property inside mediation flow
 (e.g:- property name=myprop value=TESTVALUE scope=default
 type=STRING/), then I can read it straightaway using inside class
 mediator.

 context.getProperty(myprop)

 Why the difference? What am I missing?


 Thanks.


 Thanks!
 Charitha




 --
 *Isuru Udana*
 Senior
 * Software Engineer*
 WSO2 Inc.; http://wso2.com
 email: isu...@wso2.com javascript:_e(%7B%7D,'cvml','isu...@wso2.com');
 cell: +94 77 3791887
 blog: http://mytecheye.blogspot.com/
 twitter: http://twitter.com/isudana



-- 
Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Question about reading synapse message context properties from within class mediator

2014-07-23 Thread Charitha Kankanamge
Hi,

Can someone please explain the following behavior?

Inside the *mediate* method in a class mediator, the following returns NULL.

context.getProperty(SERVER_IP)

However, the following returns correct property value.

context.getEntry(SERVER_IP)

But context.getEntry(SYSTEM_DATE) still returns null.

Another observation. When I set a property inside mediation flow
(e.g:- property name=myprop value=TESTVALUE scope=default
type=STRING/), then I can read it straightaway using inside class
mediator.

context.getProperty(myprop)

Why the difference? What am I missing?

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Why do we have POST_TO_URI property set to true by default in API configs?

2014-06-20 Thread Charitha Kankanamge
H
​i AM team,
What is the exact reason for @subject? This property is used to make the
outgoing request's URL path complete and will be useful when routing
through proxy servers. But communicating with backend endpoint via proxy
servers is not the default behaviour and some backends may not like/reject
if the URL is a complete URL.
Can we exclude this property from the default api template?

Thanks!
Charitha​
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] org.apache.axis2.json.gson.JsonFormatter formats the response as JSON without HTTP Content-Type header

2014-05-27 Thread Charitha Kankanamge
Hi Anjana et all,
DSS uses org.apache.axis2.json.gson.JsonFormatter by default. However, when
calling a service which responds JSON, the message looks similar to the
following.

*HTTP/1.1 200 OK*
*Transfer-Encoding: chunked*
*Date: Tue, 27 May 2014 19:14:45 GMT*
*Connection: close*
*Server: WSO2 Carbon Server*

{customers:{customer:[{phone:6175559555,contact:{contact-last-name:Yoshido,customer-name:Gifts4AllAges.com,contact-first-name:Juri},city:Boston},{phone:6175552555,contact:{contact-last-name:Franco,customer-name:Diecast
Collectables,contact-first-name:Valarie},city:Boston}]}}

​I had to comment out this default formatter and use the
org.apache.axis2.json.JSONMessageFormatter.
Then I got the correct response.

HTTP/1.1 200 OK
*Content-Type: application/json;charset=UTF-8*
Transfer-Encoding: chunked
Date: Tue, 27 May 2014 19:17:02 GMT
Connection: close
Server: WSO2 Carbon Server

{customers:{customer:[{phone:6175559555,contact:{contact-last-name:Yoshido,customer-name:Gifts4AllAges.com,contact-first-name:Juri},city:Boston},{phone:6175552555,contact:{contact-last-name:Franco,customer-name:Diecast
Collectables,contact-first-name:Valarie},city:Boston}]}}​

​This can simply be observed by running JSON sample included in a fresh
pack (DSS-3.2.1). Is this a bug in new formatter? If so, it is better to
document this and ask to use org.apache.axis2.json.JSONMessageFormatter
instead.

Thanks!
Charitha​


Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] This is why we need auto tests for bugs too [was Fwd: [jira] (ESBJAVA-1614) Log rotation fails on Windows]

2014-05-16 Thread Charitha Kankanamge
This is broken again or r197187 not included in APIM pack (14th of May
APIM-1.7.0 pack).
I'm getting the following error.
log4j:ERROR Failed to rename
[D:\AM-17-~1\cluster\WSO2AM~1.0-P\bin\../repository/logs//wso2carbon.log]
to
[D:\AM-17-~1\cluster\WSO2AM~1.0-P\bin\../repository/logs//wso2carbon.log.2014-05-16].

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Wed, Apr 2, 2014 at 2:07 AM, Thayalan thaya...@wso2.com wrote:

 HI Manoj,

 After the patch was applied I'm getting the error as mentioned on the
 defect.

 log4j:ERROR Failed to rename
 [C:\Personal\APP\WSO2BAM\20140327\WSO2BA~1.1\bin\../repository/logs//wso2carbon.log]
 to
 [C:\Personal\APP\WSO2BAM\20140327\WSO2BA~1.1\bin\../repository/logs//wso2carbon.log.2014-04-01-19-34]


 On Tue, Apr 1, 2014 at 3:43 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 This fix was previously not added to trunk and recently added to
 patch0006 as per the request by Dinusha.
 I checked the distribution/bin.xml file of BAM product there was no entry
 [1] relevant to patching org.wso2.carbon.server-4.2.0.jar module.

 Can we properly add all patched components on next build and test.
 Meantime I'll help Thayalan to verify this fix.

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/bam/2.4.1/modules/distribution/bin.xml

 Thanks,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188


 On Tue, Apr 1, 2014 at 3:32 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Thayalan,

 I will look on this.

 Thanks,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188


 On Tue, Apr 1, 2014 at 3:02 PM, Thayalan thaya...@wso2.com wrote:

 Hi,

 The DailyRollingFile not working on Windows 7 with the latest BAM 2.4.1
 pack as well. Appreciate if somebody from carbon team attend to this issue
 and provide a fix soon as possible.

 Thanks,
 Thayalan


 On Wed, Dec 18, 2013 at 3:06 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 See the issue below.

 This is pure regression. Log rotation was broken, fixed and broken
 again.

 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 -- Forwarded message --
 From: Amani Soysa (JIRA) j...@wso2.org
 Date: Fri, Dec 13, 2013 at 11:47 PM
 Subject: [jira] (ESBJAVA-1614) Log rotation fails on Windows
 To: sam...@wso2.com



  [
 https://wso2.org/jira/browse/ESBJAVA-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]

 Amani Soysa reopened ESBJAVA-1614:
 --


 This is broken in 4.8 now

  Log rotation fails on Windows
  -
 
  Key: ESBJAVA-1614
  URL: https://wso2.org/jira/browse/ESBJAVA-1614
  Project: WSO2 ESB
   Issue Type: Bug
 Affects Versions: 4.5.0
 Reporter: Samisa Abeysinghe
 Assignee: reka thirunavukkarasu
 Priority: High
  Fix For: 4.7.0
 
 
  I get the error: [2012-09-24 08:35:20,887]  INFO -
 CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at
 [2012-09-24 08:35:20,886+0530]
  log4j:ERROR Failed to rename
 [E:\testing\WSO2ES~1.0\bin\../repository/logs//wso2carbon.log] to
 [E:\testing\WSO2ES~1.0\bin\../repository/logs//wso2carbon.log.2012-09-23].
  Must look at log4j level solutions for log rotation on Windows.

 --
 This message is automatically generated by JIRA.
 If you think it was sent incorrectly, please contact your JIRA
 administrators
 For more information on JIRA, see:
 http://www.atlassian.com/software/jira

  --
 You received this message because you are subscribed to the Google
 Groups WSO2 Engineering Group group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to engineering-group+unsubscr...@wso2.com.
 For more options, visit
 https://groups.google.com/a/wso2.com/groups/opt_out.




 --
 Regards,
 Thayalan Sivapaleswararajah
 Associate Technical Lead - QA
 Mob: +94(0)777872485
 Tel : +94(0)(11)2145345
 Fax : +94(0)(11)2145300
 Email: thaya...@wso2.com


 *Disclaimer*: *This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender indicating
 that fact and delete the copy you received and in addition, you should not
 print, copy, retransmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev

[Dev] Aren't we going to fix https://wso2.org/jira/browse/APIMANAGER-1886 in AM-1.7.0?

2014-05-15 Thread Charitha Kankanamge
Hi Sanjeewa,
@Subject. This is about cache invalidation. Will we be able to specify a
cache timeout duration in AM-1.7.0?

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Aren't we going to fix https://wso2.org/jira/browse/APIMANAGER-1886 in AM-1.7.0?

2014-05-15 Thread Charitha Kankanamge
Ok. I figured that we are not going to fix this -
https://wso2.org/jira/browse/APIMANAGER-2303
Please make sure to state these limitations in AM documentation.

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Thu, May 15, 2014 at 10:53 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi Sanjeewa,
 @Subject. This is about cache invalidation. Will we be able to specify a
 cache timeout duration in AM-1.7.0?

 Thanks!
 Charitha

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Manager 1.7.0 nightly build pack - 14-05-2014

2014-05-15 Thread Charitha Kankanamge
It seems some fixes are missing in this pack? Specially
https://wso2.org/jira/browse/APIMANAGER-2183

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Thu, May 15, 2014 at 12:03 AM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi,

 Please find the $subject in [1].

 [1] http://builder1.us1.wso2.org/~apim/14-05-2014/wso2am-1.7.0.zip

 Thanks,
 Lakmali

 --
 Lakmali Baminiwatta
  Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


 ___
 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] API Manager 1.7.0 nightly build pack - 14-05-2014

2014-05-15 Thread Charitha Kankanamge
Great! Thanks a lot Lakmali!

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Thu, May 15, 2014 at 9:25 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi Charitha,


 On 16 May 2014 00:56, Sumedha Rubasinghe sume...@wso2.com wrote:

 Are there anything else missing?
 On May 15, 2014 11:46 PM, Charitha Kankanamge chari...@wso2.com
 wrote:

 It seems some fixes are missing in this pack? Specially
 https://wso2.org/jira/browse/APIMANAGER-2183


 This is available in the pack. After discussing with the team we had
 renamed Private  visibility as Visible to my domain [1].

 [1] https://docs.wso2.org/display/AM170/API+Visibility

 Thanks,
 Lakmali


 Charitha Kankanamge
 cell: +1 812-391-7730
 http://charithaka.blogspot.com
 *SOA and Testing without nonsense*


 On Thu, May 15, 2014 at 12:03 AM, Lakmali Baminiwatta 
 lakm...@wso2.comwrote:

 Hi,

 Please find the $subject in [1].

 [1] http://builder1.us1.wso2.org/~apim/14-05-2014/wso2am-1.7.0.zip

 Thanks,
 Lakmali

 --
 Lakmali Baminiwatta
  Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


 ___
 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




 --
 Lakmali Baminiwatta
  Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS]Error while invoking a callback service from a BPEL

2014-05-09 Thread Charitha Kankanamge
)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.re
adLine(MultiThreadedHttpConnectionManager.java:1413)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java
:398)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:17
1)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:
622)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
... 35 more


Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Mon, Mar 17, 2014 at 7:30 PM, Amila De Silva ami...@wso2.com wrote:

 Hi,

 Got the following error[1] when invoking a BPEL workflow hosted by a
 tenant.
 When the BPEL workflow is invoked , it creates a HumanTask instance and
 suspends until the task is completed. Upon completing the task, BPEL
 resumes its execution and sends the outcome of the task to a callback
 service.
 The call back service is secured with Basic Authentication and the
 credentials to invoke the service is provided in an .epr file which gets
 deployed with the BPEL . While investigating the error it was found that
 the Authorization header is not sent when the BPEL resumes and calls the
 callback service.

 As per the current investigations the problem occurs due to the following
 reasons.

 1. When resuming the BPEL, at some point, UnifiedEndpointHandler reads the
 .epr file get the credentials and create the Basic Authentication
 header. This header is set to the messageContext using,

 msgContext.getOptions().setProperty(HTTPConstants.HTTP_HEADERS, headers);

 2. Before sending the request out, CommonsHTTPTransportSender reads this
 header from  the message Context.

 Object httpHeadersObj = msgContext.getProperty(HTTPConstants.HTTP_HEADERS);

 3. If the BPEL is deployed in super.tenants space, by the time execution
 reaches the TransportSender, the Header gets properly set into a property
 in the messageContext. But in case of a tenant, this doesn't happen.

 One way to fix this would be to populate this Header within the
 TenantTransportSender. The other way would be to locate the point where
 this is done in the super tenants flow and incorporate that when invoking a
 tenant's flow.

 [1] [2014-03-17 17:00:51,520] ERROR
 {org.wso2.carbon.bpel.core.ode.integration.PartnerService} -  Error sending
 message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr94qgl0ib2e4 [PID {
 http://workflow.application.apimgt.carbon.wso2.org}ApplicationApprovalWorkFlowProcess-2]
 calling org.apache.ode.bpel.epr.WSAEndpoint@5e186a21.resumeEvent(...)
 Status REQUEST}
 org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized
 at
 org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:311)
  at
 org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
 at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
  at
 org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
 at
 org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
  at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.wso2.carbon.core.multitenancy.transports.TenantTransportSender.invoke(TenantTransportSender.java:198)
  at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297)
  at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.bpel.core.ode.integration.utils.AxisServiceUtils.invokeService(AxisServiceUtils.java:305)
  at
 org.wso2.carbon.bpel.core.ode.integration.PartnerService.invoke(PartnerService.java:324)
 at
 org.wso2.carbon.bpel.core.ode.integration.BPELMessageExchangeContextImpl.invokePartner(BPELMessageExchangeContextImpl.java:43)
  at
 org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:793)
 at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:130)
  at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
  at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139

[Dev] java.io.NotSerializableException: org.wso2.carbon.identity.application.common.model.IdentityProvider when adding a tenant in AM cluster

2014-05-08 Thread Charitha Kankanamge
Hi,

I'm getting the following error when adding a tenant in AM cluster node
(I'm using a partially distributed AM cluster with separated publisher,
store and gateway nodes. publisher and store in same Hzcast cluster domain.
Clustering is enabled only in publisher and store nodes. The tenant adding
operation was done in the management console of publisher node. I'm having
an external Apache DS LDAP and using SQL server as AM/UM/Reg DB. But I
think those parameters do not matter)

Nirodha/Asanthi/Evanthika,
If you guys setup a component separated AM cluster in lab, can you please
try creating a new tenant?

ERROR - RPCMessageReceiver java.io.NotSerializableException: org.wso2.carb
on.identity.application.common.model.IdentityProvider
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.
java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOut
MessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:1
10)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportRece
iver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportRece
iver.java:82)
at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddres
s(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77
)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java
:225)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminService
Stub.java:2718)
at
org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.j
ava:90)
at
org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:
67)
at
org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(org.apa
che.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp:116)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at
org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdapt
or.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration
.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128
)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at

Re: [Dev] java.io.NotSerializableException: org.wso2.carbon.identity.application.common.model.IdentityProvider when adding a tenant in AM cluster

2014-05-08 Thread Charitha Kankanamge
Thanks Amila. Somehow I could not locate this error when scanned through
jira.

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Thu, May 8, 2014 at 10:27 PM, Amila De Silva ami...@wso2.com wrote:

 Hi Charitha,

 This issue is reported in [1]. This has been already fixed and will be
 available in the next pack.


 [1] https://wso2.org/jira/browse/APIMANAGER-2315


 On Thu, May 8, 2014 at 9:57 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi,

 I'm getting the following error when adding a tenant in AM cluster node
 (I'm using a partially distributed AM cluster with separated publisher,
 store and gateway nodes. publisher and store in same Hzcast cluster domain.
 Clustering is enabled only in publisher and store nodes. The tenant adding
 operation was done in the management console of publisher node. I'm having
 an external Apache DS LDAP and using SQL server as AM/UM/Reg DB. But I
 think those parameters do not matter)

 Nirodha/Asanthi/Evanthika,
 If you guys setup a component separated AM cluster in lab, can you please
 try creating a new tenant?

 ERROR - RPCMessageReceiver java.io.NotSerializableException: org.wso2.carb
 on.identity.application.common.model.IdentityProvider
 java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.
 java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOut
 MessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:1
 10)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportRece
 iver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportRece
 iver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddres
 s(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77
 )
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java
 :225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminService
 Stub.java:2718)
 at
 org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.j
 ava:90)
 at
 org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:
 67)
 at
 org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(org.apa
 che.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp:116)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
 at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at
 org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdapt
 or.java:37)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration
 .java:61)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128
 )
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
 ava:305

Re: [Dev] java.io.NotSerializableException: org.wso2.carbon.identity.application.common.model.IdentityProvider when adding a tenant in AM cluster

2014-05-08 Thread Charitha Kankanamge
Verified in the latest AM pack. Now, tenants can be added and the full
scenario can be tested in a cluster. Thanks!

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Thu, May 8, 2014 at 10:27 PM, Amila De Silva ami...@wso2.com wrote:

 Hi Charitha,

 This issue is reported in [1]. This has been already fixed and will be
 available in the next pack.


 [1] https://wso2.org/jira/browse/APIMANAGER-2315


 On Thu, May 8, 2014 at 9:57 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi,

 I'm getting the following error when adding a tenant in AM cluster node
 (I'm using a partially distributed AM cluster with separated publisher,
 store and gateway nodes. publisher and store in same Hzcast cluster domain.
 Clustering is enabled only in publisher and store nodes. The tenant adding
 operation was done in the management console of publisher node. I'm having
 an external Apache DS LDAP and using SQL server as AM/UM/Reg DB. But I
 think those parameters do not matter)

 Nirodha/Asanthi/Evanthika,
 If you guys setup a component separated AM cluster in lab, can you please
 try creating a new tenant?

 ERROR - RPCMessageReceiver java.io.NotSerializableException: org.wso2.carb
 on.identity.application.common.model.IdentityProvider
 java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.
 java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOut
 MessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:1
 10)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportRece
 iver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportRece
 iver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddres
 s(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77
 )
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java
 :225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminService
 Stub.java:2718)
 at
 org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.j
 ava:90)
 at
 org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:
 67)
 at
 org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(org.apa
 che.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp:116)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
 at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at
 org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdapt
 or.java:37)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration
 .java:61)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128
 )
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
 ava:305

Re: [Dev] API Manager 1.7.0 ELB-2.1.1 nightly build packs 06-05-2014

2014-05-06 Thread Charitha Kankanamge
  [\r][\n]
[2014-05-07 03:25:32,009] DEBUG - wire  116[\r][\n]
[2014-05-07 03:25:32,010] DEBUG - wire  ?xml version=1.0
encoding=UTF-8?soapenv:Envelope x
mlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;soapenv:Bodyns:echoStringResponse
xmlns:
ns=http://service.carbon.wso2.org
ns:returntest/ns:return/ns:echoStringResponse/soapenv:Bod
y/soapenv:Envelope[\r][\n]
[2014-05-07 03:25:32,011] DEBUG - wire  0[\r][\n]
[2014-05-07 03:25:32,011] DEBUG - wire  [\r][\n]
[2014-05-07 03:25:32,012]  INFO - LogMediator To:
http://www.w3.org/2005/08/addressing/anonymous, WS
Action: , SOAPAction: , MessageID:
urn:uuid:db73f99d-c849-42e4-af64-8f73b04f9ef5, Direction: respons
e, Envelope: ?xml version=1.0 encoding=utf-8?soapenv:Envelope
xmlns:soapenv=http://schemas.x
mlsoap.org/soap/envelope/soapenv:Bodyns:echoStringResponse xmlns:ns=
http://service.carbon.wso2
.orgns:returntest/ns:return/ns:echoStringResponse/soapenv:Body/soapenv:Envelope

[1]https://wso2.org/jira/browse/APIMANAGER-2306​

On a related note, can we run automated integration tests with nightly
builds as well?

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Tue, May 6, 2014 at 11:24 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Hi,
 Please find $Subject in [1]. This API Manager pack contains mssql related
 fixes.

 [1]http://builder1.us1.wso2.org/~apim/06-05-2014/

 Thanks,
 sanjeewa.

 --

 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] What are the minimum set of SQL server permissions required for registry/um db user?

2014-05-05 Thread Charitha Kankanamge
Hi folks,
I had to assign sysadmin server role to the registry/um DB user to start
the carbon server with -Dsetup in MSSQL server. With lesser privileges, I'm
getting the following error.

java.lang.Exception: Error occurred while executing :  IF NOT  EXISTS
(SELECT * FROM SYS.OBJECTS WHERE OBJECT_ID =
OBJECT_ID(N'[DBO].[REG_CLUSTER_LOCK]') AND TYPE IN (N'U')) CREATE TABLE
 REG_CLUSTER_LOCK ( REG_LOCK_NAME VARCHAR (20), REG_LOCK_STATUS VARCHAR
(20), REG_LOCKED_TIME DATETIME, REG_TENANT_ID INTEGER DEFAULT 0, PRIMARY
KEY (REG_LOCK_NAME) )
at
org.wso2.carbon.utils.dbcreator.DatabaseCreator.executeSQL(DatabaseCreator.java:169)
at
org.wso2.carbon.utils.dbcreator.DatabaseCreator.executeSQLScript(DatabaseCreator.java:325)
at
org.wso2.carbon.utils.dbcreator.DatabaseCreator.createRegistryDatabase(DatabaseCreator.java:61)
at
org.wso2.carbon.user.core.common.DefaultRealmService.initializeDatabase(DefaultRealmService.java:278)
... 19 more
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The SELECT
permission was denied on the object 'objects', database
'mssqlsystemresource', schema 'sys'.
at
com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown
Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown
Source)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown
Source)
at
com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(Unknown
Source)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)

What are the minimum set of permissions that must be granted to the DB user
when creating MSSQL database? Please advise. We should update [1] with the
exact set of permissions.

[1]https://docs.wso2.org/display/AM160/Setting+up+with+MS+SQL
[2]https://wso2.org/jira/browse/DOCUMENTATION-801

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Blocker] Issues with AM_DB scripts for Oracle

2014-05-05 Thread Charitha Kankanamge
Hi,
Can we please have the corresponding MSSQL script as well?

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Mon, May 5, 2014 at 9:38 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi,

 Please find the fixed oracle script attached.

 Thanks,
 Lakmali


 On 5 May 2014 21:11, Nirodha Pramod niro...@wso2.com wrote:

 Hi Lakmali,

 Can we have a patch for this issue [3] this is an absolute blocker for
 testing on Oracle.

 regards,
 Nirodha


 On Mon, May 5, 2014 at 10:56 AM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi,

 On 3 May 2014 00:26, Nirodha Pramod niro...@wso2.com wrote:

 Hi,

 Following two blocking issues were found with the oracle script for
 AM_DB on 29th April pack. Please have a look.


 [1] https://wso2.org/jira/browse/APIMANAGER-2266


 Had been Fixed now.

 [2] https://wso2.org/jira/browse/APIMANAGER-2268


  It seems this issue has occurred due to user not having permissions to
 create triggers.

  Fixed the issue[3] in r201794.

 [3] https://wso2.org/jira/browse/APIMANAGER-2264

  Thanks,
 Lakmali


 regards,
 Nirodha

 --

 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com




 --

 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


 ___
 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] [Blocker] Issues with AM_DB scripts for Oracle

2014-05-05 Thread Charitha Kankanamge
CREATE TABLE AM_API_DEFAULT_VERSION (
DEFAULT_VERSION_ID INTEGER NOT NULL IDENTITY,
API_NAME VARCHAR(256) NOT NULL ,
API_PROVIDER VARCHAR(256) NOT NULL ,
DEFAULT_API_VERSION VARCHAR(30) ,
PUBLISHED_DEFAULT_API_VERSION VARCHAR(30) ,
PRIMARY KEY (DEFAULT_VERSION_ID)
);

used to continue testing in mssql setup. Please update the mssql script to
work OOTB.

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Tue, May 6, 2014 at 2:32 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi,
 Can we please have the corresponding MSSQL script as well?

 Charitha Kankanamge
 cell: +1 812-391-7730
 http://charithaka.blogspot.com
 *SOA and Testing without nonsense*


 On Mon, May 5, 2014 at 9:38 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi,

 Please find the fixed oracle script attached.

 Thanks,
 Lakmali


 On 5 May 2014 21:11, Nirodha Pramod niro...@wso2.com wrote:

 Hi Lakmali,

 Can we have a patch for this issue [3] this is an absolute blocker for
 testing on Oracle.

 regards,
 Nirodha


 On Mon, May 5, 2014 at 10:56 AM, Lakmali Baminiwatta 
 lakm...@wso2.comwrote:

 Hi,

 On 3 May 2014 00:26, Nirodha Pramod niro...@wso2.com wrote:

 Hi,

 Following two blocking issues were found with the oracle script for
 AM_DB on 29th April pack. Please have a look.


 [1] https://wso2.org/jira/browse/APIMANAGER-2266


 Had been Fixed now.

 [2] https://wso2.org/jira/browse/APIMANAGER-2268


  It seems this issue has occurred due to user not having permissions to
 create triggers.

  Fixed the issue[3] in r201794.

 [3] https://wso2.org/jira/browse/APIMANAGER-2264

  Thanks,
 Lakmali


 regards,
 Nirodha

 --

 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com




 --

 *Nirodha Gallage*
 Senior Software Engineer, QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94716429078




 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


 ___
 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] EMM-1.0.0 startup fails and README is totally wrong

2014-04-23 Thread Charitha Kankanamge
Hi folks,

I just downloaded EMM-1.0.0 and unzipped the pack. Then I ran wso2server.sh
and it failed to start due to the following error.

[2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} -

[2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} -

[2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} -

[2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} -

[2014-04-23 11:28:13,398] ERROR {JAGGERY.config.app:js} -

[2014-04-23 11:28:13,399] ERROR {JAGGERY.config.app:js} -

[2014-04-23 11:28:13,399] ERROR {JAGGERY.config.app:js} -  Database is not
configured or has not started up

Assuming there was a pre-requsiste to configure a database or some more, I
opened EMM_HOME/README.txt. It was similar to the following.


WSO2 Enterprise Mobility Management solution 1.0.0

--


18 Feb 2014


Welcome to the WSO2 Enterprise Mobility Management solution 1.0.0 release


Key Features



[1] Creating  Sharing Dashboards

[2] Creating  Sharing Microsites

[3] Creating  Sharing Gadgets

[4] Adding external gadgets by URL

[5] Pre-built graph gadgets

[6] Store integration to dashboard creation flow

[7] Enterprise store aspect

[8] Sample microsites



Installation  Running

--

1. extract the downloaded zip file

2. Run the wso2server.sh or wso2server.bat file in the bin directory

3. Once the server starts, point your Web browser to

   https://localhost:9443/portal/


For more details, see the Installation Guide


System Requirements

---


1. Minimum memory - 1GB

2. Processor  - Pentium 800MHz or equivalent at minimum

3. Portal app requires full Javascript enablement of the Web browser


For more details see

http://docs.wso2.org/wiki/display/UES100/Installation+Prerequisites


Known Issues



https://wso2.org/jira/issues/?filter=11174



Enterprise Mobility Management Solution Binary Distribution Directory
Structure

-


UES_HOME

.

├── bin   //executables

├── dbscripts//DBScripts

Isn't this README from UES? Just copied it over to EMM without even looking
at the content?
It is a well defined release protocol at WSO2 to verify all release
artifacts such as licences, readme, release-notes, install.txt etc in the
final pack. In past, we have repacked many RCs at the last moment due to
wrong release artifacts since that badly affects first user experience.
Can we please make sure to follow the release guidelines in each product
release?

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DS]Multiple HTTP verbs on same resource path in DSS

2014-04-17 Thread Charitha Kankanamge
Thanks for the confirmation Anjana. When comparing to ESB REST API
definition, this seems to be a valid/natural requirement. If you guys
believe so, better to consider this improvement for a future release.

Charitha Kankanamge
cell: +1 812-391-7730
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Thu, Apr 17, 2014 at 2:07 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi Charitha,

 Yeah, we do not support it like that at the moment.

 Cheers,
 Anjana.


 On Thu, Apr 17, 2014 at 2:12 AM, Charitha Kankanamge chari...@wso2.comwrote:

 H
 ​i Anjana/DS team,
  Do we support defining multiple HTTP verbs on same resource path in
 DSS?

 e.g:-

 resource path=uri-template *method=GET POST* disableStreaming=
 xs:BOOLEAN
 descriptionxs:string/description
 call-query href=xs:IDREF  /
 with-param name=xs:NMTOKEN /
 query?
 /call-query
 /resource

 According to [1], it seems we do not support (I just tried with 3.1.1 and
 confirmed)

 [1]https://docs.wso2.org/display/DSS300/Data+Services+and+Resources

 Thanks!
 Charitha
 ​




 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DS]Multiple HTTP verbs on same resource path in DSS

2014-04-16 Thread Charitha Kankanamge
H
​i Anjana/DS team,
Do we support defining multiple HTTP verbs on same resource path in DSS?

e.g:-

resource path=uri-template *method=GET POST* disableStreaming=
xs:BOOLEAN
descriptionxs:string/description
call-query href=xs:IDREF  /
with-param name=xs:NMTOKEN /
query?
/call-query
/resource

According to [1], it seems we do not support (I just tried with 3.1.1 and
confirmed)

[1]https://docs.wso2.org/display/DSS300/Data+Services+and+Resources

Thanks!
Charitha
​
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [dev] org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/config/repository/transports/https/listener ESB M4

2013-10-29 Thread Charitha Kankanamge
Can you please confirm if this cacheId param is mandatory for any jdbc
mount in latest C4.2 products?

Charitha Kankanamge
Senior Manager, Technical Support
cell: +94 717 129 752
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Sat, Oct 26, 2013 at 9:24 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 Could you please add the cacheid that seems to be missing. [1]

 cacheIdwso2carbon@jdbc:h2:repository/database/WSO2CARBON_DB/cacheId

 [1]
 http://docs.wso2.org/display/Governance460/Remote+Instance+and+Mount+Configuration+Details

 Thanks



 On Sat, Oct 26, 2013 at 8:50 AM, Dushan Abeyruwan dus...@wso2.com wrote:

 Please  find the registry.xml


 On Sat, Oct 26, 2013 at 9:10 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 I think this is the same exception that you need to mount all worker
 manager separated cluster. [1]

 [1] https://wso2.org/jira/browse/REGISTRY-1746

 Thanks


 On Sat, Oct 26, 2013 at 8:35 AM, Shelan Perera she...@wso2.com wrote:

 Hi Dushan,

 Did you get this in a mounted setup ? If so could you please share the
 registry.xml too.

 Thanks


 On Sat, Oct 26, 2013 at 8:24 AM, Dushan Abeyruwan dus...@wso2.comwrote:

  Same reported under [1] @registry team, what would be the possible
 cause for this ?



 [1] https://wso2.org/jira/browse/ESBJAVA-2574


 On Sat, Oct 26, 2013 at 8:51 PM, Dushan Abeyruwan dus...@wso2.comwrote:

 Hi
   $subject, can be observed when tenet getting loaded,

 ava.lang.RuntimeException: Cannot create tenant ConfigurationContext
 for tenant test.com
  at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:137)
 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantAxisConfiguration(TenantAxisUtils.java:104)
  at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getAxisService(TenantAxisUtils.java:195)
 at
 org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor.process(PassThroughNHttpGetProcessor.java:292)
  at
 org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:156)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)
 Caused by: java.lang.Exception: Error occurred while running
 deployment for tenant
 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:359)
  at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:135)
 * ... 8 more*
 *Caused by:
 org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/config/repository/transports/https/listener*
 * at *
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
  at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:181)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
  at
 org.wso2.carbon.core.transports.TransportPersistenceManager.getTransportResource(TransportPersistenceManager.java:317)
 at
 org.wso2.carbon.core.transports.TransportPersistenceManager.updateEnabledTransports(TransportPersistenceManager.java:248)
  at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:328)
 ... 9 more



 Cheers,
 Dushan Abeyruwan
 Associate Tech Lead
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/*
 *Mobile:(+94)714408632*




 --
 Dushan Abeyruwan
 Associate Tech Lead
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/*
 *Mobile:(+94)714408632*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Shelan Perera*

 Senior Software Engineer
 **
 Integration Technology Group
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Blog* :   blog.shelan.org
 *Linked-i*n  :
 http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402




 --
 *Shelan Perera*

 Senior Software Engineer
 **
 Integration Technology Group
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Blog* :   blog.shelan.org
 *Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402




 --
 Dushan Abeyruwan
 Associate Tech Lead
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/*
 *Mobile:(+94)714408632*




 --
 *Shelan Perera*

 Senior Software Engineer
 **
 Integration Technology Group
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Blog* :   blog.shelan.org
 *Linked-i*n  :   http

Re: [Dev] [dev] org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource does not exist at path /_system/config/repository/transports/https/listener ESB M4

2013-10-29 Thread Charitha Kankanamge
Hi Dushan,
Thanks! But is this cacheId thing mandatory setting in mounting config?

Charitha Kankanamge
Senior Manager, Technical Support
cell: +94 717 129 752
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Tue, Oct 29, 2013 at 10:42 PM, Dushan Abeyruwan dus...@wso2.com wrote:

 Hi Charitha
  Its working ...after setup those patches


 On Tue, Oct 29, 2013 at 10:35 PM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Can you please confirm if this cacheId param is mandatory for any jdbc
 mount in latest C4.2 products?

 Charitha Kankanamge
 Senior Manager, Technical Support
 cell: +94 717 129 752
 http://charithaka.blogspot.com
 *SOA and Testing without nonsense*


 On Sat, Oct 26, 2013 at 9:24 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 Could you please add the cacheid that seems to be missing. [1]

 cacheIdwso2carbon@jdbc:h2:repository/database/WSO2CARBON_DB/cacheId

 [1]
 http://docs.wso2.org/display/Governance460/Remote+Instance+and+Mount+Configuration+Details

 Thanks



 On Sat, Oct 26, 2013 at 8:50 AM, Dushan Abeyruwan dus...@wso2.comwrote:

 Please  find the registry.xml


 On Sat, Oct 26, 2013 at 9:10 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 I think this is the same exception that you need to mount all worker
 manager separated cluster. [1]

 [1] https://wso2.org/jira/browse/REGISTRY-1746

 Thanks


 On Sat, Oct 26, 2013 at 8:35 AM, Shelan Perera she...@wso2.comwrote:

 Hi Dushan,

 Did you get this in a mounted setup ? If so could you please share
 the registry.xml too.

 Thanks


 On Sat, Oct 26, 2013 at 8:24 AM, Dushan Abeyruwan dus...@wso2.comwrote:

  Same reported under [1] @registry team, what would be the possible
 cause for this ?



 [1] https://wso2.org/jira/browse/ESBJAVA-2574


 On Sat, Oct 26, 2013 at 8:51 PM, Dushan Abeyruwan 
 dus...@wso2.comwrote:

 Hi
   $subject, can be observed when tenet getting loaded,

 ava.lang.RuntimeException: Cannot create tenant
 ConfigurationContext for tenant test.com
  at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:137)
 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantAxisConfiguration(TenantAxisUtils.java:104)
  at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getAxisService(TenantAxisUtils.java:195)
 at
 org.wso2.carbon.transport.nhttp.api.PassThroughNHttpGetProcessor.process(PassThroughNHttpGetProcessor.java:292)
  at
 org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:156)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)
 Caused by: java.lang.Exception: Error occurred while running
 deployment for tenant
 at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:359)
  at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:135)
 * ... 8 more*
 *Caused by:
 org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
 Resource does not exist at path
 /_system/config/repository/transports/https/listener*
 * at *
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:532)
  at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:181)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:524)
  at
 org.wso2.carbon.core.transports.TransportPersistenceManager.getTransportResource(TransportPersistenceManager.java:317)
 at
 org.wso2.carbon.core.transports.TransportPersistenceManager.updateEnabledTransports(TransportPersistenceManager.java:248)
  at
 org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.createTenantConfigurationContext(TenantAxisUtils.java:328)
 ... 9 more



 Cheers,
 Dushan Abeyruwan
 Associate Tech Lead
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/*
 *Mobile:(+94)714408632*




 --
 Dushan Abeyruwan
 Associate Tech Lead
 *Integration Technologies Team*
 *WSO2 Inc. http://wso2.com/*
 *Mobile:(+94)714408632*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Shelan Perera*

 Senior Software Engineer
 **
 Integration Technology Group
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Blog* :   blog.shelan.org
 *Linked-i*n  :
 http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402




 --
 *Shelan Perera*

 Senior Software Engineer
 **
 Integration Technology Group
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Blog* :   blog.shelan.org
 *Linked-i*n  :
 http://www.linkedin.com/pub/shelan

Re: [Dev] How to add new JMS parameter from Management Console?

2013-09-07 Thread Charitha Kankanamge
I'm getting the same ClassCastException in the newly released AS-5.2.0 as
well [1].

It seems we have removed the global transport config from the UI but the
service specific config is still there with bugs.

[1]https://wso2.org/jira/browse/WSAS-1616

Charitha Kankanamge
Senior Manager, Technical Support
cell: +94 717 129 752
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Sun, Aug 18, 2013 at 1:22 PM, Isuru Perera isu...@wso2.com wrote:

 Hi,

 $subject.

 This is regarding SO question [1].

 It gives following error:

 [2013-08-18 09:55:24,582] ERROR - AbstractTransportService Error while
 initializing the jms listener
 java.lang.ClassCastException: java.lang.String cannot be cast to
 org.apache.axiom.om.OMElement
 at
 org.apache.axis2.transport.jms.JMSConnectionFactory.init(JMSConnectionFactory.java:79)
 at
 org.apache.axis2.transport.jms.JMSConnectionFactoryManager.loadConnectionFactoryDefinitions(JMSConnectionFactoryManager.java:58)
 at
 org.apache.axis2.transport.jms.JMSConnectionFactoryManager.init(JMSConnectionFactoryManager.java:45)
 at
 org.apache.axis2.transport.jms.JMSListener.doInit(JMSListener.java:58)
 at
 org.apache.axis2.transport.base.AbstractTransportListenerEx.init(AbstractTransportListenerEx.java:62)
 at
 org.wso2.carbon.core.transports.AbstractTransportService.updateGlobalTransportParameters(AbstractTransportService.java:125)
 at
 org.wso2.carbon.transport.mgt.TransportAdmin.updateGloballyDefinedInParameters(TransportAdmin.java:448)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.transport.mgt.stub.TransportAdminStub.updateGloballyDefinedInParameters(TransportAdminStub.java:3676)
 at
 org.wso2.carbon.transport.mgt.ui.TransportAdminClient.updateGloballyDefinedInParameters(TransportAdminClient.java:276)
 at
 org.apache.jsp.transport_002dmgt.update_005ftransport_jsp._jspService(org.apache.jsp.transport_002dmgt.update_005ftransport_jsp:164)
 .
 [2013-08-18 09:55:24,586] ERROR - RPCInOnlyMessageReceiver Error while
 initializing the jms listener
 org.apache.axis2.AxisFault: Error while initializing the jms listener
 at
 org.wso2.carbon.core.transports.AbstractTransportService.updateGlobalTransportParameters(AbstractTransportService.java:131)
 at
 org.wso2.carbon.transport.mgt.TransportAdmin.updateGloballyDefinedInParameters(TransportAdmin.java:448)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77

Re: [Dev] java.nio.channels.ClosedChannelException thrown time to time on ELB console

2013-08-16 Thread Charitha Kankanamge
Hasn't this been fixed yet? I'm getting the same error when working with
management node (accessing service dashboard in AS) in a cluster. I'm using
packs released 2 days back. Isn't this an absolute blocker [1] (I increased
the priority to L1)?

[1]https://wso2.org/jira/browse/LB-74

[2013-08-16 21:24:32,368]  WARN - SourceHandler Illegal incoming connection
state: REQUEST_DONE . Possibly two send backs are happening for the same
request
[2013-08-16 21:24:32,368]  WARN - SourceHandler Trying to write response
body while the handler is in an inconsistent state REQUEST_DONE
[2013-08-16 21:24:32,392] ERROR - SourceHandler Unexpected I/O error:
java.nio.channels.ClosedChannelException
java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:133)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.sendEncryptedData(SSLIOSession.java:331)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:411)
at
org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
at java.lang.Thread.run(Thread.java:662)
[2013-08-16 21:24:32,990]  WARN - SourceHandler Illegal incoming connection
state: REQUEST_DONE . Possibly two send backs are happening for the same
request
[2013-08-16 21:24:32,990]  WARN - SourceHandler Trying to write response
body while the handler is in an inconsistent state REQUEST_DONE
[2013-08-16 21:24:32,990] ERROR - SourceHandler Unexpected I/O error:
java.nio.channels.ClosedChannelException
java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:133)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.sendEncryptedData(SSLIOSession.java:331)
at
org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:411)
at
org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
at java.lang.Thread.run(Thread.java:662)


Charitha Kankanamge
Senior Manager, Technical Support
cell: +94 717 129 752
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Tue, Aug 6, 2013 at 12:04 PM, Evanthika Amarasiri evanth...@wso2.comwrote:

 You can download it from  [1]

 [1] - http://ec2-54-224-94-128.compute-1.amazonaws.com/05-08-2013/

 Regards,
 Evanthika

 On Tue, Aug 6, 2013 at 11:51 AM, Nirmal Fernando nir...@wso2.com wrote:

 Please use the latest trunk ELB. I think you can get it from the QA team.


 On Tue, Aug 6, 2013 at 11:49 AM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 What is the ELB pack I should use to reproduce this?


 On Mon, Aug 5, 2013 at 4:32 PM, Nirmal Fernando nir...@wso2.com wrote:

 Thanks for looking into this.


 On Mon, Aug 5, 2013 at 4:27 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Hi Jeewantha,

 Lets check with a local deployment with the latest packs.


 On Fri, Aug 2, 2013 at 3:39 PM, Nirmal Fernando nir...@wso2.comwrote:

 Hi ESB team,

 Can you please own this passthru transport issue too?


 On Fri, Aug 2, 2013 at 3:36 PM, Nirodha Pramod niro...@wso2.comwrote:

 Hi,

 This issue occurs very frequently now. When this exception
 occurred then the mgt console operations become annoyingly slow. and 
 have
 to restart ELB.

 regards,
 Nirodha




 On Thu, Aug 1, 2013 at 9:10 AM, Nirodha Pramod niro...@wso2.comwrote:

 Hi,

 Observed that this usually happens when working with the mgt
 console operations. Didn't occur much when doing service invocations.

 regards,
 Nirodha


 On Wed, Jul 31, 2013 at 11:38 AM, Evanthika Amarasiri 
 evanth...@wso2.com wrote:

 Hi,

 We see a java.nio.channels.ClosedChannelException on the ELB node
 of a worker manager separated setup time to time. [1]


 TID: [0] [ELB] [2013-07-31 11:23

Re: [Dev] java.nio.channels.ClosedChannelException thrown time to time on ELB console

2013-08-16 Thread Charitha Kankanamge
Sorry.. there is another discussion related to this - [Dev] LB Stabilization
for Kernel 4.2.0 release


Charitha Kankanamge
Senior Manager, Technical Support
cell: +94 717 129 752
http://charithaka.blogspot.com
*SOA and Testing without nonsense*


On Fri, Aug 16, 2013 at 9:31 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hasn't this been fixed yet? I'm getting the same error when working with
 management node (accessing service dashboard in AS) in a cluster. I'm using
 packs released 2 days back. Isn't this an absolute blocker [1] (I increased
 the priority to L1)?

 [1]https://wso2.org/jira/browse/LB-74

 [2013-08-16 21:24:32,368]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-16 21:24:32,368]  WARN - SourceHandler Trying to write response
 body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-16 21:24:32,392] ERROR - SourceHandler Unexpected I/O error:
 java.nio.channels.ClosedChannelException
 java.nio.channels.ClosedChannelException
  at
 sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:133)
  at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.sendEncryptedData(SSLIOSession.java:331)
  at
 org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:411)
  at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
  at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
  at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
  at java.lang.Thread.run(Thread.java:662)
 [2013-08-16 21:24:32,990]  WARN - SourceHandler Illegal incoming
 connection state: REQUEST_DONE . Possibly two send backs are happening for
 the same request
 [2013-08-16 21:24:32,990]  WARN - SourceHandler Trying to write response
 body while the handler is in an inconsistent state REQUEST_DONE
 [2013-08-16 21:24:32,990] ERROR - SourceHandler Unexpected I/O error:
 java.nio.channels.ClosedChannelException
 java.nio.channels.ClosedChannelException
  at
 sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:133)
  at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:324)
 at
 org.apache.http.nio.reactor.ssl.SSLIOSession.sendEncryptedData(SSLIOSession.java:331)
  at
 org.apache.http.nio.reactor.ssl.SSLIOSession.outboundTransport(SSLIOSession.java:411)
  at
 org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:150)
 at
 org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
  at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
 at
 org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
  at
 org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
  at
 org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
  at java.lang.Thread.run(Thread.java:662)


 Charitha Kankanamge
 Senior Manager, Technical Support
 cell: +94 717 129 752
 http://charithaka.blogspot.com
 *SOA and Testing without nonsense*


 On Tue, Aug 6, 2013 at 12:04 PM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

 You can download it from  [1]

 [1] - http://ec2-54-224-94-128.compute-1.amazonaws.com/05-08-2013/

 Regards,
 Evanthika

 On Tue, Aug 6, 2013 at 11:51 AM, Nirmal Fernando nir...@wso2.com wrote:

 Please use the latest trunk ELB. I think you can get it from the QA team.


 On Tue, Aug 6, 2013 at 11:49 AM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 What is the ELB pack I should use to reproduce this?


 On Mon, Aug 5, 2013 at 4:32 PM, Nirmal Fernando nir...@wso2.comwrote:

 Thanks for looking into this.


 On Mon, Aug 5, 2013 at 4:27 PM, Kasun Indrasiri ka...@wso2.comwrote:

 Hi Jeewantha,

 Lets check with a local deployment with the latest packs.


 On Fri, Aug 2, 2013 at 3:39 PM, Nirmal Fernando nir...@wso2.comwrote:

 Hi ESB team,

 Can you please own this passthru transport issue too?


 On Fri, Aug 2, 2013 at 3:36 PM, Nirodha Pramod niro...@wso2.comwrote:

 Hi,

 This issue occurs very frequently now. When this exception
 occurred then the mgt console operations become annoyingly slow. and 
 have
 to restart ELB.

 regards,
 Nirodha




 On Thu, Aug 1, 2013 at 9:10 AM, Nirodha Pramod niro...@wso2

Re: [Dev] ConfigRegistry in CC is null - Error while retrieving config registry from Axis configuration

2013-08-14 Thread Charitha Kankanamge
This is not fixed. I came across the same issue when shutting down
management node in a WM separated Application Server cluster.
(I cannot report a jira since I'm getting an authentication failure when
trying to log in to OT jira)


On Wed, Jul 10, 2013 at 5:06 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi,

 Noticed following error when shutting down latest AS pack.  This happened
 when tomcat session replication was enabled. I didn't notice it in a fresh
 pack! I also noticed this in service-mgt unit tests where the config
 registry retrieved via carbon context was null. Can someone please check it
 out?

 osgi [2013-07-10 17:00:49,469] ERROR
 {org.wso2.carbon.core.persistence.AbstractPersistenceManager} -  Error
 while retrieving config registry from Axis configuration
 java.lang.NullPointerException
  at
 org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:432)
 at
 org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:413)
  at
 org.wso2.carbon.context.PrivilegedCarbonContext.getCurrentContext(PrivilegedCarbonContext.java:145)
 at
 org.wso2.carbon.core.persistence.AbstractPersistenceManager.init(AbstractPersistenceManager.java:118)
  at
 org.wso2.carbon.core.transports.TransportPersistenceManager.init(TransportPersistenceManager.java:62)
 at
 org.wso2.carbon.transport.jms.internal.JMSTransportServiceComponent.activate(JMSTransportServiceComponent.java:68)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
  at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
  at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
  at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
  at
 org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
 at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:74)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
  at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
  at
 

Re: [Dev] Has caching throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
IIRC, the happy paths of throttling have been tested in C4 release (August
2012). However, a complete functional test has not been done.


On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez az...@wso2.com wrote:

 $subject

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Has caching throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
This cannot be true. Isuru S has closed
https://wso2.org/jira/browse/STRATOS-686 saying that he cannot reproduce
and mentioned that access throttling worked in AS MT mode. So, it may have
been broken in later release. Let me check in SLive now.

/Charitha


On Fri, Jul 12, 2013 at 11:09 AM, Afkham Azeez az...@wso2.com wrote:

 But the throttling  caching code doesn't look like it supports MT


 On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 IIRC, the happy paths of throttling have been tested in C4 release
 (August 2012). However, a complete functional test has not been done.


 On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez az...@wso2.com wrote:

 $subject

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*





 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Has caching throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
Works in SLive. You can try with
http://appserver.stratoslive.wso2.com/services/t/superqa.com/Axis2Service?wsdl
Currently throttling is not distributed in cluster and it applies per node.
Hence, your quota will be exceeded once you send 10 requests to the
service.


On Fri, Jul 12, 2013 at 11:16 AM, Charitha Kankanamge chari...@wso2.comwrote:

 This cannot be true. Isuru S has closed
 https://wso2.org/jira/browse/STRATOS-686 saying that he cannot reproduce
 and mentioned that access throttling worked in AS MT mode. So, it may have
 been broken in later release. Let me check in SLive now.

 /Charitha


 On Fri, Jul 12, 2013 at 11:09 AM, Afkham Azeez az...@wso2.com wrote:

 But the throttling  caching code doesn't look like it supports MT


 On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 IIRC, the happy paths of throttling have been tested in C4 release
 (August 2012). However, a complete functional test has not been done.


 On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez az...@wso2.com wrote:

 $subject

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*





 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] supporting config files for 3rd party jars

2013-07-10 Thread Charitha Kankanamge
What is the verdict on this? Can we have log4j.properties file in conf
directory? In 4.2.X based products, we have it
in repository/conf/bundle-config/org.wso2.carbon.logging

/Charitha

On Tue, Jun 25, 2013 at 6:42 PM, Suresh Attanayaka sur...@wso2.com wrote:

 Hi Pradeep,

 On Sun, Jun 16, 2013 at 12:46 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 I implemented the $subject. Little complication.

 log4j.properties file also belongs to the above category. the
 log4j.properties file goes in to


 /repository/conf/bundle-config/org.wso2.carbon.logging

 directory. Will that be a problem ?


 I think Yes. This file is being used often in dev environments, so moving
 this file into a deeper path would not be convenient. And users see this as
 a config of the carbon server than of a third party jar. So let's keep the
 log4j.properties file in the config folder.

 Thanks,
 -Suresh


 If we want to avoid that we have to handle log4j.properties file
 separately.

 btw, this mechanism will work for UI bundle localization as well.

 thanks,
 --Pradeep



 On Sun, May 12, 2013 at 6:49 AM, Shelan Perera she...@wso2.com wrote:

 +1. This will be the solution for axiom coalescing problem too.(to
 preserve cdata we need to have a config file).

 ~sent from mobile~
 On May 11, 2013 11:56 AM, Nuwan Bandara nu...@wso2.com wrote:

 +1 for this, we need this to separate shindig properties files

 thanks,
 /Nuwan


 On Fri, May 10, 2013 at 6:15 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 +1 for having this. This is a very valid requirement for AS side.

 On Fri, May 10, 2013 at 6:09 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 Some of the 3 rd party jars search config files from their classPath.
 However due to one loader per bundle policy of OSGi, the class path is
 fragmented. There are two options to solve this issue,

 - use absolute paths
 - use fragment bundles

 the latter option,

 say if the bundle foo needs config file bar.xml. How about user
 creates a directory named 'foo' under conf directory and put the config
 file there. During the startup, we create new fragment bundle out of
 bar.xml and attach it to bundle foo.


 we are doing similar thing in log4j.properties file. but the approach
 is not generic at the moment. WDYT ?

 +1,
 IMO directory should be /conf/etc/foo or conf/xxx/foo.

 thanks,



 --Pradeep



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Associate Technical Lead  Member, MC, Development Technologies
 WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
 blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

 ___
 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




 --
 *Pradeep Fernando*
 Associate Technical Lead;WSO2 Inc.; http://wso2.com

 blog: http://pradeepfernando.blogspot.com
 m: +94776603662

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Suresh Attanayake
 Senior Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Web : http://www.ssoarcade.com/
 Facebook : https://www.facebook.com/IdentityWorld
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060
 Mobile : +01-616-617-1172

 ___
 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] supporting config files for 3rd party jars

2013-07-10 Thread Charitha Kankanamge
Thanks a lot Sameera


On Wed, Jul 10, 2013 at 2:40 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Charitha,

 In Carbon 4.2.0 release, you will find the log4j.properties file in the
 repository/conf directory.

 Thanks,
 Sameera.


 On Wed, Jul 10, 2013 at 2:14 PM, Charitha Kankanamge chari...@wso2.comwrote:

 What is the verdict on this? Can we have log4j.properties file in conf
 directory? In 4.2.X based products, we have it
 in repository/conf/bundle-config/org.wso2.carbon.logging

 /Charitha

 On Tue, Jun 25, 2013 at 6:42 PM, Suresh Attanayaka sur...@wso2.comwrote:

 Hi Pradeep,

 On Sun, Jun 16, 2013 at 12:46 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 I implemented the $subject. Little complication.

 log4j.properties file also belongs to the above category. the
 log4j.properties file goes in to


 /repository/conf/bundle-config/org.wso2.carbon.logging

 directory. Will that be a problem ?


 I think Yes. This file is being used often in dev environments, so
 moving this file into a deeper path would not be convenient. And users see
 this as a config of the carbon server than of a third party jar. So let's
 keep the log4j.properties file in the config folder.

 Thanks,
 -Suresh


 If we want to avoid that we have to handle log4j.properties file
 separately.

 btw, this mechanism will work for UI bundle localization as well.

 thanks,
 --Pradeep



 On Sun, May 12, 2013 at 6:49 AM, Shelan Perera she...@wso2.com wrote:

 +1. This will be the solution for axiom coalescing problem too.(to
 preserve cdata we need to have a config file).

 ~sent from mobile~
 On May 11, 2013 11:56 AM, Nuwan Bandara nu...@wso2.com wrote:

 +1 for this, we need this to separate shindig properties files

 thanks,
 /Nuwan


 On Fri, May 10, 2013 at 6:15 PM, Supun Malinga sup...@wso2.comwrote:

 Hi,

 +1 for having this. This is a very valid requirement for AS side.

 On Fri, May 10, 2013 at 6:09 PM, Pradeep Fernando 
 prad...@wso2.comwrote:

 Hi,

 Some of the 3 rd party jars search config files from their
 classPath. However due to one loader per bundle policy of OSGi, the 
 class
 path is fragmented. There are two options to solve this issue,

 - use absolute paths
 - use fragment bundles

 the latter option,

 say if the bundle foo needs config file bar.xml. How about user
 creates a directory named 'foo' under conf directory and put the config
 file there. During the startup, we create new fragment bundle out of
 bar.xml and attach it to bundle foo.


 we are doing similar thing in log4j.properties file. but the
 approach is not generic at the moment. WDYT ?

 +1,
 IMO directory should be /conf/etc/foo or conf/xxx/foo.

 thanks,



 --Pradeep



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Thanks  Regards,

 Nuwan Bandara
 Associate Technical Lead  Member, MC, Development Technologies
 WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
 blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11
 763 9629
 *
 http://www.nuwanbando.com/

 ___
 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




 --
 *Pradeep Fernando*
 Associate Technical Lead;WSO2 Inc.; http://wso2.com

 blog: http://pradeepfernando.blogspot.com
 m: +94776603662

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Suresh Attanayake
 Senior Software Engineer; WSO2 Inc. http://wso2.com/
 Blog : http://sureshatt.blogspot.com/
 Web : http://www.ssoarcade.com/
 Facebook : https://www.facebook.com/IdentityWorld
 Twitter : https://twitter.com/sureshatt
 LinkedIn : http://lk.linkedin.com/in/sureshatt
 Mobile : +94755012060
 Mobile : +01-616-617-1172

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jmeter testsuite for SCIM CRUD API

2013-07-01 Thread Charitha Kankanamge
I added the Jmeter test [1] for CRUD operations in SCIM api.

[1]
https://svn.wso2.org/repos/wso2/trunk/commons/qa/qa-artifacts/is/is450/jmeter/scim/SCIMTestPlan.jmx

IS folks, let's continue to improve this test suite by adding more tests.

Thanks!
Charitha


On Mon, Jul 1, 2013 at 10:59 AM, Dinuka Malalanayake dinu...@wso2.comwrote:

 Hi Charith,

 No we don't have the jmeter clients :(


 On Mon, Jul 1, 2013 at 10:55 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi Dinuka,
 Any update on this? Please let me know if we already have SCIM test suite.


 On Fri, Jun 28, 2013 at 1:49 PM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Hi Dinuka,
 If we already have @subject, can you please send me the location? If we
 do not have, we should create a test suite since SCIM REST calls can be
 automated straight-forward manner.

 Thanks!
 Charitha





 --
 Thanks,
 Dinuka Malalanayake
 *Software Engineer*, WSO2, Inc.; http://www.wso2.com,
 *Linked In* : http://lk.linkedin.com/pub/dinuka-malalanayake/24/438/169
 *Blog* : http://malalanayake.wordpress.com/
 *Contact*  : 0772508354 , dinuka.malalanay...@gmail.com   *Skype *:
 dinuka_malalanayake

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SAML2 SSO based login fails with IS-4.5.0-M4 as IdP and ESB-4.7 as service provider

2013-06-25 Thread Charitha Kankanamge
I was trying to configure SSO with IS-4.5.0-M4 as IdP and ESB-4.7 latest QA
build as the service provider. When trying to login to ESB through the SSO
page, I got the following error in ESB console.

[2013-06-25 19:11:50,006] ERROR - SSOAssertionConsumerService Error when
processing the SAML Assertion in the request.
org.wso2.carbon.identity.authenticator.saml2.sso.common.SAML2SSOUIAuthenticatorException:
Error when decoding the SAML Request.
at
org.wso2.carbon.identity.authenticator.saml2.sso.common.Util.decode(Util.java:207)
at
org.wso2.carbon.identity.authenticator.saml2.sso.ui.SSOAssertionConsumerService.doPost(SSOAssertionConsumerService.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.util.zip.ZipException: unknown compression method
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at
org.wso2.carbon.identity.authenticator.saml2.sso.common.Util.decode(Util.java:197)
... 30 more


Has anyone experienced a similar issue before? I'm not sure this is due to
some incompatibilities between two versions (ESB-4.7 and IS-4.5).

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Axis2 Multipart/Form-Data Builder

2013-05-07 Thread Charitha Kankanamge
Hi Ravi,

On Tue, Apr 16, 2013 at 2:46 PM, Sagara Gunathunga sag...@wso2.com wrote:





 On Tue, Apr 16, 2013 at 1:08 PM, Ravi Undupitiya r...@wso2.com wrote:

 Hello,


 I'm trying to move the multipart/from-data builder to work without the
 use of Servlets so that this format can be used in the regular transports.

 To do this, I implemented a class of the apache commons-fileupload
 RequestContext which requires the following:

 1.) Raw input stream.
 2.) Content length.
 3.) Charset encoding.

 I had an offline chat with Sagara regarding this and he recommended we
 set 2 and 3 inside the transports and that builders are meant to look up
 this information using the message context.


 Other than the issue you are trying fix there is another design problem
 with above builder class, it use some HTTPServlet specific codes within the
 builder class which result into builder only usable with Servlet transport
 only. Basically Builders/Formatters are independent from any transport. As
 I mentioned following should be the correct approach.

 1. Remove those Servlet specific ( or any other transport specific) code
 from above builder class instead builder methods should try to get above 3
 properties from MC if not found them on MC throw an exception. You don't
 need to introduce new class for this.

 2. Underline transport should read above 2 or 3 values from transport
 headers and should write to MC so that builder can use those values.

 You need to test your modifications for both NHTTP and Servlet
 transports.  Also make sure to merge this change to current active branch
 as well.


Have we committed these changes to current branch?




 Thanks !



 So to start, I will add 2 and 3 to the message context inside the Axis2
 HTTP transport.

 Please advise if there are any problems with what is proposed above.



 Thanks,
 Ravi

 --
 *Ravi Undupitiya*
 Software Engineer; WSO2 Inc.; http://wso2.com
 *
 *
 *E-mail: r...@wso2.com
 **M: **+94 772 930 712*
 *
 *Lean . Enterprise . Middleware




 --
 Sagara Gunathunga

 Technical Lead; WSO2, Inc.;  http://wso2.com
 V.P Apache Web Services;http://ws.apache.org/
 Linkedin; http://www.linkedin.com/in/ssagara
 Blog ;  http://ssagara.blogspot.com


 ___
 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] Stats are not updated for one-way JMS messaging in ESB

2013-04-18 Thread Charitha Kankanamge
Hi ESB team,

Can we please fix this issue in next ESB release? (ESB-4.7.0). This is an
absolute blocker. I think this is applicable for all non HTTP/HTTPS
transports.

[1]https://wso2.org/jira/browse/ESBJAVA-1887

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Preserve User-Agent HTTP header by default in ESB

2013-02-08 Thread Charitha Kankanamge
Currently, ESB alters the User-Agent header of the inbound request and
sets Synapse-HttpComponents-NIO as the User-Agent header. We can change
this behavior by adding http.user.agent.preserve=true property in
nhttp.properties file.
Can we ship ESB by enabling this property so that the User-Agent is
preserved by default?

Reported [1]https://wso2.org/jira/browse/ESBJAVA-1795

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] /_system/config space cannot be mounted in APIM

2012-12-12 Thread Charitha Kankanamge
Hi APIM team,
Please fix [1] for the next release. AFAIK, it is a blocker which we did
not uncover in previous releases.

[1]https://wso2.org/jira/browse/APIMANAGER-869

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] /_system/config space cannot be mounted in APIM

2012-12-12 Thread Charitha Kankanamge
Thanks Sumedha



On Wed, Dec 12, 2012 at 9:03 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 AmilaD is already attending to this.


 On Wed, Dec 12, 2012 at 8:59 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi APIM team,
 Please fix [1] for the next release. AFAIK, it is a blocker which we did
 not uncover in previous releases.

 [1]https://wso2.org/jira/browse/APIMANAGER-869

 Thanks!
 Charitha




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] 4.0.3 - 31/10/2012 product builds

2012-10-31 Thread Charitha Kankanamge
**BRS team,
Please make sure to fix the license file since the purpose of releasing BRS
with Carbon-4.0.3 is the issues in license in previous release. I can still
find obsolete versions in license. For example, we have
org.wso2.carbon.rule.backend_4.0.3.jar in repository/components/plugins but
org.wso2.carbon.rule.backend_4.0.2 version is listed in license.

Thanks!
Charitha

On Wed, Oct 31, 2012 at 12:16 PM, Rajika Kumarasiri raj...@wso2.com wrote:

 http://builder3.us1.wso2.org/builds/31-oct-2012/
 ___
 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] Broken DepSync in stratos dev setup

2012-10-24 Thread Charitha Kankanamge
With proper svn kit, I did not get the svn error. However, the services are
still not synced between worker/manager nodes.

You can see that Axis2Service.aar is not in worker. Checked the logs with
Afkham but could not find any suspicious error.

Tenant 9 services directory of Manager node
=
root@stratosdev006:/mnt/192.168.4.123/wso2as-5.0.1/repository/tenants# tree
9
9
├── axis2modules
├── axis2services
│   ├── Axis2ContractFirstService.aar
│   └── Axis2Service.aar
├── ghostmetafiles
│   └── ghostServices
│   ├── _axis2services_Axis2ContractFirstService.xml
│   └── _axis2services_Axis2Service.xml


Tenant 9 services directory of worker node

root@stratosdev007:/mnt/192.168.4.124/wso2as-5.0.1/repository/tenants# tree
9
9
├── axis2modules
├── axis2services
│   └── Axis2ContractFirstService.aar
├── ghostmetafiles
│   └── ghostServices
│   └── _axis2services_Axis2ContractFirstService.xml




On Wed, Oct 24, 2012 at 11:27 AM, Chamith Kumarage cham...@wso2.com wrote:

  Looks like we have done a rm instead of svn rm and older jars have
 restored in the repo somehow. Restarted services with the proper
 svnkit-bundle-1.0.0.jar


 On 10/24/2012 10:44 AM, Samisa Abeysinghe wrote:

 It seems the deployment is broken and cluttered all garbage in there.
 DevOps please clean the system and get it right.

  If this was not broken in products, this cannot be broken in services.

  On Wed, Oct 24, 2012 at 10:42 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 It seems we are; but there are multiple svnkit bundles inside dropins.

 root@stratosdev007:/mnt/
 192.168.4.124/wso2as-5.0.1/repository/components/dropins# ls -la
 total 8164
 drwxr-xr-x  2 root root4096 Oct 23 17:46 .
 drwxr-xr-x 10 root root4096 Oct 23 20:12 ..
 -rw-r--r--  1 root root  729849 Oct 23 20:12
 mysql_connector_java_5.1.12_bin_1.0.0.jar
 -rw-r--r--  1 root root2778 Oct 23 20:12
 org.wso2.carbon.logging.propfile_1.0.0.jar
 -rw-r--r--  1 root root 1934391 Oct 23 20:12 svnkit_1.0.0.jar
 -rw-r--r--  1 root root 2700618 Oct 23 20:12 svnkit_bundle_1.0.0_1.0.0.jar
 -rwxr-xr-x  1 root root 2954568 Oct 23 17:45 svnkit-bundle-1.0.0.jar

 /Charitha



 On Wed, Oct 24, 2012 at 10:38 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 Looks like we are not using svn kit??

  On Wed, Oct 24, 2012 at 10:31 AM, Charitha Kankanamge 
 chari...@wso2.com wrote:

  @Subject.

 1. Created a new tenant in https://stratosdev.private.wso2.com
 2. Logged into Application server service
 3. Deploy a web service (AAR)
 4. Access ?wsdl. You get 404

 Check worker logs. You will see the following errors are continuously
 thrown.

 TID: [0] [AS] [2012-10-24 13:18:15,101] ERROR
 {org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository}
 -  Error while checking out or updating artifacts from the SVN repository
 {org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository}
 org.tigris.subversion.svnclientadapter.SVNClientException:
 org.tigris.subversion.javahl.ClientException: svn: Directory '/mnt/
 192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
 containing working copy admin area is missing
 at
 org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.revert(AbstractJhlClientAdapter.java:1163)
 at
 org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:299)
 at
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:174)
 at
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:86)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:130)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:99)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)
 Caused by: org.tigris.subversion.javahl.ClientException: svn: Directory
 '/mnt/
 192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
 containing working copy admin area is missing
 at
 org.tigris.subversion.javahl.JavaHLObjectFactory.throwException

[Dev] Broken DepSync in stratos dev setup

2012-10-23 Thread Charitha Kankanamge
@Subject.

1. Created a new tenant in https://stratosdev.private.wso2.com
2. Logged into Application server service
3. Deploy a web service (AAR)
4. Access ?wsdl. You get 404

Check worker logs. You will see the following errors are continuously
thrown.

TID: [0] [AS] [2012-10-24 13:18:15,101] ERROR
{org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository}
-  Error while checking out or updating artifacts from the SVN repository
{org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository}
org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.javahl.ClientException: svn: Directory '/mnt/
192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
containing working copy admin area is missing
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.revert(AbstractJhlClientAdapter.java:1163)
at
org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:299)
at
org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:174)
at
org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:86)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:130)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:99)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.tigris.subversion.javahl.ClientException: svn: Directory
'/mnt/
192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
containing working copy admin area is missing
at
org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:571)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:560)
at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.revert(AbstractJhlClientAdapter.java:1160)
... 13 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: Directory '/mnt/
192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
containing working copy admin area is missing
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.retrieve(SVNWCAccess.java:681)
at
org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeRetrieve(SVNWCAccess.java:446)
at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3316)
at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3434)
at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3434)
at org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1897)
at
org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:567)
... 15 more

http://stackoverflow.com/questions/1394076/how-to-fix-containing-working-copy-admin-area-is-missing-in-svn
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Broken DepSync in stratos dev setup

2012-10-23 Thread Charitha Kankanamge
It seems we are; but there are multiple svnkit bundles inside dropins.

root@stratosdev007:/mnt/
192.168.4.124/wso2as-5.0.1/repository/components/dropins# ls -la
total 8164
drwxr-xr-x  2 root root4096 Oct 23 17:46 .
drwxr-xr-x 10 root root4096 Oct 23 20:12 ..
-rw-r--r--  1 root root  729849 Oct 23 20:12
mysql_connector_java_5.1.12_bin_1.0.0.jar
-rw-r--r--  1 root root2778 Oct 23 20:12
org.wso2.carbon.logging.propfile_1.0.0.jar
-rw-r--r--  1 root root 1934391 Oct 23 20:12 svnkit_1.0.0.jar
-rw-r--r--  1 root root 2700618 Oct 23 20:12 svnkit_bundle_1.0.0_1.0.0.jar
-rwxr-xr-x  1 root root 2954568 Oct 23 17:45 svnkit-bundle-1.0.0.jar

/Charitha


On Wed, Oct 24, 2012 at 10:38 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Looks like we are not using svn kit??

 On Wed, Oct 24, 2012 at 10:31 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 @Subject.

 1. Created a new tenant in https://stratosdev.private.wso2.com
 2. Logged into Application server service
 3. Deploy a web service (AAR)
 4. Access ?wsdl. You get 404

 Check worker logs. You will see the following errors are continuously
 thrown.

 TID: [0] [AS] [2012-10-24 13:18:15,101] ERROR
 {org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository}
 -  Error while checking out or updating artifacts from the SVN repository
 {org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository}
 org.tigris.subversion.svnclientadapter.SVNClientException:
 org.tigris.subversion.javahl.ClientException: svn: Directory '/mnt/
 192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
 containing working copy admin area is missing
 at
 org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.revert(AbstractJhlClientAdapter.java:1163)
 at
 org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:299)
 at
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:174)
 at
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:86)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:130)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:99)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:722)
 Caused by: org.tigris.subversion.javahl.ClientException: svn: Directory
 '/mnt/
 192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
 containing working copy admin area is missing
 at
 org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777)
 at
 org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850)
 at
 org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:571)
 at
 org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:560)
 at
 org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.revert(AbstractJhlClientAdapter.java:1160)
 ... 13 more
 Caused by: org.tmatesoft.svn.core.SVNException: svn: Directory '/mnt/
 192.168.4.124/wso2as-5.0.1/repository/deployment/server/jaxwebapps/.svn'
 containing working copy admin area is missing
 at
 org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
 at
 org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
 at
 org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.retrieve(SVNWCAccess.java:681)
 at
 org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeRetrieve(SVNWCAccess.java:446)
 at
 org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3316)
 at
 org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3434)
 at
 org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:3434)
 at
 org.tmatesoft.svn.core.wc.SVNWCClient.doRevert(SVNWCClient.java:1897)
 at
 org.tmatesoft.svn.core.javahl.SVNClientImpl.revert(SVNClientImpl.java:567)
 ... 15 more


 http://stackoverflow.com/questions/1394076/how-to-fix-containing-working-copy-admin-area-is-missing-in-svn



 ___
 Dev mailing

Re: [Dev] Need of having BAM data publisher features in ESB by default

2012-10-15 Thread Charitha Kankanamge
+1!

/Charitha


On Mon, Oct 15, 2012 at 3:45 PM, Chamara Ariyarathne chama...@wso2.comwrote:

 https://wso2.org/jira/browse/ESBJAVA-1658

 --
 *Chamara Ariyarathne*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; *+94772786766*


 ___
 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] Feature manager is slow

2012-10-12 Thread Charitha Kankanamge
We still see this issue in the latest packs. We need to fix this or
recommend users to disable LT when installing P2-features.

/Charitha

On Fri, Oct 12, 2012 at 8:22 AM, Amila Suriarachchi am...@wso2.com wrote:

 I think we need to thing the problem from the beginning.

 We use this dual channel technique for this to avoid http connection time
 outs. We use addressing order to send the reply in a separate channel
 (using addressing replyTo header) to avoid time outs of thread that invokes
 the stub.

 With local transport we don't have such time outs. We can send and receive
 in the same thread as in any other local transport call.

 thanks,
 Amila.


 On Fri, Oct 12, 2012 at 7:55 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,
 what if we populate the carbonContext upon receiving the context. This
 is the exact thing that happens in servletTransport
 (CarbonContextCreator).

 The context information get lost due to spawning of a another thread.
 The other workaround would be to set the existing CarbonContextDetails
 (taken from the front-end side) to the messageContext, since the
 getCurrentContext looks at other scopes first before retrieving from
 the thread local. I think prabath did something similar to this , to
 restore missing headers. (with localTransport)

 All the above things should be only applied after localTransport check.

 just my thoughts,

 --Pradeep




 --
 *Amila Suriarachchi*

 Software Architect
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 71 3082805


 ___
 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] Why do we have synapse-samples_2.1.0.wso2v8.jar in AS-5.0.1?

2012-10-10 Thread Charitha Kankanamge
Hi,

@Subject. I can see the above jar in plugins directory.

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Automation tests as a deliverable artifact

2012-10-09 Thread Charitha Kankanamge
This will be a very important addition to the automation framework which
will help to launch tests against any setup easily. Thanks Krishantha.

/Charitha

On Tue, Oct 9, 2012 at 1:02 PM, Krishantha Samaraweera
krishan...@wso2.comwrote:

 Hi,

 I'm working on $subject to package all product integration tests as a
 distribution and make it available to run OOB with any platform (Stratos or
 product).

 So the users can download the distribution then point it to product or
 Stratos setup and run. This will reduce the time taken to setup the
 framework. TestNG ant task will be used to run the integration or platform
 tests jars. I have just evaluated the TestNG ant task usage with our
 integration test jars and it was successful. I have been parameterizing the
 build.xml to run individual test classes and methods etc based on the input
 arguments.

 The Clarity test distribution will be build after building all products
 with integration tests.

 Thanks,
 Krishantha.

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WS-Sec policies attached at HTTP binding level in service meta files

2012-10-09 Thread Charitha Kankanamge
Hi KasunG,

See [1], ws-sec policies (assymetric binding policy) are attached at HTTP
binding level in addition to SOAP11 and SOAP12 bindings, which is wrong.
(Not a regression bug in 4.0.1, we can fix this later if this does not
affect functionality)

[1]https://wso2.org/jira/browse/WSAS-1083

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regression bug in 4.0.1 - QoS configs are not replicated across cluster nodes

2012-10-03 Thread Charitha Kankanamge
On Wed, Oct 3, 2012 at 6:44 PM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Wed, Oct 3, 2012 at 6:23 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Lakmali is doing a build. Still in svn update. This will be without tests.


 Well, no point of builder packs built without tests.


+1.



 thanks.


 On Wed, Oct 3, 2012 at 6:12 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 We need a fresh build of all packs - please request for a build trigger.


 On Wed, Oct 3, 2012 at 6:04 PM, Supun Malinga sup...@wso2.com wrote:



 On Wed, Oct 3, 2012 at 5:05 PM, Kishanthan Thangarajah 
 kishant...@wso2.com wrote:



 On Wed, Oct 3, 2012 at 5:01 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Found the issue. This happens because the service is in ghost mode
 when the metadata deployer tries to apply policies to it. That's whats 
 been
 causing NPEs. We need to check if ghost and deploy the actual service to
 fix the issue.

 Fixed!.

 thanks,


 Yes that should be fix for this. The reason for this issues is due to,
 at initial start-up, all the services in worker node will be deployed as
 ghosts. Because now we are synching ghost meta files also with dep synch.
 This was not the case with 5.0.0.


 thanks,


 On Wed, Oct 3, 2012 at 10:28 AM, Supun Malinga sup...@wso2.comwrote:

 Hi,

 Quick update.
 Issue was only reproducible in QA setup. I debugged into a QA setup
 worker. When the metafile is updated via depsync in worker,
 metadatadeployer calls handleexisting service init method for the
 particular service we apply QoS policy. There when getting binding 
 policies
 for the axis service, all bindings are null. That's what causing the 
 NPE. I
 couldn't find a probable cause for this yet. Need to investigate 
 further.
 Kasung, any thoughts/reasons why bindings are getting null?

 thanks,


 On Tue, Oct 2, 2012 at 4:59 PM, Charitha Kankanamge 
 chari...@wso2.com wrote:

 On Tue, Oct 2, 2012 at 4:45 PM, Supun Malinga sup...@wso2.comwrote:

 Hi,

 On Tue, Oct 2, 2012 at 4:28 PM, Charitha Kankanamge 
 chari...@wso2.com wrote:

 Hi,

 In Appserver worker/manager separated cluster setup, when I
 applied a security policy to an Axis2Service, the following error is 
 thrown
 in worker nodes. Because of this, the changes done in manager node 
 do not
 get replicated across worker nodes.

 see https://wso2.org/jira/browse/WSAS-1075

 TID: [] [WSO2 Application Server] [2012-10-02 16:17:03,077]  INFO
 {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} -  
 Received
 [SynchronizeRepositoryRequest{tenantId=-1234, 
 tenantDomain='carbon.super',
 messageId=926935dc-047f-4e53-930b-49370fcdeca9}]
 {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest}
 TID: [] [WSO2 Application Server] [2012-10-02 16:17:09,135]  INFO
 {org.wso2.carbon.utils.deployment.GhostDeployer} -  Undeploying file 
 : /mnt/
 192.168.4.147/wso2as-5.0.1/repository/deployment/server/servicemetafiles/BankService.xml


 can you please attach the  BankService.xml ?


 Attached here with.



 {org.wso2.carbon.utils.deployment.GhostDeployer}
 TID: [] [WSO2 Application Server] [2012-10-02 16:17:09,137]  INFO
 {org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
 -  Service Meta Deployer - BankService
 {org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
 TID: [] [WSO2 Application Server] [2012-10-02 16:17:09,146] ERROR
 {org.wso2.carbon.core.persistence.AbstractPersistenceManager} -  
 Unable to
 handle service initialization. Service: BankService
 {org.wso2.carbon.core.persistence.AbstractPersistenceManager}
 java.lang.NullPointerException
 at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleExistingServiceInit(ServicePersistenceManager.java:528)
 at
 org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer.deploy(PersistenceMetaDataDeployer.java:96)
 at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:123)
 at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
 at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
 at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:63)
 at
 org.wso2

[Dev] WSO2 Committers += Sandapa Handakumbura

2012-10-02 Thread Charitha Kankanamge
Hi Folks,

Its my pleasure to welcome Sandapa Handakumbura as a WSO2 Committer.
Sandapa has made some great contributions to WSO2 Carbon platform,
specially ESB, API-M, G-reg and Application Server products during the last
few months. In recognition of her commitment and contributions, all-MC has
voted Sandapa as a committer.

Sandapa, welcome aboard and keep up the good work.

Thanks,
Charitha

Charitha Kankanamge
cell: +94 718 359 265
http://charithaka.blogspot.com
*SOA and Testing without nonsense*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Regression bug in 4.0.1 - QoS configs are not replicated across cluster nodes

2012-10-02 Thread Charitha Kankanamge
Hi,

In Appserver worker/manager separated cluster setup, when I applied a
security policy to an Axis2Service, the following error is thrown in worker
nodes. Because of this, the changes done in manager node do not get
replicated across worker nodes.

see https://wso2.org/jira/browse/WSAS-1075

TID: [] [WSO2 Application Server] [2012-10-02 16:17:03,077]  INFO
{org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} -  Received
[SynchronizeRepositoryRequest{tenantId=-1234, tenantDomain='carbon.super',
messageId=926935dc-047f-4e53-930b-49370fcdeca9}]
{org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest}
TID: [] [WSO2 Application Server] [2012-10-02 16:17:09,135]  INFO
{org.wso2.carbon.utils.deployment.GhostDeployer} -  Undeploying file : /mnt/
192.168.4.147/wso2as-5.0.1/repository/deployment/server/servicemetafiles/BankService.xml{org.wso2.carbon.utils.deployment.GhostDeployer}
TID: [] [WSO2 Application Server] [2012-10-02 16:17:09,137]  INFO
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
-  Service Meta Deployer - BankService
{org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer}
TID: [] [WSO2 Application Server] [2012-10-02 16:17:09,146] ERROR
{org.wso2.carbon.core.persistence.AbstractPersistenceManager} -  Unable to
handle service initialization. Service: BankService
{org.wso2.carbon.core.persistence.AbstractPersistenceManager}
java.lang.NullPointerException
at
org.wso2.carbon.core.persistence.ServicePersistenceManager.handleExistingServiceInit(ServicePersistenceManager.java:528)
at
org.wso2.carbon.core.persistence.file.deployer.PersistenceMetaDataDeployer.deploy(PersistenceMetaDataDeployer.java:96)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:123)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:63)
at
org.wso2.carbon.core.CarbonAxisConfigurator.runDeployment(CarbonAxisConfigurator.java:419)
at
org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest.doDeployment(SynchronizeRepositoryRequest.java:74)
at
org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest.execute(SynchronizeRepositoryRequest.java:67)
at
org.apache.axis2.clustering.tribes.RpcMessagingHandler.replyRequest(RpcMessagingHandler.java:55)
at
org.apache.catalina.tribes.group.RpcChannel.messageReceived(RpcChannel.java:134)
at
org.apache.axis2.clustering.tribes.Axis2GroupChannel.messageReceived(Axis2GroupChannel.java:79)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:84)
at
org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.messageReceived(NonBlockingCoordinator.java:512)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:84)
at
org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor.messageReceived(TcpPingInterceptor.java:162)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:84)
at
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.messageReceived(TcpFailureDetector.java:113)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:84)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:84)
at
org.apache.catalina.tribes.group.interceptors.DomainFilterInterceptor.messageReceived(DomainFilterInterceptor.java:45)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:84)
at
org.apache.axis2.clustering.tribes.AtMostOnceInterceptor.messageReceived(AtMostOnceInterceptor.java:67)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:84)
at
org.apache.catalina.tribes.group.interceptors.OrderInterceptor.messageReceived(OrderInterceptor.java:101)
at
org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:84)

Re: [Dev] Where do we store Car files in latest carbon packs?

2012-08-24 Thread Charitha Kankanamge
 As per the new CApp deployment mechanism, we need to copy Cars to
CARBON_HOME/tmp/tenants/0/carbonapps directory. This tmp sub directory is
used as the hot deployment/update directory. I'm not sure treating a temp
directory as a hotupdate/deployment location a valid scenario.



On Fri, Aug 24, 2012 at 12:03 PM, Sumedha Rubasinghe sume...@wso2.comwrote:

 When we deploy a Carbon application from Developer Studio, where does it
 get deployed to now?
 If I am using a script to do this, where should I drop that into?

 On Fri, Aug 24, 2012 at 10:32 AM, Kalpa Senanayake ka...@wso2.com wrote:

 Hi Charitha,

 For the super tenant CARBON_HOME/tmp/tenants/0/carbonapps (This is the
 hot deployment directory for carbonapps) and temporarily extracted to
 CARBON_HOME/tmp/carbonapps.

 Thanks
 Kalpa.


 On Thu, Aug 23, 2012 at 9:59 PM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Hi,

 @Subject. I deployed a car in ESB. The artifacts (proxy services,
 endpoints) were deployed and stored in respective directories. But I cannot
 locate the CAR file in CARBON_HOME/repository/deployment/server/carbonapps.
 Where do we save it now?

 Thanks!
 Charitha


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Kalpa Senanayake.
 Software Engineer,

 WSO2,Inc :(http://wso2.com/).
 mobile : +94783864128
 blog : (http://kalpads.blogspot.com/)

 Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Where do we store Car files in latest carbon packs?

2012-08-23 Thread Charitha Kankanamge
Hi,

@Subject. I deployed a car in ESB. The artifacts (proxy services,
endpoints) were deployed and stored in respective directories. But I cannot
locate the CAR file in CARBON_HOME/repository/deployment/server/carbonapps.
Where do we save it now?

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Where do we store Car files in latest carbon packs?

2012-08-23 Thread Charitha Kankanamge
I can find but i was not aware about the deployment change in the latest
ESB pack. Thats why I asked.
/Charitha

On Fri, Aug 24, 2012 at 10:14 AM, Afkham Azeez az...@wso2.com wrote:

 Do a find. It is somewhere under the tmp directory.

 On Thu, Aug 23, 2012 at 9:59 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi,

 @Subject. I deployed a car in ESB. The artifacts (proxy services,
 endpoints) were deployed and stored in respective directories. But I cannot
 locate the CAR file in CARBON_HOME/repository/deployment/server/carbonapps.
 Where do we save it now?

 Thanks!
 Charitha


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] https://wso2.org/jira/browse/WSAS-996

2012-08-21 Thread Charitha Kankanamge
Hi,
We already use tribes clustering in all nodes. We also use the default
cache.xml. Please let us know if any additional settings are required.

/Charitha

On Tuesday, August 21, 2012, Dimuthu Leelarathne wrote:

 Hi,

 On Tue, Aug 21, 2012 at 9:36 PM, Senaka Fernando 
 sen...@wso2.comjavascript:_e({}, 'cvml', 'sen...@wso2.com');
  wrote:

 Hi Dimuthu,

 What is the proper way of setting up caching with the new invalidation
 fix that was introduced. I believe that $subject is due to the old way of
 setting this up. Also, we need to provide new packs for the QA team to
 test, and Asela needs to expedite his fixes for the rest of the UM caches.


 +1. We need to enable clustering. And we can use the defaultly shipped
 cache file.

 thanks,
 dimuthu



 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] https://wso2.org/jira/browse/WSAS-996

2012-08-21 Thread Charitha Kankanamge
On Tuesday, August 21, 2012, Dimuthu Leelarathne wrote:

 hi,

 On Tue, Aug 21, 2012 at 10:29 PM, Charitha Kankanamge 
 chari...@wso2.comjavascript:_e({}, 'cvml', 'chari...@wso2.com');
  wrote:

 Hi,
 We already use tribes clustering in all nodes. We also use the default
 cache.xml. Please let us know if any additional settings are required.


 And do you still see this https://wso2.org/jira/browse/WSAS-996 ?


Yes, we still see this intermittently.


 Because if you are using default cache.xml as it is (without any change at
 all), then it is not starting any group communication. So no views and
 groups and joining. Please confirm.


We use the default cache.xml. No additional settings. But since we are in a
cluster, we enabled replicated caching and gave a unique cache cluster
name. That's all. And this is same as what we were asked to do in API
manager setup.




 thanks,
 dimuthu





 /Charitha


 On Tuesday, August 21, 2012, Dimuthu Leelarathne wrote:

 Hi,

 On Tue, Aug 21, 2012 at 9:36 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi Dimuthu,

 What is the proper way of setting up caching with the new invalidation
 fix that was introduced. I believe that $subject is due to the old way of
 setting this up. Also, we need to provide new packs for the QA team to
 test, and Asela needs to expedite his fixes for the rest of the UM caches.


 +1. We need to enable clustering. And we can use the defaultly shipped
 cache file.

 thanks,
 dimuthu



 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 Charitha Kankanamge
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com http://wso2.com




-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] creating a worker node out of product distribution

2012-08-17 Thread Charitha Kankanamge
+1.
And it will also be very useful to have a worker/manager cluster deployment
script. As most of you already know from the experience we had in last few
weeks (setting up worker/manager separated clusters fronted by ELB), manual
deployment is very error-prone.



On Fri, Aug 17, 2012 at 4:31 PM, Afkham Azeez az...@wso2.com wrote:

 We need to remove all the UI components. Once advantage of manager-worker
 separation is being able to optimize the worker. Removing UI bundles will
 reduce the memory footprint.

 In Mgt nodes, we need to block calls to deployed services, and allow calls
 only to admin services.

 Azeez


 On Fri, Aug 17, 2012 at 4:26 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi guys,

 we have the above requirement. basically we have to get rid of all the
 front-end components. few options.

 1. do it using BE/FE seperation - but this inturn will require a p2-repo
 2. removing all the frontend features using a script - we can remove all
 the components that ends with *.ui and *.stub . The UI/Stub bundles are not
 the only bundles related to front-end
 3. block all the UI service calls using a handler - requests to /carbon
 context get blocked.


 feedback welcome

 --Pradeep




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


 ___
 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] depsync UI component build failure

2012-08-17 Thread Charitha Kankanamge
Are we really using this DepSync UI component? Some of the fields such as
synchronization period etc does not make in the new implementation. Also,
enabling DepSync from UI introduces a lot of intermittent issues.

Thanks!
Charitha

On Fri, Aug 17, 2012 at 8:32 PM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi Pradeep,

 It seems like the stubs are not properly built. Please check whether the
 codegen happens without any issues. I have observed that the service stubs
 build succeeds even if the codegen fails.

 Thanks,
 Janaka

 On Fri, Aug 17, 2012 at 6:03 PM, Pradeep Fernando prad...@wso2.comwrote:


 Hi,

 please fix this.



 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[25,57]
 package org.wso2.carbon.deployment.synchronizer.stub.types does not exist
 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[26,62]
 package org.wso2.carbon.deployment.synchronizer.stub.types.util does not
 exist
 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[27,62]
 package org.wso2.carbon.deployment.synchronizer.stub.types.util does not
 exist
 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[33,12]
 cannot find symbol
 symbol  : class DeploymentSynchronizerAdminStub
 location: class
 org.wso2.carbon.deployment.synchronizer.ui.client.DeploymentSyncAdminClient
 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[46,11]
 cannot find symbol
 symbol  : class DeploymentSynchronizerConfiguration
 location: class
 org.wso2.carbon.deployment.synchronizer.ui.client.DeploymentSyncAdminClient
 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[54,35]
 cannot find symbol
 symbol  : class DeploymentSynchronizerConfiguration
 location: class
 org.wso2.carbon.deployment.synchronizer.ui.client.DeploymentSyncAdminClient
 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[58,35]
 cannot find symbol
 symbol  : class DeploymentSynchronizerConfiguration
 location: class
 org.wso2.carbon.deployment.synchronizer.ui.client.DeploymentSyncAdminClient
 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[78,11]
 cannot find symbol
 symbol  : class RepositoryConfigParameter
 location: class
 org.wso2.carbon.deployment.synchronizer.ui.client.DeploymentSyncAdminClient
 [ERROR]
 /home/pradeep/checkout/branch/platform/components/deployment-synchronizer/org.wso2.carbon.deployment.synchronizer.ui/4.0.1/src/main/java/org/wso2/carbon/deployment/synchronizer/ui/client/DeploymentSyncAdminClient.java:[39,19]
 cannot find symbol
 symbol  : class DeploymentSynchronizerAdminStub
 location: class
 org.wso2.carbon.deployment.synchronizer.ui.client.DeploymentSyncAdminClient
 [INFO] 9 errors


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Janaka Ranabahu
 Software Engineer
 WSO2 Inc.

 Mobile +94 718370861
 Email : jan...@wso2.com
 Blog : janakaranabahu.blogspot.com


 ___
 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] Management node/worker node separation - can management nodes become workers or are they just passive nodes?

2012-08-08 Thread Charitha Kankanamge
Hi,
@Subject? in a cluster, can management node take part in message processing
(active) and become a worker node? Or is it just for one-time
configuration/deployment purposes?

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Hadoop prevents starting with a

2012-08-08 Thread Charitha Kankanamge
These configuration settings, deployment tips/tricks everything has to be
documented somewhere. Specially, in a product like BAM, since there are so
many configuration options, we should provide users with a deployment
script to setup a BAM cluster.

/Charitha

On Wed, Aug 8, 2012 at 10:57 AM, Chamara Ariyarathne chama...@wso2.comwrote:

 This got fixed when the directory referring with hadoop.tmp.dir in
 core-site.xml is cleaned up and then the namenode is formatted.


 On Wed, Aug 8, 2012 at 10:25 AM, Deependra Ariyadewa d...@wso2.comwrote:

 Hi Chamara,

 Pl try to start the name node without all the other services and attach
 the name node log. It will help to isolate the issue in Name Node.

 You can start the name node by executing bin/hadoop namenode


 Thanks,
 Deependra.

 On Wed, Aug 8, 2012 at 9:56 AM, Chamara Ariyarathne chama...@wso2.comwrote:

 I get the following [1] when starting hadoop namenode in the distributed
 hadoop cluster and it prevents from starting all the hadoop nodes.

 /etc/hosts is:
 10.100.3.221bamhadoop01
 10.100.3.228bamhadoop02
 10.100.3.224bamhadoop03
 10.100.3.244appserver.cloud-test.wso2.com

 # The following lines are desirable for IPv6 capable hosts
 ::1 ip6-localhost ip6-loopback
 fe00::0 ip6-localnet
 ff00::0 ip6-mcastprefix
 ff02::1 ip6-allnodes
 ff02::2 ip6-allrouters

 $ hostname
 bamhadoop01

 Property in core-site.xml
 property
 namefs.default.name/name
 valuehdfs://bamhadoop01:9000/value
 /property
 property

 Can ssh to any other hadoop datanode machines without password.

 [1]
 2012-08-08 09:45:05,289 INFO
 org.apache.hadoop.metrics2.impl.MetricsConfig: loaded properties from
 hadoop-metrics2.properties
 2012-08-08 09:45:05,297 INFO
 org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source
 MetricsSystem,sub=Stats registered.
 2012-08-08 09:45:05,297 INFO
 org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Scheduled snapshot
 period at 10 second(s).
 2012-08-08 09:45:05,297 INFO
 org.apache.hadoop.metrics2.impl.MetricsSystemImpl: JobTracker metrics
 system started
 2012-08-08 09:45:05,478 INFO
 org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source ugi
 registered.
 2012-08-08 09:45:05,481 WARN
 org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Source name ugi already
 exists!
 2012-08-08 09:45:05,482 INFO
 org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager:
 Updating the current master key for generating delegation tokens
 2012-08-08 09:45:05,483 INFO
 org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager:
 Starting expired delegation token remover thread,
 tokenRemoverScanInterval=60 min(s)
 2012-08-08 09:45:05,483 INFO
 org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager:
 Updating the current master key for generating delegation tokens
 2012-08-08 09:45:05,483 INFO org.apache.hadoop.mapred.JobTracker:
 Scheduler configured with (memSizeForMapSlotOnJT, memSizeForReduceSlotOnJT,
 limitMaxMemForMapTasks, limitMaxMemForReduceTasks) (-1, -1, -1, -1)
  2012-08-08 09:45:05,484 INFO org.apache.hadoop.util.HostsFileReader:
 Refreshing hosts (include/exclude) list
 2012-08-08 09:45:05,517 INFO org.apache.hadoop.mapred.JobTracker:
 Starting jobtracker with owner as bamtesttmp
 2012-08-08 09:45:05,531 INFO org.apache.hadoop.ipc.Server: Starting
 SocketReader
 2012-08-08 09:45:05,533 INFO
 org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source
 RpcDetailedActivityForPort9001 registered.
 2012-08-08 09:45:05,534 INFO
 org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source
 RpcActivityForPort9001 registered.
 2012-08-08 09:45:10,598 INFO org.mortbay.log: Logging to
 org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
 org.mortbay.log.Slf4jLog
 2012-08-08 09:45:10,634 INFO org.apache.hadoop.http.HttpServer: Added
 global filtersafety
 (class=org.apache.hadoop.http.HttpServer$QuotingInputFilter)
 2012-08-08 09:45:10,655 INFO org.apache.hadoop.http.HttpServer: Port
 returned by webServer.getConnectors()[0].getLocalPort() before open() is
 -1. Opening the listener on 50030
 2012-08-08 09:45:10,656 INFO org.apache.hadoop.http.HttpServer:
 listener.getLocalPort() returned 50030
 webServer.getConnectors()[0].getLocalPort() returned 50030
 2012-08-08 09:45:10,656 INFO org.apache.hadoop.http.HttpServer: Jetty
 bound to port 50030
 2012-08-08 09:45:10,656 INFO org.mortbay.log: jetty-6.1.26
 2012-08-08 09:45:10,676 WARN org.mortbay.log: Can't reuse
 /tmp/Jetty_0_0_0_0_50030_jobyn7qmk, using
 /tmp/Jetty_0_0_0_0_50030_jobyn7qmk_2518359383055609936
 2012-08-08 09:45:10,811 INFO org.mortbay.log: Started
 SelectChannelConnector@0.0.0.0:50030
 2012-08-08 09:45:10,815 INFO
 org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source jvm
 registered.
 2012-08-08 09:45:10,815 INFO
 org.apache.hadoop.metrics2.impl.MetricsSourceAdapter: MBean for source
 JobTrackerMetrics 

[Dev] Carbon Startup delayed

2012-08-08 Thread Charitha Kankanamge
I too observed this in my local setup. See (
https://wso2.org/jira/browse/WSAS-977) We need to profile and check what is
going on here.

On Thursday, August 2, 2012, Supun Malinga wrote:

 Hi devs,

 I observed some delay in AS startup. after printing following lines,
 [2012-08-02 09:25:19,876]  INFO
 {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
   : 9443
 [2012-08-02 09:25:19,876]  INFO
 {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
  : 9763

 then it waits close to 60 seconds to print,
 [2012-08-02 09:26:23,644]  INFO
 {org.wso2.carbon.core.init.JMXServerManager} -  JMX Service URL  :
 service:jmx:rmi://localhost:1/jndi/rmi://localhost:/jmxrmi
 [2012-08-02 09:26:23,644]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
   :  Application Server-5.0.0-SNAPSHOT
 [2012-08-02 09:26:23,645]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 95 sec
 [2012-08-02 09:26:24,073]  INFO
 {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
  : https://172.16.65.1:9443/carbon/

 and startup the server. As you can see it takes 95 seconds for the total
 startup!. Guessing something amiss here.

 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com
 mobile - 071 56 91 321



-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] LB fronted AppServer Cluster Issue

2012-08-06 Thread Charitha Kankanamge
Hi Thilini,
Were you able to get AS 5 fronted by LB? We are supposed to setup AS
cluster in lab tomorrow and planning to use LB there. Please let us know
the exact instructions to set it up.

Thanks!
Charitha


On Wed, Jul 25, 2012 at 6:00 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Hi Thilini,
 Please test this with attached patch.

 Thanks.


 On Tue, Jul 24, 2012 at 5:14 PM, Thilini Ishaka thil...@wso2.com wrote:

 That did not solve the issue.
 Appreciate if you can have a look for this.

 Thanks
 Thilini


 On Wed, Jul 25, 2012 at 5:17 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 But this is wrong thilini. If you specify the config as above load
 balancer will behave this way.
 Please do not forget that * represents all other tenant, except the
 specially specified. In your case
 specified tenant range is 1 to 200.

 wso2.as1.domain  tenant_range1-100
 wso2.as2.domain   tenant_range101-200;
 rest of tenant will direct to the cluster with * mark

 So if you are trying to log in with tenant ID 2 or 3 obviously it will
 fail. Because you are not running application
 cluster with domain wso2.as1.domain.
 Correct it and re try.

 Thanks.


 On Tue, Jul 24, 2012 at 4:34 PM, Thilini Ishaka thil...@wso2.comwrote:

 So please check the axis2 xmls for appservers. I am using only the
 domains given for tenant * range.




 On Wed, Jul 25, 2012 at 4:59 AM, Sanjeewa Malalgoda 
 sanje...@wso2.comwrote:

 Yes that configuration is fine. but the config files you sent to me
 offline is having entries like follows
 Thanks.

 appserver1 {
 # multiple hosts should be separated by a comma.
 hosts   appserver.dev.example.com,
 as.cloud-dev.wso2.com;
 domains   {
 wso2.as1.domain {
 # for more info on Tenant aware load balancing please
 refer to
 #
 http://sanjeewamalalgoda.blogspot.com/2012/05/tenant-aware-load-balancer.html
 tenant_range1-100;
 }
 wso2.as2.domain {
 tenant_range101-200;
 }
 wso2.as.dev.domain {
 # all tenants other than 1-200 will belong to this
 domain.
 tenant_range*;
 }
 }
 }

 appserver2 {
  # multiple hosts should be separated by a comma.
 hosts   appserver.prod.example.com,
 as.cloud-prod.wso2.com;
 domains   {
 wso2.as1.domain {
 # for more info on Tenant aware load balancing please
 refer to
 #
 http://sanjeewamalalgoda.blogspot.com/2012/05/tenant-aware-load-balancer.html
 tenant_range1-100;
 }
 wso2.as2.domain {
 tenant_range101-200;
 }
 wso2.as.prod.domain {
  # all tenants other than 1-200 will belong to this
 domain.
 tenant_range*;
 }
 }
 }


  appserver3 {
 # multiple hosts should be separated by a comma.
 hosts   appserver.test.example.com,
 as.cloud-live.wso2.com;
 domains   {
 wso2.as1.domain {
 # for more info on Tenant aware load balancing please
 refer to
 #
 http://sanjeewamalalgoda.blogspot.com/2012/05/tenant-aware-load-balancer.html
 tenant_range1-100;
 }
 wso2.as2.domain {
 tenant_range101-200;
 }
 wso2.as.test.domain {
  # all tenants other than 1-200 will belong to this
 domain.
 tenant_range*;
 }
 }
 }

  On Tue, Jul 24, 2012 at 4:18 PM, Thilini Ishaka thil...@wso2.comwrote:

 Hi Sanjeewa,

 In my config, I have given the tenant range as * .  And I am running
 all the instances [ lb + AS(s) ] on a single machine.

 appserver1 {
 # multiple hosts should be separated by a comma.
 hosts   appserver.dev.example.com,
 as.cloud-dev.wso2.com;
 domains   {
  wso2.as.dev.domain {
 # all tenants other than 1-200 will belong to this
 domain.
 tenant_range*;
 }
 }
 }

 Rest of the configs similar to given here.
 http://nirmalfdo.blogspot.com/2012/06/fronting-wso2-application-server-50.html
  Membership
 scheme is wka.

 Thanks
 Thilini


 On Wed, Jul 25, 2012 at 3:12 AM, Sanjeewa Malalgoda 
 sanje...@wso2.com wrote:

 yes if so we don't need.
 Thanks.


 On Tue, Jul 24, 2012 at 2:36 PM, Afkham Azeez az...@wso2.comwrote:

 If tenant range is * for all services, you should not need the
 usermgt configuration

 --
 Afkham Azeez
 Sent from my phone
 On Jul 25, 2012 2:18 AM, Sanjeewa Malalgoda sanje...@wso2.com
 wrote:



 On Tue, Jul 24, 2012 at 1:08 PM, Sanjeewa Malalgoda 
 sanje...@wso2.com wrote:

 Hi,
 It seems you haven't configure User management xml file in ELB
 properly. 

Re: [Dev] Carbon-Kernel RC1

2012-07-31 Thread Charitha Kankanamge
P2 features cannot be installed. See
https://wso2.org/jira/browse/CARBON-13768

/Charitha



On Wed, Aug 1, 2012 at 2:06 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 please find the latest c4 pack at [1] . i have provided a p2-repo[2] as
 well. please note that this is not a repo with complete feature set. just
 for testing purposes

 [1] http://builder1.us1.wso2.org/~carbon320/releases/

 --Pradeep


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Directory based deployment in AS

2012-07-27 Thread Charitha Kankanamge
+1. Reported this bug when I noticed .meta directory in webapp list. After
that, we further tested to figure out that why it considered as a web app .
Then we identified that any directory under the webapps directory is
treated as webapps. So, if this is the default tomcat behaviour, we can
live with it. But please skip the .meta directory.



On Fri, Jul 27, 2012 at 1:44 PM, Kishanthan Thangarajah kishant...@wso2.com
 wrote:

 Hi Charitha,
 Regarding [1]. It is the default behavior in a standalone tomcat as-well.
 If you just create a directory(foo or .foo) under {catalina_home}/webapps,
 it will be deployed as a webapp. See below. So in that case we will have
 leave that as it is. But we have to skip deploying .svn and .meta
 directories as those two are created by the DepSync.

 [image: Inline image 1]


 Thanks,
 Kishanthan.
 [1] https://wso2.org/jira/browse/CARBON-13689

 --
 *Kishanthan Thangarajah*
 Software Engineer,
 Development Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com*
 Twitter - *http://twitter.com/kishanthan*


tomcat.png___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Important]C4 release: open L1 and L2 s

2012-07-26 Thread Charitha Kankanamge
On Fri, Jul 27, 2012 at 9:37 AM, Thilini Ishaka thil...@wso2.com wrote:



 On Tue, Jul 24, 2012 at 12:48 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi All,

 Here are the L1/L2 s that are in open state.


 **L1s**
  CARBON-13619 Clean up conf/README file and make catalina_server.xml
 as the default cofig file which can change the http/s ports statically.
 -Dileepa Jayakody
  CARBON-13534 CipherTool and Secure Vault are broken in trunk
 -Asela Pathberiya

 **L2s**
 CARBON-13635 NPE when running a load test with resource adding
 -Dimuthu Leelarathne
 CARBON-13608 Fix jgroups.bind_addr property -Dimuthu Leelarathne
 CARBON-13591 Login and logout user difference  -Amila Maharachchi
 CARBON-13588 Modify Security Manager to allow tenants to read Rhino
 code generated folder -Chethiya Abeysinghe
 CARBON-13502 Ant task doesn't work to create war file [createWAR]
 -Pradeep
 CARBON-13386 Intermittent issue: ERROR
 {org.infinispan.interceptors.InvocationContextInterceptor} - ISPN000136:
 Execution error java.lang.InterruptedException when shutting down G-reg
 -Dimuthu
 CARBON-13208 TenantMgt AdminService invocation with wrong credentials
 returns too much of information to the user, but the information is also
 wrong  -Kathiravelu Pradeeban
 CARBON-13167 supporting web-app mode deployment of carbon in Apache
 Tomcat -Pradeep Fernando
 CARBON-13140 wso2server.sh is not working with Solaris 10 in beta
 Packs-Reka Thirunavukkarasu
 CARBON-12895 Cannot enable JMS transport listener from UI -dushan
 abeyruwan



 CARBON-10230 Inconsistency of product clusters  -Thilini Ishaka

 Resolved the issue as we do not have UIs for worker nodes from C4 onwards.


Which pack has this change? This will resolve most of the clustering
issues.







 Carbon core *code freeze on tomorrow*, tentative release *date on 27 th*.
 I need a *progress update of each of the issues before EOD today.*(working 
 on it/ not started/ not possible with this release/etc)


 regarding two issues assigned to me - will try to make them available in
 this release. Otherwise they will go out in a point release.

 thanks,
 --Pradeep






 --
 *Thilini Ishaka
 WSO2 Inc. http://wso2.com*
 *bolg: thiliniishaka.blogspot.com*
 *linkedin: http://lk.linkedin.com/in/thiliniishaka*
 *twitter: https://twitter.com/#!/ThiliniIsh*


 ___
 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] Retail Banking sample with C4 based products

2012-07-25 Thread Charitha Kankanamge
Hi,

I'm trying out retail banking sample [1] to test Capp deployment on C4
based products. I get the following error when invoking
AccountOpeningProcess in BPS. There are no errors in other product logs
(DSS, ESB and AS). Can BPS team look into this please?

[1]http://wso2.org/project/developer-studio/docs/banking_sample.html

[2012-07-25 12:47:57,768] ERROR
{org.wso2.carbon.bpel.core.ode.integration.PartnerService} -  Error sending
message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr7gred7uqq71 [PID {
http://wso2.org/sample/banking}AccountOpeningProcess-1] calling
org.apache.ode.bpel.epr.WSAEndpoint@35f5b2c4.issueCard(...) Status REQUEST}
org.apache.axis2.AxisFault: The input stream for an incoming message is
null.
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
org.wso2.carbon.bpel.core.ode.integration.utils.AxisServiceUtils.invokeService(AxisServiceUtils.java:305)
at
org.wso2.carbon.bpel.core.ode.integration.PartnerService.invoke(PartnerService.java:289)
at
org.wso2.carbon.bpel.core.ode.integration.BPELMessageExchangeContextImpl.invokePartner(BPELMessageExchangeContextImpl.java:43)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:782)
at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:877)
at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
at org.apache.ode.bpel.engine.BpelProcess$1.invoke(BpelProcess.java:283)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:224)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:279)
at
org.apache.ode.bpel.engine.BpelProcess.handleJobDetails(BpelProcess.java:434)
at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:553)
at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:449)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:524)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:518)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:271)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:226)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:518)
at
org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:502)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
[2012-07-25 12:47:57,771] ERROR {org.apache.ode.bpel.runtime.INVOKE} -
Failure during invoke: Error sending message to Axis2 for ODE mex
{PartnerRoleMex#hqejbhcnphr7gred7uqq71 [PID {
http://wso2.org/sample/banking}AccountOpeningProcess-1] calling
org.apache.ode.bpel.epr.WSAEndpoint@35f5b2c4.issueCard(...) Status REQUEST}
[2012-07-25 12:47:57,772]  INFO
{org.apache.ode.bpel.engine.BpelRuntimeContextImpl} -  ActivityRecovery:
Registering activity 27, failure reason: Error sending message to Axis2 for
ODE mex {PartnerRoleMex#hqejbhcnphr7gred7uqq71 [PID {
http://wso2.org/sample/banking}AccountOpeningProcess-1] calling
org.apache.ode.bpel.epr.WSAEndpoint@35f5b2c4.issueCard(...) Status REQUEST}
on channel 55
[2012-07-25 12:49:57,578] ERROR
{org.wso2.carbon.bpel.core.ode.integration.BPELProcessProxy} -  Timeout or
execution error when waiting for response to MEX
{MyRoleMex#hqejbhcnphr7gred7uqq6s [Client hqejbhcnphr7gred7uqq6r] calling {
http://wso2.org/banking}AccountOpeningProcessService.CreateAccount(...)}
java.util.concurrent.TimeoutException: Message exchange
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@1d506b04timed
out(12 ms) when waiting for a 

Re: [Dev] Retail Banking sample with C4 based products

2012-07-25 Thread Charitha Kankanamge
Yes of course I did it because it has been mentioned in the article as
well. I will check this with BPS folks. Did this work OOTB for you guys?
Should I need to change anything other than what was mentioned in the
article?

/Charitha


On Wed, Jul 25, 2012 at 1:24 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Charirha,

 I assume you have enabled JMS transport in AS and ESB. Forgot to mention
 that during our offline discussion.

 Thanks and Regards,
 Harshana
 On Jul 25, 2012 12:58 PM, Charitha Kankanamge chari...@wso2.com wrote:

 Hi,

 I'm trying out retail banking sample [1] to test Capp deployment on C4
 based products. I get the following error when invoking
 AccountOpeningProcess in BPS. There are no errors in other product logs
 (DSS, ESB and AS). Can BPS team look into this please?

 [1]http://wso2.org/project/developer-studio/docs/banking_sample.html

 [2012-07-25 12:47:57,768] ERROR
 {org.wso2.carbon.bpel.core.ode.integration.PartnerService} -  Error sending
 message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr7gred7uqq71 [PID {
 http://wso2.org/sample/banking}AccountOpeningProcess-1] calling
 org.apache.ode.bpel.epr.WSAEndpoint@35f5b2c4.issueCard(...) Status
 REQUEST}
 org.apache.axis2.AxisFault: The input stream for an incoming message is
 null.
 at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
 at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
 at
 org.wso2.carbon.bpel.core.ode.integration.utils.AxisServiceUtils.invokeService(AxisServiceUtils.java:305)
 at
 org.wso2.carbon.bpel.core.ode.integration.PartnerService.invoke(PartnerService.java:289)
 at
 org.wso2.carbon.bpel.core.ode.integration.BPELMessageExchangeContextImpl.invokePartner(BPELMessageExchangeContextImpl.java:43)
 at
 org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:782)
 at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
 at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
 at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
 at
 org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:877)
 at
 org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
 at
 org.apache.ode.bpel.engine.BpelProcess$1.invoke(BpelProcess.java:283)
 at
 org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:224)
 at
 org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:279)
 at
 org.apache.ode.bpel.engine.BpelProcess.handleJobDetails(BpelProcess.java:434)
 at
 org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:553)
 at
 org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:449)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:524)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:518)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:271)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:226)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:518)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:502)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 [2012-07-25 12:47:57,771] ERROR {org.apache.ode.bpel.runtime.INVOKE} -
 Failure during invoke: Error sending message to Axis2 for ODE mex
 {PartnerRoleMex#hqejbhcnphr7gred7uqq71 [PID {
 http://wso2.org/sample/banking}AccountOpeningProcess-1] calling
 org.apache.ode.bpel.epr.WSAEndpoint@35f5b2c4.issueCard(...) Status
 REQUEST}
 [2012-07-25 12:47:57,772]  INFO
 {org.apache.ode.bpel.engine.BpelRuntimeContextImpl} -  ActivityRecovery:
 Registering activity 27, failure reason: Error sending message to Axis2 for
 ODE mex {PartnerRoleMex#hqejbhcnphr7gred7uqq71 [PID {
 http

Re: [Dev] Retail Banking sample with C4 based products

2012-07-25 Thread Charitha Kankanamge
Hi Harshana,
There was a missing ESB proxy config (CardService) and xslt transform in
the CAR you have hosted. Once those were added, everything worked
perfectly.

Thanks!
Charitha


On Wed, Jul 25, 2012 at 2:05 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Yes of course I did it because it has been mentioned in the article as
 well. I will check this with BPS folks. Did this work OOTB for you guys?
 Should I need to change anything other than what was mentioned in the
 article?

 /Charitha



 On Wed, Jul 25, 2012 at 1:24 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Charirha,

 I assume you have enabled JMS transport in AS and ESB. Forgot to mention
 that during our offline discussion.

 Thanks and Regards,
 Harshana
 On Jul 25, 2012 12:58 PM, Charitha Kankanamge chari...@wso2.com
 wrote:

 Hi,

 I'm trying out retail banking sample [1] to test Capp deployment on C4
 based products. I get the following error when invoking
 AccountOpeningProcess in BPS. There are no errors in other product logs
 (DSS, ESB and AS). Can BPS team look into this please?

 [1]http://wso2.org/project/developer-studio/docs/banking_sample.html

 [2012-07-25 12:47:57,768] ERROR
 {org.wso2.carbon.bpel.core.ode.integration.PartnerService} -  Error sending
 message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr7gred7uqq71 [PID {
 http://wso2.org/sample/banking}AccountOpeningProcess-1] calling
 org.apache.ode.bpel.epr.WSAEndpoint@35f5b2c4.issueCard(...) Status
 REQUEST}
 org.apache.axis2.AxisFault: The input stream for an incoming message is
 null.
 at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
 at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
 at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
 at
 org.wso2.carbon.bpel.core.ode.integration.utils.AxisServiceUtils.invokeService(AxisServiceUtils.java:305)
 at
 org.wso2.carbon.bpel.core.ode.integration.PartnerService.invoke(PartnerService.java:289)
 at
 org.wso2.carbon.bpel.core.ode.integration.BPELMessageExchangeContextImpl.invokePartner(BPELMessageExchangeContextImpl.java:43)
 at
 org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:782)
 at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
 at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
 at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
 at
 org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:877)
 at
 org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
 at
 org.apache.ode.bpel.engine.BpelProcess$1.invoke(BpelProcess.java:283)
 at
 org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:224)
 at
 org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:279)
 at
 org.apache.ode.bpel.engine.BpelProcess.handleJobDetails(BpelProcess.java:434)
 at
 org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:553)
 at
 org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:449)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:524)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob$1.call(SimpleScheduler.java:518)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:271)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:226)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:518)
 at
 org.apache.ode.scheduler.simple.SimpleScheduler$RunJob.call(SimpleScheduler.java:502)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)
 [2012-07-25 12:47:57,771] ERROR {org.apache.ode.bpel.runtime.INVOKE} -
 Failure during invoke: Error sending message to Axis2 for ODE mex
 {PartnerRoleMex#hqejbhcnphr7gred7uqq71 [PID {
 http://wso2.org/sample/banking}AccountOpeningProcess-1] calling
 org.apache.ode.bpel.epr.WSAEndpoint@35f5b2c4.issueCard

Re: [Dev] C-App synchronization in a Carbon cluster

2012-07-25 Thread Charitha Kankanamge
Hi,

It seems we have not thought about MT aspects of this model. Now, the
carbonapps directory is taken out from repository/deployment/server and the
all CApps will be stored in common carbonapps directory regardless of the
tenant who deployed CApp. Because of this, any tenant can see others CApps
:( I came across this [1] issue in latest AS probably because of this
change.


[1]https://wso2.org/jira/browse/CARBON-13691


On Fri, Jul 6, 2012 at 6:05 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi all,

 I'm trying to fix [1]. Here's the root cause for this issue..

 Imagine a Carbon cluster with 2 nodes where the svn based deployment
 synchronizer (DS) is configured. When a C-App is deployed to node1, it is
 extracted and individual artifacts are copied into respective hot
 directories. When the DS runs for the first time, it copies the C-App into
 node2 and it will be deployed there. When the DS runs again in node1, it
 will try to copy the individual artifacts to node2. But node2 already has
 those artifacts as the C-App id already deployed in node2. Therefore an svn
 conflict occurs.

 To resolve this issue, there are two possible options..

 1. Keeping all artifacts coming from C-Apps out of the repository
 (repository/deployment/server)
 2. Keeping the original C-App out of the repository

 Initially I tried option 1 above and programetically called the relevant
 deployers for individual artifacts. But this creates lot of problems with
 some artifacts (Ex: ESB stuff). Therefore, I'm trying to solve the initial
 problem using option 2 above.

 I've taken the carbonapps directory out of repository/deployment/server
 directory and kept it as repository/carbonapps (we can change this if
 needed). Still the carbonapps directory has hot deployment capabilities.
 But it won't be synchronized by the DS. So when a C-App is deployed into
 node 1, it will be extracted and only the individual artifacts will be
 copied into the repository. When the DS runs, all needed artifacts will be
 synced to node 2. Therefore, functionality wise, there won't be any issues
 on node 2.

 But if someone logs into the management console of node 2 and go to the
 C-App list, nothing will be listed. Is this something we have to fix?
 Because anyway in a RW/RO cluster, user can't use the management console of
 the slave node.

 WDYT??

 Thanks,
 ~Isuru

 [1] https://wso2.org/jira/browse/CARBON-13598

 --
 Isuru Suriarachchi
 Senior Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


 ___
 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] Please focus on MT aspects in developer testing

2012-07-25 Thread Charitha Kankanamge
Folks,
It seems there are many cases the products work in super tenant mode but
fails when logged in as a tenant (see some examples below). Please pay
attention to the MT aspects of all features when you are doing dev testing
(Azeez has mentioned this multiple times).

[1]https://wso2.org/jira/browse/CARBON-13691
[2]https://wso2.org/jira/browse/CARBON-13692
[3]https://wso2.org/jira/browse/CARBON-13675

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Important]C4 release: open L1 and L2 s

2012-07-24 Thread Charitha Kankanamge
Hi Pradeep,
We should review all L1/L2s reported through ESB and G-reg product jiras.
There can be issues related to carbon core but reported via G-reg/ESB
product jira during the test cycles (I agree it is not correct to use
product specific jiras to report core bugs. However, we heavily used
product specific jiras in recent test cycles and there may be some carbon
core issues reported through product jira projects due to mistakes or when
we could not figure out the root cause of the jiras)

Thanks!
Charitha



On Tue, Jul 24, 2012 at 12:48 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi All,

 Here are the L1/L2 s that are in open state.


 **L1s**
  CARBON-13619 Clean up conf/README file and make catalina_server.xml
 as the default cofig file which can change the http/s ports statically.
 -Dileepa Jayakody
  CARBON-13534 CipherTool and Secure Vault are broken in trunk
 -Asela Pathberiya

 **L2s**
 CARBON-13635 NPE when running a load test with resource adding
 -Dimuthu Leelarathne
 CARBON-13608 Fix jgroups.bind_addr property -Dimuthu Leelarathne
 CARBON-13591 Login and logout user difference  -Amila Maharachchi
 CARBON-13588 Modify Security Manager to allow tenants to read Rhino
 code generated folder -Chethiya Abeysinghe
 CARBON-13502 Ant task doesn't work to create war file [createWAR]
 -Pradeep
 CARBON-13386 Intermittent issue: ERROR
 {org.infinispan.interceptors.InvocationContextInterceptor} - ISPN000136:
 Execution error java.lang.InterruptedException when shutting down G-reg
 -Dimuthu
 CARBON-13208 TenantMgt AdminService invocation with wrong credentials
 returns too much of information to the user, but the information is also
 wrong  -Kathiravelu Pradeeban
 CARBON-13167 supporting web-app mode deployment of carbon in Apache
 Tomcat -Pradeep Fernando
 CARBON-13140 wso2server.sh is not working with Solaris 10 in beta
 Packs-Reka Thirunavukkarasu
 CARBON-12895 Cannot enable JMS transport listener from UI -dushan
 abeyruwan
 CARBON-10230 Inconsistency of product clusters  -Thilini Ishaka


 Carbon core *code freeze on tomorrow*, tentative release *date on 27 th*.
 I need a *progress update of each of the issues before EOD today.*(working on 
 it/ not started/ not possible with this release/etc)


 regarding two issues assigned to me - will try to make them available in
 this release. Otherwise they will go out in a point release.

 thanks,
 --Pradeep




 ___
 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] Intermittent issue - Error thrown when trying to stop a Web app. Couldn't stop any web app after that.

2012-07-24 Thread Charitha Kankanamge
According to the jira, this is an intermittent issue so this will be hard
to reproduce. Can we figure this out by looking at the NPE?

Caused by: java.lang.NullPointerException
at org.wso2.carbon.webapp.mgt.WebApplication.stop(WebApplication.java:168)



On Tue, Jul 24, 2012 at 8:29 PM, Andun Gunawardena an...@wso2.com wrote:

 Hi,

 I have investigate the [1] https://wso2.org/jira/browse/WSAS-877 Jira
 Issue. Tried to reproduce the scenario using Bamboo Build Pack, but the
 issue doesn't reproduce. Is there any specific steps to reproduce this ? If
 not will resolve the issue.

 [1] - https://wso2.org/jira/browse/WSAS-877

 Thanks
 AndunSLG

 ___
 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] [branch-4.0.0] Server startup error with replicated caching.

2012-07-24 Thread Charitha Kankanamge
This is the same caching NPE which we got last Friday during API manager
beta2 release.

/Charitha

On Tue, Jul 24, 2012 at 8:35 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi DimuthuL,

 I'm getting following error with latest pack build from latest branch.
 This error should be due to missing commits to branch. Please fix this
 ASAP.

 [1]https://svn.wso2.org/repos/wso2/people/ajith/greg-4.5.0/2012-07-24/


 ajithn@ajithn:~/wso2/release/jdbc/2/wso2greg-4.5.0/bin$ ./wso2server.sh
 -Dsetup -Dbind.address=*
 JAVA_HOME environment variable is set to /home/ajithn/programes/jdk1.6.0_26
 CARBON_HOME environment variable is set to
 /home/ajithn/wso2/release/jdbc/2/wso2greg-4.5.0
 [2012-07-24 20:25:18,261] ERROR
 {org.wso2.carbon.utils.multitenancy.CarbonContextHolder} -  Error while
 instantiating the cache.
 java.lang.NullPointerException
 at
 org.wso2.carbon.caching.infinispan.InfinispanCacheManager.initialize(InfinispanCacheManager.java:128)
  at
 org.wso2.carbon.utils.multitenancy.CarbonContextHolder.clinit(CarbonContextHolder.java:174)
 at
 org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantPatternConverter.getFullyQualifiedName(TenantAwarePatternLayout.java:327)
  at
 org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantAwareNamedPatternConverter.convert(TenantAwarePatternLayout.java:166)
  at
 org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64)
 at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
  at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
 at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
  at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
 at
 org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
  at org.apache.log4j.Category.callAppenders(Category.java:203)
 at org.apache.log4j.Category.forcedLog(Category.java:388)
  at org.apache.log4j.Category.log(Category.java:853)
 at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:199)
  at
 org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService.init(ZKCoordinationService.java:96)
 at
 org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService.init(ZKCoordinationService.java:101)
  at
 org.wso2.carbon.coordination.core.internal.CoordinationClientDSComponent.activate(CoordinationClientDSComponent.java:50)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
  at
 org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:441)
 at
 org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:213)
  at
 org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:800)
 at
 org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:767)
  at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
 at java.lang.Thread.run(Thread.java:662)
 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Admin/Non-Admin Services going through MessageRelay Builder

2012-07-24 Thread Charitha Kankanamge
You may find this useful -
http://wso2.org/project/esb/java/4.0.0/docs/message_relay.html

On Wednesday, July 25, 2012, Pradeep Fernando wrote:



 On Wed, Jul 25, 2012 at 6:57 AM, Amila Maha Arachchi 
 ami...@wso2.comjavascript:_e({}, 'cvml', 'ami...@wso2.com');
  wrote:

 Thanks Supun for the info.

 BTW, I got to know that this kind of a configuration is practical. And we
 can skip hidden services from message-relay by engaging the relay module
 and setting the includeHiddenService


 So it builds the message using a Handler after the initial wrap during the
 message builder (?)

 --Pradeep



-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Admin/Non-Admin Services going through MessageRelay Builder

2012-07-24 Thread Charitha Kankanamge
Agree. Please make sure to explain this in jira so that it will help
everyone if others also come across similar error.



On Wed, Jul 25, 2012 at 10:01 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 What I am saying is theres no bug here. Once we enable message-relay for
 all the content types we cannot even log in to ESB. If we want to use the
 management console of ESB, then we need to engage the relay module
 globally. Once it is done, you can access the ESB management console as
 normal. Once this is done all the admin services messages are built AFAIU.
 So, if we need to do the same for hidden services we need to set
 includeHiddenServices to true.

 In this jira, PackageInfoService is not an admin service, but a hidden
 service. Once you set the above property to true, there is no issue.

 So, I am going to resolve this issue.

 Regards,
 AmilaM.

 On Wed, Jul 25, 2012 at 7:51 AM, Charitha Kankanamge chari...@wso2.comwrote:

 You may find this useful -
 http://wso2.org/project/esb/java/4.0.0/docs/message_relay.html


 On Wednesday, July 25, 2012, Pradeep Fernando wrote:



 On Wed, Jul 25, 2012 at 6:57 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Thanks Supun for the info.

 BTW, I got to know that this kind of a configuration is practical. And
 we can skip hidden services from message-relay by engaging the relay module
 and setting the includeHiddenService


 So it builds the message using a Handler after the initial wrap during
 the message builder (?)

 --Pradeep



 --
 Charitha Kankanamge
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com http://wso2.com




 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [ANN] WSO2 API Manager 1.0.0-Beta2 Released

2012-07-23 Thread Charitha Kankanamge
Its already there in README. see step 2;

Steps:
--
** IMPORTANT: If you have already configured any other sample, start from
Step 7 **

1. Extract wso2am-xxx.zip (eg: wso2am-1.0.0-Beta2.zip)
2. Go to wso2am-1.0.0-Beta2/bin folder  type 'ant'


Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com



On Tue, Jul 24, 2012 at 7:42 AM, Chintana Wilamuna chint...@wso2.comwrote:

 Didn't knew I need to run ant inside bin dir. Works fine after that. May
 be we can add it to the README?

 -Chintana


 On Tue, Jul 24, 2012 at 10:04 AM, Chintana Wilamuna chint...@wso2.comwrote:

 I'm trying to run the TwitterSearch sample on this. When I try to run ant
 inside /samples/Data it says,

 BUILD FAILED
 /home/chintana/wso2am-1.0.0-Beta2/samples/Data/build.xml:49:
 /home/chintana/wso2am-1.0.0-Beta2/repository/lib does not exist.

 There's no directory called lib inside repository.

 -Chintana

 On Fri, Jul 20, 2012 at 10:24 PM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:

 WSO2 API Manager team is pleased to announce the 1.0.0-Beta2 release of
 the world's first open source API management platform. This release is now
 available for download at
 http://dist.wso2.org/products/api-manager/1.0.0-beta-2/wso2am-1.0.0-Beta2.zip.
 This distribution contains several improvements over the Beta1 release
 including support for latest BAM analytics features, remote registry
 integration and support for database engines like Oracle and MySQL.

 WSO2 API Manager is a platform for creating, managing, consuming and
 monitoring APIs. It employs tried and tested SOA best practices to
 solve a wide range of API management challenges such as API provisioning,
 API governance and API security. WSO2 API Manager combines some of the most
 powerful and mature components of the WSO2 Carbon platform to deliver a
 smooth and end-to-end API management experience while catering to both API
 publisher and API consumer needs. WSO2 API Manager is released under the 
 Apache
 Software License 2.0 http://www.apache.org/licenses/LICENSE-2.0.

 *Key Features*

 For API authors and publishers:

- Publish APIs to external consumers and partners, as well as
internal users; SOAP and REST services are supported
- Manage API versions (several versions can be deployed in parallel)
- Govern the API lifecycle (publish, deprecate, retire)
- Attach documentation (files, external URLs) to APIs
- Apply Security policies to APIs (authentication, authorization)
- Attach SLAs
- Track consumers per API
- Monitor API usage, performance and SLA compliance

 For API consumers:

- Find useful APIs by browsing or searching through the API Store:
view top rated, top used and featured APIs
- Explore API documentation
- Register applications and obtain API keys
- Evaluate APIs, rate APIs, and share comments
- OAuth2 support for API access

 *Installing*
 *
 *
 The only prerequisite required to try this release out is an
 installation of JDK 1.6 (Sun/Oracle JDK 1.6.0_23 or higher recommended)

- Download the WSO2 API Manager 1.0.0-Beta2 release from

 http://dist.wso2.org/products/api-manager/1.0.0-beta-2/wso2am-1.0.0-Beta2.zip
- Extract the downloaded archive
- Go to the 'bin' directory and execute wso2server.sh (Unix/Linux)
or wso2server.bat (Windows)
- Point your web browser to https://localhost:9443/publisher or
https://localhost:9443/store to get started

 *How to Run Samples?*
 *
 *
 This release of the WSO2 API Manager comes with 3 complete samples.
 Following steps explain how to get these samples up and running:

 1. Download and extract wso2am-1.0.0-Beta2.zip
 2. Go to 'samples' folder.
 3. README.txt inside each of the sample folder provides complete
 instructions on deploying  testing sample scenarios.
 4. To learn how to configure statistics monitoring, read
 WSO2AM-HOME/statistics/README.txt

 You need to have Apache Ant 1.8 or higher to run the samples.

 *Known Issues*

 All the known issues related this release are reported in the WSO2 API
 Manager 
 JIRAhttps://wso2.org/jira/secure/IssueNavigator.jspa?requestId=10682
 .

 *Bug Fixes and New Features in this Release*

 Bug

- [APISTORE-138 https://wso2.org/jira/browse/APISTORE-138] - Tier
Availability drop down does not get populated correctly
- [APISTORE-327 https://wso2.org/jira/browse/APISTORE-327] -
StatClient BAM initialization script doesn't end process
- [APISTORE-329 https://wso2.org/jira/browse/APISTORE-329] - BAM
Statistics not available
- [APISTORE-428 https://wso2.org/jira/browse/APISTORE-428] - Stat
Client make_analyser_jar task not working on Ubuntu
- [APISTORE-444 https://wso2.org/jira/browse/APISTORE-444] -
Warning at API manager startup in beta pack - OAuthUtil Error in OAuth
Configuration. Author izationCallbackHandlers element is not available
- [APISTORE-445 https://wso2.org/jira/browse/APISTORE-445] - API

[Dev] Is replicated caching necessary in registry mounting?

2012-07-19 Thread Charitha Kankanamge
Folks,
Should replicated caching be enabled with registry mounting? Suppose
/_system/governance space of an ESB instance is mounted (jdbc or ws) to the
same collection of a central G-reg. In that case, should we enable
replicated caching in both ESB and G-reg instances?
Please confirm.

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AppServer Cluster with LB does not work on trunk

2012-07-19 Thread Charitha Kankanamge
We have not fronted any servers by WSO2 LB yet.

On Friday, July 20, 2012, Samisa Abeysinghe wrote:

 Is this a regression? Did we not test clustering in this cycle? I remember
 like we did...

 On Fri, Jul 20, 2012 at 6:22 AM, Thilini Ishaka 
 thil...@wso2.comjavascript:_e({}, 'cvml', 'thil...@wso2.com');
  wrote:

 Hi,

 I have configured AS cluster with the LB (with latest trunk packs).
 The logs from LB;

 [2012-07-20 06:07:06,485]  INFO - RpcMembershipRequestHandler Received
 JOIN message from 127.0.0.1:4100(wso2.as.domain)
 [2012-07-20 06:07:06,486]  INFO - MembershipManager Application member
 127.0.0.1:4100(wso2.as.domain) joined group wso2.as.domain
 [2012-07-20 06:07:36,504] ERROR - DefaultGroupManagementAgent Could not
 add application member Host:127.0.0.1, Port: 4100, *HTTP:9767,
 HTTPS:9447,* ACTIVE:true

 I have set AS offset to 2, but in the above logs it shows HTTP: 9767
 which should actually be 9765 And HTTPS 9447 which should actually be 9445.

 I have attached AS axis2.config and LB config herewith.
 Also This works with a few weeks older pack.

 I kindly appreciate any help on this.

 Thanks
 Thilini

 ___
 Dev mailing list
 Dev@wso2.org javascript:_e({}, 'cvml', 'Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org




-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AppServer Cluster with LB does not work on trunk

2012-07-19 Thread Charitha Kankanamge
We have tested AS cluster with multiple nodes specifically to test the
followings and reported many bugs.
- deployment synchronization - both registry based and svn
- session replication of stateful services

We are yet to do;
- web app cluster
- ESB cluster
- product cluster fronted by WSO2 LB
- dep sync in multi-tenanted setup

On Friday, July 20, 2012, Samisa Abeysinghe wrote:



 On Fri, Jul 20, 2012 at 6:58 AM, Charitha Kankanamge 
 chari...@wso2.comjavascript:_e({}, 'cvml', 'chari...@wso2.com');
  wrote:

 We have not fronted any servers by WSO2 LB yet.


 Have we tested clustering?  Did we test AS/ESB cluster?



 On Friday, July 20, 2012, Samisa Abeysinghe wrote:

 Is this a regression? Did we not test clustering in this cycle? I
 remember like we did...

 On Fri, Jul 20, 2012 at 6:22 AM, Thilini Ishaka thil...@wso2.comwrote:

 Hi,

 I have configured AS cluster with the LB (with latest trunk packs).
 The logs from LB;

 [2012-07-20 06:07:06,485]  INFO - RpcMembershipRequestHandler Received
 JOIN message from 127.0.0.1:4100(wso2.as.domain)
 [2012-07-20 06:07:06,486]  INFO - MembershipManager Application member
 127.0.0.1:4100(wso2.as.domain) joined group wso2.as.domain
 [2012-07-20 06:07:36,504] ERROR - DefaultGroupManagementAgent Could not
 add application member Host:127.0.0.1, Port: 4100, *HTTP:9767,
 HTTPS:9447,* ACTIVE:true

 I have set AS offset to 2, but in the above logs it shows HTTP: 9767
 which should actually be 9765 And HTTPS 9447 which should actually be 9445.

 I have attached AS axis2.config and LB config herewith.
 Also This works with a few weeks older pack.

 I kindly appreciate any help on this.

 Thanks
 Thilini

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org




 --
 Charitha Kankanamge
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com http://wso2.com

  Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org




-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is replicated caching necessary in registry mounting?

2012-07-19 Thread Charitha Kankanamge
Thanks Subash, this is something we have not documented anywhere. We should
update all docs, blogs with this information.

On Friday, July 20, 2012, Subash Chaturanga wrote:



 On Thu, Jul 19, 2012 at 11:48 PM, Charitha Kankanamge 
 chari...@wso2.comjavascript:_e({}, 'cvml', 'chari...@wso2.com');
  wrote:

 Folks,
 Should replicated caching be enabled with registry mounting? Suppose
 /_system/governance space of an ESB instance is mounted (jdbc or ws) to the
 same collection of a central G-reg. In that case, should we enable
 replicated caching in both ESB and G-reg instances?
 Please confirm.

 Hi Charitha,
 Yes, for JDBC mounting it is a MUST. But AFAIK, for atom/ws mounting it
 should be fine without replicated caching enabled.



 Thanks!
 Charitha


 ___
 Dev mailing list
 Dev@wso2.org javascript:_e({}, 'cvml', 'Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com javascript:_e({}, 'cvml', 'sub...@wso2.com');
 phone - 077 2225922



-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Unable to locate config language doc of API (ESB REST API)

2012-07-18 Thread Charitha Kankanamge
I cannot locate the configuration language doc of ESB REST API (checked in
4.5.0 doc pack). Appreciate if someone can send me the complete config
syntax of API. This is essential in test planning and execution.

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to locate config language doc of API (ESB REST API)

2012-07-18 Thread Charitha Kankanamge
https://wso2.org/jira/browse/ESBJAVA-1257



On Wed, Jul 18, 2012 at 2:41 PM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Wed, Jul 18, 2012 at 12:36 PM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 I cannot locate the configuration language doc of ESB REST API (checked
 in 4.5.0 doc pack). Appreciate if someone can send me the complete config
 syntax of API. This is essential in test planning and execution.


 If the doc is not there, that is an absolute blocker for the release.

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] API manager becomes unusable due to a registry dead lock

2012-07-13 Thread Charitha Kankanamge
This is very simple to reproduce and an absolute blocker in standalone H2
based deployment because if API provider mistakenly give inaccessible or
wrong WSDL url, whole registry becomes unusable.

1. In API manager, login to API publisher app
2. Add a new API with a WSDL and make sure to specify a wsdl which is not
accessible
3. Submit the form, you will get an error
4. Now, correct the WSDL url and resubmit.

Registry will be dead locked. After this, you will not be able to do any
registry related task.

TID: [-1234] [WSO2 API Manager] [2012-07-13 18:48:34,054] ERROR
{org.wso2.carbon.governance.api.util.GovernanceUtils} -  Error in getting
the result for media type: application/vnd.wso2.registry-ext-type+xml.
{org.wso2.carbon.governance.api.util.GovernanceUtils}
org.wso2.carbon.registry.core.exceptions.RegistryException: Timeout trying
to lock table REG_RESOURCE; SQL statement:
SELECT DISTINCT REG_PATH_ID, REG_NAME FROM REG_RESOURCE WHERE
(REG_RESOURCE.REG_TENANT_ID=?) AND  REG_MEDIA_TYPE=? [50200-140]
at
org.wso2.carbon.registry.core.jdbc.dataaccess.SQLQueryProcessor.executeQuery(SQLQueryProcessor.java:240)
at
org.wso2.carbon.registry.core.jdbc.queries.QueryProcessorManager.executeQuery(QueryProcessorManager.java:137)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.executeQuery(EmbeddedRegistry.java:2271)
at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.executeQuery(CacheBackedRegistry.java:305)
at
org.wso2.carbon.registry.core.session.UserRegistry.executeQuery(UserRegistry.java:1246)
at
org.wso2.carbon.governance.api.util.GovernanceUtils.getResultPaths(GovernanceUtils.java:171)
at
org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifacts(GovernanceUtils.java:114)
at
org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifactConfigurations(GovernanceUtils.java:383)
at
org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifactConfiguration(GovernanceUtils.java:144)
at
org.wso2.carbon.governance.api.generic.GenericArtifactManager.init(GenericArtifactManager.java:83)
at
org.wso2.carbon.apimgt.impl.AbstractAPIManager.isContextExist(AbstractAPIManager.java:260)
at
org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsFunction_isContextExist(APIProviderHostObject.java:1213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at
org.wso2.carbon.rhino.modules.api.c3._c2(/publisher/modules/api/add.jag:31)
at org.wso2.carbon.rhino.modules.api.c3.call(/publisher/modules/api/add.jag)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2347)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:272)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:127)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at
org.wso2.carbon.rhino.modules.api.c0._c3(/publisher/modules/api/module.jag:12)
at
org.wso2.carbon.rhino.modules.api.c0.call(/publisher/modules/api/module.jag)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at
org.wso2.carbon.rhino.site.blocks.item_add.ajax.c0._c1(/publisher/site/blocks/item-add/ajax/add.jag:73)
at
org.wso2.carbon.rhino.site.blocks.item_add.ajax.c0.call(/publisher/site/blocks/item-add/ajax/add.jag)
at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57)
at
org.wso2.carbon.rhino.site.blocks.item_add.ajax.c0._c0(/publisher/site/blocks/item-add/ajax/add.jag:4)
at
org.wso2.carbon.rhino.site.blocks.item_add.ajax.c0.call(/publisher/site/blocks/item-add/ajax/add.jag)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
at
org.wso2.carbon.rhino.site.blocks.item_add.ajax.c0.call(/publisher/site/blocks/item-add/ajax/add.jag)
at
org.wso2.carbon.rhino.site.blocks.item_add.ajax.c0.exec(/publisher/site/blocks/item-add/ajax/add.jag)
at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:443)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:202)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:223)
at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at

[Dev] Carbon UI: Forum link in login page

2012-07-12 Thread Charitha Kankanamge
There is a prominent forum link in the login page of any carbon product.
Since the OT forums have been deprecated, is this link still valid?

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Xpath query in G-reg - How does it work??

2012-07-11 Thread Charitha Kankanamge
Hi Senaka,

Given below is all we have as a reference to plan/execute tests on Xpath
query feature in G-reg. (Taken from:
https://docs.google.com/a/wso2.com/document/d/1XdEHku1zdYz2_4oYIBg_YZ0bGIZgk0SGgoyHxAedng4/edit
)

==
*Can pass Xapth expressions to executeQuery method (i.e can search for
services /policies from xpath expressions)
i.e
//HUMAN_READABLE_NAME
//HUMAN_READABLE_NAME[SEARCH CRITERIA]
//HUMAN_READABLE_NAME/ASSOCIATION_NAME OR CHILD RESOURCE OR COLLECTION
NAME
//HUMAN_READABLE_NAME[SEARCH CRITERIA]/ASSOCIATION_NAME OR CHILD
RESOURCE OR COLLECTION NAME
//HUMAN_READABLE_NAME[SEARCH CRITERIA]/ASSOCIATION_NAME OR CHILD
RESOURCE OR COLLECTION NAME[SEARCH CRITERIA]
//HUMAN_READABLE_NAME[SEARCH CRITERIA]/ASSOCIATION_NAME OR CHILD
RESOURCE OR COLLECTION NAME[SEARCH CRITERIA]/ASSOCIATION_NAME OR CHILD
RESOURCE OR COLLECTION NAME[SEARCH CRITERIA]
/RESOURCE_OR_COLLECTION_NAME_UNDER_ROOT/...
//ANY_RESOURCE_OR_COLLECTION_NAME/...*

=

Can anyone get any idea by looking at the above? We had to spend time
unnecessarily to go through code to figure out what you actually meant by
above key words.

We did the following test first.

1. Assuming the above *HUMAN_READABLE_NAME refers to *human readable
media types*, defined a new human readable media type in mime.mappings file
e.g:-
application/vnd.wso2-service+xmlweb

2. Ran the following test

   public void testXpathQuery() throws RegistryException {

Map parameters = new HashMap();
parameters.put(query, //web);
parameters.put(mediaType, application/vnd.wso2.xpath.query);

Resource result = registry.executeQuery(null, parameters);
System.out.println(result.getId());

String[] paths = (String[]) result.getContent();
for (String path : paths) {
System.out.println(path is  + path);
}
}
*
This returned all services.
e.g:-
/_system/governance/trunk/services/org/wso2/carbon/service/Axis2Service

We are stuck after this test. How should we proceed with SEARCH CRITERIA
and other options? We tried a lot of Xpath combinations but still unable to
figure out and not sure what we are observing is the expected behavior.

We cannot test anything based on assumptions. I'm sorry, but hours of our
time would have been saved if you gave at least a simple example at first
place. I do not think anybody can get any idea by looking at what you have
given above. We are badly running out of time and we need to move into the
other product testing soon. We do not have time to play around any trial'n
error scenarios.

Please send us an example ASAP.

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latest G-Reg pack.

2012-07-09 Thread Charitha Kankanamge
Hi Ajith,
Please host a new pack for testing since list URIs and WADL features are
broken in this pack.

/Charitha

On Mon, Jul 9, 2012 at 2:45 PM, Ajith Vitharana aji...@wso2.com wrote:



 On Mon, Jul 9, 2012 at 2:31 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Ajith,

 Any reasons for why you hosted a new pack? What about the ones from
 builder?


 This is a pack which is  built on clean repo in my local machine. I can't
 find successful bamboo build (product) since more than two weeks.

 Thanks
 Ajith


 Thanks,
 Senaka.

 On Mon, Jul 9, 2012 at 10:24 AM, Yumani Ranaweera yum...@wso2.comwrote:

 Hi,

 It gives replace messages
 to samples/shutterbug/src/README.txt, samples/ws-client/README.txt when
 extracting the pack in Ubuntu.

 Thanks,
 Yumani



 On Mon, Jul 9, 2012 at 9:39 AM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 Please find the latest G-Reg pack at[1].

 [1]https://svn.wso2.org/repos/wso2/people/ajith/greg-4.5.0/2012-07-09/

 Thanks
 Ajithn

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794





 --
 *
 *
 *

 Yumani Ranaweera*



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794



 ___
 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] Why Do we Display TryIt for Proxy Services that have no WSDL?

2012-07-09 Thread Charitha Kankanamge
On Tue, Jul 10, 2012 at 9:36 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Ok, I think I understand what's happening. So, Synapse creates a dummy
 WSDL, which is why Try-it shows up, and then can we invoke a service
 against that dummy WSDL, by passing in an arbitrary payload?


Yes. You can send an arbitrary payload using tryit to a proxy service. We
have tested this.


 I think Azeez was saying that's possible. If that's the case, we have no
 issues with what we have.

 Thanks,
 Senaka.


 On Mon, Jul 9, 2012 at 11:45 PM, Kasun Indrasiri ka...@wso2.com wrote:



 On Tue, Jul 10, 2012 at 3:58 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 When I create a ProxyService in ESB, The WSDL is not mandatory. But,
 TryIt is available and can do absolutely nothing with that service. Does it
 make sense to display Try It in such a scenario?

 Yeah, if you don't specify a publish wsdl for the proxy service, synapse
 creates a dummy wsdl with the mediate operation. If we don't specify a
 wsdl, that means any external part doesn't know how to interact with the
 service. So, without knowing the actual message format, tryit nor soap ui
 can't invoke a proxy service that doesn't have a publish wsdl.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 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] Do we support IBM JDK in latest trunk?

2012-07-06 Thread Charitha Kankanamge
ChamaraA is on IBM JDK6 testing G-reg trunk packs.

Thanks!
Charitha

On Fri, Jul 6, 2012 at 1:58 PM, Kasun Weranga kas...@wso2.com wrote:

 We have supported this in past [1]. But adding the parameter algorithm
 as IBMX509  to catalina-server.xml doesn't fix the following error in the
 trunk.
 Don't we support IBM JDK anymore?


 Thanks,
 KasunW


 [1]
 http://charithaka.blogspot.com/2009/11/running-wso2-carbon-based-products-on.html


 On Fri, Jul 6, 2012 at 2:11 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi devs,

 Do we support IBM JDK in latest trunk?  This user got some issues when
 using BAM M5 with IBM JDK 1.6. If we support IBM JDK, I think we should fix
 this in the kernel level.


 -- Forwarded message --
 From: Fernando Troya fernando.tr...@fluxit.com.ar
 Date: Tue, Jun 26, 2012 at 6:26 PM
 Subject: Re: [Architecture] BAM 2.0.0 Milestone 5 released!
 To: architect...@wso2.org


 Hi all,

 I don't want to make too much noise with these errors as they might be
 expected behavior; anyway this is my experience with M5;


 1. A new dependency to SUN JDK has been introduced with M5

1. I used to run WSO2 BAM with IBM JDK 1.6 now I get this error on
   server startup

 Can not create and start Agent Server
 org.wso2.carbon.eventbridge.core.exception.EventBridgeException: Cannot
 start agent server on port 7711
  ...
 java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not
 available

 2. Then I switched to SUN JKD 1.6, connected to Cassandra's Cluster
 (localhost:9160, admin, admin), installed the KPI Toolbox sample (neat) and
 tried to run the KPI script. I got the following error:

 *ERROR:* Error while executing Hive script. Query returned non-zero
 code: 9, cause: FAILED: Execution Error, return code 1 from
 org.apache.hadoop.hive.ql.exec.DDLTask

 Stacktrace:

 [2012-06-26 08:55:26,835] ERROR
 {org.wso2.carbon.cassandra.server.CarbonCassandraAuthenticator} -  The key
 is not present in the cache...
 Hive history
 file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1569991736.txt
 Hive history
 file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1456764371.txt
 FAILED: Error in metadata: MetaException(message:Unable to create key
 space 'EVENT_KS'. Error:null)
 [2012-06-26 08:55:50,634] ERROR {org.apache.hadoop.hive.ql.exec.Task} -
 FAILED: Error in metadata: MetaException(message:Unable to create key space
 'EVENT_KS'. Error:null)
 org.apache.hadoop.hive.ql.metadata.HiveException:
 MetaException(message:Unable to create key space 'EVENT_KS'. Error:null)
 at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:546)

 KPI tabs in the dashboard are created but of course there's no content
 displayed.

 3. With regards the *Gadget Gen Tool*, I can't pass the second screen as
 no table has been created. Anyways, I have two questions about this:

- Is the *Gadget IDE *gone for good?
- Users have now to type their scripts; does this mean that they need
to know SQL to write their gadgets?

 Cheers,
 2012/6/22 Tharindu Mathew thari...@wso2.com

 *WSO2 Business Activity Monitor 2.0.0 - Milestone 5 Released!* *Date :
 23rd June 2012*
 *
 *
 This milestone is available at -
 http://people.wso2.com/~tharindu/m5/wso2bam-2.0.0-SNAPSHOT.zip

 P2 Repo containing Agents for ESB and AS available at :
 http://people.wso2.com/~kasunw/BAM2-M5-p2-repo/p2-repo/

 Note: This M5 does not work on Windows due to a known issue with Hadoop.
 This will be fixed for a future milestone.
 This release can be tested *end-end. *This release is NOT compatible
 with older milestone releases of BAM 2.0.0.* *Please check out the
 samples located in the $BAM_HOME/samples directory to try out the features.


 Main highlights of this release are:

 *Agent API*

 - A new Agent API model with the capability to define event streams

 - A new fast Apache Thrift based API for high performance event capturing

 - Java SDK for high performance Thrift clients

 - A complete REST API for event capturing


 *Scalable Storage*

 - New versioned, stream definition based data model

 - Implemented on top of Apache Cassandra for maximum scalability an
 write throughput

 *
 *
 *Scalable Analytics*

 - SQL like scalable analytics query language on top of Apache Hive

 - Specially built Hive JDBC handler only available for WSO2 BAM

 - Big Data Scalable analytics with the integration of Apache Hadoop

 *
 *
 *BAM Toolboxes*

 - One click deployment of complete monitoring scenarios with BAM
 Toolboxes. Ex: KPI Definition

 - Ability to package BAM artifacts for easy deployment

 *
 *
 *BAM Mediators and Statistic collectors*
 *
 *
 - ESB Mediator for capturing data from mediation flows

 - Statistic Collectors for AS, ESB and other WSO2 products

 *
 *
 *Gadget Generation*

 - Simplified dashboard generation with a step by step wizard

 

 We welcome your feedback and would love to hear your thoughts on this
 release of WSO2 BAM.

 The WSO2 BAM Team

 

[Dev] C4 DSS testing cycle

2012-07-06 Thread Charitha Kankanamge
Hi,

There are some features which are still being developed (or not included in
C4 beta pack which we are testing at the moment). As per offline chat with
Dinusha, following are some of those features.

- NData Source
- Dynamic user authentication
- Secure vault support for data services
- SQL parser

We need to test these features + regressions in next cycle.

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Possible deployment synchronizer issues

2012-07-06 Thread Charitha Kankanamge
On Fri, Jul 6, 2012 at 7:31 PM, Isuru Suriarachchi is...@wso2.com wrote:

 While testing some other issue with the deployment synchronizer (DS), I
 found the following scenarios in which there can be svn conflicts.

 1. Synchronizing meta files. Consider the following sequence in a 2 node
 Carbon cluster..

 * foo.aar deployed in node 1
 * DS syncs it to node 2
 * foo.aar gets deployed in node 1 and foo.meta is created in node 1
 * foo.aar gets deployed in node 2 and foo.meta is created in node 2
 * DS tries to sync foo.meta in node 1 to node 2
 * Conflict because foo.meta is already there in node 2

 2. Deploying webapps. Now we've enabled exploded mode by default. So if a
 foo.war is in webapps directory, foo directory will be created inside the
 webapps directory.

 * foo.war is deployed in node 1
 * DS syncs it to node 2 before extraction
 * both node 1 and node 2 deploys foo.war and creates foo directories under
 webapps
 * DS tries to sync foo directory from node 1 to node 2
 * Conflict because the foo directory is already there in node 2

 I think we have to heavily test these scenarios and fix all these issues
 before we release. Charitha, have we tested DS on trunk? If not, shall we
 create a plan?



We have tested various scenarios related to this DepSync and reported 20+
issues too (See [1] ). Not sure we came across the above as well but I'm
sure we came across various issues related to SVN conflicts such as
https://wso2.org/jira/browse/CARBON-13070

 [1]
https://wso2.org/jira/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+CARBON+AND+resolution+%3D+Unresolved+AND+component+%3D+%22Deployment+Synchronizer%22+ORDER+BY+priority+DESCmode=hide


Anyway, lets review the scenarios and plan for any missing cases.


 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Senior Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Smoke test - Kernel Beta2 Packs

2012-07-04 Thread Charitha Kankanamge
Yes, unfortunately build 255 does not have p2 repo. That's why we were
repeatedly requesting a compatible repository to continue testing.
At least for next beta, please make sure to host a p2 repo.

On Wednesday, July 4, 2012, Senaka Fernando wrote:

 Hi all,

 I think that might be inconsistent. Packs from build 255 an P2 Repo from
 build 143 might be incompatible isn't it?

 Thanks,
 Senaka.

 On Wed, Jul 4, 2012 at 6:24 PM, Evanthika Amarasiri 
 evanth...@wso2.comjavascript:_e({}, 'cvml', 'evanth...@wso2.com');
  wrote:

 Hi,

 Reminder! We are using [1] at the moment.

 [1] -
 http://wso2.org/bamboo/artifact/WSO2CARBON-P2REPO/JOB1/build-143/P2-Repo/p2-repo

 Regards,
 Evanthika



 On Fri, Jun 29, 2012 at 12:36 PM, Charitha Kankanamge 
 chari...@wso2.comjavascript:_e({}, 'cvml', 'chari...@wso2.com');
  wrote:

 Hi Dimuthu,
 I cannot find the P2-repo associated with these packs. Can you please
 share the URL?

 Thanks!
 Charitha

 On Mon, Jun 25, 2012 at 9:23 AM, Dimuthu Leelarathne 
 dimut...@wso2.comjavascript:_e({}, 'cvml', 'dimut...@wso2.com');
  wrote:

 Hi RMs,

 Please do a smoke test on the following packs.

 http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-255/artifact

 Smoke testing includes,

 1) No startup errors
 2) All samples working
 3) Super tenant sign-in is working fine
 4) Tenant sign-in is working

 thanks,
 dimuthu

 ___
 Dev mailing list
 Dev@wso2.org javascript:_e({}, 'cvml', 'Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org javascript:_e({}, 'cvml', 'Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org javascript:_e({}, 'cvml', 'Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware



-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Have we tested JMX monitoring in trunk

2012-07-04 Thread Charitha Kankanamge
Noted.



On Thu, Jul 5, 2012 at 10:40 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi all,

 $subject? I tried to follow some articles on how to remotely monitor WSO2
 products via JMX (with 3.2.3 packs) and it seems the instructions mentioned
 in those articles are not working. One such article is [1]. But there is a
 workaround which can be found at [2].

 Charitha et al, please pay attention to this during your testing cycles.
 If this is broken, we'll have to fix this before we release the kernel.

 [1]
 http://wso2.org/library/knowledge-base/2011/04/monitoring-wso2-esb-using-jconsole
 [2]
 http://maharachchi.blogspot.com/2011/02/monitoring-your-java-application-with.html

 Regards,
 AmilaM.
 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] 20 open bugs in Deployment Synchronizer component

2012-07-02 Thread Charitha Kankanamge
There are 20 open issues in Dep Sync component. Since some of these issues
must be fixed before the Carbon kernal release, please review/prioritize if
needed and assign to the relevant developer.

https://wso2.org/jira/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+CARBON+AND+component+%3D+%22Deployment+Synchronizer%22+AND+status+%3D+Open+ORDER+BY+priority+DESCmode=hide

/Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Smoke test - Kernel Beta2 Packs

2012-06-29 Thread Charitha Kankanamge
Hi Dimuthu,
I cannot find the P2-repo associated with these packs. Can you please share
the URL?

Thanks!
Charitha

On Mon, Jun 25, 2012 at 9:23 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi RMs,

 Please do a smoke test on the following packs.

 http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-255/artifact

 Smoke testing includes,

 1) No startup errors
 2) All samples working
 3) Super tenant sign-in is working fine
 4) Tenant sign-in is working

 thanks,
 dimuthu

 ___
 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] Why using apiprovider as the webapp name for API Publisher

2012-06-24 Thread Charitha Kankanamge
Yes Denis. I also got confused about this name because the webapp name is
apiprovider but in the UI, there is a nice logo with WSO2 API Publisher

/Charitha

On Sat, Jun 23, 2012 at 7:53 AM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 In API manager admin console, web app name for API Publisher is
 apiprovider.
 As a new user to API Manager, it was confusing to me.
 Is it ok to rename it to apipublisher?

 --
 Thanks,
 Denis
 --
 *Denis Weerasiri*
 Senior Software Engineer
 Integration Technologies Team, WSO2 Inc.; http://wso2.com,
 *email: denis http://goog_277208233/** [AT] wso2.com http://wso2.com/*
 *phone: +94117639629
 *
 *site: 
 **https://sites.google.com/site/ddweerasiri/*https://sites.google.com/site/ddweerasiri/
 *blog: **http://ddweerasiri.blogspot.com*http://ddweerasiri.blogspot.com/
 *
 twitter: **http://twitter.com/ddweerasiri*http://twitter.com/ddweerasiri
 *
 linked-in: 
 **http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri


 ___
 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] Does the XSLT mediator in ESB support XPath 2.0

2012-06-21 Thread Charitha Kankanamge
Are you trying ESB trunk (4.5.0) or an older version? Xpath-2.0 is
supported by ESB trunk version.

/Charitha


On Thu, Jun 21, 2012 at 3:46 PM, Nipuni Perera nip...@wso2.com wrote:

 Hi All,

 I have tried xml transformation in ESB. But it gave me the following error
 for xslt function distinct-values

 ERROR - XSLTMediator Fatal error occurred in stylesheet parsing :
 javax.xml.transform.TransformerException: Could not find function:
 distinct-values

 Thanks,
 Nipuni

 ___
 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] C4 ESB pack for testing

2012-06-06 Thread Charitha Kankanamge
Hi Dimuthu,
Registry browser is broken in this latest ESB pack which is an absolute
blocker for us to proceed with some test scenarios [1]. Can we have a new
pack with registry browser fixes?

Lakmali,
It will be great if you can include the new Smooks samples into the next
pack.

[1]https://wso2.org/jira/browse/ESBJAVA-964

/Charitha

On Mon, Jun 4, 2012 at 6:05 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi Charitha,

 ESB distro and doc packs are available at

 http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-184/artifact/JOB1/ESB

 This is the first merged pack for QA.

 thanks,
 dimuthu


 On Fri, Jun 1, 2012 at 11:29 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi builders,
 Can we please have a new ESB C4 pack for testing. We are going to start
 ESB test planning/execution hackathon.

 Thanks!
 Charitha




 --
 Dimuthu Leelarathne
 Technical Lead

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com

 Lean . Enterprise . Middleware


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [L1] UTF-8 Support in Carbon Busted

2012-06-03 Thread Charitha Kankanamge
On Sun, Jun 3, 2012 at 8:14 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Azeez,

 There aren't any test cases for these. I'm trying to understand the best
 way to test these too. The reason seems to be in the code running on the
 browser rather than the code running on the server. Now, if we are using
 something like Selenium, we can easily write a test for this, but since we
 don't that's a bit of a challenge. So, I'm just thinking whether there is a
 way of simulating a browser request using some headless Java code.


We have never tried, but Selenium2 WebDriver can run in headless mode. see
[1]

[1]
http://www.googlewebdriver.com/google-selenium-webdriver/how-to-run-browser-tests-in-headless-mode/


 Then, we can write test cases for these issues too, and make sure they
 never break again.

 Thoughts?

 Thanks,
 Senaka.

 On Sun, Jun 3, 2012 at 5:32 PM, Afkham Azeez az...@wso2.com wrote:

 There are no test cases for these scenarios. Can we add a test case as
 well while fixing this up?

 On Sun, Jun 3, 2012 at 4:32 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Please note that the following basic functionality that was working in
 the past is no longer working.

 1. Create a user with name: 平仮名 and password: 平仮名平仮名.
 2. Create a role with name: 平仮名 and give it all permissions and add the
 user created above to that role.
 3. Login with newly created user.

 This was a scenario that was working perfectly well in the past and it
 seems to be broken due to neglectful cleaning up code during Tomcat
 OSGification. This is an absolute blocker for non-English speaking user
 communities and must be fixed before the release is made.

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*

 *
 *
 *Lean . Enterprise . Middleware*




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 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] C4 ESB pack for testing

2012-06-01 Thread Charitha Kankanamge
Hi builders,
Can we please have a new ESB C4 pack for testing. We are going to start ESB
test planning/execution hackathon.

Thanks!
Charitha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CHECKOUT_BEFORE_CHECK_IN error in Deployment Synchronizer Write Only mode

2012-05-29 Thread Charitha Kankanamge
Hi Nuwan,
I raised the same question in [Dev] WSO2 Carbon Beta Packs for QA thread
sometime back but did not get a reply hence reported the jira.

Should the admin node be started with both auto-commit and auto-checkout
set to true?


On Tue, May 29, 2012 at 4:24 PM, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 In the issue at https://wso2.org/jira/browse/CARBON-13108, it has been
 reported that a CHECKOUT_BEFORE_CHECK_IN error occurs when using the
 Registry based deployment synchronization in WRITE_ONLY mode
 (autoCheckOut=false, autoCheckIn=true). This error is caused due to the
 CheckInCommand failing to find the meta files directory which is normally
 created during the first registry checkout.

 Is running a node in WRITE_ONLY mode logical? If so, how should we address
 this issue?

 Thanks,

 --
 Nuwan Dias

 Software Engineer - WSO2, Inc.
 Integration Technologies Team
 email : nuw...@wso2.com
 Phone : +94 777 775 729


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


  1   2   3   4   5   6   7   >