Re: [Carbon-dev] HTTP and Proxy Authenticators for Carbon

2011-09-05 Thread Senaka Fernando
Hi Prabath,

On Tue, Sep 6, 2011 at 7:56 AM, Prabath Siriwardena wrote:

> Hi Senaka,
>
> On Tue, Sep 6, 2011 at 1:47 AM, Senaka Fernando  wrote:
> > I've given this the name because this is standard Java terminology. What
> we
> > are implementing is an extension of java.net.Authenticator. Giving this
> some
> > other name would confuse somebody. Also having said that, Authenticator
> in
> > the java world is something that provides credentials for authentication.
> > But the CarbonAuthenticator IIRC is not doing quite that, making the
> latter
> > inconsistent. But, since we have been having it for a while, I'm not sure
> > what's the correct choice here. Anyway, giving this some other name does
> not
> > sound the correct thing to do.
>
> Even carbon authenticators take different type of credentials... and
> this seems more like a proxy proxy configuration..
>
> This is the configuration [1] already used for axis2.
>
> proxy_host="proxy_host_name"
>proxy_port="proxy_host_port"
>locked="true>userName:domain:passWord
>
> >
> > According to my understanding, with regard to proxy configuration in
> Axis2,
> > that's only if the server is fronted by a proxy while lies between client
> > and server (ex:- Apache2 mod_proxy). This fix is to allow the server to
> > access resources that lie behind multiple proxies (ex:- to access WSDL
> > behind URL 1 you need proxy settings 1, and to access WSDL behind URL 2
> you
> > need proxy settings 2). So, what you have in Axis2 is client-oriented
> (i.e.
> > for fixing WSDL URLs appropriately and all), and what we have introduced
> in
> > here is server-oriented.
>
> IIUC in your scenario Carbon server is trying to access a resource
> behind a proxy and you need to authenticate to the proxy.. Shouldn't
> this the same at the axis2 client end.. but this doesn't have multiple
> proxy support as you mentioned. In either case shouldn't this
> something to be in axis2.xml..? [not in carbon.xml]
>

This is not a transport-level thing that applies only to webservices. Axis2
is a webservices engine and this goes beyond that. For example, new
URL("foo") call inside Java code, or accessing some resource through a web
application is covered by this implementation. Also, this is not only for a
proxy, but you can use it to access resources stored on a webserver that
requires Basic, Digest, NTLM or SPNEGO authentication. If we introduce this
into Axis2, it would be doing something additional (i.e. beyond its scope).
What Axis2 has right now is sufficient for its use-cases, and this is
something beyond that.

Thanks,
Senaka.


> Thanks & regards,
> -Prabath
>
> [1]: http://wso2.org/library/161
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate 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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest set of packs available for testing

2011-09-05 Thread Amila Jayasekara
Please check jar file inside ${carbon.home}/lib/patches.

Thanks
AmilaJ

On Tue, Sep 6, 2011 at 2:12 AM, Supun Malinga  wrote:
> Hi,
> Looks like some jars hasn't been signed. Will fix.
> thanks,
>
> On Tue, Sep 6, 2011 at 1:04 AM, Prabath Siriwardena 
> wrote:
>>
>> Stratos app server fails at the startup... App Server team please have a
>> look..
>>
>> [2011-09-06 01:00:39,342] ERROR
>>
>> {org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource}
>> -  Error reading descriptors
>> java.lang.SecurityException: class "org.apache.coyote.RequestInfo"'s
>> signer information does not match signer information of other classes
>> in the same package
>>        at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
>>        at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
>>        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
>>        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>>        at
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>>        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>>        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>        at java.lang.Class.getDeclaredMethods0(Native Method)
>>        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>        at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>>        at java.lang.Class.getMethods(Class.java:1410)
>>        at
>> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:307)
>>        at
>> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:83)
>>        at
>> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:76)
>>        at org.apache.tomcat.util.modeler.Registry.load(Registry.java:696)
>>        at
>> org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:807)
>>        at
>> org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:595)
>>        at
>> org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:885)
>>        at
>> org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:737)
>>        at
>> org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
>>        at
>> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>>        at
>> org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
>>        at
>> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>        at
>> org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
>>        at
>> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>        at
>> org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
>>        at
>> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>>        at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
>>        at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
>>        at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
>>        at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
>>        at org.wso2.carbon.server.Main.startServer(Main.java:74)
>>        at org.wso2.carbon.server.Main.start(Main.java:192)
>>        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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
>>        at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
>> [2011-09-06 01:00:39,349]  WARN
>> {org.apache.tomcat.util.modeler.Registry} -  No metadata found for
>> org.apache.coyote.RequestGroupInfo
>> [2011-09-06 01:00:39,349] ERROR
>> {org.apache.tomcat.util.modeler.Registry} -  Error registering
>> Tomcat:type=GlobalRequestProcessor,name="http-nio-9763"
>> java.lang.NullPointerException
>>        at
>> org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:740)
>>        at
>> org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
>>        at
>> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>>  

Re: [Carbon-dev] HTTP and Proxy Authenticators for Carbon

2011-09-05 Thread Prabath Siriwardena
Hi Senaka,

On Tue, Sep 6, 2011 at 1:47 AM, Senaka Fernando  wrote:
> I've given this the name because this is standard Java terminology. What we
> are implementing is an extension of java.net.Authenticator. Giving this some
> other name would confuse somebody. Also having said that, Authenticator in
> the java world is something that provides credentials for authentication.
> But the CarbonAuthenticator IIRC is not doing quite that, making the latter
> inconsistent. But, since we have been having it for a while, I'm not sure
> what's the correct choice here. Anyway, giving this some other name does not
> sound the correct thing to do.

Even carbon authenticators take different type of credentials... and
this seems more like a proxy proxy configuration..

This is the configuration [1] already used for axis2.

http://wso2.org/library/161
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest set of packs available for testing

2011-09-05 Thread Supun Malinga
Hi,

Looks like some jars hasn't been signed. Will fix.

thanks,

On Tue, Sep 6, 2011 at 1:04 AM, Prabath Siriwardena wrote:

> Stratos app server fails at the startup... App Server team please have a
> look..
>
> [2011-09-06 01:00:39,342] ERROR
>
> {org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource}
> -  Error reading descriptors
> java.lang.SecurityException: class "org.apache.coyote.RequestInfo"'s
> signer information does not match signer information of other classes
> in the same package
>at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
>at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
>at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
>at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>at java.lang.Class.getDeclaredMethods0(Native Method)
>at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>at java.lang.Class.getMethods(Class.java:1410)
>at
> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:307)
>at
> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:83)
>at
> org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:76)
>at org.apache.tomcat.util.modeler.Registry.load(Registry.java:696)
>at
> org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:807)
>at
> org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:595)
>at
> org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:885)
>at
> org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:737)
>at
> org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
>at
> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>at
> org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
>at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>at
> org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
>at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>at
> org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
>at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
>at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
>at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
>at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
>at org.wso2.carbon.server.Main.startServer(Main.java:74)
>at org.wso2.carbon.server.Main.start(Main.java:192)
>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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
>at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
> [2011-09-06 01:00:39,349]  WARN
> {org.apache.tomcat.util.modeler.Registry} -  No metadata found for
> org.apache.coyote.RequestGroupInfo
> [2011-09-06 01:00:39,349] ERROR
> {org.apache.tomcat.util.modeler.Registry} -  Error registering
> Tomcat:type=GlobalRequestProcessor,name="http-nio-9763"
> java.lang.NullPointerException
>at
> org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:740)
>at
> org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
>at
> org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
>at
> org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
>at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
>at
> org.apache.catalina.core.StandardService.initI

Re: [Carbon-dev] HTTP and Proxy Authenticators for Carbon

2011-09-05 Thread Senaka Fernando
I've given this the name because this is standard Java terminology. What we
are implementing is an extension of java.net.Authenticator. Giving this some
other name would confuse somebody. Also having said that, Authenticator in
the java world is something that provides credentials for authentication.
But the CarbonAuthenticator IIRC is not doing quite that, making the latter
inconsistent. But, since we have been having it for a while, I'm not sure
what's the correct choice here. Anyway, giving this some other name does not
sound the correct thing to do.

According to my understanding, with regard to proxy configuration in Axis2,
that's only if the server is fronted by a proxy while lies between client
and server (ex:- Apache2 mod_proxy). This fix is to allow the server to
access resources that lie behind multiple proxies (ex:- to access WSDL
behind URL 1 you need proxy settings 1, and to access WSDL behind URL 2 you
need proxy settings 2). So, what you have in Axis2 is client-oriented (i.e.
for fixing WSDL URLs appropriately and all), and what we have introduced in
here is server-oriented.

Thanks,
Senaka.

On Tue, Sep 6, 2011 at 1:29 AM, Prabath Siriwardena wrote:

> Hi Senaka,
>
> The words "Authenticators/Authenticator" would easily conflict with
> the Carbon Authenticators - can you please come up with different
> words..
>
> Also - how does this differ from proxy configuration in axis2.xml..?
>
> Thanks & regards,
> -Prabath
>
> On Tue, Sep 6, 2011 at 1:16 AM, Senaka Fernando  wrote:
> > FYI,
> >
> > We have added $subject to Carbon, and the corresponding configuration (in
> > carbon.xml) is as follows:
> >
> > 
> > ...
> > 
> > 
> > 
> > 
> > .*
> > 
> > server
> > 
> > name
> > 
> > password
> > 
> > 
> > 
> > .*
> > 
> > proxy
> > 
> > name
> > 
> > password
> > 
> > 
> > 
> >
> > This allows you to define multiple authenticators to log into multiple
> > servers/proxies that require authentication. This is also useful for
> > situations where Carbon is running behind a proxy (ex:- installing from
> P2
> > repo behind proxy, accessing WSDL file from server that requires
> > authentication, importing documents from sharepoint secured by NTLM
> > authentication into the registry).
> >
> > Thanks,
> > Senaka.
> >
> > --
> > Senaka Fernando
> > Product Manager - WSO2 Governance Registry;
> > Associate 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
> >
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> Thanks & Regards,
> Prabath
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate 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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] HTTP and Proxy Authenticators for Carbon

2011-09-05 Thread Prabath Siriwardena
Hi Senaka,

The words "Authenticators/Authenticator" would easily conflict with
the Carbon Authenticators - can you please come up with different
words..

Also - how does this differ from proxy configuration in axis2.xml..?

Thanks & regards,
-Prabath

On Tue, Sep 6, 2011 at 1:16 AM, Senaka Fernando  wrote:
> FYI,
>
> We have added $subject to Carbon, and the corresponding configuration (in
> carbon.xml) is as follows:
>
>     
>     ...
>     
>     
>     
>     
>     .*
>     
>     server
>     
>     name
>     
>     password
>     
>     
>     
>     .*
>     
>     proxy
>     
>     name
>     
>     password
>     
>     
>     
>
> This allows you to define multiple authenticators to log into multiple
> servers/proxies that require authentication. This is also useful for
> situations where Carbon is running behind a proxy (ex:- installing from P2
> repo behind proxy, accessing WSDL file from server that requires
> authentication, importing documents from sharepoint secured by NTLM
> authentication into the registry).
>
> Thanks,
> Senaka.
>
> --
> Senaka Fernando
> Product Manager - WSO2 Governance Registry;
> Associate 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
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>



-- 
Thanks & Regards,
Prabath

http://blog.facilelogin.com
http://RampartFAQ.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] HTTP and Proxy Authenticators for Carbon

2011-09-05 Thread Senaka Fernando
FYI,

We have added $subject to Carbon, and the corresponding configuration (in
carbon.xml) is as follows:


...




.*

server

name

password



.*

proxy

name

password




This allows you to define multiple authenticators to log into multiple
servers/proxies that require authentication. This is also useful for
situations where Carbon is running behind a proxy (ex:- installing from P2
repo behind proxy, accessing WSDL file from server that requires
authentication, importing documents from sharepoint secured by NTLM
authentication into the registry).

Thanks,
Senaka.

-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate 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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest set of packs available for testing

2011-09-05 Thread Prabath Siriwardena
Stratos app server fails at the startup... App Server team please have a look..

[2011-09-06 01:00:39,342] ERROR
{org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource}
-  Error reading descriptors
java.lang.SecurityException: class "org.apache.coyote.RequestInfo"'s
signer information does not match signer information of other classes
in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.getMethods(Class.java:1410)
at 
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:307)
at 
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:83)
at 
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:76)
at org.apache.tomcat.util.modeler.Registry.load(Registry.java:696)
at 
org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:807)
at 
org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:595)
at 
org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:885)
at 
org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:737)
at 
org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
at 
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at 
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at 
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:305)
at org.wso2.carbon.tomcat.BetterTomcat.start(BetterTomcat.java:68)
at org.wso2.carbon.server.TomcatServer.start(TomcatServer.java:114)
at org.wso2.carbon.server.Main.startServer(Main.java:74)
at org.wso2.carbon.server.Main.start(Main.java:192)
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.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
[2011-09-06 01:00:39,349]  WARN
{org.apache.tomcat.util.modeler.Registry} -  No metadata found for
org.apache.coyote.RequestGroupInfo
[2011-09-06 01:00:39,349] ERROR
{org.apache.tomcat.util.modeler.Registry} -  Error registering
Tomcat:type=GlobalRequestProcessor,name="http-nio-9763"
java.lang.NullPointerException
at 
org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:740)
at 
org.apache.coyote.AbstractProtocolHandler.init(AbstractProtocolHandler.java:348)
at 
org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:910)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at 
org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:101)
at 
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
at org.apache.catalina.util.

[Carbon-dev] Compilation Failure - 3.2.0/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2

2011-09-05 Thread Thilina Buddhika
I am getting the following compilation failure when trying to build
 org.wso2.carbon.cloud.csg.agent/3.2.2 component.


[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/thilina/projects/carbon/3.2.0/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[176,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

[ERROR]
/home/thilina/projects/carbon/3.2.0/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[183,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

[ERROR]
/home/thilina/projects/carbon/3.2.0/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/jms/JMSServicePublisher.java:[262,38]
cannot find symbol
symbol  : method setInLineWSDL(java.lang.String)
location: class org.wso2.carbon.cloud.csg.stub.types.common.ServiceMetaData

[INFO] 3 errors
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/thilina/projects/carbon/3.2.0/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[176,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

/home/thilina/projects/carbon/3.2.0/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/CSGAgentUtils.java:[183,63]
unreported exception org.wso2.carbon.cloud.csg.common.CSGException; must be
caught or declared to be thrown

/home/thilina/projects/carbon/3.2.0/components/csg/org.wso2.carbon.cloud.csg.agent/3.2.2/src/main/java/org/wso2/carbon/cloud/csg/agent/jms/JMSServicePublisher.java:[262,38]
cannot find symbol
symbol  : method setInLineWSDL(java.lang.String)
location: class org.wso2.carbon.cloud.csg.stub.types.common.ServiceMetaData


My local copy is up-to date.

Thanks,
Thilina

-- 
Thilina Buddhika
Associate Technical Lead
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Invitation: [Code Review] [Group A] BAM Event Receiver @ Mon Sep 5 11am - 12pm (carbon-dev@wso2.org)

2011-09-05 Thread Tharindu Mathew
Hi Azeez,

It did definitely happen!

KasunW (notes - done in crucible), Harshana, HasiniG, Damitha and Pradeeban
was present from Group A.

Additionally, Sumedha, BuddhikaC & Chanaka was also present.

Some in Group A could not attend as they had som other matters to attend to,
while a fair share is not in the country.

On Mon, Sep 5, 2011 at 9:42 PM, Afkham Azeez  wrote:

> Tharindu,
> Did this happen & who were the people present if so? Were the absentees
> present in office?
>
>
> On Mon, Sep 5, 2011 at 11:11 AM, Tharindu Mathew wrote:
>
>> Seems most of group A are not available. Can people who are present come
>> to the board room?
>>
>>
>> On Mon, Sep 5, 2011 at 11:01 AM, Tharindu Mathew wrote:
>>
>>> Code review at 2nd floor board room. Starting in 5 mins. All in group A,
>>> please be present.
>>>
>>> On Thu, Sep 1, 2011 at 10:46 AM, Tharindu Mathew wrote:
>>>
  more details 
 »
 [Code Review] [Group A] BAM Event Receiver
 Crucible link : 
 https://wso2.org/crucible/cru/BAM-Event-Receiver-1
 *When*
 Mon Sep 5 11am – 12pm Colombo
 *Calendar*
 carbon-dev@wso2.org
 *Who*
 •
 thari...@wso2.com - organizer
 •
 carbon-dev@wso2.org

 Going?   
 ***Yes-
 Maybe-
 No
 ***more options 
 »

 Invitation from Google Calendar 

 You are receiving this courtesy email at the account
 carbon-dev@wso2.org because you are an attendee of this event.

 To stop receiving future notifications for this event, decline this
 event. Alternatively you can sign up for a Google account at
 https://www.google.com/calendar/ and control your notification settings
 for your entire calendar.

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


>>>
>>>
>>> --
>>> Regards,
>>>
>>> Tharindu
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Regards,

Tharindu
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Invitation: [Code Review] [Group A] BAM Event Receiver @ Mon Sep 5 11am - 12pm (carbon-dev@wso2.org)

2011-09-05 Thread Afkham Azeez
Tharindu,
Did this happen & who were the people present if so? Were the absentees
present in office?

On Mon, Sep 5, 2011 at 11:11 AM, Tharindu Mathew  wrote:

> Seems most of group A are not available. Can people who are present come to
> the board room?
>
>
> On Mon, Sep 5, 2011 at 11:01 AM, Tharindu Mathew wrote:
>
>> Code review at 2nd floor board room. Starting in 5 mins. All in group A,
>> please be present.
>>
>> On Thu, Sep 1, 2011 at 10:46 AM, Tharindu Mathew wrote:
>>
>>>  more details 
>>> »
>>> [Code Review] [Group A] BAM Event Receiver
>>> Crucible link : 
>>> https://wso2.org/crucible/cru/BAM-Event-Receiver-1
>>> *When*
>>> Mon Sep 5 11am – 12pm Colombo
>>> *Calendar*
>>> carbon-dev@wso2.org
>>> *Who*
>>> •
>>> thari...@wso2.com - organizer
>>> •
>>> carbon-dev@wso2.org
>>>
>>> Going?   
>>> ***Yes-
>>> Maybe-
>>> No
>>> ***more options 
>>> »
>>>
>>> Invitation from Google Calendar 
>>>
>>> You are receiving this courtesy email at the account 
>>> carbon-dev@wso2.orgbecause you are an attendee of this event.
>>>
>>> To stop receiving future notifications for this event, decline this
>>> event. Alternatively you can sign up for a Google account at
>>> https://www.google.com/calendar/ and control your notification settings
>>> for your entire calendar.
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


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


Re: [Carbon-dev] Change default ROOT webapp in AS 4.1.0

2011-09-05 Thread Thilina Buddhika
Hi Guillaume,

This is something done programmatically thru a class called
CarbonSecuredHttpContext which intercepts all the requests coming to the
mgt-console. So it is not configurable at the moment.

Thanks,
Thilina

On Wed, Aug 31, 2011 at 8:59 PM, Guillaume Devianne wrote:

> Hello,
>
> I can't find where to change the default landing page on http protocol for
> AS 4.1.0.
>
> Ideally, I would like direct the default landing page to a deployed webapp
>
> Right now, calling / redirects to /carbon which then redirects to
> https://host:port/carbon
>
> I would like http://host:port/ to go to a web app that I deploy.
>
> Thanks
>
> Guillaume
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thilina Buddhika
Associate Technical Lead
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] equinox 3.7 migration effort.

2011-09-05 Thread Sameera Jayasoma
Excellent!!!

These is one of the features that most of our user have requested. Btw,
please provide an update on this task.

Thanks,
Sameera.

On Thu, Sep 1, 2011 at 6:14 PM, Pradeep Fernando  wrote:

> Hi devs,
>
> I have completed the $subject. Here is the summary of what I have done.
>
> 1. wrote new p2-plugin goals to materialize products.
> 2. removed the p2-agent requirement of carbon-p2-plugin using tycho
> director runtimes.
> 3. removed p2-agent from carbon build system
> 4. bundled equinox bundles as a feature in carbon-core, so that future
> equinox migrations only involves updating pom.xml in the feature.
>
> this migration will allow us to,
>
> 1. make use of new p2-api s.
> 2. make use of new features such as OSGI remote services
> 3. make product specific p2-profiles which will enable things like
> bundle pooling.
>
>
>
> In the coming days I'm going to commit the changes to carbon-trunk
> build. apart from carbon-core, features will get changes in their
> p2.inf file. Products might get affected due to the migration
> (minimal). Lets sort them out, case by case basis.
>
>
> thanks,
> --Pradeep
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>



-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Do we need UI Initializers in Carbon?

2011-09-05 Thread Sameera Jayasoma
On Thu, Sep 1, 2011 at 4:44 PM, Mohamed Nufail  wrote:

> I've updated the patches at [1] with these modifications.
>

Thanks Nufail for you contribution. We will go through your patches and
commit them.

Regards,
Sameera

>
> [1] https://wso2.org/jira/browse/CARBON-10916
>
>
> On Tue, Aug 30, 2011 at 5:50 PM, Sameera Jayasoma wrote:
>
>> +1. As discussed please remove all the Fragment dependencies in Carbon UI
>> framework. Once you are done, please create a Carbon Jira and attach the
>> patch and send the Jira link to this mail thread.
>>
>> Thanks,
>> Sameera
>>
>> On Tue, Aug 30, 2011 at 12:46 PM, Afkham Azeez  wrote:
>>
>>> Go ahead & remove it. We had various things introduced into the
>>> component.xml file to overcome limitations of bundle fragments. Now we can
>>> remove most of those.
>>>
>>> 
>>> Sent from my phone
>>> On Aug 30, 2011 11:37 AM, "Mohamed Nufail"  wrote:
>>> > Hi,
>>> >
>>> > In the ComponentBuilder class in carbon ui, there's a method called
>>> > processUIInitializers. This method uses instances of the class
>>> > CarbonUIFragmentInitializer in the org.wso2.carbon.ui.ext package by
>>> looking
>>> > for "uiInitializerClass" entry in component.xml. But there are no
>>> subclasses
>>> > of CarbonUIFragmentInitializer in the platform and none of the
>>> component.xml
>>> > files have such an entry.
>>> >
>>> > So can we just remove the CarbonUIFragmentInitializer class and the
>>> method
>>> > processUIInitializers?
>>> >
>>> >
>>> > Nufail.
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Sameera Jayasoma
>> Technical Lead and Product Manager, WSO2 Carbon
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://tech.jayasoma.org
>>
>> Lean . Enterprise . Middleware
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] A InvalidProjectModelException Build Error in Trunk - Registry Core

2011-09-05 Thread Sameera Jayasoma
On Mon, Sep 5, 2011 at 9:20 AM, Isuru Wimalasundera  wrote:

> Hi Pradeep
>
> I am using Apache Maven 2.2.1 , and yes it is a clean repo , if there are
> no failures in trunk build please let me know a way to overcome this issue.
>

You need to use maven 3 to build Carbon trunk..

Thanks,
Sameera

>
> Thank You
> Isuruw
>
>
> On Sun, Sep 4, 2011 at 9:04 PM, Pradeep Fernando  wrote:
>
>> Hi IsuruW,
>>
>> AFAIK, trunk build is working fine up to features level[1] (hudson
>> build is working).
>>
>> Could you please provide me some more details about your build
>> environment ? maven version, is it a clean repo ?
>>
>> [1] http://hudson.wso2.org/hudson
>>
>> thanks,
>> --Pradeep
>>
>
>
>
> --
> *Isuru Wimalasundera*
> Software Engineer;  WSO2, Inc.; http://wso2.com,
>  mobile: +94 77 920 5641
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Invitation: Group-B code review - Gadget Repository @ Tue Sep 6 11am - 12pm (carbon-dev@wso2.org)

2011-09-05 Thread Ranga Siriwardena
Crucible project can be found in, https://wso2.org/crucible/cru/COMPONENT-58


On Mon, Sep 5, 2011 at 2:55 PM, Ranga Siriwardena  wrote:

>  more details 
> »
> Group-B code review - Gadget Repository
> Code review on Gadget Repository carbon components. Group-B code review by
> Nuwan/Ranga.
> *When*
> Tue Sep 6 11am – 12pm Colombo
> *Where*
> No 59 board room (map
> )
> *Calendar*
> carbon-dev@wso2.org
> *Who*
> •
> ra...@wso2.com - organizer
> •
> Afkham Azeez
> •
> Samisa Abeysinghe
> •
> Achala Aponso
> •
> Lalaji Sureshika
> •
> Nuwan Bandara
> •
> carbon-dev@wso2.org
> •
> Dimuthu Leelarathne
>
> Going?   
> ***Yes-
> Maybe-
> No
> ***more options 
> »
>
> Invitation from Google Calendar 
>
> You are receiving this courtesy email at the account 
> carbon-dev@wso2.orgbecause you are an attendee of this event.
>
> To stop receiving future notifications for this event, decline this event.
> Alternatively you can sign up for a Google account at
> https://www.google.com/calendar/ and control your notification settings
> for your entire calendar.
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Ranga Siriwardena
Software Engineer
WSO2 Inc.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Invitation: Group-B code review - Gadget Repository @ Tue Sep 6 11am - 12pm (carbon-dev@wso2.org)

2011-09-05 Thread Ranga Siriwardena
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20110906T053000Z
DTEND:20110906T063000Z
DTSTAMP:20110905T092514Z
ORGANIZER;CN=ra...@wso2.com:mailto:ra...@wso2.com
UID:jeqmb6et0cikrfqfr32qer1...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=ra...@wso2.com;X-NUM-GUESTS=0:mailto:ra...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Afkham Azeez;X-NUM-GUESTS=0:mailto:az...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Samisa Abeysinghe;X-NUM-GUESTS=0:mailto:sam...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Achala Aponso;X-NUM-GUESTS=0:mailto:ach...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Lalaji Sureshika;X-NUM-GUESTS=0:mailto:lal...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Nuwan Bandara;X-NUM-GUESTS=0:mailto:nu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=carbon-dev@wso2.org;X-NUM-GUESTS=0:mailto:carbon-dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dimuthu Leelarathne;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
CREATED:20110905T091637Z
DESCRIPTION:Code review on Gadget Repository carbon components. Group-B cod
 e review by Nuwan/Ranga.\nView your event at http://www.google.com/calendar
 /event?action=VIEW&eid=amVxbWI2ZXQwY2lrcmZxZnIzMnFlcjE2dmcgY2FyYm9uLWRldkB3
 c28yLm9yZw&tok=MTQjcmFuZ2FAd3NvMi5jb21iZmNmYzkwMzRjMGYxNGE1ZjYxOWQ0ODVjNjg3
 NjVmM2JjYTdhOTUy&ctz=Asia%2FColombo&hl=en.
LAST-MODIFIED:20110905T092514Z
LOCATION:No 59 board room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Group-B code review - Gadget Repository
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Creating Resource/Asset using RemoteRegistry

2011-09-05 Thread Senaka Fernando
Hi David,

We are actually looking forward to introduce the capability of referencing
resources by UUID, but that is not done as yet. If you are interested in
implementing something similar, please add to the discussion on
architecture@, http://wso2.markmail.org/thread/irbb6h5ldfvgedlt.

To summarize, our plans were to improve the Registry and Resource interfaces
of the registry kernel (org.wso2.carbon.registry.core) by introducing the
following methods,

1. setUUID/getUUID to Resource
2. getByUUID to Registry

Following that, the Atom and WS APIs would need to be recompiled since a new
method would be added to the Registry Kernel's interfaces. We expect to
store the UUID as a property of the Resource, so that the existing DB
schemas would not be affected.

An alternative option is to build a high-level API above the standard
Registry APIs to combine the existing functionality and the Metadata Search
OSGi Service to achieve the same results in-VM or to build a high-level API
above the standard Registry Client (Atom/WS) APIs to combine the existing
functionality and the Metadata Search Web Service to achieve the same
results at a remote client.

However, I suggest that we keep the discussion to the thread on
architecture@, http://wso2.markmail.org/thread/irbb6h5ldfvgedlt.

Thanks,
Senaka.

On Thu, Sep 1, 2011 at 1:42 AM, David Carver  wrote:

> I'm running into some problems with using the RemoteRegistry API with the
> Turmeric Repository Service.
>
> We recently removed the library which is what we were using in many cases
> as the resource path to store items into the registry.  With this concept
> gone, we have the following items available as a Key to find and create
> resources.
>
> AssetKey
>assetID - a unique identifier for the object
>assetName - the name of the asset (i.e. TestService)
>assetType - Service, etc.
>assetVersion - 1.0.0, 1.1.0, 1.1.1, etc.
>
> Now, unfortunately it looks like I can't really get a useable Unique
> Identrifer in a numerical format or other short form.  So it looks like the
> id will now have to be the resource path.  Unfortunately this means this can
> be quite long, and somebody will need to know what that path will be when
> they go to create a new resource.
>
> Is there a way to create a Resource or put it with out having to specify a
> path, and then just have the RemoteRegistry return what path was used by
> default?
>
> What is the best way to create a resource, to have RemoteRegistry set the
> paths correctly for what the Governance Repository looks for?
>
> Dave
>
>
>
> __**_
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/**mailman/listinfo/carbon-dev
>



-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate 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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Invitation: [Group E] Deployment Synchronizer Code Review @ Thu Sep 8 11am - 12pm (carbon-dev@wso2.org)

2011-09-05 Thread Hiranya Jayathilaka
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20110908T053000Z
DTEND:20110908T063000Z
DTSTAMP:20110905T071016Z
ORGANIZER;CN=hira...@wso2.com:mailto:hira...@wso2.com
UID:mp1eljoca95uqspotqo6ukn...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Srinath Perera;X-NUM-GUESTS=0:mailto:srin...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=hira...@wso2.com;X-NUM-GUESTS=0:mailto:hira...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Samisa Abeysinghe;X-NUM-GUESTS=0:mailto:sam...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Afkham Azeez;X-NUM-GUESTS=0:mailto:az...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=carbon-dev@wso2.org;X-NUM-GUESTS=0:mailto:carbon-dev@wso2.org
CREATED:20110905T070801Z
DESCRIPTION:We had an architecture review last week with Srinath and Paul. 
 Let's review the source code this week.\n\nCrucible project: https://wso2.o
 rg/crucible/cru/COMPONENT-57\nView your event at http://www.google.com/cale
 ndar/event?action=VIEW&eid=bXAxZWxqb2NhOTV1cXNwb3RxbzZ1a242ZW8gY2FyYm9uLWRl
 dkB3c28yLm9yZw&tok=MTYjaGlyYW55YUB3c28yLmNvbWQ5OWRjNGM1MzFlZjI0Mzk5OTAzNzli
 MjIzMDY4NWMyYzk1MWI3MjM&ctz=Asia%2FColombo&hl=en.
LAST-MODIFIED:20110905T071016Z
LOCATION:No 59 board room
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:[Group E] Deployment Synchronizer Code Review
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev