Re: [Carbon-dev] svn up at multiple places in build script

2011-04-06 Thread Amila Maha Arachchi
Hi,

On Wed, Apr 6, 2011 at 8:33 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Why $subject?


Intention of adding svn ups at multiple places was to use the build cycles
effectively. For example, consider the build breaks at component level. Next
cycle starts immediately and within 30 mins svn up for that cycle is
finished.  When the developer responds to the email, svn up is already
completed and thus the build cycle is wasted.

Another thing is , if we trigger a build from  say core, there has to be svn
up from there AFAIU.

Sometimes we had to get quick results from the builder to meet the high
demand for a successful build. We had to trigger builds at different places.

Those are the reasons for those svn ups.

Thanks,
AmilaM.


 This breaks the principle of self contained commits to multiple places.

 All relevant commits from dependencies to products should go in at once

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



 ___
 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


Re: [Carbon-dev] svn up at multiple places in build script

2011-04-06 Thread Samisa Abeysinghe
On Wed, Apr 6, 2011 at 11:28 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 On Wed, Apr 6, 2011 at 8:33 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Why $subject?


 Intention of adding svn ups at multiple places was to use the build cycles
 effectively. For example, consider the build breaks at component level. Next
 cycle starts immediately and within 30 mins svn up for that cycle is
 finished.  When the developer responds to the email, svn up is already
 completed and thus the build cycle is wasted.


The trigger has to be done manually, so we are better off doing the svn up
manually as well.



 Another thing is , if we trigger a build from  say core, there has to be
 svn up from there AFAIU.


If dependencies has been updated, and we build from core, it will break.


 Sometimes we had to get quick results from the builder to meet the high
 demand for a successful build. We had to trigger builds at different places.

 Those are the reasons for those svn ups.

 Thanks,
 AmilaM.


 This breaks the principle of self contained commits to multiple places.

 All relevant commits from dependencies to products should go in at once

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



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


 Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] svn up at multiple places in build script

2011-04-06 Thread Amila Maha Arachchi
On Wed, Apr 6, 2011 at 11:31 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Wed, Apr 6, 2011 at 11:28 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 On Wed, Apr 6, 2011 at 8:33 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 Why $subject?


 Intention of adding svn ups at multiple places was to use the build cycles
 effectively. For example, consider the build breaks at component level. Next
 cycle starts immediately and within 30 mins svn up for that cycle is
 finished.  When the developer responds to the email, svn up is already
 completed and thus the build cycle is wasted.


 The trigger has to be done manually, so we are better off doing the svn up
 manually as well.


Will adhere to this.




 Another thing is , if we trigger a build from  say core, there has to be
 svn up from there AFAIU.


 If dependencies has been updated, and we build from core, it will break.


We only do this when we are sure where the build breaks and where the fix
is. For example, last night I triggered the build from products level
because I knew the build was successful up to products. (As I said
previously, these are done to meet the demands :) )




 Sometimes we had to get quick results from the builder to meet the high
 demand for a successful build. We had to trigger builds at different places.

 Those are the reasons for those svn ups.

 Thanks,
 AmilaM.


 This breaks the principle of self contained commits to multiple places.

 All relevant commits from dependencies to products should go in at once

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



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


 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org




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


[Carbon-dev] Scheduled tasks broken in the latest packs

2011-04-06 Thread Charitha Kankanamge
I just downloaded latest DSS and AS packs from [1] and tried to create a
scheduled task. Then I got a deadpage with ClassNotFoundException:
org.apache.jsp.ds.addNewTask_jsp [2]
This is a straightforward positive path of this particular feature. Please
make sure to test these kind of scenarios by yourselves without letting QAs
to test and report issues.  We are not supposed to test the basic happy
paths rather we should focus on system level testing. Please be kind enough
to spend few minutes and test the happy path of your component before
announcing it ready for use.

[1]http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
[2]https://wso2.org/jira/browse/CARBON-9308

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


Re: [Carbon-dev] Repos - why are they not using nexus?

2011-04-06 Thread Samisa Abeysinghe
On Wed, Apr 6, 2011 at 11:15 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Samisa,

 All these are commented-out stuff. We need to remove all these
 commented-out things. Prapeep, can you work on this?


Does not seem they are commented out:

 find . -name pom.xml |xargs  grep -C 3 ws.zones.apache.org
./samples/shopping-cart/capp/pom.xml-/repository
./samples/shopping-cart/capp/pom.xml-repository
./samples/shopping-cart/capp/pom.xml-
 idws-zones-repository/id
./samples/shopping-cart/capp/pom.xml:url
http://ws.zones.apache.org/repository2/url
./samples/shopping-cart/capp/pom.xml-/repository
./samples/shopping-cart/capp/pom.xml-repository
./samples/shopping-cart/capp/pom.xml-
 idwso2-maven2-repository/id
--
./samples/shopping-cart/bps/SupplierService/pom.xml-/repository
./samples/shopping-cart/bps/SupplierService/pom.xml-repository
./samples/shopping-cart/bps/SupplierService/pom.xml-
 idws-zones-repository/id
./samples/shopping-cart/bps/SupplierService/pom.xml:url
http://ws.zones.apache.org/repository2/url
./samples/shopping-cart/bps/SupplierService/pom.xml-/repository
./samples/shopping-cart/bps/SupplierService/pom.xml-repository
./samples/shopping-cart/bps/SupplierService/pom.xml-
 idwso2-maven2-repository/id
--
./samples/shopping-cart/bps/ReOrderProcess/pom.xml-/repository
./samples/shopping-cart/bps/ReOrderProcess/pom.xml-repository
./samples/shopping-cart/bps/ReOrderProcess/pom.xml-
 idws-zones-repository/id
./samples/shopping-cart/bps/ReOrderProcess/pom.xml:url
http://ws.zones.apache.org/repository2/url
./samples/shopping-cart/bps/ReOrderProcess/pom.xml-/repository
./samples/shopping-cart/bps/ReOrderProcess/pom.xml-repository
./samples/shopping-cart/bps/ReOrderProcess/pom.xml-
 idwso2-maven2-repository/id
--
./samples/shopping-cart/gadgets/pom.xml-/repository
./samples/shopping-cart/gadgets/pom.xml-repository
./samples/shopping-cart/gadgets/pom.xml-
 idws-zones-repository/id
./samples/shopping-cart/gadgets/pom.xml:url
http://ws.zones.apache.org/repository2/url
./samples/shopping-cart/gadgets/pom.xml-/repository
./samples/shopping-cart/gadgets/pom.xml-repository
./samples/shopping-cart/gadgets/pom.xml-
 idwso2-maven2-repository/id
--
./samples/shopping-cart/distribution/pom.xml-/repository
./samples/shopping-cart/distribution/pom.xml-repository
./samples/shopping-cart/distribution/pom.xml-
 idws-zones-repository/id
./samples/shopping-cart/distribution/pom.xml:url
http://ws.zones.apache.org/repository2/url
./samples/shopping-cart/distribution/pom.xml-/repository
./samples/shopping-cart/distribution/pom.xml-repository
./samples/shopping-cart/distribution/pom.xml-
 idwso2-maven2-repository/id
--
./dependencies/commons/throttle/pom.xml-/repository
./dependencies/commons/throttle/pom.xml-repository
./dependencies/commons/throttle/pom.xml-idapache-zones/id
./dependencies/commons/throttle/pom.xml:url
http://ws.zones.apache.org/repository/url
./dependencies/commons/throttle/pom.xml-layoutlegacy/layout
./dependencies/commons/throttle/pom.xml-/repository
./dependencies/commons/throttle/pom.xml-!-- Others are available
from http://repo1.maven.org/maven2 --
--
./dependencies/commons/xkms/pom.xml-/repository
./dependencies/commons/xkms/pom.xml-repository
./dependencies/commons/xkms/pom.xml-idws-zones-repository/id
./dependencies/commons/xkms/pom.xml:url
http://ws.zones.apache.org/repository2/url
./dependencies/commons/xkms/pom.xml-/repository
./dependencies/commons/xkms/pom.xml-/repositories
./dependencies/commons/xkms/pom.xml-
--
./dependencies/commons/caching/pom.xml-/repository
./dependencies/commons/caching/pom.xml-repository
./dependencies/commons/caching/pom.xml-idapache-zones/id
./dependencies/commons/caching/pom.xml:url
http://ws.zones.apache.org/repository/url
./dependencies/commons/caching/pom.xml-layoutlegacy/layout
./dependencies/commons/caching/pom.xml-/repository
./dependencies/commons/caching/pom.xml-/repositories
--
./dependencies/commons/pwprovider/pom.xml-/repository
./dependencies/commons/pwprovider/pom.xml-repository
./dependencies/commons/pwprovider/pom.xml-idapache-zones/id
./dependencies/commons/pwprovider/pom.xml:url
http://ws.zones.apache.org/repository/url
./dependencies/commons/pwprovider/pom.xml-
 layoutlegacy/layout
./dependencies/commons/pwprovider/pom.xml-/repository
./dependencies/commons/pwprovider/pom.xml-/repositories
--
./products/bps/pom.xml-/repository
./products/bps/pom.xml-repository
./products/bps/pom.xml-idws-zones-repository/id
./products/bps/pom.xml:url

Re: [Carbon-dev] Repos - why are they not using nexus?

2011-04-06 Thread Senaka Fernando
Hi Sameera, Pradeep,

Some of these are still around, see my e-mail, Build Hangs while Compiling
Commons XKMS sent to carbon-dev.

Thanks,
Senaka.

On Wed, Apr 6, 2011 at 11:19 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 Also

  find . -name pom.xml |xargs  grep people.apache.org
 ./samples/shopping-cart/capp/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./samples/shopping-cart/capp/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./samples/shopping-cart/bps/SupplierService/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./samples/shopping-cart/bps/SupplierService/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
  ./samples/shopping-cart/bps/ReOrderProcess/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./samples/shopping-cart/gadgets/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./samples/shopping-cart/gadgets/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./samples/shopping-cart/distribution/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./samples/shopping-cart/distribution/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./components/identity/org.wso2.carbon.identity.samples.oauth/pom.xml:
  urlhttp://people.apache.org/repo/m2-incubating-repository/url
 ./dependencies/shindig/pom.xml:  urlscp://
 people.apache.org/www/shindig.apache.org/shindig-1.1.x/url
 ./dependencies/shindig/pom.xml:  stagingSiteURLscp://
 people.apache.org/www/shindig.apache.org/shindig-1.1.x/${pom.version}http://people.apache.org/www/shindig.apache.org/shindig-1.1.x/$%7Bpom.version%7D
 /stagingSiteURL
 ./dependencies/axis2/modules/samples/jaxws-addressbook/pom.xml:
  urlhttp://people.apache.org/repo/m2-ibiblio-rsync-repository/url
 ./dependencies/axis2/modules/samples/jaxws-addressbook/pom.xml:
  urlhttp://people.apache.org/repo/m2-snapshot-repository//url
 ./dependencies/axis2/modules/samples/jaxws-addressbook/pom.xml:
  urlhttp://people.apache.org/repo/m2-ibiblio-rsync-repository/url
 ./dependencies/axis2/modules/samples/jaxws-addressbook/pom.xml:
  urlhttp://people.apache.org/repo/m2-snapshot-repository/url
 ./dependencies/axis2/modules/samples/jaxws-interop/pom.xml:
  urlhttp://people.apache.org/repo/m2-ibiblio-rsync-repository/url
 ./dependencies/axis2/modules/samples/jaxws-interop/pom.xml:
  urlhttp://people.apache.org/repo/m2-snapshot-repository//url
 ./dependencies/axis2/modules/samples/jaxws-interop/pom.xml:
  urlhttp://people.apache.org/repo/m2-ibiblio-rsync-repository/url
 ./dependencies/axis2/modules/samples/jaxws-interop/pom.xml:
  urlhttp://people.apache.org/repo/m2-snapshot-repository/url
 ./dependencies/axis2/modules/samples/jaxws-calculator/pom.xml:
  urlhttp://people.apache.org/repo/m2-ibiblio-rsync-repository/url
 ./dependencies/axis2/modules/samples/jaxws-calculator/pom.xml:
  urlhttp://people.apache.org/repo/m2-snapshot-repository//url
 ./dependencies/axis2/modules/samples/jaxws-calculator/pom.xml:
  urlhttp://people.apache.org/repo/m2-ibiblio-rsync-repository/url
 ./dependencies/axis2/modules/samples/jaxws-calculator/pom.xml:
  urlhttp://people.apache.org/repo/m2-snapshot-repository/url
 ./dependencies/axis2/modules/parent/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 ./dependencies/wss4j/pom.xml:scpexe://
 people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
 ./dependencies/wss4j/pom.xml:scpexe://
 people.apache.org/www/ws.apache.org/wss4j/
 ./dependencies/openjpa/pom.xml:urlscp://
 people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-repohttp://people.apache.org/home/$%7Buser.name%7D/public_html/openjpa/$%7Bpom.version%7D/staging-repo
 /url
 ./dependencies/openjpa/pom.xml:urlscp://
 people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-repohttp://people.apache.org/home/$%7Buser.name%7D/public_html/openjpa/$%7Bpom.version%7D/staging-repo
 /url
 ./dependencies/openjpa/pom.xml:idpeople.apache.org/id
 ./dependencies/openjpa/pom.xml:urlscp://
 people.apache.org/home/${user.name}/public_html/openjpa/${pom.version}/staging-sitehttp://people.apache.org/home/$%7Buser.name%7D/public_html/openjpa/$%7Bpom.version%7D/staging-site
 /url
 ./dependencies/transports/modules/sms/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository//url
 ./dependencies/transports/modules/jms/pom.xml:url
 http://people.apache.org/repo/m2-incubating-repository//url
 ./dependencies/transports/pom.xml:url
 http://people.apache.org/repo/m2-snapshot-repository/url
 

Re: [Carbon-dev] Scheduled tasks broken in the latest packs

2011-04-06 Thread Prabath Abeysekera
Hi Charitha,

On Wed, Apr 6, 2011 at 11:44 AM, Charitha Kankanamge chari...@wso2.comwrote:

 I just downloaded latest DSS and AS packs from [1] and tried to create a
 scheduled task. Then I got a deadpage with ClassNotFoundException:
 org.apache.jsp.ds.addNewTask_jsp [2]
 This is a straightforward positive path of this particular feature. Please
 make sure to test these kind of scenarios by yourselves without letting QAs
 to test and report issues.  We are not supposed to test the basic happy
 paths rather we should focus on system level testing. Please be kind enough
 to spend few minutes and test the happy path of your component before
 announcing it ready for use.

 [1]http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
 [2]https://wso2.org/jira/browse/CARBON-9308


looking into this and will fix asap!





 /Charitha


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



Regards,
-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc.
Email: praba...@wso2.com harsha...@wso2.com
Mobile: +94774171471

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


[Carbon-dev] Build error on Windows with vfs

2011-04-06 Thread Samisa Abeysinghe
T E S T S
--
unning org.apache.synapse.transport.vfs.VFSTransportTest
IsolatedClassLoader@b749757] weaveinfo Join point 'method-call(void
org.apache.axis2.transport.MessageFormatter.writeTo(org.apache.axis2.context.Mess
geContext, org.apache.axiom.om.OMOutputFormat, java.io.OutputStream,
boolean))' in Type 'org.apache.synapse.transport.vfs.VFSTransportSender'
(VFSTra
sportSender.java:235) advised by around advice from
'org.apache.axis2.transport.testkit.axis2.LogAspect' (LogAspect.java)
IsolatedClassLoader@b749757] weaveinfo Join point
'method-call(org.apache.axiom.om.OMElement
org.apache.axis2.builder.Builder.processDocument(java.io
InputStream, java.lang.String, org.apache.axis2.context.MessageContext))' in
Type 'org.apache.synapse.transport.vfs.VFSTransportListener' (VFSTranspo
tListener.java:468) advised by around advice from
'org.apache.axis2.transport.testkit.axis2.LogAspect' (LogAspect.java)
RROR [vfs-Worker-1] VFSTransportListener Error reading file content or
attributes :
file:///D:/svn/carbon/dependencies/synapse/modules/transports/cor
/vfs/target/vfs3/req/in
rg.apache.commons.vfs2.FileNotFoundException: Could not read from
file:///D:/svn/carbon/dependencies/synapse/modules/transports/core/vfs/target/vfs3
req/in because it is a not a file.
   at
org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1316)
   at
org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:397)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:461)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:212)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:144)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:102)
   at
org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
   at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
   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:619)
aused by: java.io.FileNotFoundException:
D:\svn\carbon\dependencies\synapse\modules\transports\core\vfs\target\vfs3\req\in
(The process cannot access
the file because it is being used by another process)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.init(FileInputStream.java:106)
   at
org.apache.commons.vfs2.provider.local.LocalFile.doGetInputStream(LocalFile.java:210)
   at
org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1308)
   ... 10 more
RROR [vfs-Worker-1] VFSTransportListener Error processing File URI :
file:///D:/svn/carbon/dependencies/synapse/modules/transports/core/vfs/target/vf
3/req/in
rg.apache.axis2.AxisFault: Error reading file content or attributes :
file:///D:/svn/carbon/dependencies/synapse/modules/transports/core/vfs/target/v
s3/req/in
   at
org.apache.axis2.transport.base.AbstractTransportListener.handleException(AbstractTransportListener.java:343)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:499)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:212)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:144)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:102)
   at
org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
   at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
   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:619)
aused by: org.apache.commons.vfs2.FileNotFoundException: Could not read from
file:///D:/svn/carbon/dependencies/synapse/modules/transports/core/vfs/
arget/vfs3/req/in because it is a not a file.
   at
org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1316)
   at
org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:397)
   at
org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:461)
   ... 8 more
aused by: java.io.FileNotFoundException:
D:\svn\carbon\dependencies\synapse\modules\transports\core\vfs\target\vfs3\req\in
(The process cannot access
the file because it is being used by 

Re: [Carbon-dev] Repos - why are they not using nexus?

2011-04-06 Thread Sameera Jayasoma
Hi Samisa,

All are commented-out stuff. Here is an example.

repositories
repository
idwso2-nexus/id
nameWSO2 internal Repository/name
urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
/url
releases
enabledtrue/enabled
updatePolicydaily/updatePolicy
checksumPolicyfail/checksumPolicy
/releases
/repository
!--moved to nexus

repository
idmaven-snapshots/id
nameMaven Central Development Repository/name
urlhttp://snapshots.maven.codehaus.org/maven2/url
releases
enabledfalse/enabled
/releases
/repository
repository
idm2-snapshot-repository/id
urlhttp://people.apache.org/repo/m2-snapshot-repository/url
releases
enabledfalse/enabled
/releases
snapshots
enabledtrue/enabled
/snapshots
/repository
repository
idws-zones-repository/id
urlhttp://ws.zones.apache.org/repository2/url
/repository
repository
idwso2-maven2-repository/id
urlhttp://dist.wso2.org/maven2/url
/repository

--
/repositories
pluginRepositories
pluginRepository
idsnapshot-apache/id
nameApache Snapshot repository/name
urlhttp://people.apache.org/repo/m2-snapshot-repository/url
snapshots
enabledtrue/enabled
/snapshots
releases
enabledfalse/enabled
/releases
/pluginRepository
pluginRepository
idsnapshot/id
nameSnapshot repository/name
urlhttp://snapshots.maven.codehaus.org/maven2/url
snapshots
enabledtrue/enabled
/snapshots
releases
enabledfalse/enabled
/releases
/pluginRepository
/pluginRepositories

We still have these plugin repositories. At the moment we can live with
these plugin repos. But eventually we need to point them to nexus as well.

Thanks,
Sameera

On Wed, Apr 6, 2011 at 11:46 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Wed, Apr 6, 2011 at 11:15 AM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Samisa,

 All these are commented-out stuff. We need to remove all these
 commented-out things. Prapeep, can you work on this?


 Does not seem they are commented out:

  find . -name pom.xml |xargs  grep -C 3 ws.zones.apache.org
 ./samples/shopping-cart/capp/pom.xml-/repository
 ./samples/shopping-cart/capp/pom.xml-repository
 ./samples/shopping-cart/capp/pom.xml-
  idws-zones-repository/id
 ./samples/shopping-cart/capp/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/capp/pom.xml-/repository
 ./samples/shopping-cart/capp/pom.xml-repository
 ./samples/shopping-cart/capp/pom.xml-
  idwso2-maven2-repository/id
 --
 ./samples/shopping-cart/bps/SupplierService/pom.xml-/repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-
  idws-zones-repository/id
  ./samples/shopping-cart/bps/SupplierService/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/bps/SupplierService/pom.xml-/repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-
  idwso2-maven2-repository/id
 --
  ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-/repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-
  idws-zones-repository/id
  ./samples/shopping-cart/bps/ReOrderProcess/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-/repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-
  idwso2-maven2-repository/id
 --
 ./samples/shopping-cart/gadgets/pom.xml-/repository
 ./samples/shopping-cart/gadgets/pom.xml-repository
 ./samples/shopping-cart/gadgets/pom.xml-
  idws-zones-repository/id
  ./samples/shopping-cart/gadgets/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/gadgets/pom.xml-/repository
 ./samples/shopping-cart/gadgets/pom.xml-repository
 ./samples/shopping-cart/gadgets/pom.xml-
  idwso2-maven2-repository/id
 --
 ./samples/shopping-cart/distribution/pom.xml-/repository
 ./samples/shopping-cart/distribution/pom.xml-repository
 ./samples/shopping-cart/distribution/pom.xml-
  idws-zones-repository/id
 ./samples/shopping-cart/distribution/pom.xml:  

[Carbon-dev] G-Reg pack is unusable yet again

2011-04-06 Thread Evanthika Amarasiri
Hi All,

The following blockers [1], [2] were found with the packs downloaded from
[3]. These are basic functionalities and I'm not sure how such basic issues
could slip from you all. This pack is unusable and I'm sure there may be
hundreds of other issues as well. Please be good enough to build the next
pack after doing a smoke test to see whether at least the basic
functionalities are working.

[1] - https://wso2.org/jira/browse/CARBON-9309
[2] - https://wso2.org/jira/browse/CARBON-9310
[3] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/


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


Re: [Carbon-dev] Repos - why are they not using nexus?

2011-04-06 Thread Samisa Abeysinghe
But when the build is running, with a fresh repo, it downloads loads of
stuff from these repos and not nexus. So there is a problem.

On Wed, Apr 6, 2011 at 11:59 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Samisa,

 All are commented-out stuff. Here is an example.

 repositories
 repository
 idwso2-nexus/id
 nameWSO2 internal Repository/name
 urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
 /url
 releases
 enabledtrue/enabled
 updatePolicydaily/updatePolicy
 checksumPolicyfail/checksumPolicy
 /releases
 /repository
 !--moved to nexus

 repository
 idmaven-snapshots/id
 nameMaven Central Development Repository/name
 urlhttp://snapshots.maven.codehaus.org/maven2/url
 releases
 enabledfalse/enabled
 /releases
 /repository
 repository
 idm2-snapshot-repository/id

 urlhttp://people.apache.org/repo/m2-snapshot-repository
 /url
 releases
 enabledfalse/enabled
 /releases
 snapshots
 enabledtrue/enabled
 /snapshots
 /repository
 repository

 idws-zones-repository/id
 urlhttp://ws.zones.apache.org/repository2/url
 /repository
 repository

 idwso2-maven2-repository/id
 urlhttp://dist.wso2.org/maven2/url
 /repository

 --
 /repositories
 pluginRepositories
 pluginRepository
 idsnapshot-apache/id
 nameApache Snapshot repository/name

 urlhttp://people.apache.org/repo/m2-snapshot-repository
 /url
 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /pluginRepository
 pluginRepository
 idsnapshot/id
 nameSnapshot repository/name
 urlhttp://snapshots.maven.codehaus.org/maven2/url
 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /pluginRepository
 /pluginRepositories

 We still have these plugin repositories. At the moment we can live with
 these plugin repos. But eventually we need to point them to nexus as well.

 Thanks,
 Sameera


 On Wed, Apr 6, 2011 at 11:46 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, Apr 6, 2011 at 11:15 AM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Samisa,

 All these are commented-out stuff. We need to remove all these
 commented-out things. Prapeep, can you work on this?


 Does not seem they are commented out:

  find . -name pom.xml |xargs  grep -C 3 ws.zones.apache.org
 ./samples/shopping-cart/capp/pom.xml-/repository
 ./samples/shopping-cart/capp/pom.xml-repository
 ./samples/shopping-cart/capp/pom.xml-
  idws-zones-repository/id
 ./samples/shopping-cart/capp/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/capp/pom.xml-/repository
 ./samples/shopping-cart/capp/pom.xml-repository
 ./samples/shopping-cart/capp/pom.xml-
  idwso2-maven2-repository/id
 --
 ./samples/shopping-cart/bps/SupplierService/pom.xml-/repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-
  idws-zones-repository/id
  ./samples/shopping-cart/bps/SupplierService/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/bps/SupplierService/pom.xml-/repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-
  idwso2-maven2-repository/id
 --
  ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-/repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-
  idws-zones-repository/id
  ./samples/shopping-cart/bps/ReOrderProcess/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-/repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-
  idwso2-maven2-repository/id
 --
 ./samples/shopping-cart/gadgets/pom.xml-/repository
 ./samples/shopping-cart/gadgets/pom.xml-repository
 ./samples/shopping-cart/gadgets/pom.xml-
  idws-zones-repository/id
  ./samples/shopping-cart/gadgets/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/gadgets/pom.xml-/repository
 ./samples/shopping-cart/gadgets/pom.xml-repository
 

Re: [Carbon-dev] Repos - why are they not using nexus?

2011-04-06 Thread Sameera Jayasoma
On Wed, Apr 6, 2011 at 12:03 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 But when the build is running, with a fresh repo, it downloads loads of
 stuff from these repos and not nexus. So there is a problem.


That might be due to transitive dependencies. Lets finish  excluding
transitive dependencies and see whether we still get the same issue.

Thanks,
Sameera



 On Wed, Apr 6, 2011 at 11:59 AM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Samisa,

 All are commented-out stuff. Here is an example.

 repositories
 repository
 idwso2-nexus/id
 nameWSO2 internal Repository/name
 urlhttp://maven.wso2.org/nexus/content/groups/wso2-public/
 /url
 releases
 enabledtrue/enabled
 updatePolicydaily/updatePolicy
 checksumPolicyfail/checksumPolicy
 /releases
 /repository
 !--moved to nexus

 repository
 idmaven-snapshots/id
 nameMaven Central Development Repository/name
 urlhttp://snapshots.maven.codehaus.org/maven2/url
 releases
 enabledfalse/enabled
 /releases
 /repository
 repository
 idm2-snapshot-repository/id

 urlhttp://people.apache.org/repo/m2-snapshot-repository
 /url
 releases
 enabledfalse/enabled
 /releases
 snapshots
 enabledtrue/enabled
 /snapshots
 /repository
 repository

 idws-zones-repository/id
 urlhttp://ws.zones.apache.org/repository2/url
 /repository
 repository

 idwso2-maven2-repository/id
 urlhttp://dist.wso2.org/maven2/url
 /repository

 --
 /repositories
 pluginRepositories
 pluginRepository
 idsnapshot-apache/id
 nameApache Snapshot repository/name

 urlhttp://people.apache.org/repo/m2-snapshot-repository
 /url
  snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /pluginRepository
 pluginRepository
 idsnapshot/id
 nameSnapshot repository/name
 urlhttp://snapshots.maven.codehaus.org/maven2/url
 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /pluginRepository
 /pluginRepositories

 We still have these plugin repositories. At the moment we can live with
 these plugin repos. But eventually we need to point them to nexus as well.

 Thanks,
 Sameera


 On Wed, Apr 6, 2011 at 11:46 AM, Samisa Abeysinghe sam...@wso2.comwrote:



 On Wed, Apr 6, 2011 at 11:15 AM, Sameera Jayasoma same...@wso2.comwrote:

 Hi Samisa,

 All these are commented-out stuff. We need to remove all these
 commented-out things. Prapeep, can you work on this?


 Does not seem they are commented out:

  find . -name pom.xml |xargs  grep -C 3 ws.zones.apache.org
 ./samples/shopping-cart/capp/pom.xml-/repository
 ./samples/shopping-cart/capp/pom.xml-repository
 ./samples/shopping-cart/capp/pom.xml-
  idws-zones-repository/id
 ./samples/shopping-cart/capp/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/capp/pom.xml-/repository
 ./samples/shopping-cart/capp/pom.xml-repository
 ./samples/shopping-cart/capp/pom.xml-
  idwso2-maven2-repository/id
 --
 ./samples/shopping-cart/bps/SupplierService/pom.xml-/repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-
  idws-zones-repository/id
  ./samples/shopping-cart/bps/SupplierService/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/bps/SupplierService/pom.xml-/repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-repository
 ./samples/shopping-cart/bps/SupplierService/pom.xml-
  idwso2-maven2-repository/id
 --
  ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-/repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-
  idws-zones-repository/id
  ./samples/shopping-cart/bps/ReOrderProcess/pom.xml:url
 http://ws.zones.apache.org/repository2/url
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-/repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-repository
 ./samples/shopping-cart/bps/ReOrderProcess/pom.xml-
  idwso2-maven2-repository/id
 --
 ./samples/shopping-cart/gadgets/pom.xml-/repository
 ./samples/shopping-cart/gadgets/pom.xml-repository
 ./samples/shopping-cart/gadgets/pom.xml-
  idws-zones-repository/id
  

Re: [Carbon-dev] G-Reg pack is unusable yet again

2011-04-06 Thread Sameera Jayasoma
I am pretty sure that, these issues occur due to stub changes. Please who
did the stub changes for components need to make sure relevant component UIs
are working.

Thanks
Sameera

On Wed, Apr 6, 2011 at 12:02 PM, Evanthika Amarasiri evanth...@wso2.comwrote:

 Hi All,

 The following blockers [1], [2] were found with the packs downloaded from
 [3]. These are basic functionalities and I'm not sure how such basic issues
 could slip from you all. This pack is unusable and I'm sure there may be
 hundreds of other issues as well. Please be good enough to build the next
 pack after doing a smoke test to see whether at least the basic
 functionalities are working.

 [1] - https://wso2.org/jira/browse/CARBON-9309
 [2] - https://wso2.org/jira/browse/CARBON-9310
 [3] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/


 Regards,
 Evanthika

 ___
 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] G-Reg pack is unusable yet again

2011-04-06 Thread Charitha Kankanamge
AFAIK these failures cannot be captured by integration tests. These are JSP
failures. Our integration tests are based on admin services.

Regards
Charitha

On Wed, Apr 6, 2011 at 12:09 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Evanthika,

 During the last few days, we were solely focusing on the build and getting
 the build perfected. All unit-tests related to the components and product
 were passing fine, but we discovered that the product integration tests were
 removed added for some reason (Janaka is looking into this right now),
 however, AFAIK, there aren't any failures in those as well.

 We have done a complete rebuild of the packs from scratch locally, and we
 will use those to double check whether these issues are around. If there are
 any issues we will have these sorted asap.

 Thanks,
 Senaka.

 On Wed, Apr 6, 2011 at 12:02 PM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

 Hi All,

 The following blockers [1], [2] were found with the packs downloaded from
 [3]. These are basic functionalities and I'm not sure how such basic issues
 could slip from you all. This pack is unusable and I'm sure there may be
 hundreds of other issues as well. Please be good enough to build the next
 pack after doing a smoke test to see whether at least the basic
 functionalities are working.

 [1] - https://wso2.org/jira/browse/CARBON-9309
 [2] - https://wso2.org/jira/browse/CARBON-9310
 [3] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/


 Regards,
 Evanthika

 ___
 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://www.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 mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg pack is unusable yet again

2011-04-06 Thread Senaka Fernando
Hi Charitha, Sameera,

Thanks for the feedback. I believe that there might be some issues @
JSP-level after the stub migration effort. Ajith please verify the packs and
see whether there are any JSP-level issues that have cropped up after the
stub migrations.

Thanks,
Senaka.

On Wed, Apr 6, 2011 at 12:19 PM, Charitha Kankanamge chari...@wso2.comwrote:

 AFAIK these failures cannot be captured by integration tests. These are JSP
 failures. Our integration tests are based on admin services.

 Regards
 Charitha


 On Wed, Apr 6, 2011 at 12:09 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Evanthika,

 During the last few days, we were solely focusing on the build and getting
 the build perfected. All unit-tests related to the components and product
 were passing fine, but we discovered that the product integration tests were
 removed added for some reason (Janaka is looking into this right now),
 however, AFAIK, there aren't any failures in those as well.

 We have done a complete rebuild of the packs from scratch locally, and we
 will use those to double check whether these issues are around. If there are
 any issues we will have these sorted asap.

 Thanks,
 Senaka.

 On Wed, Apr 6, 2011 at 12:02 PM, Evanthika Amarasiri 
 evanth...@wso2.comwrote:

 Hi All,

 The following blockers [1], [2] were found with the packs downloaded from
 [3]. These are basic functionalities and I'm not sure how such basic issues
 could slip from you all. This pack is unusable and I'm sure there may be
 hundreds of other issues as well. Please be good enough to build the next
 pack after doing a smoke test to see whether at least the basic
 functionalities are working.

 [1] - https://wso2.org/jira/browse/CARBON-9309
 [2] - https://wso2.org/jira/browse/CARBON-9310
 [3] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/


 Regards,
 Evanthika

 ___
 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://www.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





-- 
*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://www.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] NPE occurring because of tenantId passed as -1 to DefaultRealmService.getTenantUserRealm()

2011-04-06 Thread Anjana Fernando
Tharindu has also asked about this earlier, is this fixed properly
now? .. I've build the latest carbon-core and components but still
gets the same problem. Please check the below error stacktrace.

 -
java.lang.NullPointerException
at 
org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157)
at 
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:231)
at 
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)
at 
org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:208)
at 
org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:137)
at 
org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385)
at 
org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401)
at 
org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658)
at 
org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193)
at 
org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221)
at 
org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609)
at 
org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955)
at 
org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176)
at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at 
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
at 
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
[2011-04-06 12:14:53,200] ERROR
{org.wso2.carbon.registry.core.session.UserRegistry} -  An error
occurred while obtaining the user realm for the tenant: -1.
[2011-04-06 12:14:53,200] ERROR
{org.wso2.carbon.dataservices.core.engine.DataService} -  Error in
setting event broker
 -

Cheers,
Anjana.
-- 
Anjana Fernando
Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Fix the Integration Tests in G-Reg {was: G-Reg pack is unusable yet again}

2011-04-06 Thread Senaka Fernando
Hi Janaka,

The integration tests in G-Reg are broken. Please fix these issues and
include the tests into the build.

Thanks,
Senaka.

On Wed, Apr 6, 2011 at 12:29 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Charitha, Sameera,

 Thanks for the feedback. I believe that there might be some issues @
 JSP-level after the stub migration effort. Ajith please verify the packs and
 see whether there are any JSP-level issues that have cropped up after the
 stub migrations.

 Thanks,
 Senaka.


 On Wed, Apr 6, 2011 at 12:19 PM, Charitha Kankanamge chari...@wso2.comwrote:

 AFAIK these failures cannot be captured by integration tests. These are
 JSP failures. Our integration tests are based on admin services.

 Regards
 Charitha


 On Wed, Apr 6, 2011 at 12:09 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Evanthika,

 During the last few days, we were solely focusing on the build and
 getting the build perfected. All unit-tests related to the components and
 product were passing fine, but we discovered that the product integration
 tests were removed added for some reason (Janaka is looking into this right
 now), however, AFAIK, there aren't any failures in those as well.

 We have done a complete rebuild of the packs from scratch locally, and we
 will use those to double check whether these issues are around. If there are
 any issues we will have these sorted asap.

 Thanks,
 Senaka.

 On Wed, Apr 6, 2011 at 12:02 PM, Evanthika Amarasiri evanth...@wso2.com
  wrote:

 Hi All,

 The following blockers [1], [2] were found with the packs downloaded
 from [3]. These are basic functionalities and I'm not sure how such basic
 issues could slip from you all. This pack is unusable and I'm sure there 
 may
 be hundreds of other issues as well. Please be good enough to build the 
 next
 pack after doing a smoke test to see whether at least the basic
 functionalities are working.

 [1] - https://wso2.org/jira/browse/CARBON-9309
 [2] - https://wso2.org/jira/browse/CARBON-9310
 [3] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/


 Regards,
 Evanthika

 ___
 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://www.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





 --
 *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://www.linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
*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://www.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] Build error on Windows with vfs

2011-04-06 Thread Supun Kamburugamuva
Actually I did fix this locally by making it not required to run tests. But
seems I don't have committer rights to commit that.

Supun..

On Wed, Apr 6, 2011 at 11:51 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 T E S T S
 --
 unning org.apache.synapse.transport.vfs.VFSTransportTest
 IsolatedClassLoader@b749757] weaveinfo Join point 'method-call(void
 org.apache.axis2.transport.MessageFormatter.writeTo(org.apache.axis2.context.Mess
 geContext, org.apache.axiom.om.OMOutputFormat, java.io.OutputStream,
 boolean))' in Type 'org.apache.synapse.transport.vfs.VFSTransportSender'
 (VFSTra
 sportSender.java:235) advised by around advice from
 'org.apache.axis2.transport.testkit.axis2.LogAspect' (LogAspect.java)
 IsolatedClassLoader@b749757] weaveinfo Join point
 'method-call(org.apache.axiom.om.OMElement
 org.apache.axis2.builder.Builder.processDocument(java.io
 InputStream, java.lang.String, org.apache.axis2.context.MessageContext))'
 in Type 'org.apache.synapse.transport.vfs.VFSTransportListener' (VFSTranspo
 tListener.java:468) advised by around advice from
 'org.apache.axis2.transport.testkit.axis2.LogAspect' (LogAspect.java)
 RROR [vfs-Worker-1] VFSTransportListener Error reading file content or
 attributes :
 file:///D:/svn/carbon/dependencies/synapse/modules/transports/cor
 /vfs/target/vfs3/req/in
 rg.apache.commons.vfs2.FileNotFoundException: Could not read from
 file:///D:/svn/carbon/dependencies/synapse/modules/transports/core/vfs/target/vfs3
 req/in because it is a not a file.
at
 org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1316)
at
 org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:397)
at
 org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:461)
at
 org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:212)
at
 org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:144)
at
 org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:102)
 at
 org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
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:619)
 aused by: java.io.FileNotFoundException:
 D:\svn\carbon\dependencies\synapse\modules\transports\core\vfs\target\vfs3\req\in
 (The process cannot access
 the file because it is being used by another process)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:106)
at
 org.apache.commons.vfs2.provider.local.LocalFile.doGetInputStream(LocalFile.java:210)
at
 org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1308)
... 10 more
 RROR [vfs-Worker-1] VFSTransportListener Error processing File URI :
 file:///D:/svn/carbon/dependencies/synapse/modules/transports/core/vfs/target/vf
 3/req/in
 rg.apache.axis2.AxisFault: Error reading file content or attributes :
 file:///D:/svn/carbon/dependencies/synapse/modules/transports/core/vfs/target/v
 s3/req/in
at
 org.apache.axis2.transport.base.AbstractTransportListener.handleException(AbstractTransportListener.java:343)
at
 org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:499)
at
 org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:212)
at
 org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:144)
at
 org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:102)
 at
 org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
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:619)
 aused by: org.apache.commons.vfs2.FileNotFoundException: Could not read
 from
 file:///D:/svn/carbon/dependencies/synapse/modules/transports/core/vfs/
 arget/vfs3/req/in because it is a not a file.
at
 org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1316)
at
 org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:397)

Re: [Carbon-dev] Build get stuck Time to Time

2011-04-06 Thread Charith Wickramarachchi
One option is the reduce the timeout for given servers
see [1]

[1]
http://stackoverflow.com/questions/1168468/how-to-get-maven-to-timeout-earlier-while-downloading-dependencies

On Wed, Apr 6, 2011 at 10:59 AM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 We need to fix this because now build hangs waits a lot of time on those
 points.

 *Downloading:
 http://download.java.net/maven/2//biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom
 *
 [INFO] Unable to find resource 'biz.aQute:bndlib:pom:0.0.238' in repository
 repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
 Downloading:
 http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.pom

 *Downloading:
 http://download.java.net/maven/2//biz/aQute/bndlib/0.0.238/bndlib-0.0.238.jar
 *
 [INFO] Unable to find resource 'biz.aQute:bndlib:jar:0.0.238' in repository
 repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
 Downloading:
 http://repo1.maven.org/maven2/biz/aQute/bndlib/0.0.238/bndlib-0.0.238.jar

 Downloading:
 http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/axis2/axis2-mar-maven-plugin/1.2/axis2-mar-maven-plugin-1.2.pom
 [INFO] Unable to find resource
 'org.apache.axis2:axis2-mar-maven-plugin:pom:1.2' in repository apache-m2 (
 http://people.apache.org/repo/m2-ibiblio-rsync-repository)
 Downloading:
 http://download.java.net/maven/2//org/apache/axis2/axis2-mar-maven-plugin/1.2/axis2-mar-maven-plugin-1.2.pom
 [INFO] Unable to find resource
 'org.apache.axis2:axis2-mar-maven-plugin:pom:1.2' in repository
 repository.dev.java.net-maven2 (http://download.java.net/maven/2/)
 Downloading:
 http://repo1.maven.org/maven2/org/apache/axis2/axis2-mar-maven-plugin/1.2/axis2-mar-maven-plugin-1.2.pom

 Downloading:
 http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/axis2/axis2-parent/1.2/axis2-parent-1.2.pom
 [INFO] Unable to find resource 'org.apache.axis2:axis2-parent:pom:1.2' in
 repository apache-m2 (
 http://people.apache.org/repo/m2-ibiblio-rsync-repository)
 *Downloading:
 http://download.java.net/maven/2//org/apache/axis2/axis2-parent/1.2/axis2-parent-1.2.pom
 *
 [INFO] Unable to find resource 'org.apache.axis2:axis2-parent:pom:1.2' in
 repository repository.dev.java.net-maven2 (
 http://download.java.net/maven/2/)
 Downloading:
 http://repo1.maven.org/maven2/org/apache/axis2/axis2-parent/1.2/axis2-parent-1.2.pom


 On Tue, Apr 5, 2011 at 10:20 AM, Charith Wickramarachchi char...@wso2.com
  wrote:



 On Tue, Apr 5, 2011 at 10:09 AM, Charith Wickramarachchi 
 char...@wso2.com wrote:

 Hi Devs ,

 while trying to build the trunk i noticed that at some points build get
 stuck time to time. And while looking in to issue i notices that this is
 because. some times its looks for non existing artifacts.

 ex :


 http://dist.wso2.org/maven2//quickfixj/quickfixj-all/1.4.0/quickfixj-all-1.4.0.pom

 and hangs there for a while and then continue. (after getting 404). The
 Reason for this delay is it takes some time to get the 404. But still i
 was wondering why we are looking for this broken link. (There is an error in
 this generated link)


 Actually some lookups timeouts (110)


 Am i missing some thing here ?

 thanks,
 Charith

 http://dist.wso2.org/maven2//quickfixj/quickfixj-all/1.4.0/quickfixj-all-1.4.0.pom

 --
 Charith Dhanushka Wickramarachchi
 Software Engineer
 WSO2 Inc
 http://wso2.com/
 http://wso2.org/

 blog
 http://charithwiki.blogspot.com/

 twitter
 http://twitter.com/charithwiki






 --
 Charith Dhanushka Wickramarachchi
 Software Engineer
 WSO2 Inc
 http://wso2.com/
 http://wso2.org/

 blog
 http://charithwiki.blogspot.com/

 twitter
 http://twitter.com/charithwiki




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




 --
 Thanks,
 Denis
 --
 *Denis Weerasiri*
 Software Engineer; WSO2 Inc.; http://wso2.com,
 *email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/
 *
 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




-- 
Charith Dhanushka Wickramarachchi
Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/

blog
http://charithwiki.blogspot.com/

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


Re: [Carbon-dev] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Tharindu Mathew
Update core, qpid components.

It should look in conf/advanced if your source is up to date.

On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.com wrote:

 I did a complete svn up today morning and build the ESB. I'm getting the
 following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we are
 looking at the repository/conf/advanced. May be my svn is screwed up. Any
 suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

 ___
 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] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Supun Kamburugamuva
Actually I have updated everything. That is why I'm thinking something is
not right in my machine.

Thanks,
Supun..

On Wed, Apr 6, 2011 at 2:11 PM, Tharindu Mathew thari...@wso2.com wrote:

 Update core, qpid components.

 It should look in conf/advanced if your source is up to date.

 On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did a complete svn up today morning and build the ESB. I'm getting the
 following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we are
 looking at the repository/conf/advanced. May be my svn is screwed up. Any
 suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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




 --
 Regards,

 Tharindu




-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Supun Kamburugamuva
Hi Tharindu,

When we build the carbon core, do you see these files in the distribution?

Thanks,
Supun..

On Wed, Apr 6, 2011 at 2:17 PM, Supun Kamburugamuva su...@wso2.com wrote:

 Actually I have updated everything. That is why I'm thinking something is
 not right in my machine.

 Thanks,
 Supun..


 On Wed, Apr 6, 2011 at 2:11 PM, Tharindu Mathew thari...@wso2.com wrote:

 Update core, qpid components.

 It should look in conf/advanced if your source is up to date.

 On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did a complete svn up today morning and build the ESB. I'm getting the
 following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we are
 looking at the repository/conf/advanced. May be my svn is screwed up. Any
 suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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




 --
 Regards,

 Tharindu




 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com




-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Tharindu Mathew
No.

It's there in the core distribution included located at p2-profile-gen if
you have the event feature in your product. Could you check on that?

On Wed, Apr 6, 2011 at 2:19 PM, Supun Kamburugamuva su...@wso2.com wrote:

 Hi Tharindu,

 When we build the carbon core, do you see these files in the distribution?

 Thanks,
 Supun..


 On Wed, Apr 6, 2011 at 2:17 PM, Supun Kamburugamuva su...@wso2.comwrote:

 Actually I have updated everything. That is why I'm thinking something is
 not right in my machine.

  Thanks,
 Supun..


 On Wed, Apr 6, 2011 at 2:11 PM, Tharindu Mathew thari...@wso2.comwrote:

 Update core, qpid components.

 It should look in conf/advanced if your source is up to date.

 On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did a complete svn up today morning and build the ESB. I'm getting the
 following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we
 are looking at the repository/conf/advanced. May be my svn is screwed up.
 Any suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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




 --
 Regards,

 Tharindu




 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com




 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com




-- 
Regards,

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


Re: [Carbon-dev] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Danushka Menikkumbura
Supun,

Your {dependencies, orbit}/qpid is not up-to-date.

Danushka

On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.com wrote:

 I did a complete svn up today morning and build the ESB. I'm getting the
 following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we are
 looking at the repository/conf/advanced. May be my svn is screwed up. Any
 suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

 ___
 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


[Carbon-dev] Latest ESB build is unusable due to Registry issues

2011-04-06 Thread Kasun Indrasiri
The latest ESB build is very unstable and most of the basic
functionalities(Cannot add proxy services, failing all integration etc) are
broken. Please have a look.

[2011-04-06 13:23:57,963] FATAL
{org.wso2.carbon.registry.core.session.UserRegistry} -  Failed to add the
root collection to the coreRegistry.
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to get
the resource at path /_system/config. Timeout trying to lock table
REG_RESOURCE; SQL statement:
SELECT REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR,
REG_LAST_UPDATED_TIME, REG_VERSION, REG_DESCRIPTION, REG_CONTENT_ID FROM
REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS NULL AND REG_TENANT_ID=?
[50200-140]
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceMetaData(JDBCResourceDAO.java:1142)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResource(JDBCResourceDAO.java:1172)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.get(JDBCResourceDAO.java:229)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.get(JDBCResourceDAO.java:225)
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:353)
at
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:262)
at
org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getRegistry(EmbeddedRegistryService.java:446)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigUserRegistry(EmbeddedRegistryService.java:493)
at
org.wso2.carbon.core.services.util.CarbonAuthenticationUtil.onSuccessAdminLogin(CarbonAuthenticationUtil.java:75)
at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:91)
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.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:238)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:391)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:357)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1531)
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: org.h2.jdbc.JdbcSQLException: Timeout 

Re: [Carbon-dev] Security scenario 15. Issue with header missing or InputStream NULL

2011-04-06 Thread Thilina Buddhika
I tried with a similar proxy configuration[1] and tried out the same
scenario. But I could not reproduce this issue. So it seems like we will
have to do some serious debugging with all possible configurations to find
out the root cause.

When going through the ESB error logs provided by you, I saw this
org.apache.http.ProtocolException: Transfer-encoding header already
present error appearing in few places. Some related information about this
error is available in this JIRA [2].

I think it is not required to use IS in this scenario. Although we obtain a
token from IS, it is not used when establishing the security context between
ESB and the Client. IS would be more handy, if we are implementing a WS -
Trust scenario based on SAML.

Anyway it is good that Jorge's issue is solved now. :)

Thanks,
Thilina


[1] - proxy name=HelloServiceProxy transports=https http
startOnLoad=true trace=disable
target
endpoint
name=endpoint_urn_uuid_DEF69A2AC9E9A43AAE4257419113255-403783238
address uri=
http://10.100.1.125:10763/services/HelloService//
/endpoint
inSequence
log level=full/
entitlementService remoteServiceUrl=
https://localhost:8443/services; remoteServiceUserName=admin
remoteServicePassword=admin/
header xmlns:wsse=
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;
name=wsse:Security action=remove/
/inSequence
outSequence
log level=full/
send/
/outSequence
/target
policy
key=conf:/repository/axis2/service-groups/HelloServiceProxy/services/HelloServiceProxy/policies/SecConSgnEncrUsername/
enableSec/
/proxy


[2] - https://wso2.org/jira/browse/ESBJAVA-370

On Sat, Apr 2, 2011 at 11:49 PM, Amila Jayasekara ami...@wso2.com wrote:

 Hi Jorge,

 Sorry for the late response. I've been trying to reproduce this issue
 and I got stuck with some other work.
 Until yesterday I was trying to reproduce the issue using the proxy
 configuration in [1]. According to proxy configuration [1] I defined
 an endpoint pointing to “HelloService” in WSAS and used that endpoint
 in a sequence called “ CustomSequence”. Then used “ CustomSequence” in
 “HelloProxy”.
 With this [1] proxy configuration I was not able to reproduce the
 issue mentioned in this mail thread.

 Then I created a proxy service similar to one you are using [2]. With
 this [2] proxy service I was able to reproduce the intermittent issue
 you mentioned. Thus in my case, I didnt see a pattern, rather it was
 failing most of the time and getting success for about 1 in 7
 requests. Also, I found some “ERROR” logs in ESB logs for both success
 and fail requests (esbConsoleMessages.txt). I am not exactly sure what
 is the cause for this issue.


 As a workaround please use a proxy configuration similar to [1]. We
 will investigate the issue in proxy configuration [2]. Issue [3] is
 created to investigate this behaviour.

 I am attaching all the artifacts I used in this experiment.

 Note: If you are switching between “HelloProxy” and “ Secureproxy3”,
 remember to change SERVICE_EPR in client code and proxy URL in XACML
 policy.

 Also, please ignore my previous reply about “third party token issuer”
 [4] (I used STS in IS).

 Thanks
 AmilaJ

 [1]
  proxy name=HelloProxy transports=https http startOnLoad=true
 trace=disable
target inSequence=CustomSequence outSequence=CustomSequence/
publishWSDL
 uri=http://192.168.100.188:9765/services/HelloService?wsdl/
policy

 key=conf:/repository/axis2/service-groups/HelloProxy/services/HelloProxy/policies/SecConSgnEncrUsername/
enableSec/
/proxy

 endpoint name=HelloEndpoint
address uri=http://192.168.100.188:9765/services/HelloService/;
enableAddressing/
/address
/endpoint

  sequence name=CustomSequence
in
entitlementService
 remoteServiceUrl=https://localhost:9444/services/;
 remoteServiceUserName=admin remoteServicePassword=admin/
header
 xmlns:wsse=
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
 
 name=wsse:Security action=remove/
send
 endpoint key=HelloEndpoint/
/send
/in
out
send/
/out
/sequence

 [2]
 proxy name=Secureproxy3 transports=https http startOnLoad=true
 trace=disable
target
endpoint
 name=endpoint_urn_uuid_BB7F94575A9CFBD9B029470951711769-2054221907
address uri=http://127.0.0.1:9765/services/HelloService/
 /
/endpoint
inSequence
entitlementService
 remoteServiceUrl=https://localhost:9444/services/;
 remoteServiceUserName=admin remoteServicePassword=admin/
header
 xmlns:wsse=
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
 
 name=wsse:Security 

Re: [Carbon-dev] ESB product integration tests are still failing.

2011-04-06 Thread Chamara Silva
i will look in to this

regards,
Chamara

On Wed, Apr 6, 2011 at 10:45 AM, Selvaratnam Uthaiyashankar 
shan...@wso2.com wrote:

 $subject.

 Attached is the surefire report. Is this working for anyone?

 Failed tests:

 testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorHeaderLevelTest)

 testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorCustomLevelTest)

 Tests run: 4, Failures: 2, Errors: 0, Skipped: 0

 Saving Code Coverage Details...
 Completed Saving Code Coverage Details.
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/shankar/src/carbon/products/esb/modules/integration/mediators/log-mediator/target/surefire-reports
 for the individual test results.


 Shankar

 --
 S.Uthaiyashankar
 Senior Architect  Senior Manager
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

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




-- 
Suminda Chamara Silva
WSO2 Inc.
Mobile: +94 718 302858
blog: http://chamaras.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] QPid version in the branch

2011-04-06 Thread Supun Kamburugamuva
At the moment it says 0.11. Should this be 0.11.wso2v1?

Thanks,
-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] QPid version in the branch

2011-04-06 Thread Supun Kamburugamuva
Sorry for the noise. I can see it has wso2v1.

Thanks,
Supun..

On Wed, Apr 6, 2011 at 3:05 PM, Supun Kamburugamuva su...@wso2.com wrote:

 At the moment it says 0.11. Should this be 0.11.wso2v1?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com




-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Supun Kamburugamuva
I did build dependencied/qpid, orbit/qpid, features/qpid and esb. The result
is the same

Thanks,
Supun..

On Wed, Apr 6, 2011 at 2:26 PM, Danushka Menikkumbura danus...@wso2.comwrote:

 Supun,

 Your {dependencies, orbit}/qpid is not up-to-date.

 Danushka

 On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did a complete svn up today morning and build the ESB. I'm getting the
 following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we are
 looking at the repository/conf/advanced. May be my svn is screwed up. Any
 suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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





-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Tharindu Mathew
Don't you need to build components/qpid as well?

On Wed, Apr 6, 2011 at 3:31 PM, Supun Kamburugamuva su...@wso2.com wrote:

 I did build dependencied/qpid, orbit/qpid, features/qpid and esb. The
 result is the same

 Thanks,
 Supun..


 On Wed, Apr 6, 2011 at 2:26 PM, Danushka Menikkumbura 
 danus...@wso2.comwrote:

 Supun,

 Your {dependencies, orbit}/qpid is not up-to-date.

 Danushka

 On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did a complete svn up today morning and build the ESB. I'm getting the
 following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we are
 looking at the repository/conf/advanced. May be my svn is screwed up. Any
 suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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





 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

 ___
 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] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Manjula Rathnayake
On Wed, Apr 6, 2011 at 3:33 PM, Tharindu Mathew thari...@wso2.com wrote:

 Don't you need to build components/qpid as well?

 On Wed, Apr 6, 2011 at 3:31 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did build dependencied/qpid, orbit/qpid, features/qpid and esb. The
 result is the same


I think qpid feature comes via event feature, That seems to be the problem.

Thank you.


 Thanks,
 Supun..


 On Wed, Apr 6, 2011 at 2:26 PM, Danushka Menikkumbura 
 danus...@wso2.comwrote:

 Supun,

 Your {dependencies, orbit}/qpid is not up-to-date.

 Danushka

 On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did a complete svn up today morning and build the ESB. I'm getting the
 following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we
 are looking at the repository/conf/advanced. May be my svn is screwed up.
 Any suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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





 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

 ___
 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




-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Problems with SQS when Loaded

2011-04-06 Thread Manjula Rathnayake
Hi,

I tried with 15 threads receiving messages from a queue, and no message was
time out.

And when I look into the sqs sample client code comes with SDK, the
visibility time out is not set in receive request.
Setting timeout value for receiving message is optional, and default timeout
value should be used if visibility timeout not set in request.
This was done at code but not at appropriate place.

And we can test this further with sample code used by Srinath.

Thank you.

On Thu, Mar 31, 2011 at 6:10 PM, Srinath Perera srin...@wso2.com wrote:

 Hi Paul,

 I was trying the same queue

 --Srinath

 On Thu, Mar 31, 2011 at 6:06 PM, Paul Fremantle p...@wso2.com wrote:
  Are the threads accessing the same SQS queue or different queues?
  Paul
 
  On 31 March 2011 13:01, Srinath Perera srin...@wso2.com wrote:
 
  Have anyone tried the subject?
 
  I loaded it with 10 threads, and messages start to time out. I guess
  we should do some load tests.
 
  --Srinath
 
  --
  
  Srinath Perera, Ph.D.
Senior Software Architect, WSO2 Inc.
Visiting Faculty, University of Moratuwa
Member, Apache Software Foundation
Research Scientist, Lanka Software Foundation
Blog: http://srinathsview.blogspot.com/
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
  --
  Paul Fremantle
  CTO and Co-Founder, WSO2
  OASIS WS-RX TC Co-chair, VP, Apache Synapse
 
  Office: +44 844 484 8143
  Cell: +44 798 447 4618
 
  blog: http://pzf.fremantle.org
  twitter.com/pzfreo
  p...@wso2.com
 
  wso2.com Lean Enterprise Middleware
 
  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.
 



 --
 
 Srinath Perera, Ph.D.
   Senior Software Architect, WSO2 Inc.
   Visiting Faculty, University of Moratuwa
   Member, Apache Software Foundation
   Research Scientist, Lanka Software Foundation
   Blog: http://srinathsview.blogspot.com/
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Weird behavior with QPid configuration files in my machine

2011-04-06 Thread Supun Kamburugamuva
It was the event feature. Thanks all for the support.

Thanks,
Supun.

On Wed, Apr 6, 2011 at 3:36 PM, Manjula Rathnayake manju...@wso2.comwrote:



 On Wed, Apr 6, 2011 at 3:33 PM, Tharindu Mathew thari...@wso2.com wrote:

 Don't you need to build components/qpid as well?

 On Wed, Apr 6, 2011 at 3:31 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did build dependencied/qpid, orbit/qpid, features/qpid and esb. The
 result is the same


 I think qpid feature comes via event feature, That seems to be the problem.


 Thank you.


 Thanks,
 Supun..


 On Wed, Apr 6, 2011 at 2:26 PM, Danushka Menikkumbura danus...@wso2.com
  wrote:

 Supun,

 Your {dependencies, orbit}/qpid is not up-to-date.

 Danushka

 On Wed, Apr 6, 2011 at 2:07 PM, Supun Kamburugamuva su...@wso2.comwrote:

 I did a complete svn up today morning and build the ESB. I'm getting
 the following error.

 [2011-04-06 14:03:47,448] ERROR - QpidServiceImpl
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/config.xml
 not found
 Initialisation Error : File
 /Users/supun/dev/wso2/trunk/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/conf/qpid/etc/config.xml
 could not be found. Check the file exists and is readable.

 It is looking at the repository/conf/qpid/etc directory. I thought we
 are looking at the repository/conf/advanced. May be my svn is screwed up.
 Any suggestion about the not updated component?

 Thanks,
 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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





 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

 ___
 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




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

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




-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB product integration tests are still failing.

2011-04-06 Thread Kasun Indrasiri
Hi Shankar,

The root cause of this test failure seems to be

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException:
Failed to get the resource at path /_system/config. Timeout trying to lock
table REG_RESOURCE; SQL statement:
SELECT REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR,
REG_LAST_UPDATED_TIME, REG_VERSION, REG_DESCRIPTION, REG_CONTENT_ID FROM
REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS NULL AND REG_TENANT_ID=?
[50200-140]
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceMetaData(JDBCResourceDAO.java:1142)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResource(JDBCResourceDAO.java:1172)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.get(JDBCResourceDAO.java:229)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.get(JDBCResourceDAO.java:225)
at
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:353)
... 44 more
Caused by: org.h2.jdbc.JdbcSQLException: Timeout trying to lock table
REG_RESOURCE; SQL statement:
SELECT REG_MEDIA_TYPE, REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR,
REG_LAST_UPDATED_TIME, REG_VERSION, REG_DESCRIPTION, REG_CONTENT_ID FROM
REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS NULL AND REG_TENANT_ID=?
[50200-140]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.table.RegularTable.doLock(RegularTable.java:466)
at org.h2.table.RegularTable.lock(RegularTable.java:404)
at org.h2.table.TableFilter.lock(TableFilter.java:139)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
at org.h2.command.dml.Query.query(Query.java:241)
at org.h2.command.CommandContainer.query(CommandContainer.java:80)
at org.h2.command.Command.executeQuery(Command.java:132)
at
org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceMetaData(JDBCResourceDAO.java:1112)
... 48 more
[2011-04-06 16:52:22,484]  INFO
{org.wso2.carbon.integration.core.ServerLogin} -  Successfully logged :
JSESSIONID=806515D9D0F076E8F99815900511CAFC; Path=/; Secure=null;
HttpOnly=null

...

Results :

Failed tests:
  testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorFullLevelTest)
  testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorHeaderLevelTest)
  testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorCustomLevelTest)

Tests run: 4, Failures: 3, Errors: 0, Skipped: 0

This is discussed on a separate thread : carbon-dev: Latest ESB build is
unusable due to Registry issues

On Wed, Apr 6, 2011 at 2:53 PM, Chamara Silva cham...@wso2.com wrote:

 i will look in to this

 regards,
 Chamara

 On Wed, Apr 6, 2011 at 10:45 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 $subject.

 Attached is the surefire report. Is this working for anyone?

 Failed tests:

 testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorHeaderLevelTest)

 testTemplate(org.wso2.carbon.mediator.log.test.LogMediatorCustomLevelTest)

 Tests run: 4, Failures: 2, Errors: 0, Skipped: 0

 Saving Code Coverage Details...
 Completed Saving Code Coverage Details.
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/shankar/src/carbon/products/esb/modules/integration/mediators/log-mediator/target/surefire-reports
 for the individual test results.


 Shankar

 --
 S.Uthaiyashankar
 Senior Architect  Senior Manager
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

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




 --
 Suminda Chamara Silva
 WSO2 Inc.
 Mobile: +94 718 302858
 blog: http://chamaras.blogspot.com

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




-- 
Kasun Indrasiri
Senior Software Engineer
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread WSO2 Builder
[INFO] Executed tasks
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 
/home/carbon/carbon/dependencies/transports/modules/sms/target/surefire-reports

---
 T E S T S
---
Running org.apache.axis2.transport.sms.SMSTransportTest
Simple SMSC Listening on port :: 2776
/home/carbon/carbon/dependencies/transports/modules/sms/target/test-resources/samples
 [Axis2] bind and connect to 127.0.0.1 : 2776 on SMPP Transport
 [Axis2] test Server started on port 2776 
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.848 sec  
FAILURE!

Results :

Tests in error: 
  testSMPPImplimentaion(org.apache.axis2.transport.sms.SMSTransportTest)

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 132 minutes 55 seconds
[INFO] Finished at: Wed Apr 06 17:10:04 IST 2011
[INFO] Final Memory: 611M/1412M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Another hacky way to improve the build time

2011-04-06 Thread Harshana Martin
On Wed, Apr 6, 2011 at 10:18 AM, Sameera Jayasoma same...@wso2.com wrote:



 On Sat, Apr 2, 2011 at 8:38 AM, Harshana Martin harsh...@wso2.com wrote:

 Hi Sameera,

 On Thu, Mar 31, 2011 at 12:59 PM, Sameera Jayasoma same...@wso2.comwrote:



 On Sun, Mar 27, 2011 at 11:36 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Senaka,

 On Sun, Mar 27, 2011 at 10:51 PM, Senaka Fernando sen...@wso2.comwrote:



 On Sun, Mar 27, 2011 at 5:51 PM, Afkham Azeez az...@wso2.com wrote:

 Locate your .m2/repository/repository.xml file, and edit it so that
 the XML becomes non-wellformed. Now this file will not get written when 
 each
 bundle is built, hence the build will become faster :)


 I have done that too, :).. - and it works - best if the file is empty
 :). Only with the line below.

 ?xml version=1.0 encoding=ISO-8859-1 standalone=no?

 I wonder whether we could fix this actually. OBR is not required, since
 we use P2 instead of Eclipse/Maven as our repo. I wonder whether the 
 bundle
 plugin has some config option stopping this unwanted step of adding the
 bundle to the OBR.


 Yes. There is a way to disable it. We just need to mark the
 obrRepository to NONE for the maven-bundle-plugin. For example,

 groupIdorg.apache.felix/groupIdartifactIdmaven-bundle-plugin/artifactIdextensionstrue/extensionsconfiguration
   obrRepositoryNONE/obrRepository
   instructions
 !-- bnd instructions --
   /instructions

 /configuration


 Hi Harshana,

 I've added this to the bundle plugin configuration in plugin management
 section in carbon-platform pom. So far so good. Will commit it after some
 more testing.


 Committed two days ago. Seems like it is working.


Yes. While I was building last night, I noticed it and it is working :).

Thanks and regards,
Harshana


 Sameera



 +1

 Thanks and Regards,
 Harshana


 Thanks
 Sameera


 Thanks and Regards,
 Harshana

 Since the hack works, the step is clearly unnecessary.


 Thanks,
 Senaka.


 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; 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*


 ___
 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://www.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




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05


 ___
 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




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05




 --
 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




-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
  http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Charith Wickramarachchi
I looked in this issue and provided a patch at [1]
This is a random error. With that patch i couldn't regenerate the issue.


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



On Wed, Apr 6, 2011 at 5:10 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Executed tasks
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Surefire report directory:
 /home/carbon/carbon/dependencies/transports/modules/sms/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.apache.axis2.transport.sms.SMSTransportTest
 Simple SMSC Listening on port :: 2776

 /home/carbon/carbon/dependencies/transports/modules/sms/target/test-resources/samples
  [Axis2] bind and connect to 127.0.0.1 : 2776 on SMPP Transport
  [Axis2] test Server started on port 2776
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.848 sec
  FAILURE!

 Results :

 Tests in error:
  testSMPPImplimentaion(org.apache.axis2.transport.sms.SMSTransportTest)

 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 132 minutes 55 seconds
 [INFO] Finished at: Wed Apr 06 17:10:04 IST 2011
 [INFO] Final Memory: 611M/1412M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Charith Dhanushka Wickramarachchi
Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/

blog
http://charithwiki.blogspot.com/

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


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Afkham Azeez
Please commit this ASAP.

On Wed, Apr 6, 2011 at 5:24 PM, Charith Wickramarachchi char...@wso2.comwrote:

 I looked in this issue and provided a patch at [1]
 This is a random error. With that patch i couldn't regenerate the issue.


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



 On Wed, Apr 6, 2011 at 5:10 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Executed tasks
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Surefire report directory:
 /home/carbon/carbon/dependencies/transports/modules/sms/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.apache.axis2.transport.sms.SMSTransportTest
 Simple SMSC Listening on port :: 2776

 /home/carbon/carbon/dependencies/transports/modules/sms/target/test-resources/samples
  [Axis2] bind and connect to 127.0.0.1 : 2776 on SMPP Transport
  [Axis2] test Server started on port 2776
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.848 sec
  FAILURE!

 Results :

 Tests in error:
  testSMPPImplimentaion(org.apache.axis2.transport.sms.SMSTransportTest)

 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 132 minutes 55 seconds
 [INFO] Finished at: Wed Apr 06 17:10:04 IST 2011
 [INFO] Final Memory: 611M/1412M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Charith Dhanushka Wickramarachchi
 Software Engineer
 WSO2 Inc
 http://wso2.com/
 http://wso2.org/

 blog
 http://charithwiki.blogspot.com/

 twitter
 http://twitter.com/charithwiki




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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; 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*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Samisa Abeysinghe
Please ask RM to commit ASAP

On Wed, Apr 6, 2011 at 5:24 PM, Charith Wickramarachchi char...@wso2.comwrote:

 I looked in this issue and provided a patch at [1]
 This is a random error. With that patch i couldn't regenerate the issue.


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



 On Wed, Apr 6, 2011 at 5:10 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Executed tasks
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Surefire report directory:
 /home/carbon/carbon/dependencies/transports/modules/sms/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.apache.axis2.transport.sms.SMSTransportTest
 Simple SMSC Listening on port :: 2776

 /home/carbon/carbon/dependencies/transports/modules/sms/target/test-resources/samples
  [Axis2] bind and connect to 127.0.0.1 : 2776 on SMPP Transport
  [Axis2] test Server started on port 2776
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.848 sec
  FAILURE!

 Results :

 Tests in error:
  testSMPPImplimentaion(org.apache.axis2.transport.sms.SMSTransportTest)

 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 132 minutes 55 seconds
 [INFO] Finished at: Wed Apr 06 17:10:04 IST 2011
 [INFO] Final Memory: 611M/1412M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Charith Dhanushka Wickramarachchi
 Software Engineer
 WSO2 Inc
 http://wso2.com/
 http://wso2.org/

 blog
 http://charithwiki.blogspot.com/

 twitter
 http://twitter.com/charithwiki




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

 Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Denis Weerasiri
On Wed, Apr 6, 2011 at 5:31 PM, Afkham Azeez az...@wso2.com wrote:

 Please commit this ASAP.

Committed with r91712. Verified on local machine.





 On Wed, Apr 6, 2011 at 5:24 PM, Charith Wickramarachchi 
 char...@wso2.comwrote:

 I looked in this issue and provided a patch at [1]
 This is a random error. With that patch i couldn't regenerate the issue.


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



 On Wed, Apr 6, 2011 at 5:10 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Executed tasks
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Surefire report directory:
 /home/carbon/carbon/dependencies/transports/modules/sms/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.apache.axis2.transport.sms.SMSTransportTest
 Simple SMSC Listening on port :: 2776

 /home/carbon/carbon/dependencies/transports/modules/sms/target/test-resources/samples
  [Axis2] bind and connect to 127.0.0.1 : 2776 on SMPP Transport
  [Axis2] test Server started on port 2776
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.848
 sec  FAILURE!

 Results :

 Tests in error:
  testSMPPImplimentaion(org.apache.axis2.transport.sms.SMSTransportTest)

 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 132 minutes 55 seconds
 [INFO] Finished at: Wed Apr 06 17:10:04 IST 2011
 [INFO] Final Memory: 611M/1412M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Charith Dhanushka Wickramarachchi
 Software Engineer
 WSO2 Inc
 http://wso2.com/
 http://wso2.org/

 blog
 http://charithwiki.blogspot.com/

 twitter
 http://twitter.com/charithwiki




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




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; 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*




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/*
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
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Write some native code to restart the server?

2011-04-06 Thread Afkham Azeez
On Tue, Apr 5, 2011 at 9:02 PM, Afkham Azeez az...@wso2.com wrote:

 I will further test this with nohup, wrapper etc. and test all products,
 and update this list


I have made the necessary improvements to make this work with wrapper.
Wrapper provider the following API for a JVM to request restart;

WrapperManager.restart()

I also checked with nohup and there are no issues, except nohup.out will not
have the logs from the restart onwards. However, wso2carbon.log will contain
all the logs.

The other issue is, within external JavaEE AppServers, we will have to
simply do an OSGi level restart. However, I don't think this is an issue
since in AppServers; restart and shutdown do not make much sense. These have
to be done at the JavaEE AppServer level.

So, in summary, everything looks good so far.


 On Apr 5, 2011 7:08 PM, Samisa Abeysinghe sam...@wso2.com wrote:
  +1, as long as we can make it work across platforms seamlessly
 
  On Tue, Apr 5, 2011 at 6:25 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
 
  On Tue, Apr 5, 2011 at 4:39 PM, Afkham Azeez az...@wso2.com wrote:
 
  Folks,
  Please let me know whether everyone is fine with this approach of
 killing
  the running Java process and creating a new one when the restart
 command is
  issued. This simplifies everything and will ensure that the restarted
 server
  does not contain any garbage from the previous run. Also, we don't have
 to
  test  do memory profiling for each product to see whether there are
 leaks
  after restarting.
 
  +1
 
  Supun..
 
 
  Azeez
 
 
  On Tue, Apr 5, 2011 at 2:40 PM, Afkham Azeez az...@wso2.com wrote:
 
  Folks,
  This is working!
 
  The only shortcoming is, the System out disappears. However, if you
 have
  been doing a tail -f, you will see the restart happening. Anyway, in
  production we do not view the console output, so this should be fine.
 
  Azeez
 
  On Tue, Apr 5, 2011 at 2:18 PM, Afkham Azeez az...@wso2.com wrote:
 
  We can do something like the following. Anybody interested can run
 this
  code and see what happens :)
 
 
 
 
  import java.io.File;
 
 
 
 
 
  import java.io.IOException;
 
 
 
 
 
  import java.lang.management.ManagementFactory;
 
 
 
 
 
 
  public class Main {
 
 
 
 
 
 
  public static void main(String[] args) throws IOException,
 InterruptedException {
 
 
 
 
 
 
  StringBuilder cmd = new StringBuilder();
 
 
 
 
 
 
  cmd.append(System.getProperty(java.home) + File.separator + bin +
 File.separator + java );
 
 
 
 
 
 
  for (String jvmArg :
 ManagementFactory.getRuntimeMXBean().getInputArguments()) {
 
 
 
 
 
 
  cmd.append(jvmArg +  );
 
 
 
 
 
 
  }
 
 
 
 
 
 
  cmd.append(-cp
 ).append(ManagementFactory.getRuntimeMXBean().getClassPath()).append( );
 
 
 
 
 
 
  cmd.append(Main.class.getName()).append( );
 
 
 
 
 
 
  for (String arg : args) {
 
 
 
 
 
 
 
 
 
 
  cmd.append(arg).append( );
 
 
 
 
 
 
  }
 
 
 
 
 
 
  Runtime.getRuntime().exec(cmd.toString());
 
 
 
 
 
 
  System.exit(0);
 
 
 
 
 
 
  }
 
 
 
 
 
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  On Tue, Apr 5, 2011 at 2:10 PM, Sumedha Rubasinghe sume...@wso2.com
 wrote:
 
 
 
  On Tue, Apr 5, 2011 at 1:55 PM, Afkham Azeez az...@wso2.com
 wrote:
 
  To solve the restart issue, what if we write a bit of native code
 that
  will stop the Java process and spawn a new Carbon Java process?
 
 
  But this is asking for more problems with respect to platform
 support.
  Isn't it?
 
  /sumedha
 
 
  --
  *Afkham Azeez*
  Senior Software Architect  Senior Manager; 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*
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
 
  --
  *Afkham Azeez*
  Senior Software Architect  Senior Manager; 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*
  Senior Software Architect  Senior Manager; 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*
 

Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Charith Wickramarachchi
We tested in the builder machine and it gives a Client Timeout in the
builder machine due to some reason and it fails .
We removed this test i'll further look in to the cause of this issue.

On Wed, Apr 6, 2011 at 5:55 PM, Denis Weerasiri de...@wso2.com wrote:



 On Wed, Apr 6, 2011 at 5:31 PM, Afkham Azeez az...@wso2.com wrote:

 Please commit this ASAP.

 Committed with r91712. Verified on local machine.





 On Wed, Apr 6, 2011 at 5:24 PM, Charith Wickramarachchi char...@wso2.com
  wrote:

 I looked in this issue and provided a patch at [1]
 This is a random error. With that patch i couldn't regenerate the issue.


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



 On Wed, Apr 6, 2011 at 5:10 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Executed tasks
 [INFO] [surefire:test {execution: default-test}]
 [INFO] Surefire report directory:
 /home/carbon/carbon/dependencies/transports/modules/sms/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.apache.axis2.transport.sms.SMSTransportTest
 Simple SMSC Listening on port :: 2776

 /home/carbon/carbon/dependencies/transports/modules/sms/target/test-resources/samples
  [Axis2] bind and connect to 127.0.0.1 : 2776 on SMPP Transport
  [Axis2] test Server started on port 2776
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.848
 sec  FAILURE!

 Results :

 Tests in error:
  testSMPPImplimentaion(org.apache.axis2.transport.sms.SMSTransportTest)

 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 132 minutes 55 seconds
 [INFO] Finished at: Wed Apr 06 17:10:04 IST 2011
 [INFO] Final Memory: 611M/1412M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Charith Dhanushka Wickramarachchi
 Software Engineer
 WSO2 Inc
 http://wso2.com/
 http://wso2.org/

 blog
 http://charithwiki.blogspot.com/

 twitter
 http://twitter.com/charithwiki




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




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; 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*




 --
 Thanks,
 Denis
 --
 *Denis Weerasiri*
 Software Engineer; WSO2 Inc.; http://wso2.com,
 *email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/
 *
 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




-- 
Charith Dhanushka Wickramarachchi
Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/

blog
http://charithwiki.blogspot.com/

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


[Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Isuru Suriarachchi
Hi all,

$subject. This is because, lots of changes accumulating in our local
checkouts and it's hard to manage it. People might forget all the places to
commit if we keep local changes for a long time. And also we can't resolve
issues even though those are fixed.

On the other hand, QA is complaining about the quality of the provided
packs. But nobody can fix those as the code is frozen. So it's better to
unfreeze the code ASAP.

Thanks,
~Isuru

-- 
Isuru Suriarachchi
Technical Lead  Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Supun Kamburugamuva
+1

Thanks,
Supun..

On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi all,

 $subject. This is because, lots of changes accumulating in our local
 checkouts and it's hard to manage it. People might forget all the places to
 commit if we keep local changes for a long time. And also we can't resolve
 issues even though those are fixed.

 On the other hand, QA is complaining about the quality of the provided
 packs. But nobody can fix those as the code is frozen. So it's better to
 unfreeze the code ASAP.

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




-- 
Supun Kamburugamuva
Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
Member, Apache Software Foundation; http://www.apache.org
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] NPE occurring because of tenantId passed as -1 to DefaultRealmService.getTenantUserRealm()

2011-04-06 Thread Senaka Fernando
Looks like EventBrokerHolder.getInstance().getTenantId() in
RegistrySubscriptionManager of the Event Component is passing -1.

By the way, this seems to be happening at the server start-up. Why does DS
clear subscriptions at start-up? Is this to implement some form of
non-persistent subscription? If that's so, I believe that the event
component already has some concept like that (Amila, Danushka please
confirm).

Thanks,
Senaka.

On Wed, Apr 6, 2011 at 12:29 PM, Anjana Fernando anj...@wso2.com wrote:

 Tharindu has also asked about this earlier, is this fixed properly
 now? .. I've build the latest carbon-core and components but still
 gets the same problem. Please check the below error stacktrace.

  -
 java.lang.NullPointerException
at
 org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157)
at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:231)
at
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)
at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)
at
 org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:208)
at
 org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:137)
at
 org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385)
at
 org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401)
at
 org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658)
at
 org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193)
at
 org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221)
at
 org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609)
at
 org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955)
at
 org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176)
at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364)
at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
at
 org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
 [2011-04-06 12:14:53,200] ERROR
 {org.wso2.carbon.registry.core.session.UserRegistry} -  An error
 occurred while obtaining the user realm for the tenant: -1.
 [2011-04-06 12:14:53,200] ERROR
 {org.wso2.carbon.dataservices.core.engine.DataService} -  Error in
 setting event broker
  -

 Cheers,
 Anjana.
 --
 Anjana Fernando
 Software Engineer
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware
 ___
 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://www.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] G-Reg pack is unusable yet again

2011-04-06 Thread Ajith Vitharana
On Wed, Apr 6, 2011 at 12:29 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Charitha, Sameera,

 Thanks for the feedback. I believe that there might be some issues @
 JSP-level after the stub migration effort. Ajith please verify the packs and
 see whether there are any JSP-level issues that have cropped up after the
 stub migrations.


  Hi Senaka,

  Plz apply patches(CARBON-9310-patch and CARBON-9309-patch) to fix above
two issues.

  Thanks
  Ajithn



 Thanks,
 Senaka.


 On Wed, Apr 6, 2011 at 12:19 PM, Charitha Kankanamge chari...@wso2.comwrote:

 AFAIK these failures cannot be captured by integration tests. These are
 JSP failures. Our integration tests are based on admin services.

 Regards
 Charitha


 On Wed, Apr 6, 2011 at 12:09 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Evanthika,

 During the last few days, we were solely focusing on the build and
 getting the build perfected. All unit-tests related to the components and
 product were passing fine, but we discovered that the product integration
 tests were removed added for some reason (Janaka is looking into this right
 now), however, AFAIK, there aren't any failures in those as well.

 We have done a complete rebuild of the packs from scratch locally, and we
 will use those to double check whether these issues are around. If there are
 any issues we will have these sorted asap.

 Thanks,
 Senaka.

 On Wed, Apr 6, 2011 at 12:02 PM, Evanthika Amarasiri evanth...@wso2.com
  wrote:

 Hi All,

 The following blockers [1], [2] were found with the packs downloaded
 from [3]. These are basic functionalities and I'm not sure how such basic
 issues could slip from you all. This pack is unusable and I'm sure there 
 may
 be hundreds of other issues as well. Please be good enough to build the 
 next
 pack after doing a smoke test to see whether at least the basic
 functionalities are working.

 [1] - https://wso2.org/jira/browse/CARBON-9309
 [2] - https://wso2.org/jira/browse/CARBON-9310
 [3] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/


 Regards,
 Evanthika

 ___
 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://www.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





 --
 *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://www.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


Index: 
org.wso2.carbon.registry.eventing/src/main/java/org/wso2/carbon/registry/eventing/internal/RegistryEventingServiceComponent.java
===
--- 
org.wso2.carbon.registry.eventing/src/main/java/org/wso2/carbon/registry/eventing/internal/RegistryEventingServiceComponent.java
(revision 91702)
+++ 
org.wso2.carbon.registry.eventing/src/main/java/org/wso2/carbon/registry/eventing/internal/RegistryEventingServiceComponent.java
(working copy)
@@ -103,6 +103,7 @@
 
 protected void activate(ComponentContext context) {
 bundleContext = context.getBundleContext();
+registerEventingService();
 log.debug(Registry Eventing bundle is activated );
 }
 
Index: 
org.wso2.carbon.governance.services.ui/src/main/resources/web/services/add_service_ajaxprocessor.jsp
===
--- 
org.wso2.carbon.governance.services.ui/src/main/resources/web/services/add_service_ajaxprocessor.jsp
(revision 91702)
+++ 
org.wso2.carbon.governance.services.ui/src/main/resources/web/services/add_service_ajaxprocessor.jsp
(working copy)
@@ -63,11 +63,12 @@
 response.sendRedirect(resourcePagePath);
 }else{
 request.setAttribute(CarbonUIMessage.ID,new 
CarbonUIMessage(error1,error1,null));
+CarbonUIMessage uiMsg = new CarbonUIMessage(CarbonUIMessage.ERROR, 
error1, null);
+session.setAttribute(CarbonUIMessage.ID, uiMsg);
 
-
 %
 
-jsp:forward page=../admin/error.jsp?%=error1%/
+jsp:forward page=../admin/error.jsp/
 
 %}
 } catch (Exception e) {
@@ -77,10 +78,11 @@
 return;
 }
 request.setAttribute(CarbonUIMessage.ID,new 

[Carbon-dev] IS Build Failure

2011-04-06 Thread Harshana Martin
svn up was taken around 6.30 pm. It was successful this morning. Please have
a look.



[INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
[INFO]task-segment: [install]
[INFO]

[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting
/home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
[INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
[INFO] Configured Artifact: org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
[INFO] Configured Artifact:
org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
[INFO] Expanding:
/home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
into
/home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
[INFO] Expanding:
/home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
into /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.system.statistics.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.security.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.registry.core.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.identity.core.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.identity.provider.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
[INFO] Extracting feature
org.wso2.identity:org.wso2.stratos.identity.styles.feature
[INFO] Extracting feature
org.wso2.identity:org.wso2.stratos.identity.utils.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
[INFO] Extracting feature
org.wso2.identity:org.wso2.stratos.identity.ui.feature
[INFO] Extracting feature
org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
[INFO] Extracting feature
org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
[INFO] Copying resources
[INFO] Running Equinox P2 Publisher Application for Repository Generation
[INFO] Generating metadata for ..
[INFO] Generation completed with success [3 seconds].
[INFO] Running Equinox P2 Category Publisher Application for the Generated
Repository
[INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
[INFO] Running Equinox P2 Director Application
[ERROR] The installable unit
org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been
found.
[ERROR] Application failed, log file location:
/home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302097985020.log
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO]

[INFO]

[INFO] For more information, run Maven with the -e switch


-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
  http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Harshana Martin
Log file attached.

On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.com wrote:

 svn up was taken around 6.30 pm. It was successful this morning. Please
 have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.system.statistics.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.security.mgt.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.utils.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [3 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the Generated
 Repository
 [INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
 [INFO] Running Equinox P2 Director Application
 [ERROR] The installable unit
 org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been
 found.
 [ERROR] Application failed, log file location:
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302097985020.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch


 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05




-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
 

Re: [Carbon-dev] G-Reg pack is unusable yet again

2011-04-06 Thread Ajith Vitharana
On Wed, Apr 6, 2011 at 7:14 PM, Ajith Vitharana aji...@wso2.com wrote:



 On Wed, Apr 6, 2011 at 12:29 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Charitha, Sameera,

 Thanks for the feedback. I believe that there might be some issues @
 JSP-level after the stub migration effort. Ajith please verify the packs and
 see whether there are any JSP-level issues that have cropped up after the
 stub migrations.


   Hi Senaka,

   Plz apply patches(CARBON-9310-patch and CARBON-9309-patch) to fix above
 two issues.


Hi Senaka,

Latest G-Reg pack getting following ERROR at the startup.

[2011-04-06 19:20:04,038] ERROR
{org.wso2.carbon.qpid.service.QpidServiceImpl} -
/home/ajith/Desktop/wso2greg-4.0.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml
not found
[2011-04-06 19:20:04,067] ERROR
{org.wso2.carbon.qpid.internal.QpidServiceComponent} -  Failed to start Qpid
broker : File
/home/ajith/Desktop/wso2greg-4.0.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml
could not be found. Check the file exists and is readable.

Plz apply patch (STARTUP-patch)  to fix this issue.

Thanks
Ajithn





   Thanks
   Ajithn



 Thanks,
 Senaka.


 On Wed, Apr 6, 2011 at 12:19 PM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 AFAIK these failures cannot be captured by integration tests. These are
 JSP failures. Our integration tests are based on admin services.

 Regards
 Charitha


 On Wed, Apr 6, 2011 at 12:09 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi Evanthika,

 During the last few days, we were solely focusing on the build and
 getting the build perfected. All unit-tests related to the components and
 product were passing fine, but we discovered that the product integration
 tests were removed added for some reason (Janaka is looking into this right
 now), however, AFAIK, there aren't any failures in those as well.

 We have done a complete rebuild of the packs from scratch locally, and
 we will use those to double check whether these issues are around. If there
 are any issues we will have these sorted asap.

 Thanks,
 Senaka.

 On Wed, Apr 6, 2011 at 12:02 PM, Evanthika Amarasiri 
 evanth...@wso2.com wrote:

 Hi All,

 The following blockers [1], [2] were found with the packs downloaded
 from [3]. These are basic functionalities and I'm not sure how such basic
 issues could slip from you all. This pack is unusable and I'm sure there 
 may
 be hundreds of other issues as well. Please be good enough to build the 
 next
 pack after doing a smoke test to see whether at least the basic
 functionalities are working.

 [1] - https://wso2.org/jira/browse/CARBON-9309
 [2] - https://wso2.org/jira/browse/CARBON-9310
 [3] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/


 Regards,
 Evanthika

 ___
 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://www.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





 --
 *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://www.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



Index: greg/modules/distribution/product/src/main/assembly/bin.xml
===
--- greg/modules/distribution/product/src/main/assembly/bin.xml (revision 91702)
+++ greg/modules/distribution/product/src/main/assembly/bin.xml (working copy)
@@ -130,6 +130,14 @@
 include**/*/include
 /includes
 /fileSet
+fileSet
+   
directory../../p2-profile-gen/product/target/wso2carbon-core-${carbon.version}/repository/conf/advanced//directory
+   
outputDirectory${pom.artifactId}-${build.version}/repository/conf/advanced/outputDirectory
+   includes
+   include**/*/include
+   /includes
+/fileSet
+
 /fileSets
 
 dependencySets
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Nuwan Bandara
+1, since there are lots of changes locally, we might encounter alot of
conflicts when committing the longer we wait.

Regards,
/Nuwan

On Wed, Apr 6, 2011 at 6:52 PM, Supun Kamburugamuva su...@wso2.com wrote:

 +1

 Thanks,
 Supun..

 On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi all,

 $subject. This is because, lots of changes accumulating in our local
 checkouts and it's hard to manage it. People might forget all the places to
 commit if we keep local changes for a long time. And also we can't resolve
 issues even though those are fixed.

 On the other hand, QA is complaining about the quality of the provided
 packs. But nobody can fix those as the code is frozen. So it's better to
 unfreeze the code ASAP.

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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




-- 
Thanks  Regards,

Nuwan Bandara
Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://www.nuwanbando.com

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


Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Afkham Azeez
Can you guys provide a solid promise that your commits will not break the
build screw it up for 100 other people and that you will all refrain from
committing code when the SVN is in  broken state?


On Wed, Apr 6, 2011 at 7:38 PM, Nuwan Bandara nu...@wso2.com wrote:

 +1, since there are lots of changes locally, we might encounter alot of
 conflicts when committing the longer we wait.

 Regards,
 /Nuwan


 On Wed, Apr 6, 2011 at 6:52 PM, Supun Kamburugamuva su...@wso2.comwrote:

 +1

 Thanks,
 Supun..

 On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi all,

 $subject. This is because, lots of changes accumulating in our local
 checkouts and it's hard to manage it. People might forget all the places to
 commit if we keep local changes for a long time. And also we can't resolve
 issues even though those are fixed.

 On the other hand, QA is complaining about the quality of the provided
 packs. But nobody can fix those as the code is frozen. So it's better to
 unfreeze the code ASAP.

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




 --
 Supun Kamburugamuva
 Technical Lead   Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.;  http://wso2.org
 E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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




 --
 Thanks  Regards,

 Nuwan Bandara
 Software Engineer

 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://www.nuwanbando.com

 http://www.nuwanbando.com/

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




-- 
*Afkham Azeez*
Senior Software Architect  Senior Manager; 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*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Dimuthu Leelarathne
Hi,

As we have discussed in a previous thread  (Error while installing
tenant.mgt feature!) we can fix this by taking the svn checkout from
svn.wso2.org completely root to bottom.

And as a precausion we can also do the following.

 s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
inside tenant-mgt core feature

I cannot commit the above however.

tx,
dimuthu

On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.com wrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.com wrote:

 svn up was taken around 6.30 pm. It was successful this morning. Please
 have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.system.statistics.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.security.mgt.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.utils.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [3 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the Generated
 Repository
 [INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
 [INFO] Running Equinox P2 Director Application
 [ERROR] The installable unit
 org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been
 found.
 [ERROR] Application failed, log file location:
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302097985020.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Harshana Martin
Hi Dimuthu,

On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.


Yes. My codebase is checked out from svn.wso2.org from root to bottom :).

One thing i noticed is, this is used in the G-Reg as well. But it builds
fine. Only IS face this.

Thanks and Regards,
Harshana


 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.

 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.com wrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning. Please
 have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.system.statistics.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.security.mgt.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.utils.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [3 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
 [INFO] Running Equinox P2 Director Application
 [ERROR] The installable unit
 org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been
 found.
 [ERROR] Application failed, log file location:
 

[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread WSO2 Builder
[INFO] No tests to run.
[INFO] [bundle:bundle {execution: default-bundle}]
[WARNING] Warning building bundle 
org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:bundle:3.2.0-SNAPSHOT
 : Did not find matching referal for org.apache.commons.logging.*
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/home/carbon/carbon/components/mashup/org.wso2.carbon.mashup.javascript-scraper.ui/target/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 to 
/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.mashup.javascript-scraper.ui/3.2.0-SNAPSHOT/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Local OBR update disabled (enable with -DobrRepository)
[INFO] 
[INFO] Building WSO2 Carbon - Data Services UI
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.dataservices.stub:3.2.0.SNAPSHOT: checking for 
updates from wso2-nexus
Downloading: 
http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.pom
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.dataservices.stub:pom:3.2.0.SNAPSHOT' in 
repository wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:3.2.0.SNAPSHOT: 
checking for updates from wso2-nexus
Downloading: 
http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.taskscheduler.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.taskscheduler.stub-3.2.0.SNAPSHOT.pom
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus 
(http://maven.wso2.org/nexus/content/groups/wso2-public/)
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:3.2.0.SNAPSHOT: 
checking for updates from wso2-nexus
Downloading: 
http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.fileupload.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.fileupload.stub-3.2.0.SNAPSHOT.pom
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus 
(http://maven.wso2.org/nexus/content/groups/wso2-public/)
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:3.2.0-SNAPSHOT: 
checking for updates from wso2-nexus
Downloading: 
http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.dataservices.stub:jar:3.2.0.SNAPSHOT' in 
repository wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
Downloading: 
http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.taskscheduler.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.taskscheduler.stub-3.2.0.SNAPSHOT.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:jar:3.2.0.SNAPSHOT'
 in repository wso2-nexus 
(http://maven.wso2.org/nexus/content/groups/wso2-public/)
Downloading: 
http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.fileupload.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.fileupload.stub-3.2.0.SNAPSHOT.jar
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:jar:3.2.0.SNAPSHOT'
 in repository wso2-nexus 
(http://maven.wso2.org/nexus/content/groups/wso2-public/)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.wso2.carbon:org.wso2.carbon.dataservices.stub:jar:3.2.0.SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.dataservices.stub -Dversion=3.2.0.SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.wso2.carbon 
-DartifactId=org.wso2.carbon.dataservices.stub -Dversion=3.2.0.SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Harshana Martin
Hi Dimuthu,

On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.


I was able to fix the problem by uncommenting  *
featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
*. After that the build was successful.

Is there any specific reason to comment it out while leaving the
*org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
*? Is it wrong to uncomment that featureDef?

Thanks and Regards,
Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.com wrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning. Please
 have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.system.statistics.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.security.mgt.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.utils.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [3 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the
 Generated Repository
 [INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
 [INFO] Running 

Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Rajika Kumarasiri
+1.

Rajika

On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi all,

 $subject. This is because, lots of changes accumulating in our local
 checkouts and it's hard to manage it. People might forget all the places to
 commit if we keep local changes for a long time. And also we can't resolve
 issues even though those are fixed.

 On the other hand, QA is complaining about the quality of the provided
 packs. But nobody can fix those as the code is frozen. So it's better to
 unfreeze the code ASAP.

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 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


Re: [Carbon-dev] NPE occurring because of tenantId passed as -1 to DefaultRealmService.getTenantUserRealm()

2011-04-06 Thread Tharindu Mathew
The problem went away after I updated the core and built this.

I believe the event broker is trying to pass tenant id when non exists.
Either DSS should not be doing this at start up before some needed
components such as Registry are initialized. Maybe the event folks should
take a look, but since only DSS is facing this issue (AFAIK) you guys can
mess around with this bit of code to fix this.

On Wed, Apr 6, 2011 at 8:14 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Senaka,

 On Wed, Apr 6, 2011 at 7:02 PM, Senaka Fernando sen...@wso2.com wrote:
  Looks like EventBrokerHolder.getInstance().getTenantId() in
  RegistrySubscriptionManager of the Event Component is passing -1.
 
  By the way, this seems to be happening at the server start-up. Why does
 DS
  clear subscriptions at start-up? Is this to implement some form of
  non-persistent subscription? If that's so, I believe that the event
  component already has some concept like that (Amila, Danushka please
  confirm).

 This is done to basically to refresh the subscriptions, that is, the
 data service may have been changed when it is being deployed again,
 for example, the user may have removed the old subscriptions from the
 data service and added new ones, so because of that, we remove all the
 current subscriptions that are associated with this data service and
 again add the subscriptions that are now mentioned in the data
 service.

 I'm still getting the same error btw, I tried a build properly with
 mvn clean install, but still have the same problem. Appreciate if
 someone can look into this.

 Cheers,
 Anjana.

 
  Thanks,
  Senaka.
 
  On Wed, Apr 6, 2011 at 12:29 PM, Anjana Fernando anj...@wso2.com
 wrote:
 
  Tharindu has also asked about this earlier, is this fixed properly
  now? .. I've build the latest carbon-core and components but still
  gets the same problem. Please check the below error stacktrace.
 
   -
  java.lang.NullPointerException
 at
 
 org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157)
 at
 
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:231)
 at
 
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)
 at
 
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
 at
 
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
 at
 
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)
 at
 
 org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:208)
 at
 
 org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:137)
 at
 
 org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385)
 at
 
 org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401)
 at
 
 org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658)
 at
 
 org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193)
 at
 
 org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221)
 at
 
 org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609)
 at
 
 org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955)
 at
  org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176)
 at
 
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
 at
 
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
 at
 
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364)
 at
 
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
 at
 
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
 at
 
 org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)
  [2011-04-06 12:14:53,200] ERROR
  {org.wso2.carbon.registry.core.session.UserRegistry} -  An error
  occurred while obtaining the user 

Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Afkham Azeez
Lets configure Hudson tomorrow  then open up svn. That way, when the build
is broken we can get an idea about the commits that caused it.
On Apr 6, 2011 8:17 PM, Samisa Abeysinghe sam...@wso2.com wrote:
 The build still remain mostly broken.

 It is broken both on Linix as well as Windows. Windows breaks are
 different.

 So revoking commit rights has not really worked. :(

 On Wed, Apr 6, 2011 at 7:45 PM, Afkham Azeez az...@wso2.com wrote:

 Can you guys provide a solid promise that your commits will not break the
 build screw it up for 100 other people and that you will all refrain from
 committing code when the SVN is in broken state?


 On Wed, Apr 6, 2011 at 7:38 PM, Nuwan Bandara nu...@wso2.com wrote:

 +1, since there are lots of changes locally, we might encounter alot of
 conflicts when committing the longer we wait.

 Regards,
 /Nuwan


 On Wed, Apr 6, 2011 at 6:52 PM, Supun Kamburugamuva su...@wso2.com
wrote:

 +1

 Thanks,
 Supun..

 On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi is...@wso2.com
wrote:

 Hi all,

 $subject. This is because, lots of changes accumulating in our local
 checkouts and it's hard to manage it. People might forget all the
places to
 commit if we keep local changes for a long time. And also we can't
resolve
 issues even though those are fixed.

 On the other hand, QA is complaining about the quality of the provided
 packs. But nobody can fix those as the code is frozen. So it's better
to
 unfreeze the code ASAP.

 Thanks,
 ~Isuru

 --
 Isuru Suriarachchi
 Technical Lead  Product Manager, WSO2 Application Server
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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




 --
 Supun Kamburugamuva
 Technical Lead  Product Manager, WSO2 Inc.; http://wso2.com
 Member, Apache Software Foundation; http://www.apache.org
 WSO2 Inc.; http://wso2.org
 E-mail: su...@wso2.com; Mobile: +94 77 431 3585
 Blog: http://supunk.blogspot.com

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




 --
 Thanks  Regards,

 Nuwan Bandara
 Software Engineer

 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 http://www.nuwanbando.com

 http://www.nuwanbando.com/

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




 --
 *Afkham Azeez*
 Senior Software Architect  Senior Manager; 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*


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

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Fazlan Sabar
Hi, I encountered the same problem when building GReg, and I followed the
set of instructions mentioned by Dimuthu and Sameera. It worked like a
charm. To summarize, following is what I did,

1. Added the following line to build.properties(both files) found
at carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
carbon/features/stratos/tenant-mgt/
org.wso2.carbon.tenant.mgt.core.feature/resources/conf
3. Built the relevant feature and product

Thanks Dimuthu and Sameera!

On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Dimuthu,

 On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.


 I was able to fix the problem by uncommenting  *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 *. After that the build was successful.

 Is there any specific reason to comment it out while leaving the 
 *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
 *? Is it wrong to uncomment that featureDef?

 Thanks and Regards,
 Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning. Please
 have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into 
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.system.statistics.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.security.mgt.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.styles.feature
 [INFO] Extracting feature
 

Re: [Carbon-dev] NPE occurring because of tenantId passed as -1 to DefaultRealmService.getTenantUserRealm()

2011-04-06 Thread Anjana Fernando
Hi,

On Wed, Apr 6, 2011 at 9:25 PM, Tharindu Mathew thari...@wso2.com wrote:
 The problem went away after I updated the core and built this.
 I believe the event broker is trying to pass tenant id when non exists.
 Either DSS should not be doing this at start up before some needed
 components such as Registry are initialized. Maybe the event folks should
 take a look, but since only DSS is facing this issue (AFAIK) you guys can
 mess around with this bit of code to fix this.

The registry seems to be initialised when this is happening, I've
attached the startup log with DEBUG log level for org.wso2.

Cheers,
Anjana.


 On Wed, Apr 6, 2011 at 8:14 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Senaka,

 On Wed, Apr 6, 2011 at 7:02 PM, Senaka Fernando sen...@wso2.com wrote:
  Looks like EventBrokerHolder.getInstance().getTenantId() in
  RegistrySubscriptionManager of the Event Component is passing -1.
 
  By the way, this seems to be happening at the server start-up. Why does
  DS
  clear subscriptions at start-up? Is this to implement some form of
  non-persistent subscription? If that's so, I believe that the event
  component already has some concept like that (Amila, Danushka please
  confirm).

 This is done to basically to refresh the subscriptions, that is, the
 data service may have been changed when it is being deployed again,
 for example, the user may have removed the old subscriptions from the
 data service and added new ones, so because of that, we remove all the
 current subscriptions that are associated with this data service and
 again add the subscriptions that are now mentioned in the data
 service.

 I'm still getting the same error btw, I tried a build properly with
 mvn clean install, but still have the same problem. Appreciate if
 someone can look into this.

 Cheers,
 Anjana.

 
  Thanks,
  Senaka.
 
  On Wed, Apr 6, 2011 at 12:29 PM, Anjana Fernando anj...@wso2.com
  wrote:
 
  Tharindu has also asked about this earlier, is this fixed properly
  now? .. I've build the latest carbon-core and components but still
  gets the same problem. Please check the below error stacktrace.
 
   -
  java.lang.NullPointerException
         at
 
  org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157)
         at
 
  org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:231)
         at
 
  org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)
         at
 
  org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
         at
 
  org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
         at
 
  org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)
         at
 
  org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:208)
         at
 
  org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:137)
         at
 
  org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385)
         at
 
  org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401)
         at
 
  org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658)
         at
 
  org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193)
         at
 
  org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221)
         at
 
  org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609)
         at
 
  org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955)
         at
 
  org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176)
         at
 
  org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
         at
 
  org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
         at
 
  org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
         at
 
  org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
         at
 
  org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
         at
 
  org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364)
         at
 
  org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
         at
 
  org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
         at
 
  

Re: [Carbon-dev] NPE occurring because of tenantId passed as -1 to DefaultRealmService.getTenantUserRealm()

2011-04-06 Thread Tharindu Mathew
Looks like a problem introduced with Registry cache. Senaka, any ideas?

On Wed, Apr 6, 2011 at 9:43 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 On Wed, Apr 6, 2011 at 9:25 PM, Tharindu Mathew thari...@wso2.com wrote:
  The problem went away after I updated the core and built this.
  I believe the event broker is trying to pass tenant id when non exists.
  Either DSS should not be doing this at start up before some needed
  components such as Registry are initialized. Maybe the event folks should
  take a look, but since only DSS is facing this issue (AFAIK) you guys can
  mess around with this bit of code to fix this.

 The registry seems to be initialised when this is happening, I've
 attached the startup log with DEBUG log level for org.wso2.

 Cheers,
 Anjana.

 
  On Wed, Apr 6, 2011 at 8:14 PM, Anjana Fernando anj...@wso2.com wrote:
 
  Hi Senaka,
 
  On Wed, Apr 6, 2011 at 7:02 PM, Senaka Fernando sen...@wso2.com
 wrote:
   Looks like EventBrokerHolder.getInstance().getTenantId() in
   RegistrySubscriptionManager of the Event Component is passing -1.
  
   By the way, this seems to be happening at the server start-up. Why
 does
   DS
   clear subscriptions at start-up? Is this to implement some form of
   non-persistent subscription? If that's so, I believe that the event
   component already has some concept like that (Amila, Danushka please
   confirm).
 
  This is done to basically to refresh the subscriptions, that is, the
  data service may have been changed when it is being deployed again,
  for example, the user may have removed the old subscriptions from the
  data service and added new ones, so because of that, we remove all the
  current subscriptions that are associated with this data service and
  again add the subscriptions that are now mentioned in the data
  service.
 
  I'm still getting the same error btw, I tried a build properly with
  mvn clean install, but still have the same problem. Appreciate if
  someone can look into this.
 
  Cheers,
  Anjana.
 
  
   Thanks,
   Senaka.
  
   On Wed, Apr 6, 2011 at 12:29 PM, Anjana Fernando anj...@wso2.com
   wrote:
  
   Tharindu has also asked about this earlier, is this fixed properly
   now? .. I've build the latest carbon-core and components but still
   gets the same problem. Please check the below error stacktrace.
  
-
   java.lang.NullPointerException
  at
  
  
 org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157)
  at
  
  
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:231)
  at
  
  
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)
  at
  
  
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
  at
  
  
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
  at
  
  
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)
  at
  
  
 org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:208)
  at
  
  
 org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:137)
  at
  
  
 org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385)
  at
  
  
 org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401)
  at
  
  
 org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658)
  at
  
  
 org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193)
  at
  
  
 org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221)
  at
  
  
 org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609)
  at
  
  
 org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955)
  at
  
  
 org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176)
  at
  
  
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
  at
  
  
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
  at
  
  
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
  at
  
  
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
  at
  
  
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
  at
  
  
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364)
  at

Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Amila Maha Arachchi
On Wed, Apr 6, 2011 at 9:39 PM, Afkham Azeez az...@wso2.com wrote:

 Lets configure Hudson tomorrow  then open up svn. That way, when the build
 is broken we can get an idea about the commits that caused it.

++1

By that time we'll be able to complete the current build on the clean repo.


 On Apr 6, 2011 8:17 PM, Samisa Abeysinghe sam...@wso2.com wrote:
  The build still remain mostly broken.
 
  It is broken both on Linix as well as Windows. Windows breaks are
  different.
 
  So revoking commit rights has not really worked. :(
 
  On Wed, Apr 6, 2011 at 7:45 PM, Afkham Azeez az...@wso2.com wrote:
 
  Can you guys provide a solid promise that your commits will not break
 the
  build screw it up for 100 other people and that you will all refrain
 from
  committing code when the SVN is in broken state?
 
 
  On Wed, Apr 6, 2011 at 7:38 PM, Nuwan Bandara nu...@wso2.com wrote:
 
  +1, since there are lots of changes locally, we might encounter alot of
  conflicts when committing the longer we wait.
 
  Regards,
  /Nuwan
 
 
  On Wed, Apr 6, 2011 at 6:52 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
 
  +1
 
  Thanks,
  Supun..
 
  On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi is...@wso2.com
 wrote:
 
  Hi all,
 
  $subject. This is because, lots of changes accumulating in our local
  checkouts and it's hard to manage it. People might forget all the
 places to
  commit if we keep local changes for a long time. And also we can't
 resolve
  issues even though those are fixed.
 
  On the other hand, QA is complaining about the quality of the
 provided
  packs. But nobody can fix those as the code is frozen. So it's better
 to
  unfreeze the code ASAP.
 
  Thanks,
  ~Isuru
 
  --
  Isuru Suriarachchi
  Technical Lead  Product Manager, WSO2 Application Server
  WSO2 Inc. http://wso2.com
  email : is...@wso2.com
  blog : http://isurues.wordpress.com/
 
  lean . enterprise . middleware
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Supun Kamburugamuva
  Technical Lead  Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.; http://wso2.org
  E-mail: su...@wso2.com; Mobile: +94 77 431 3585
  Blog: http://supunk.blogspot.com
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Thanks  Regards,
 
  Nuwan Bandara
  Software Engineer
 
  WSO2 Inc. | http://wso2.com
  lean . enterprise . middleware
 
  http://www.nuwanbando.com
 
  http://www.nuwanbando.com/
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  *Afkham Azeez*
  Senior Software Architect  Senior Manager; 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*
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
  Thanks,
  Samisa...
 
  Samisa Abeysinghe
  VP Engineering
  WSO2 Inc.
  http://wso2.com
  http://wso2.org

 ___
 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


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Amila Maha Arachchi
This error seems to be fixed by ParabathA around 6.46pm. But, by that time
svn up was completed for this cycle.

BTW, I tried to build dataservices.ui component and met the following error.
Please fix this ASAP and inform the list.

[INFO] Compiling 35 source files to
/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
cannot find symbol
symbol  : method getTriggers(java.lang.String)
location: class
org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub

[INFO] 1error
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
cannot find symbol
symbol  : method getTriggers(java.lang.String)
location: class
org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub



On Wed, Apr 6, 2011 at 9:15 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] No tests to run.
 [INFO] [bundle:bundle {execution: default-bundle}]
 [WARNING] Warning building bundle
 org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:bundle:3.2.0-SNAPSHOT
 : Did not find matching referal for org.apache.commons.logging.*
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing
 /home/carbon/carbon/components/mashup/org.wso2.carbon.mashup.javascript-scraper.ui/target/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 to
 /home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.mashup.javascript-scraper.ui/3.2.0-SNAPSHOT/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 [INFO] [bundle:install {execution: default-install}]
 [INFO] Local OBR update disabled (enable with -DobrRepository)
 [INFO]
 
 [INFO] Building WSO2 Carbon - Data Services UI
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.dataservices.stub:3.2.0.SNAPSHOT: checking
 for updates from wso2-nexus
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.stub:pom:3.2.0.SNAPSHOT' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:3.2.0.SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.taskscheduler.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.taskscheduler.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:3.2.0.SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.fileupload.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.fileupload.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:3.2.0-SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.jar
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.stub:jar:3.2.0.SNAPSHOT' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 Downloading:
 

Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Denis Weerasiri
On Wed, Apr 6, 2011 at 10:47 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 On Wed, Apr 6, 2011 at 10:26 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 This error seems to be fixed by ParabathA around 6.46pm. But, by that time
 svn up was completed for this cycle.


 Yeah I've fixed this issue and I believe the svn up was taken while I was
 in the middle of committing
 some changes that were introduced to the TaskSchedulerAdminService.

PrabathA has fixed the issue with r91719 - r91722.




 BTW, I tried to build dataservices.ui component and met the following
 error. Please fix this ASAP and inform the list.

 [INFO] Compiling 35 source files to
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
 cannot find symbol
 symbol  : method getTriggers(java.lang.String)
 location: class
 org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub

 [INFO] 1error
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
 cannot find symbol
 symbol  : method getTriggers(java.lang.String)
 location: class
 org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub




 On Wed, Apr 6, 2011 at 9:15 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] No tests to run.
 [INFO] [bundle:bundle {execution: default-bundle}]
 [WARNING] Warning building bundle
 org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:bundle:3.2.0-SNAPSHOT
 : Did not find matching referal for org.apache.commons.logging.*
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing
 /home/carbon/carbon/components/mashup/org.wso2.carbon.mashup.javascript-scraper.ui/target/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 to
 /home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.mashup.javascript-scraper.ui/3.2.0-SNAPSHOT/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 [INFO] [bundle:install {execution: default-install}]
 [INFO] Local OBR update disabled (enable with -DobrRepository)
 [INFO]
 
 [INFO] Building WSO2 Carbon - Data Services UI
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.dataservices.stub:3.2.0.SNAPSHOT: checking
 for updates from wso2-nexus
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.stub:pom:3.2.0.SNAPSHOT' in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:3.2.0.SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.taskscheduler.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.taskscheduler.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:3.2.0.SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.fileupload.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.fileupload.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:3.2.0-SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:
 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Hasini Gunasinghe
Hi,

Though this occurs randomly, since this has been reported couple of times,
it will be good to figure out a proper fix for this and apply on trunk,
since this may occur in builder machine too.

Seems like there are two solutions, which Harshana has found and which
Sameera has suggested in the other thread and verified by Fazlan.

Is it possible for us to figure out which is the proper fix? either of the
above or both?

Thanks,
Hasini.

On Wed, Apr 6, 2011 at 9:42 PM, Fazlan Sabar faz...@wso2.com wrote:

 Hi, I encountered the same problem when building GReg, and I followed the
 set of instructions mentioned by Dimuthu and Sameera. It worked like a
 charm. To summarize, following is what I did,

 1. Added the following line to build.properties(both files) found
 at carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
 s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
 carbon/features/stratos/tenant-mgt/
 org.wso2.carbon.tenant.mgt.core.feature/resources/conf
 3. Built the relevant feature and product

 Thanks Dimuthu and Sameera!

 On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Dimuthu,

 On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.


 I was able to fix the problem by uncommenting  *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 *. After that the build was successful.

 Is there any specific reason to comment it out while leaving the 
 *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
 *? Is it wrong to uncomment that featureDef?

 Thanks and Regards,
 Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning. Please
 have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into 
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.system.statistics.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.security.mgt.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xfer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.mex.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 

Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Afkham Azeez
Why are you committing in parts?
On Apr 6, 2011 10:48 PM, Prabath Abeysekera praba...@wso2.com wrote:
 Hi,

 On Wed, Apr 6, 2011 at 10:26 PM, Amila Maha Arachchi ami...@wso2.com
wrote:

 This error seems to be fixed by ParabathA around 6.46pm. But, by that
time
 svn up was completed for this cycle.


 Yeah I've fixed this issue and I believe the svn up was taken while I was
in
 the middle of committing
 some changes that were introduced to the TaskSchedulerAdminService.



 BTW, I tried to build dataservices.ui component and met the following
 error. Please fix this ASAP and inform the list.

 [INFO] Compiling 35 source files to

/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]

/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
 cannot find symbol
 symbol : method getTriggers(java.lang.String)
 location: class

org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub

 [INFO] 1error
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
 cannot find symbol
 symbol : method getTriggers(java.lang.String)
 location: class

org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub




 On Wed, Apr 6, 2011 at 9:15 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] No tests to run.
 [INFO] [bundle:bundle {execution: default-bundle}]
 [WARNING] Warning building bundle

org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:bundle:3.2.0-SNAPSHOT
 : Did not find matching referal for org.apache.commons.logging.*
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing

/home/carbon/carbon/components/mashup/org.wso2.carbon.mashup.javascript-scraper.ui/target/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 to

/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.mashup.javascript-scraper.ui/3.2.0-SNAPSHOT/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 [INFO] [bundle:install {execution: default-install}]
 [INFO] Local OBR update disabled (enable with -DobrRepository)
 [INFO]
 
 [INFO] Building WSO2 Carbon - Data Services UI
 [INFO] task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting

/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.dataservices.stub:3.2.0.SNAPSHOT:
checking
 for updates from wso2-nexus
 Downloading:

http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.stub:pom:3.2.0.SNAPSHOT'
in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot

org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:3.2.0.SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:

http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.taskscheduler.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.taskscheduler.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource

'org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot

org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:3.2.0.SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:

http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.fileupload.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.fileupload.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource

'org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot

org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:3.2.0-SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Afkham Azeez
When you do this you are wasting an entire build cycle
On Apr 6, 2011 11:49 PM, Afkham Azeez az...@wso2.com wrote:
 Why are you committing in parts?
 On Apr 6, 2011 10:48 PM, Prabath Abeysekera praba...@wso2.com wrote:
 Hi,

 On Wed, Apr 6, 2011 at 10:26 PM, Amila Maha Arachchi ami...@wso2.com
wrote:

 This error seems to be fixed by ParabathA around 6.46pm. But, by that
 time
 svn up was completed for this cycle.


 Yeah I've fixed this issue and I believe the svn up was taken while I was
 in
 the middle of committing
 some changes that were introduced to the TaskSchedulerAdminService.



 BTW, I tried to build dataservices.ui component and met the following
 error. Please fix this ASAP and inform the list.

 [INFO] Compiling 35 source files to


/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]


/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
 cannot find symbol
 symbol : method getTriggers(java.lang.String)
 location: class


org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub

 [INFO] 1error
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure


/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
 cannot find symbol
 symbol : method getTriggers(java.lang.String)
 location: class


org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub




 On Wed, Apr 6, 2011 at 9:15 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] No tests to run.
 [INFO] [bundle:bundle {execution: default-bundle}]
 [WARNING] Warning building bundle


org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:bundle:3.2.0-SNAPSHOT
 : Did not find matching referal for org.apache.commons.logging.*
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing


/home/carbon/carbon/components/mashup/org.wso2.carbon.mashup.javascript-scraper.ui/target/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 to


/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.mashup.javascript-scraper.ui/3.2.0-SNAPSHOT/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
 [INFO] [bundle:install {execution: default-install}]
 [INFO] Local OBR update disabled (enable with -DobrRepository)
 [INFO]


 [INFO] Building WSO2 Carbon - Data Services UI
 [INFO] task-segment: [clean, install]
 [INFO]


 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting


/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target
 [INFO] snapshot
 org.wso2.carbon:org.wso2.carbon.dataservices.stub:3.2.0.SNAPSHOT:
 checking
 for updates from wso2-nexus
 Downloading:


http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource
 'org.wso2.carbon:org.wso2.carbon.dataservices.stub:pom:3.2.0.SNAPSHOT'
 in
 repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot


org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:3.2.0.SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:


http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.taskscheduler.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.taskscheduler.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource


'org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot


org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:3.2.0.SNAPSHOT:
 checking for updates from wso2-nexus
 Downloading:


http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.fileupload.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.fileupload.stub-3.2.0.SNAPSHOT.pom
 [INFO] Unable to find resource


'org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:pom:3.2.0.SNAPSHOT'
 in repository wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
 [INFO] snapshot


org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:3.2.0-SNAPSHOT:
 

Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Afkham Azeez
If you committed related changes on one go, an svn up can never happen in
the middle of your commit.
On Apr 7, 2011 12:02 AM, Prabath Abeysekera praba...@wso2.com wrote:
 Hi Azeez,

 On Wed, Apr 6, 2011 at 11:49 PM, Afkham Azeez az...@wso2.com wrote:

 Why are you committing in parts?

 I was actually working on some other implementation as well and denis
might
 have
 thought my fix spans across the revision r91719 to r91722. But please note
 that
 only r91719 is associated with the aforementioned fix!



 On Apr 6, 2011 10:48 PM, Prabath Abeysekera praba...@wso2.com wrote:
  Hi,
 
  On Wed, Apr 6, 2011 at 10:26 PM, Amila Maha Arachchi ami...@wso2.com
 wrote:
 
  This error seems to be fixed by ParabathA around 6.46pm. But, by that
 time
  svn up was completed for this cycle.
 
 
  Yeah I've fixed this issue and I believe the svn up was taken while I
was
 in
  the middle of committing
  some changes that were introduced to the TaskSchedulerAdminService.
 
 
 
  BTW, I tried to build dataservices.ui component and met the following
  error. Please fix this ASAP and inform the list.
 
  [INFO] Compiling 35 source files to
 

/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target/classes
  [INFO] -
  [ERROR] COMPILATION ERROR :
  [INFO] -
  [ERROR]
 

/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
  cannot find symbol
  symbol : method getTriggers(java.lang.String)
  location: class
 

org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub
 
  [INFO] 1error
  [INFO] -
  [INFO]
 

  [ERROR] BUILD FAILURE
  [INFO]
 

  [INFO] Compilation failure
 

/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
  cannot find symbol
  symbol : method getTriggers(java.lang.String)
  location: class
 

org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub
 
 
 
 
  On Wed, Apr 6, 2011 at 9:15 PM, WSO2 Builder buil...@wso2.org wrote:
 
  [INFO] No tests to run.
  [INFO] [bundle:bundle {execution: default-bundle}]
  [WARNING] Warning building bundle
 

org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:bundle:3.2.0-SNAPSHOT
  : Did not find matching referal for org.apache.commons.logging.*
  [INFO] [install:install {execution: default-install}]
  [INFO] Installing
 

/home/carbon/carbon/components/mashup/org.wso2.carbon.mashup.javascript-scraper.ui/target/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
  to
 

/home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.mashup.javascript-scraper.ui/3.2.0-SNAPSHOT/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
  [INFO] [bundle:install {execution: default-install}]
  [INFO] Local OBR update disabled (enable with -DobrRepository)
  [INFO]
 
 
  [INFO] Building WSO2 Carbon - Data Services UI
  [INFO] task-segment: [clean, install]
  [INFO]
 
 
  [INFO] [clean:clean {execution: default-clean}]
  [INFO] Deleting
 

/home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target
  [INFO] snapshot
  org.wso2.carbon:org.wso2.carbon.dataservices.stub:3.2.0.SNAPSHOT:
 checking
  for updates from wso2-nexus
  Downloading:
 

http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.pom
  [INFO] Unable to find resource
 
'org.wso2.carbon:org.wso2.carbon.dataservices.stub:pom:3.2.0.SNAPSHOT'
 in
  repository wso2-nexus (
  http://maven.wso2.org/nexus/content/groups/wso2-public/)
  [INFO] snapshot
 

org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:3.2.0.SNAPSHOT:
  checking for updates from wso2-nexus
  Downloading:
 

http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.taskscheduler.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.taskscheduler.stub-3.2.0.SNAPSHOT.pom
  [INFO] Unable to find resource
 

'org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:pom:3.2.0.SNAPSHOT'
  in repository wso2-nexus (
  http://maven.wso2.org/nexus/content/groups/wso2-public/)
  [INFO] snapshot
 

org.wso2.carbon:org.wso2.carbon.dataservices.fileupload.stub:3.2.0.SNAPSHOT:
  checking for updates from wso2-nexus
  Downloading:
 


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-06 Thread Prabath Abeysekera
Hi Azeez,

On Thu, Apr 7, 2011 at 12:03 AM, Afkham Azeez az...@wso2.com wrote:

 PrabathA
 Looking at your commits looks like you have been committing new features 
 in the process caused build failures. Imagine 5 different people doing this
 everyday.  The build will never succeed. In fact this is the reason why the
 build never passed.

This isn't actually a whole new feature we've added during the last few
days.
This has been there for sometime and I was working on doing some
modifications
as some jira issue have been raised over this. So extremely sorry if
I've interrupted
the whole procedure!


 On Apr 6, 2011 11:50 PM, Afkham Azeez az...@wso2.com wrote:
  When you do this you are wasting an entire build cycle
  On Apr 6, 2011 11:49 PM, Afkham Azeez az...@wso2.com wrote:
  Why are you committing in parts?
  On Apr 6, 2011 10:48 PM, Prabath Abeysekera praba...@wso2.com
 wrote:
  Hi,
 
  On Wed, Apr 6, 2011 at 10:26 PM, Amila Maha Arachchi ami...@wso2.com
 wrote:
 
  This error seems to be fixed by ParabathA around 6.46pm. But, by that
  time
  svn up was completed for this cycle.
 
 
  Yeah I've fixed this issue and I believe the svn up was taken while I
 was
  in
  the middle of committing
  some changes that were introduced to the TaskSchedulerAdminService.
 
 
 
  BTW, I tried to build dataservices.ui component and met the following
  error. Please fix this ASAP and inform the list.
 
  [INFO] Compiling 35 source files to
 
 
 
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target/classes
  [INFO] -
  [ERROR] COMPILATION ERROR :
  [INFO] -
  [ERROR]
 
 
 
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
  cannot find symbol
  symbol : method getTriggers(java.lang.String)
  location: class
 
 
 
 org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub
 
  [INFO] 1error
  [INFO] -
  [INFO]
 
 
  [ERROR] BUILD FAILURE
  [INFO]
 
 
  [INFO] Compilation failure
 
 
 
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/src/main/java/org/wso2/carbon/dataservices/ui/taskscheduler/DataServiceTaskMgtClient.java:[168,36]
  cannot find symbol
  symbol : method getTriggers(java.lang.String)
  location: class
 
 
 
 org.wso2.carbon.dataservices.ui.taskscheduler.stub.TaskManagementAdminServiceStub
 
 
 
 
  On Wed, Apr 6, 2011 at 9:15 PM, WSO2 Builder buil...@wso2.org
 wrote:
 
  [INFO] No tests to run.
  [INFO] [bundle:bundle {execution: default-bundle}]
  [WARNING] Warning building bundle
 
 
 
 org.wso2.carbon:org.wso2.carbon.mashup.javascript-scraper.ui:bundle:3.2.0-SNAPSHOT
  : Did not find matching referal for org.apache.commons.logging.*
  [INFO] [install:install {execution: default-install}]
  [INFO] Installing
 
 
 
 /home/carbon/carbon/components/mashup/org.wso2.carbon.mashup.javascript-scraper.ui/target/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
  to
 
 
 
 /home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.mashup.javascript-scraper.ui/3.2.0-SNAPSHOT/org.wso2.carbon.mashup.javascript-scraper.ui-3.2.0-SNAPSHOT.jar
  [INFO] [bundle:install {execution: default-install}]
  [INFO] Local OBR update disabled (enable with -DobrRepository)
  [INFO]
 
  
  [INFO] Building WSO2 Carbon - Data Services UI
  [INFO] task-segment: [clean, install]
  [INFO]
 
  
  [INFO] [clean:clean {execution: default-clean}]
  [INFO] Deleting
 
 
 
 /home/carbon/carbon/components/data-services/org.wso2.carbon.dataservices.ui/target
  [INFO] snapshot
  org.wso2.carbon:org.wso2.carbon.dataservices.stub:3.2.0.SNAPSHOT:
  checking
  for updates from wso2-nexus
  Downloading:
 
 
 
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.stub-3.2.0.SNAPSHOT.pom
  [INFO] Unable to find resource
 
 'org.wso2.carbon:org.wso2.carbon.dataservices.stub:pom:3.2.0.SNAPSHOT'
  in
  repository wso2-nexus (
  http://maven.wso2.org/nexus/content/groups/wso2-public/)
  [INFO] snapshot
 
 
 
 org.wso2.carbon:org.wso2.carbon.dataservices.taskscheduler.stub:3.2.0.SNAPSHOT:
  checking for updates from wso2-nexus
  Downloading:
 
 
 
 http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.dataservices.taskscheduler.stub/3.2.0.SNAPSHOT/org.wso2.carbon.dataservices.taskscheduler.stub-3.2.0.SNAPSHOT.pom
  [INFO] Unable to find resource
 
 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Prabath Abeysekera
Hi,

I too ran into the same issue once I was trying to build dss stratos
services profile.
To share my experience on this, I managed to get it fixed without adding the
property
suggested by Sameera to build.properties file and of course with
the presence of
featureArtifactDef entry corresponds to tenant.mgt.core feature. The only
thing I had
to do was changing the svn repo url to svn.wso2.org/repos from
wso2.org/repos since
I was using the latter. In my case, the cloud-desc.xml was not located
properly during
the build time of the aforementioned feature and thus it threw a
filenotfound exception
while installing the feature. I wonder it's the same with this instance as
well.

anywys, I believe, we could have delved further into this matter if Harshana
could attach
both of the log files generated while installing the features.



Regards,

On Wed, Apr 6, 2011 at 11:12 PM, Hasini Gunasinghe has...@wso2.com wrote:

 Hi,

 Though this occurs randomly, since this has been reported couple of times,
 it will be good to figure out a proper fix for this and apply on trunk,
 since this may occur in builder machine too.

 Seems like there are two solutions, which Harshana has found and which
 Sameera has suggested in the other thread and verified by Fazlan.

 Is it possible for us to figure out which is the proper fix? either of the
 above or both?

 Thanks,
 Hasini.


 On Wed, Apr 6, 2011 at 9:42 PM, Fazlan Sabar faz...@wso2.com wrote:

 Hi, I encountered the same problem when building GReg, and I followed the
 set of instructions mentioned by Dimuthu and Sameera. It worked like a
 charm. To summarize, following is what I did,

 1. Added the following line to build.properties(both files) found
 at 
 carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
 s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
 carbon/features/stratos/tenant-mgt/
 org.wso2.carbon.tenant.mgt.core.feature/resources/conf
 3. Built the relevant feature and product

 Thanks Dimuthu and Sameera!

 On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Dimuthu,

 On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.


 I was able to fix the problem by uncommenting  *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 *. After that the build was successful.

 Is there any specific reason to comment it out while leaving the 
 *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
 *? Is it wrong to uncomment that featureDef?

 Thanks and Regards,
 Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning.
 Please have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution: 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into 
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.system.statistics.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.security.mgt.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Fazlan Sabar
Hi,

Although, I am referring to http://svn.wso2.org/repos/wso2/trunk/carbon/ I
came across this, and hence, had to do a work-around.

On Thu, Apr 7, 2011 at 12:47 AM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 I too ran into the same issue once I was trying to build dss stratos
 services profile.
 To share my experience on this, I managed to get it fixed without
 adding the property
 suggested by Sameera to build.properties file and of course with
 the presence of
 featureArtifactDef entry corresponds to tenant.mgt.core feature. The only
 thing I had
 to do was changing the svn repo url to svn.wso2.org/repos from
 wso2.org/repos since
 I was using the latter. In my case, the cloud-desc.xml was not located
 properly during
 the build time of the aforementioned feature and thus it threw a
 filenotfound exception
 while installing the feature. I wonder it's the same with this instance as
 well.

 anywys, I believe, we could have delved further into this matter if
 Harshana could attach
 both of the log files generated while installing the features.



 Regards,

 On Wed, Apr 6, 2011 at 11:12 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Though this occurs randomly, since this has been reported couple of times,
 it will be good to figure out a proper fix for this and apply on trunk,
 since this may occur in builder machine too.

 Seems like there are two solutions, which Harshana has found and which
 Sameera has suggested in the other thread and verified by Fazlan.

 Is it possible for us to figure out which is the proper fix? either of the
 above or both?

 Thanks,
 Hasini.


 On Wed, Apr 6, 2011 at 9:42 PM, Fazlan Sabar faz...@wso2.com wrote:

 Hi, I encountered the same problem when building GReg, and I followed the
 set of instructions mentioned by Dimuthu and Sameera. It worked like a
 charm. To summarize, following is what I did,

 1. Added the following line to build.properties(both files) found
 at 
 carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
 s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
 carbon/features/stratos/tenant-mgt/
 org.wso2.carbon.tenant.mgt.core.feature/resources/conf
 3. Built the relevant feature and product

 Thanks Dimuthu and Sameera!

 On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Dimuthu,

 On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.


 I was able to fix the problem by uncommenting  *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 *. After that the build was successful.

 Is there any specific reason to comment it out while leaving the 
 *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
 *? Is it wrong to uncomment that featureDef?

 Thanks and Regards,
 Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning.
 Please have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution:
 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into 
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [site:attach-descriptor {execution:
 default-attach-descriptor}]
 [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}]
 [INFO] Extracting feature
 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Harshana Martin
On Thu, Apr 7, 2011 at 12:55 AM, Fazlan Sabar faz...@wso2.com wrote:

 Hi,

 Although, I am referring to http://svn.wso2.org/repos/wso2/trunk/carbon/ I
 came across this, and hence, had to do a work-around.


Yeah. me too. I also checked out Carbon codebase from the svn,wso2.org. So
when IS failed, I checked whether G-Reg which was successfully built, is
also using it. There, i noticed G-Reg also using it and the difference
between 2 poms w.r.t this feature.group was, in the G-Reg tanent.mgt.core
feature included in the featureDef but in IS, it was commented. So before
going in to changing the properties file as explained by Dimuthu and Fazlan,
I enabled the featureDef and tried building again and it turns out to be
successful.

Thanks and Regards,
Harshana



 On Thu, Apr 7, 2011 at 12:47 AM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 I too ran into the same issue once I was trying to build dss stratos
 services profile.
 To share my experience on this, I managed to get it fixed without
 adding the property
 suggested by Sameera to build.properties file and of course with
 the presence of
 featureArtifactDef entry corresponds to tenant.mgt.core feature. The only
 thing I had
 to do was changing the svn repo url to svn.wso2.org/repos from
 wso2.org/repos since
 I was using the latter. In my case, the cloud-desc.xml was not located
 properly during
 the build time of the aforementioned feature and thus it threw a
 filenotfound exception
 while installing the feature. I wonder it's the same with this instance as
 well.

 anywys, I believe, we could have delved further into this matter if
 Harshana could attach
 both of the log files generated while installing the features.



 Regards,

 On Wed, Apr 6, 2011 at 11:12 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Though this occurs randomly, since this has been reported couple of
 times, it will be good to figure out a proper fix for this and apply on
 trunk, since this may occur in builder machine too.

 Seems like there are two solutions, which Harshana has found and which
 Sameera has suggested in the other thread and verified by Fazlan.

 Is it possible for us to figure out which is the proper fix? either of
 the above or both?

 Thanks,
 Hasini.


 On Wed, Apr 6, 2011 at 9:42 PM, Fazlan Sabar faz...@wso2.com wrote:

 Hi, I encountered the same problem when building GReg, and I followed
 the set of instructions mentioned by Dimuthu and Sameera. It worked like a
 charm. To summarize, following is what I did,

 1. Added the following line to build.properties(both files) found
 at 
 carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
 s/root.tenant.core=conf/root.tenant-core=conf in the
 build.properties
 2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
 carbon/features/stratos/tenant-mgt/
 org.wso2.carbon.tenant.mgt.core.feature/resources/conf
 3. Built the relevant feature and product

 Thanks Dimuthu and Sameera!

 On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Dimuthu,

 On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne dimut...@wso2.com
  wrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.


 I was able to fix the problem by uncommenting  *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 *. After that the build was successful.

 Is there any specific reason to comment it out while leaving the 
 *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
 *? Is it wrong to uncomment that featureDef?

 Thanks and Regards,
 Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin 
 harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning.
 Please have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution:
 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Harshana Martin
Hi Prabath,

On Thu, Apr 7, 2011 at 12:47 AM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 I too ran into the same issue once I was trying to build dss stratos
 services profile.
 To share my experience on this, I managed to get it fixed without
 adding the property
 suggested by Sameera to build.properties file and of course with
 the presence of
 featureArtifactDef entry corresponds to tenant.mgt.core feature. The only
 thing I had
 to do was changing the svn repo url to svn.wso2.org/repos from
 wso2.org/repos since
 I was using the latter. In my case, the cloud-desc.xml was not located
 properly during
 the build time of the aforementioned feature and thus it threw a
 filenotfound exception
 while installing the feature. I wonder it's the same with this instance as
 well.

 anywys, I believe, we could have delved further into this matter if
 Harshana could attach
 both of the log files generated while installing the features.


Since now the build is successful, I don't have the log files. I'll try
removing the featureDef back and building to reproduce the issue :).

Prabath,Fazlan, Thanks for sharing your experiences here. It will be helpful
to figure out the proper fix for this.

Thanks and Regards,
Harshana




 Regards,

 On Wed, Apr 6, 2011 at 11:12 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Though this occurs randomly, since this has been reported couple of times,
 it will be good to figure out a proper fix for this and apply on trunk,
 since this may occur in builder machine too.

 Seems like there are two solutions, which Harshana has found and which
 Sameera has suggested in the other thread and verified by Fazlan.

 Is it possible for us to figure out which is the proper fix? either of the
 above or both?

 Thanks,
 Hasini.


 On Wed, Apr 6, 2011 at 9:42 PM, Fazlan Sabar faz...@wso2.com wrote:

 Hi, I encountered the same problem when building GReg, and I followed the
 set of instructions mentioned by Dimuthu and Sameera. It worked like a
 charm. To summarize, following is what I did,

 1. Added the following line to build.properties(both files) found
 at 
 carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
 s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
 carbon/features/stratos/tenant-mgt/
 org.wso2.carbon.tenant.mgt.core.feature/resources/conf
 3. Built the relevant feature and product

 Thanks Dimuthu and Sameera!

 On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Dimuthu,

 On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.


 I was able to fix the problem by uncommenting  *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 *. After that the build was successful.

 Is there any specific reason to comment it out while leaving the 
 *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
 *? Is it wrong to uncomment that featureDef?

 Thanks and Regards,
 Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning.
 Please have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution:
 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2-p2-agent/3.2.0-SNAPSHOT/wso2-p2-agent-3.2.0-SNAPSHOT.zip
 into
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target/p2-agent
 [INFO] Expanding:
 /home/harshana/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
 into 
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Fazlan Sabar
I noted that the *
featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
* in following files as follows,

*Missing* In carbon/trunk/carbon/*features*/repository/pom.xml - revision
91727.
*Commented* in carbon/products/*is*/modules/p2-profile-gen/service/pom.xml
- revision 91727.
*Uncommented* in carbon/products/*greg*/modules/p2-profile-gen/service/pom.xml
- revision 91727.


On Thu, Apr 7, 2011 at 1:20 AM, Harshana Martin harsh...@wso2.com wrote:

 Hi Prabath,

 On Thu, Apr 7, 2011 at 12:47 AM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 I too ran into the same issue once I was trying to build dss stratos
 services profile.
 To share my experience on this, I managed to get it fixed without
 adding the property
 suggested by Sameera to build.properties file and of course with
 the presence of
 featureArtifactDef entry corresponds to tenant.mgt.core feature. The only
 thing I had
 to do was changing the svn repo url to svn.wso2.org/repos from
 wso2.org/repos since
 I was using the latter. In my case, the cloud-desc.xml was not located
 properly during
 the build time of the aforementioned feature and thus it threw a
 filenotfound exception
 while installing the feature. I wonder it's the same with this instance as
 well.

 anywys, I believe, we could have delved further into this matter if
 Harshana could attach
 both of the log files generated while installing the features.


 Since now the build is successful, I don't have the log files. I'll try
 removing the featureDef back and building to reproduce the issue :).

 Prabath,Fazlan, Thanks for sharing your experiences here. It will be
 helpful to figure out the proper fix for this.

 Thanks and Regards,
 Harshana




 Regards,

 On Wed, Apr 6, 2011 at 11:12 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Though this occurs randomly, since this has been reported couple of
 times, it will be good to figure out a proper fix for this and apply on
 trunk, since this may occur in builder machine too.

 Seems like there are two solutions, which Harshana has found and which
 Sameera has suggested in the other thread and verified by Fazlan.

 Is it possible for us to figure out which is the proper fix? either of
 the above or both?

 Thanks,
 Hasini.


 On Wed, Apr 6, 2011 at 9:42 PM, Fazlan Sabar faz...@wso2.com wrote:

 Hi, I encountered the same problem when building GReg, and I followed
 the set of instructions mentioned by Dimuthu and Sameera. It worked like a
 charm. To summarize, following is what I did,

 1. Added the following line to build.properties(both files) found
 at 
 carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
 s/root.tenant.core=conf/root.tenant-core=conf in the
 build.properties
 2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
 carbon/features/stratos/tenant-mgt/
 org.wso2.carbon.tenant.mgt.core.feature/resources/conf
 3. Built the relevant feature and product

 Thanks Dimuthu and Sameera!

 On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Dimuthu,

 On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne dimut...@wso2.com
  wrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the build.properties
 inside tenant-mgt core feature

 I cannot commit the above however.


 I was able to fix the problem by uncommenting  *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 *. After that the build was successful.

 Is there any specific reason to comment it out while leaving the 
 *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
 *? Is it wrong to uncomment that featureDef?

 Thanks and Regards,
 Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin 
 harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning.
 Please have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [dependency:unpack {execution:
 1-unpack-p2-agent-distribution}]
 [INFO] Configured Artifact:
 org.wso2.carbon:wso2-p2-agent:3.2.0-SNAPSHOT:zip
 

[Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/is

2011-04-06 Thread WSO2 Builder
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.registry.core.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.identity.core.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.provider.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
[INFO] Extracting feature 
org.wso2.identity:org.wso2.stratos.identity.styles.feature
[INFO] Extracting feature 
org.wso2.identity:org.wso2.stratos.identity.utils.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.stratos.identity.ui.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
[INFO] Extracting feature 
org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
[INFO] Copying resources
[INFO] Running Equinox P2 Publisher Application for Repository Generation
[INFO] Generating metadata for ..
[INFO] Generation completed with success [4 seconds].
[INFO] Running Equinox P2 Category Publisher Application for the Generated 
Repository
[INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
[INFO] Running Equinox P2 Director Application
[ERROR] The installable unit 
org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been found.
[ERROR] Application failed, log file location: 
/home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302124304768.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 8 minutes 4 seconds
[INFO] Finished at: Thu Apr 07 02:41:47 IST 2011
[INFO] Final Memory: 205M/1265M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Samisa Abeysinghe
I am not sure if Hudson will work the way it works for something like
Axis2.
If you really look at it, Hudson should do what the continuous build is
doing and it will take equal time, even if you have multiple build plans. It
will take some time, before we have the right set.

May be, we could have another script, that does the build more aggressively,
in addition to the current build script. The current build script got to
work the way it works, as that is the procedure used to build release packs.
I will have a look at this, as a workaround till we hit the sweetspot with
Hudson.

Anyway, +1 for opening the svn ASAP.

On Wed, Apr 6, 2011 at 10:00 PM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, Apr 6, 2011 at 9:39 PM, Afkham Azeez az...@wso2.com wrote:

 Lets configure Hudson tomorrow  then open up svn. That way, when the
 build is broken we can get an idea about the commits that caused it.

 ++1

 By that time we'll be able to complete the current build on the clean repo.


 On Apr 6, 2011 8:17 PM, Samisa Abeysinghe sam...@wso2.com wrote:
  The build still remain mostly broken.
 
  It is broken both on Linix as well as Windows. Windows breaks are
  different.
 
  So revoking commit rights has not really worked. :(
 
  On Wed, Apr 6, 2011 at 7:45 PM, Afkham Azeez az...@wso2.com wrote:
 
  Can you guys provide a solid promise that your commits will not break
 the
  build screw it up for 100 other people and that you will all refrain
 from
  committing code when the SVN is in broken state?
 
 
  On Wed, Apr 6, 2011 at 7:38 PM, Nuwan Bandara nu...@wso2.com wrote:
 
  +1, since there are lots of changes locally, we might encounter alot
 of
  conflicts when committing the longer we wait.
 
  Regards,
  /Nuwan
 
 
  On Wed, Apr 6, 2011 at 6:52 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
 
  +1
 
  Thanks,
  Supun..
 
  On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi is...@wso2.com
 wrote:
 
  Hi all,
 
  $subject. This is because, lots of changes accumulating in our local
  checkouts and it's hard to manage it. People might forget all the
 places to
  commit if we keep local changes for a long time. And also we can't
 resolve
  issues even though those are fixed.
 
  On the other hand, QA is complaining about the quality of the
 provided
  packs. But nobody can fix those as the code is frozen. So it's
 better to
  unfreeze the code ASAP.
 
  Thanks,
  ~Isuru
 
  --
  Isuru Suriarachchi
  Technical Lead  Product Manager, WSO2 Application Server
  WSO2 Inc. http://wso2.com
  email : is...@wso2.com
  blog : http://isurues.wordpress.com/
 
  lean . enterprise . middleware
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Supun Kamburugamuva
  Technical Lead  Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.; http://wso2.org
  E-mail: su...@wso2.com; Mobile: +94 77 431 3585
  Blog: http://supunk.blogspot.com
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Thanks  Regards,
 
  Nuwan Bandara
  Software Engineer
 
  WSO2 Inc. | http://wso2.com
  lean . enterprise . middleware
 
  http://www.nuwanbando.com
 
  http://www.nuwanbando.com/
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  *Afkham Azeez*
  Senior Software Architect  Senior Manager; 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*
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
  Thanks,
  Samisa...
 
  Samisa Abeysinghe
  VP Engineering
  WSO2 Inc.
  http://wso2.com
  http://wso2.org

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


 Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/esb

2011-04-06 Thread WSO2 Builder
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.registry.core.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.identity.core.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.provider.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
[INFO] Extracting feature 
org.wso2.identity:org.wso2.stratos.identity.styles.feature
[INFO] Extracting feature 
org.wso2.identity:org.wso2.stratos.identity.utils.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.stratos.identity.ui.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
[INFO] Extracting feature 
org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
[INFO] Copying resources
[INFO] Running Equinox P2 Publisher Application for Repository Generation
[INFO] Generating metadata for ..
[INFO] Generation completed with success [4 seconds].
[INFO] Running Equinox P2 Category Publisher Application for the Generated 
Repository
[INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
[INFO] Running Equinox P2 Director Application
[ERROR] The installable unit 
org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been found.
[ERROR] Application failed, log file location: 
/home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302124304768.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 8 minutes 4 seconds
[INFO] Finished at: Thu Apr 07 02:41:47 IST 2011
[INFO] Final Memory: 205M/1265M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   WSO2 AppServer - Parent
[INFO]   WSO2 AppServer - Styles Parent
[INFO]   WSO2 AppServer - UI styles
[INFO]   WSO2 Stratos  AppServer - UI styles
[INFO]   WSO2 AppServer - Samples Parent
[INFO]   Samples
[INFO]   Sample/Chad
[INFO]   Sample/CommodityQuote
[INFO]   Sample/TinyURL
[INFO]   Sample/Trader
[INFO]   Sample/FlickrClient
[INFO]   Sample/MEX
[INFO]   Sample/MTOM
[INFO]   Sample/XKMS
[INFO]   Sample/xfer
[INFO]   Sample/STS
[INFO]   Sample/JAXWS
[INFO]   Sample/JSON
[INFO]   Sample/JIBX
[INFO]   Sample/HelloWorld
[INFO]   Sample/Eventing/publisher
[INFO]   Sample/Eventing/consumer
[INFO]   Sample/Eventing/client
[INFO]   Sample/Eventing
[INFO]   WSO2 Stratos  AppServer - Samples
[INFO]   WSO2 AS - Sample SimpleStockQuoteService
[INFO]   WSO2 Stratos AppServer - Sample Installer
[INFO]   WSO2 AS - Example webapp
--
[INFO] Unable to find resource 'uddi:uddi4j:pom:1.0.1' in repository wso2-nexus 
(http://maven.wso2.org/nexus/content/groups/wso2-public/)
Downloading: http://repo1.maven.org/maven2/uddi/uddi4j/1.0.1/uddi4j-1.0.1.pom
[INFO] Unable to find resource 'uddi:uddi4j:pom:1.0.1' in repository central 
(http://repo1.maven.org/maven2)
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.registry.lifecycles:3.2.0-SNAPSHOT: checking 
for updates from wso2-nexus
Downloading: 
http://maven.wso2.org/nexus/content/groups/wso2-public//org/wso2/carbon/org.wso2.carbon.registry.lifecycles/3.2.0-SNAPSHOT/org.wso2.carbon.registry.lifecycles-3.2.0-SNAPSHOT.pom
[INFO] Unable to find resource 
'org.wso2.carbon:org.wso2.carbon.registry.lifecycles:pom:3.2.0-SNAPSHOT' in 
repository wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
[INFO] snapshot 
org.wso2.carbon:org.wso2.carbon.registry.lifecycles.ui:3.2.0-SNAPSHOT: checking 
for updates from wso2-nexus
Downloading: 

[Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-04-06 Thread WSO2 Builder
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.service.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.soaptracer.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.servicehosting.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.dataservices.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.jms.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.transport.mail.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.client.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.discovery.core.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
[INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
[INFO] Extracting feature org.wso2.governance:org.wso2.governance.styles.feature
[INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
[INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.identity.styles.feature
[INFO] Extracting feature org.wso2.identity:org.wso2.identity.utils.feature
[INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
[INFO] Extracting feature org.wso2.appserver:org.wso2.appserver.styles.feature
[INFO] Extracting feature org.wso2.appserver:org.wso2.appserver.utils.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
[INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
[INFO] Extracting feature 
org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
[INFO] Copying resources
[INFO] Running Equinox P2 Publisher Application for Repository Generation
[INFO] Generating metadata for ..
[INFO] Generation completed with success [29 seconds].
[INFO] Running Equinox P2 Category Publisher Application for the Generated 
Repository
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/carbon/carbon/features/repository/pom.xml to 
/home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 53 seconds
[INFO] Finished at: Thu Apr 07 05:08:25 IST 2011
[INFO] Final Memory: 32M/1237M
[INFO] 
2011-04-07_05-04-51
Carbon  packs are available at : 
http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
tail -n50 $CARBON_SRC_HOME/build.log
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Afkham Azeez
Chamith, please grant a svn access to all commiters
On Apr 7, 2011 4:07 AM, Samisa Abeysinghe sam...@wso2.com wrote:
 I am not sure if Hudson will work the way it works for something like
 Axis2.
 If you really look at it, Hudson should do what the continuous build is
 doing and it will take equal time, even if you have multiple build plans.
It
 will take some time, before we have the right set.

 May be, we could have another script, that does the build more
aggressively,
 in addition to the current build script. The current build script got to
 work the way it works, as that is the procedure used to build release
packs.
 I will have a look at this, as a workaround till we hit the sweetspot with
 Hudson.

 Anyway, +1 for opening the svn ASAP.

 On Wed, Apr 6, 2011 at 10:00 PM, Amila Maha Arachchi ami...@wso2.com
wrote:



 On Wed, Apr 6, 2011 at 9:39 PM, Afkham Azeez az...@wso2.com wrote:

 Lets configure Hudson tomorrow  then open up svn. That way, when the
 build is broken we can get an idea about the commits that caused it.

 ++1

 By that time we'll be able to complete the current build on the clean
repo.


 On Apr 6, 2011 8:17 PM, Samisa Abeysinghe sam...@wso2.com wrote:
  The build still remain mostly broken.
 
  It is broken both on Linix as well as Windows. Windows breaks are
  different.
 
  So revoking commit rights has not really worked. :(
 
  On Wed, Apr 6, 2011 at 7:45 PM, Afkham Azeez az...@wso2.com wrote:
 
  Can you guys provide a solid promise that your commits will not break
 the
  build screw it up for 100 other people and that you will all refrain
 from
  committing code when the SVN is in broken state?
 
 
  On Wed, Apr 6, 2011 at 7:38 PM, Nuwan Bandara nu...@wso2.com wrote:
 
  +1, since there are lots of changes locally, we might encounter alot
 of
  conflicts when committing the longer we wait.
 
  Regards,
  /Nuwan
 
 
  On Wed, Apr 6, 2011 at 6:52 PM, Supun Kamburugamuva su...@wso2.com
 wrote:
 
  +1
 
  Thanks,
  Supun..
 
  On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi is...@wso2.com
 wrote:
 
  Hi all,
 
  $subject. This is because, lots of changes accumulating in our
local
  checkouts and it's hard to manage it. People might forget all the
 places to
  commit if we keep local changes for a long time. And also we can't
 resolve
  issues even though those are fixed.
 
  On the other hand, QA is complaining about the quality of the
 provided
  packs. But nobody can fix those as the code is frozen. So it's
 better to
  unfreeze the code ASAP.
 
  Thanks,
  ~Isuru
 
  --
  Isuru Suriarachchi
  Technical Lead  Product Manager, WSO2 Application Server
  WSO2 Inc. http://wso2.com
  email : is...@wso2.com
  blog : http://isurues.wordpress.com/
 
  lean . enterprise . middleware
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Supun Kamburugamuva
  Technical Lead  Product Manager, WSO2 Inc.; http://wso2.com
  Member, Apache Software Foundation; http://www.apache.org
  WSO2 Inc.; http://wso2.org
  E-mail: su...@wso2.com; Mobile: +94 77 431 3585
  Blog: http://supunk.blogspot.com
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  Thanks  Regards,
 
  Nuwan Bandara
  Software Engineer
 
  WSO2 Inc. | http://wso2.com
  lean . enterprise . middleware
 
  http://www.nuwanbando.com
 
  http://www.nuwanbando.com/
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
 
 
  --
  *Afkham Azeez*
  Senior Software Architect  Senior Manager; 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*
 
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
  Thanks,
  Samisa...
 
  Samisa Abeysinghe
  VP Engineering
  WSO2 Inc.
  http://wso2.com
  http://wso2.org

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


 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-04-06 Thread Senaka Fernando
Hi QA team,

Please note that the fixes done to G-Reg for yesterday's blockers are not
available with these packs. AmilaM, please trigger a build that will cover
changes at component and product-level for G-Reg.

Thanks,
Senaka.

On Thu, Apr 7, 2011 at 5:08 AM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.service.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.soaptracer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [29 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the Generated
 Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 53 seconds
 [INFO] Finished at: Thu Apr 07 05:08:25 IST 2011
 [INFO] Final Memory: 32M/1237M
 [INFO]
 
 2011-04-07_05-04-51
 Carbon  packs are available at :
 http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
 tail -n50 $CARBON_SRC_HOME/build.log
 ___
 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://www.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 ESB build is unusable due to Registry issues

2011-04-06 Thread Danushka Menikkumbura

 Why 'registryService.getConfigUserRegistry().getUserRealm();' getting too
 long to respond? This is a widely used statement available on unit tests.
 Are those failing as well? If not, why is this happening during runtime
 only?


Yes. Senaka I think this is the issue that we need to address as I can see.

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


Re: [Carbon-dev] Latest ESB build is unusable due to Registry issues

2011-04-06 Thread Danushka Menikkumbura
Also if this particular call is costly we can optimise some of them. But I
think it is supposed to be used quite often. Isn't it?

Danushka

On Thu, Apr 7, 2011 at 6:41 AM, Danushka Menikkumbura danus...@wso2.comwrote:

 Why 'registryService.getConfigUserRegistry().getUserRealm();' getting too
 long to respond? This is a widely used statement available on unit tests.
 Are those failing as well? If not, why is this happening during runtime
 only?


 Yes. Senaka I think this is the issue that we need to address as I can see.

 Danushka


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


Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Sanjeewa Malalgoda
Hi,
So can we do commits?
Thanks.

On Thu, Apr 7, 2011 at 6:17 AM, Afkham Azeez az...@wso2.com wrote:

 Chamith, please grant a svn access to all commiters
 On Apr 7, 2011 4:07 AM, Samisa Abeysinghe sam...@wso2.com wrote:
  I am not sure if Hudson will work the way it works for something like
  Axis2.
  If you really look at it, Hudson should do what the continuous build is
  doing and it will take equal time, even if you have multiple build plans.
 It
  will take some time, before we have the right set.
 
  May be, we could have another script, that does the build more
 aggressively,
  in addition to the current build script. The current build script got to
  work the way it works, as that is the procedure used to build release
 packs.
  I will have a look at this, as a workaround till we hit the sweetspot
 with
  Hudson.
 
  Anyway, +1 for opening the svn ASAP.
 
  On Wed, Apr 6, 2011 at 10:00 PM, Amila Maha Arachchi ami...@wso2.com
 wrote:
 
 
 
  On Wed, Apr 6, 2011 at 9:39 PM, Afkham Azeez az...@wso2.com wrote:
 
  Lets configure Hudson tomorrow  then open up svn. That way, when the
  build is broken we can get an idea about the commits that caused it.
 
  ++1
 
  By that time we'll be able to complete the current build on the clean
 repo.
 
 
  On Apr 6, 2011 8:17 PM, Samisa Abeysinghe sam...@wso2.com wrote:
   The build still remain mostly broken.
  
   It is broken both on Linix as well as Windows. Windows breaks are
   different.
  
   So revoking commit rights has not really worked. :(
  
   On Wed, Apr 6, 2011 at 7:45 PM, Afkham Azeez az...@wso2.com wrote:
  
   Can you guys provide a solid promise that your commits will not
 break
  the
   build screw it up for 100 other people and that you will all refrain
  from
   committing code when the SVN is in broken state?
  
  
   On Wed, Apr 6, 2011 at 7:38 PM, Nuwan Bandara nu...@wso2.com
 wrote:
  
   +1, since there are lots of changes locally, we might encounter
 alot
  of
   conflicts when committing the longer we wait.
  
   Regards,
   /Nuwan
  
  
   On Wed, Apr 6, 2011 at 6:52 PM, Supun Kamburugamuva 
 su...@wso2.com
  wrote:
  
   +1
  
   Thanks,
   Supun..
  
   On Wed, Apr 6, 2011 at 6:46 PM, Isuru Suriarachchi 
 is...@wso2.com
  wrote:
  
   Hi all,
  
   $subject. This is because, lots of changes accumulating in our
 local
   checkouts and it's hard to manage it. People might forget all the
  places to
   commit if we keep local changes for a long time. And also we
 can't
  resolve
   issues even though those are fixed.
  
   On the other hand, QA is complaining about the quality of the
  provided
   packs. But nobody can fix those as the code is frozen. So it's
  better to
   unfreeze the code ASAP.
  
   Thanks,
   ~Isuru
  
   --
   Isuru Suriarachchi
   Technical Lead  Product Manager, WSO2 Application Server
   WSO2 Inc. http://wso2.com
   email : is...@wso2.com
   blog : http://isurues.wordpress.com/
  
   lean . enterprise . middleware
  
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
  
  
  
   --
   Supun Kamburugamuva
   Technical Lead  Product Manager, WSO2 Inc.; http://wso2.com
   Member, Apache Software Foundation; http://www.apache.org
   WSO2 Inc.; http://wso2.org
   E-mail: su...@wso2.com; Mobile: +94 77 431 3585
   Blog: http://supunk.blogspot.com
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
  
  
  
   --
   Thanks  Regards,
  
   Nuwan Bandara
   Software Engineer
  
   WSO2 Inc. | http://wso2.com
   lean . enterprise . middleware
  
   http://www.nuwanbando.com
  
   http://www.nuwanbando.com/
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
  
  
  
   --
   *Afkham Azeez*
   Senior Software Architect  Senior Manager; 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*
  
  
   ___
   Carbon-dev mailing list
   Carbon-dev@wso2.org
   http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
  
   Thanks,
   Samisa...
  
   Samisa Abeysinghe
   VP Engineering
   WSO2 Inc.
   http://wso2.com
   http://wso2.org
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 
  Thanks,
  Samisa...
 
  Samisa Abeysinghe
  VP Engineering

Re: [Carbon-dev] NPE occurring because of tenantId passed as -1 to DefaultRealmService.getTenantUserRealm()

2011-04-06 Thread Shammi Jayasinghe
Hi ,

In event broker holder , we are using following to get the tenantId ,

*SuperTenantCarbonContext.getCurrentContext().getTenantId()*

This is returning -1 value and it causes this error.

So is there any other way to get correct tenant id to overcome this issue.


Thanks
Shammi

On Wed, Apr 6, 2011 at 9:51 PM, Tharindu Mathew thari...@wso2.com wrote:

 Looks like a problem introduced with Registry cache. Senaka, any ideas?


 On Wed, Apr 6, 2011 at 9:43 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi,

 On Wed, Apr 6, 2011 at 9:25 PM, Tharindu Mathew thari...@wso2.com
 wrote:
  The problem went away after I updated the core and built this.
  I believe the event broker is trying to pass tenant id when non exists.
  Either DSS should not be doing this at start up before some needed
  components such as Registry are initialized. Maybe the event folks
 should
  take a look, but since only DSS is facing this issue (AFAIK) you guys
 can
  mess around with this bit of code to fix this.

 The registry seems to be initialised when this is happening, I've
 attached the startup log with DEBUG log level for org.wso2.

 Cheers,
 Anjana.

 
  On Wed, Apr 6, 2011 at 8:14 PM, Anjana Fernando anj...@wso2.com
 wrote:
 
  Hi Senaka,
 
  On Wed, Apr 6, 2011 at 7:02 PM, Senaka Fernando sen...@wso2.com
 wrote:
   Looks like EventBrokerHolder.getInstance().getTenantId() in
   RegistrySubscriptionManager of the Event Component is passing -1.
  
   By the way, this seems to be happening at the server start-up. Why
 does
   DS
   clear subscriptions at start-up? Is this to implement some form of
   non-persistent subscription? If that's so, I believe that the event
   component already has some concept like that (Amila, Danushka please
   confirm).
 
  This is done to basically to refresh the subscriptions, that is, the
  data service may have been changed when it is being deployed again,
  for example, the user may have removed the old subscriptions from the
  data service and added new ones, so because of that, we remove all the
  current subscriptions that are associated with this data service and
  again add the subscriptions that are now mentioned in the data
  service.
 
  I'm still getting the same error btw, I tried a build properly with
  mvn clean install, but still have the same problem. Appreciate if
  someone can look into this.
 
  Cheers,
  Anjana.
 
  
   Thanks,
   Senaka.
  
   On Wed, Apr 6, 2011 at 12:29 PM, Anjana Fernando anj...@wso2.com
   wrote:
  
   Tharindu has also asked about this earlier, is this fixed properly
   now? .. I've build the latest carbon-core and components but still
   gets the same problem. Please check the below error stacktrace.
  
-
   java.lang.NullPointerException
  at
  
  
 org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:157)
  at
  
  
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:231)
  at
  
  
 org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:199)
  at
  
  
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:426)
  at
  
  
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:291)
  at
  
  
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)
  at
  
  
 org.wso2.carbon.event.core.internal.subscription.registry.RegistrySubscriptionManager.getAllSubscriptions(RegistrySubscriptionManager.java:208)
  at
  
  
 org.wso2.carbon.event.core.internal.CarbonEventBroker.getAllSubscriptions(CarbonEventBroker.java:137)
  at
  
  
 org.wso2.carbon.dataservices.core.engine.DataService.clearDataServicesEventSubscriptions(DataService.java:385)
  at
  
  
 org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:401)
  at
  
  
 org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:658)
  at
  
  
 org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerEventBrokerServiceListener(DataServicesDSComponent.java:193)
  at
  
  
 org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:221)
  at
  
  
 org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:609)
  at
  
  
 org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:955)
  at
  
  
 org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:176)
  at
  
  
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
  at
  
  
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
  at
  
  
 

Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Samisa Abeysinghe
On Thu, Apr 7, 2011 at 9:14 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Hi,
 So can we do commits?


Code is not frozen yet, but build cannot break!

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-04-06 Thread Denis Weerasiri
On Thu, Apr 7, 2011 at 6:34 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi QA team,

 Please note that the fixes done to G-Reg for yesterday's blockers are not
 available with these packs. AmilaM, please trigger a build that will cover
 changes at component and product-level for G-Reg.

These changes were added to the builder and started a new build from core
level.


 Thanks,
 Senaka.


 On Thu, Apr 7, 2011 at 5:08 AM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.service.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.soaptracer.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.sts.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.servicehosting.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.dataservices.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.jms.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.transport.mail.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.statistics.transport.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.client.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.mediation.ext.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.proxy.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.discovery.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.server.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.wsdl.tools.ui.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.xkms.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.multiple.instance.feature
 [INFO] Extracting feature org.wso2.esb:org.wso2.esb.styles.feature
 [INFO] Extracting feature
 org.wso2.governance:org.wso2.governance.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.styles.feature
 [INFO] Extracting feature org.wso2.gs:org.wso2.gs.menu.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.identity.utils.feature
 [INFO] Extracting feature org.wso2.ms:org.wso2.ms.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.styles.feature
 [INFO] Extracting feature
 org.wso2.appserver:org.wso2.appserver.utils.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.agent.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.cloud.csg.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.mgt.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.application.deployer.webapp.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.unifiedendpoint.server.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [29 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the Generated
 Repository
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing /home/carbon/carbon/features/repository/pom.xml to
 /home/carbon/.m2/repository/org/wso2/carbon/wso2carbon-feature-repository/3.2.0-SNAPSHOT/wso2carbon-feature-repository-3.2.0-SNAPSHOT.pom
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 53 seconds
 [INFO] Finished at: Thu Apr 07 05:08:25 IST 2011
 [INFO] Final Memory: 32M/1237M
 [INFO]
 
 2011-04-07_05-04-51
 Carbon  packs are available at :
 http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
 tail -n50 $CARBON_SRC_HOME/build.log
 ___
 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://www.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,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 

Re: [Carbon-dev] IS Build Failure

2011-04-06 Thread Harshana Martin
Hi Fazlan,

On Thu, Apr 7, 2011 at 1:48 AM, Fazlan Sabar faz...@wso2.com wrote:

 I noted that the *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 * in following files as follows,

 *Missing* In carbon/trunk/carbon/*features*/repository/pom.xml - revision
 91727.




 *Commented* in carbon/products/*is*/modules/p2-profile-gen/service/pom.xml
 - revision 91727.
 *Uncommented* in carbon/products/*greg*/modules/p2-profile-gen/service/pom.xml
 - revision 91727.


Yes. These are the 2 poms I compared :).

Thanks and Regards,
Harshana



 On Thu, Apr 7, 2011 at 1:20 AM, Harshana Martin harsh...@wso2.com wrote:

 Hi Prabath,

 On Thu, Apr 7, 2011 at 12:47 AM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 I too ran into the same issue once I was trying to build dss stratos
 services profile.
 To share my experience on this, I managed to get it fixed without
 adding the property
 suggested by Sameera to build.properties file and of course with
 the presence of
 featureArtifactDef entry corresponds to tenant.mgt.core feature. The only
 thing I had
 to do was changing the svn repo url to svn.wso2.org/repos from
 wso2.org/repos since
 I was using the latter. In my case, the cloud-desc.xml was not located
 properly during
 the build time of the aforementioned feature and thus it threw a
 filenotfound exception
 while installing the feature. I wonder it's the same with this instance
 as well.

 anywys, I believe, we could have delved further into this matter if
 Harshana could attach
 both of the log files generated while installing the features.


  Since now the build is successful, I don't have the log files. I'll try
 removing the featureDef back and building to reproduce the issue :).

 Prabath,Fazlan, Thanks for sharing your experiences here. It will be
 helpful to figure out the proper fix for this.

 Thanks and Regards,
 Harshana




 Regards,

 On Wed, Apr 6, 2011 at 11:12 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Though this occurs randomly, since this has been reported couple of
 times, it will be good to figure out a proper fix for this and apply on
 trunk, since this may occur in builder machine too.

 Seems like there are two solutions, which Harshana has found and which
 Sameera has suggested in the other thread and verified by Fazlan.

 Is it possible for us to figure out which is the proper fix? either of
 the above or both?

 Thanks,
 Hasini.


 On Wed, Apr 6, 2011 at 9:42 PM, Fazlan Sabar faz...@wso2.com wrote:

 Hi, I encountered the same problem when building GReg, and I followed
 the set of instructions mentioned by Dimuthu and Sameera. It worked like a
 charm. To summarize, following is what I did,

 1. Added the following line to build.properties(both files) found
 at 
 carbon/features/stratos/tenant-mgt/org.wso2.carbon.tenant.mgt.core.feature/
 s/root.tenant.core=conf/root.tenant-core=conf in the
 build.properties
 2. Copied the carbon/products/manager/conf/cloud-services-desc.xml to
 carbon/features/stratos/tenant-mgt/
 org.wso2.carbon.tenant.mgt.core.feature/resources/conf
 3. Built the relevant feature and product

 Thanks Dimuthu and Sameera!

 On Wed, Apr 6, 2011 at 9:20 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Dimuthu,

 On Wed, Apr 6, 2011 at 8:11 PM, Dimuthu Leelarathne 
 dimut...@wso2.com wrote:


 Hi,

 As we have discussed in a previous thread  (Error while installing
 tenant.mgt feature!) we can fix this by taking the svn checkout from
 svn.wso2.org completely root to bottom.

 And as a precausion we can also do the following.

  s/root.tenant.core=conf/root.tenant-core=conf in the
 build.properties inside tenant-mgt core feature

 I cannot commit the above however.


 I was able to fix the problem by uncommenting  *
 featureArtifactDeforg.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature:${stratos.version}/featureArtifactDef
 *. After that the build was successful.

 Is there any specific reason to comment it out while leaving the 
 *org.wso2.carbon:org.wso2.carbon.tenant.mgt.core.feature.group
 *? Is it wrong to uncomment that featureDef?

 Thanks and Regards,
 Harshana


 tx,
 dimuthu

 On Wed, Apr 6, 2011 at 7:27 PM, Harshana Martin 
 harsh...@wso2.comwrote:

 Log file attached.


 On Wed, Apr 6, 2011 at 7:25 PM, Harshana Martin 
 harsh...@wso2.comwrote:

 svn up was taken around 6.30 pm. It was successful this morning.
 Please have a look.



 [INFO] Building WSO2 Stratos - Cloud Identity Profile Generation
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /home/harshana/Carbon/products/is/modules/p2-profile-gen/service/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 

Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/is

2011-04-06 Thread Harshana Martin
Hi All,

This is the issue I came across in my local machine too. It was back to
normal after removing the comment for tanent.mgt.core.feature.

Thanks and Regards,
Harshana

On Thu, Apr 7, 2011 at 2:41 AM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.utils.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [4 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the Generated
 Repository
 [INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
 [INFO] Running Equinox P2 Director Application
 [ERROR] The installable unit
 org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been
 found.
 [ERROR] Application failed, log file location:
 /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302124304768.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 8 minutes 4 seconds
 [INFO] Finished at: Thu Apr 07 02:41:47 IST 2011
 [INFO] Final Memory: 205M/1265M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
  http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/is

2011-04-06 Thread Harshana Martin
Hi All,

I have committed that fix to IS in the r91736. Let's see how it goes for the
builder machine.

Thanks and Regards,
Harshana

On Thu, Apr 7, 2011 at 10:16 AM, Harshana Martin harsh...@wso2.com wrote:

 Hi All,

 This is the issue I came across in my local machine too. It was back to
 normal after removing the comment for tanent.mgt.core.feature.

 Thanks and Regards,
 Harshana

 On Thu, Apr 7, 2011 at 2:41 AM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.registry.profiles.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.core.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.user.profile.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.xacml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.claim.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.profile.mgt.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.relying.party.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.authenticator.token.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.um.ws.service.server.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.styles.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.utils.feature
 [INFO] Extracting feature org.wso2.carbon:org.wso2.carbon.common.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.ui.feature
 [INFO] Extracting feature
 org.wso2.carbon:org.wso2.carbon.identity.provider.openid.admin.feature
 [INFO] Extracting feature
 org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.feature
 [INFO] Copying resources
 [INFO] Running Equinox P2 Publisher Application for Repository Generation
 [INFO] Generating metadata for ..
 [INFO] Generation completed with success [4 seconds].
 [INFO] Running Equinox P2 Category Publisher Application for the Generated
 Repository
 [INFO] [carbon-p2:p2-profile-gen {execution: 3-p2-profile-generation}]
 [INFO] Running Equinox P2 Director Application
 [ERROR] The installable unit
 org.wso2.carbon.tenant.mgt.core.feature.group/1.1.0.SNAPSHOT has not been
 found.
 [ERROR] Application failed, log file location:
 /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1302124304768.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 8 minutes 4 seconds
 [INFO] Finished at: Thu Apr 07 02:41:47 IST 2011
 [INFO] Final Memory: 205M/1265M
 [INFO]
 
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




 --
 Harshana Martin
 Software Engineer
 WSO2 Inc.
 Web:http://wso2.com
   http://wso2.org

 Mobile: +94 716062650
 Blog: http://harshana05.blogspot.com
 Profile: https://www.google.com/profiles/harshana05
 Twitter: http://twitter.com/harshana05




-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
  http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] When are we targeting to unfreeze the code?

2011-04-06 Thread Yasith Tharindu
On Thu, Apr 7, 2011 at 6:17 AM, Afkham Azeez az...@wso2.com wrote:

 Chamith, please grant a svn access to all commiters


Commit access granted now.

Thanks



 On Apr 7, 2011 4:07 AM, Samisa Abeysinghe sam...@wso2.com wrote:
  I am not sure if Hudson will work the way it works for something like
  Axis2.
  If you really look at it, Hudson should do what the continuous build is
  doing and it will take equal time, even if you have multiple build plans.
 It
  will take some time, before we have the right set.
 

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