Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Amila Maha Arachchi
Hi,

At the moment we are running the builder's build *without* tests. We had to
do this to see the stub migration process's impact on the build. If not, we
would have still been stuck in the dependencies level. It was yesterday only
we were able to get some successful packs.

Yes, I remember a mail asking the QA team to reject testing products with
test failures. I'll see what I can do on this.

Thanks,
AmilaM.

On Mon, Apr 4, 2011 at 11:26 AM, Charitha Kankanamge chari...@wso2.comwrote:

 RMs,

 Hope you are running builds in 10.100.1.43 with tests. If so, when there
 are integration test failures, please do not host those packs for download.

 Regards
 Charitha

 On Mon, Apr 4, 2011 at 8:35 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 There are many product builds in broken state...

 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


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


[Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Prabath Abeysekera
Hi,

I'm running into the following error while installing stratos tenant.mgt
feature group.

[INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
1.1.0.SNAPSHOT.
[ERROR] An error occurred while collecting items to be installed
[ERROR]  session context was:(profile=WSO2CarbonProfile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
operand=, action=).
[ERROR]  No repository found containing:
binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
[ERROR] Application failed, log file location:
/home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO]

Any idea why?

Any idea why?

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


Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Harshana Martin
Hi SupunM,

On Mon, Apr 4, 2011 at 11:17 AM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 11:06 AM, Janaka Ranabahu jan...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 10:59 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 AFAIU most of the products were broken due to integration test jar being
 missing. We had to manually build the integration/core with tests to get rid
 of this. After that many products were successfully built. I notices some
 breaks in MS, CEP, ESB.

 We have a nother problem. Now we build using the command mvn install.
 Therefore the target doesn't get cleaned AFAIU. So if the build fails for a
 certain product, it will still contain a recently built pack in the target
 and it will get copied to the place where we host them. Then the QA folks
 will test it and report errors.

 I think we'll have to clean the product folders before building them (in
 the build script).


 Is there a way we can configure this from maven itself?. 'cos usually when
 we build the product locally we use them by extracting it there itself.
 While building again the created temp directory has the same name as the
 product folder (eg for appserver :target/wso2appserver-4.1.0-SNAPSHOT). So
 there will be complications.


What type of complications are you talking about here?

Thanks and Regards,
Harshana


 regards,


 +1.


 Thanks,
 AmilaM.

 On Mon, Apr 4, 2011 at 8:35 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 There are many product builds in broken state...

 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




 --
 Janaka Ranabahu
 Software Engineer
 WSO2 Inc.

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


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




 --
 Supun Malinga,

 Software Engineer,

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


 ___
 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] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Harshana Martin
Hi AmilaM,

On Mon, Apr 4, 2011 at 10:59 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 AFAIU most of the products were broken due to integration test jar being
 missing. We had to manually build the integration/core with tests to get rid
 of this. After that many products were successfully built. I notices some
 breaks in MS, CEP, ESB.

 We have a nother problem. Now we build using the command mvn install.
 Therefore the target doesn't get cleaned AFAIU. So if the build fails for a
 certain product, it will still contain a recently built pack in the target
 and it will get copied to the place where we host them. Then the QA folks
 will test it and report errors.


If there are any changes to the product's components/features, it gets
cleaned since we are including the features as dependencies. So this is not
 a problem.


 I think we'll have to clean the product folders before building them (in
 the build script).


Isn't it a problem in the build script if it is copying the existing target
in case of a build failure? Ideally if the build is failed, nothing should
be copied irrespective of existence of target  folder. so fixing the build
script to stop copying is the correct solution IMO.  Cleaning the product
folder target will certainly work but i do not think that is the proper
fix.

Thanks and Regards,
Harshana


 Thanks,
 AmilaM.

 On Mon, Apr 4, 2011 at 8:35 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 There are many product builds in broken state...

 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




-- 
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] Null LdapSession warning

2011-04-04 Thread Evanthika Amarasiri
Hi all,

I am still seeing this issue on the latest G-Reg pack downloaded from [1].
This may not be harmful for the functionality but it sure slows down the
server. For instance, when I do a metadata search, it takes a conciderable
amount of time to return the search results since the 'Null LdapSession
warning' is being printed continuously. Appreciate if somebody could look
into this issue.

[1] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/2011-04-04_03-59-05/

Regards,
Evanthika

On Fri, Mar 25, 2011 at 9:37 PM, Amila Jayasekara ami...@wso2.com wrote:

 On Fri, Mar 25, 2011 at 4:47 AM, Afkham Azeez az...@wso2.com wrote:
  Amila,
 The OOM issue is something different. This issue originally reported by
 Ishani is related to the ESB hanging on startup, after it is restarted.

 I believe this server hanging is also related to the memory issue.
 Cos, while testing yesterday i did experience that server dies without
 giving any messages to the console. i.e. server does not through a
 PermGen exception rather it hangs when Graceful Shutdown is
 invoked. Then if i try to do any operations in management console,
 server dies. Above test is also carried out without installing LDAP
 features. But i didnt try this scenario with ESB. I will do more
 testing with ESB and will confirm whether server hanging is due to a
 different cause.

 Thanks
 AmilaJ

  The following logs are printed and then the server hangs.
  osgi [2011-03-25 17:08:28,736]  INFO
  {org.wso2.carbon.core.init.CarbonServerManager} -  Gracefully restarting
  WSO2 ESB...
  [2011-03-25 17:08:28,738]  INFO {org.wso2.carbon.core.ServerManagement} -
   Starting to switch to maintenance mode...
  [2011-03-25 17:08:28,739]  INFO
  {org.apache.synapse.transport.nhttp.HttpCoreNIOListener} -  HTTPS
 Listener
  Shutdown
  [2011-03-25 17:08:28,742]  INFO
  {org.apache.synapse.transport.nhttp.HttpCoreNIOListener} -  HTTP Listener
  Shutdown
  [2011-03-25 17:08:28,742]  INFO {org.wso2.carbon.core.ServerManagement} -
   Stopped all transport listeners
  [2011-03-25 17:08:28,743]  INFO {org.wso2.carbon.core.ServerManagement} -
   Waiting for deployment completion...
  [2011-03-25 17:08:28,744]  INFO {org.wso2.carbon.core.ServerManagement} -
   All deployment tasks have been completed.
  [2011-03-25 17:08:28,744]  INFO {org.wso2.carbon.core.ServerManagement} -
   Waiting for request service completion...
  [2011-03-25 17:08:28,746]  INFO {org.wso2.carbon.core.ServerManagement} -
   All requests have been served.
  [2011-03-25 17:08:28,747]  INFO
  {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for 5 sec(s)
  before initiating restart
  [2011-03-25 17:08:33,894]  INFO
 {org.apache.synapse.task.SynapseTaskManager}
  -  Shutting down the task manager
  [2011-03-25 17:08:33,897]  INFO
 {org.apache.synapse.Axis2SynapseController}
  -  Undeploying the Synapse service...
  [2011-03-25 17:08:33,900]  INFO
 {org.apache.synapse.Axis2SynapseController}
  -  Undeploying Proxy services...
  [2011-03-25 17:08:33,900]  INFO
 {org.apache.synapse.Axis2SynapseController}
  -  Undeploying EventSources...
  [2011-03-25 17:08:33,971]  INFO
  {org.apache.directory.server.ldap.LdapServer} -  Unbind of an LDAP
 service
  (10389) is complete.
  [2011-03-25 17:08:33,971]  INFO
  {org.apache.directory.server.ldap.LdapServer} -  Sending notice of
  disconnect to existing clients sessions.
  [2011-03-25 17:08:33,971]  INFO
  {org.apache.directory.server.ldap.LdapServer} -  Ldap service stopped.
  [2011-03-25 17:08:34,027]  INFO
  {org.apache.directory.server.core.DefaultDirectoryService} -  Waiting for
  SynchWorkerThread to die.
  [2011-03-25 17:08:34,027]  INFO
  {org.wso2.carbon.apacheds.impl.ApacheLDAPServer} -  LDAP server stopped.
 
 
  On Fri, Mar 25, 2011 at 11:28 AM, Amila Jayasekara ami...@wso2.com
 wrote:
 
  Hi All,
  I was able to reproduce this issue with carbon core server. I am
  getting java.lang.OutOfMemoryError: PermGen space as mentioned in
  https://wso2.org/jira/browse/CARBON-9145. In carbon core server if we
  invoke Graceful Restart several times we can reproduce this issue
  (In my machine i was able to reproduce the issue by invoking 3 times).
  In-order to narrow down the issue i un-installed LDAP specific
  (apacheds and org.wso2.carbon.ldap) features and connected user
  manager to a h2 database. Still i was able to reproduce above error
  after 3 attempts. Therefore i doubt, whether this issue has an impact
  from LDAP server.
  When monitoring memory usage in each restart, i observed that memory
  usage increases about 1-2% for each attempt. (I did the same setof
  actions in each attempt). I am not quite sure what could be the root
  cause for the memory increase. We need to further investigate this
  issue.
 
  Thanks
  AmilaJ
 
  On Thu, Mar 24, 2011 at 8:59 PM, Kasun Indrasiri ka...@wso2.com
 wrote:
  
  
   On Thu, Mar 24, 2011 at 9:33 PM, Amila Jayasekara ami...@wso2.com
   wrote:
  
   On Thu, Mar 24, 2011 at 12:07 AM, Kasun Indrasiri 

Re: [Carbon-dev] Test failure in components/event/org.wso2.carbon.event.ws

2011-04-04 Thread Shammi Jayasinghe
Hi,

This is fixed. Please take an update of event component.

Thanks
Shammi

On Mon, Apr 4, 2011 at 10:04 AM, Shammi Jayasinghe sha...@wso2.com wrote:

 I ll be working on this

 Thanks
 Shammi

 On Mon, Apr 4, 2011 at 9:58 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 $subject. Fails in
 org.wso2.carbon.event.ws.internal.builders.SubscribeCommandBuilderTest

 Surefire Report attached.

 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




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085





-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] GS-1.3.1-SNAPSHOT O4-04 does not start

2011-04-04 Thread Charitha Kankanamge
Folks,
If the server cannot even be started, please do not host such pack for QA
testing.

Regards
Charitha


On Mon, Apr 4, 2011 at 11:03 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Azeez,

 There was a API change in application deployer, but this was list Friday I
 made the fix according to that.

 Regards,
 /Nuwan

 On Mon, Apr 4, 2011 at 10:59 AM, Afkham Azeez az...@wso2.com wrote:

 How/why did it break?
 On Apr 4, 2011 10:55 AM, Nuwan Bandara nu...@wso2.com wrote:
  Hi,
 
  This issue is now fixed.
 
  Regards,
  /Nuwan
 
  On Mon, Apr 4, 2011 at 10:47 AM, Nirodha Pramod niro...@wso2.com
 wrote:
 
  Hi,
 
  Could not attach the stack trace earlier. It is mentioned below.
 
 
  [2011-04-04 10:43:37,151] INFO
  {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2
  Carbon...
  [2011-04-04 10:43:37,168] INFO
  {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System
 :
  Linux 2.6.32-24-generic, i386
  [2011-04-04 10:43:37,168] INFO
  {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home :
  /home/nirodha/softwares/jdk1.6.0_21/jre
  [2011-04-04 10:43:37,168] INFO
  {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version :
  1.6.0_21
  [2011-04-04 10:43:37,168] INFO
  {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM :
  Java HotSpot(TM) Server VM 17.0-b16,Sun Microsystems Inc.
  [2011-04-04 10:43:37,168] INFO
  {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home :
  /home/nirodha/Servers/gs/snapshot04-04/wso2gs-1.3.1-SNAPSHOT
  [2011-04-04 10:43:37,168] INFO
  {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir :
  /home/nirodha/Servers/gs/snapshot04-04/wso2gs-1.3.1-SNAPSHOT/tmp
  [2011-04-04 10:43:37,168] INFO
  {org.wso2.carbon.core.internal.CarbonCoreActivator} - User :
  nirodha, en-US, Asia/Colombo
  [2011-04-04 10:43:37,423] INFO
  {org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} -
 KDC
  server is disabled.
  [2011-04-04 10:43:37,426] INFO
  {org.wso2.carbon.ldap.server.DirectoryActivator} - Initializing
 Directory
  Server with working directory
 
 /home/nirodha/Servers/gs/snapshot04-04/wso2gs-1.3.1-SNAPSHOT/repository/data/org.wso2.carbon.directory
  and port 10389
  [2011-04-04 10:43:39,591] INFO
  {org.wso2.carbon.ldap.server.DirectoryActivator} - Starting directory
  service on port 10389
  [2011-04-04 10:43:43,671] INFO
  {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
  Registry Mode : READ-WRITE
  [2011-04-04 10:43:43,914] INFO
 
 {org.wso2.carbon.dashboard.mgt.theme.internal.GSThemeMgtServiceComponent} -
  Successfully started GS Theme upload module.
  [2011-04-04 10:43:44,464] INFO
  {org.wso2.carbon.core.init.CarbonServerManager} - Starting Carbon
  initialization...
  [2011-04-04 10:43:44,597] INFO
  {org.wso2.carbon.core.init.CarbonServerManager} - Creating super-tenant
  Axis2 ConfigurationContext
  [2011-04-04 10:43:44,715] INFO
  {org.apache.axis2.deployment.ClusterBuilder} - Clustering has been
 disabled
  [2011-04-04 10:43:44,869] INFO
  {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying
 Axis2
  module: addressing-3.20-SNAPSHOT {super-tenant}
  [2011-04-04 10:43:44,884] INFO
  {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying
 Axis2
  module: rahas-1.61-wso2v1 {super-tenant}
  [2011-04-04 10:43:44,904] INFO
  {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying
 Axis2
  module: rampart-1.61-wso2v1 {super-tenant}
  [2011-04-04 10:43:44,929] FATAL
  {org.wso2.carbon.core.init.CarbonServerManager} - WSO2 Carbon
  initialization Failed
  java.lang.NoSuchMethodError:
 
 org.wso2.carbon.application.deployer.AppDeployerUtils.readServerRoles()[Ljava/lang/String;
  at
 
 org.wso2.carbon.dashboard.deployer.GadgetDeployer.init(GadgetDeployer.java:76)
  at
 
 org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1166)
  at
 
 org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1155)
  at
 
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89)
  at
 
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
  at
 
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:384)
  at
 
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
  at
 
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
  at
 
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
  at
 
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
  at
 
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
 
 
  regards.
 
 
 
  On Mon, Apr 4, 2011 at 10:41 AM, Nirodha Pramod niro...@wso2.com
 wrote:
 
  

Re: [Carbon-dev] Null LdapSession warning

2011-04-04 Thread Amila Jayasekara
Hi Evanthika,

Could you please attach the log4j.properties file that was in the pack ?

Thanks
AmilaJ

On Sun, Apr 3, 2011 at 11:45 PM, Evanthika Amarasiri evanth...@wso2.com wrote:
 Hi all,

 I am still seeing this issue on the latest G-Reg pack downloaded from [1].
 This may not be harmful for the functionality but it sure slows down the
 server. For instance, when I do a metadata search, it takes a conciderable
 amount of time to return the search results since the 'Null LdapSession
 warning' is being printed continuously. Appreciate if somebody could look
 into this issue.

 [1] - http://10.100.1.43/~carbon/releases/carbon/3.2.0/2011-04-04_03-59-05/

 Regards,
 Evanthika

 On Fri, Mar 25, 2011 at 9:37 PM, Amila Jayasekara ami...@wso2.com wrote:

 On Fri, Mar 25, 2011 at 4:47 AM, Afkham Azeez az...@wso2.com wrote:
  Amila,
 The OOM issue is something different. This issue originally reported by
 Ishani is related to the ESB hanging on startup, after it is restarted.

 I believe this server hanging is also related to the memory issue.
 Cos, while testing yesterday i did experience that server dies without
 giving any messages to the console. i.e. server does not through a
 PermGen exception rather it hangs when Graceful Shutdown is
 invoked. Then if i try to do any operations in management console,
 server dies. Above test is also carried out without installing LDAP
 features. But i didnt try this scenario with ESB. I will do more
 testing with ESB and will confirm whether server hanging is due to a
 different cause.

 Thanks
 AmilaJ

  The following logs are printed and then the server hangs.
  osgi [2011-03-25 17:08:28,736]  INFO
  {org.wso2.carbon.core.init.CarbonServerManager} -  Gracefully restarting
  WSO2 ESB...
  [2011-03-25 17:08:28,738]  INFO {org.wso2.carbon.core.ServerManagement}
  -
   Starting to switch to maintenance mode...
  [2011-03-25 17:08:28,739]  INFO
  {org.apache.synapse.transport.nhttp.HttpCoreNIOListener} -  HTTPS
  Listener
  Shutdown
  [2011-03-25 17:08:28,742]  INFO
  {org.apache.synapse.transport.nhttp.HttpCoreNIOListener} -  HTTP
  Listener
  Shutdown
  [2011-03-25 17:08:28,742]  INFO {org.wso2.carbon.core.ServerManagement}
  -
   Stopped all transport listeners
  [2011-03-25 17:08:28,743]  INFO {org.wso2.carbon.core.ServerManagement}
  -
   Waiting for deployment completion...
  [2011-03-25 17:08:28,744]  INFO {org.wso2.carbon.core.ServerManagement}
  -
   All deployment tasks have been completed.
  [2011-03-25 17:08:28,744]  INFO {org.wso2.carbon.core.ServerManagement}
  -
   Waiting for request service completion...
  [2011-03-25 17:08:28,746]  INFO {org.wso2.carbon.core.ServerManagement}
  -
   All requests have been served.
  [2011-03-25 17:08:28,747]  INFO
  {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for 5 sec(s)
  before initiating restart
  [2011-03-25 17:08:33,894]  INFO
  {org.apache.synapse.task.SynapseTaskManager}
  -  Shutting down the task manager
  [2011-03-25 17:08:33,897]  INFO
  {org.apache.synapse.Axis2SynapseController}
  -  Undeploying the Synapse service...
  [2011-03-25 17:08:33,900]  INFO
  {org.apache.synapse.Axis2SynapseController}
  -  Undeploying Proxy services...
  [2011-03-25 17:08:33,900]  INFO
  {org.apache.synapse.Axis2SynapseController}
  -  Undeploying EventSources...
  [2011-03-25 17:08:33,971]  INFO
  {org.apache.directory.server.ldap.LdapServer} -  Unbind of an LDAP
  service
  (10389) is complete.
  [2011-03-25 17:08:33,971]  INFO
  {org.apache.directory.server.ldap.LdapServer} -  Sending notice of
  disconnect to existing clients sessions.
  [2011-03-25 17:08:33,971]  INFO
  {org.apache.directory.server.ldap.LdapServer} -  Ldap service stopped.
  [2011-03-25 17:08:34,027]  INFO
  {org.apache.directory.server.core.DefaultDirectoryService} -  Waiting
  for
  SynchWorkerThread to die.
  [2011-03-25 17:08:34,027]  INFO
  {org.wso2.carbon.apacheds.impl.ApacheLDAPServer} -  LDAP server stopped.
 
 
  On Fri, Mar 25, 2011 at 11:28 AM, Amila Jayasekara ami...@wso2.com
  wrote:
 
  Hi All,
  I was able to reproduce this issue with carbon core server. I am
  getting java.lang.OutOfMemoryError: PermGen space as mentioned in
  https://wso2.org/jira/browse/CARBON-9145. In carbon core server if we
  invoke Graceful Restart several times we can reproduce this issue
  (In my machine i was able to reproduce the issue by invoking 3 times).
  In-order to narrow down the issue i un-installed LDAP specific
  (apacheds and org.wso2.carbon.ldap) features and connected user
  manager to a h2 database. Still i was able to reproduce above error
  after 3 attempts. Therefore i doubt, whether this issue has an impact
  from LDAP server.
  When monitoring memory usage in each restart, i observed that memory
  usage increases about 1-2% for each attempt. (I did the same setof
  actions in each attempt). I am not quite sure what could be the root
  cause for the memory increase. We need to further investigate this
  issue.
 
  Thanks
  AmilaJ
 
  

Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Amila Maha Arachchi
Hi Harshana,

On Mon, Apr 4, 2011 at 12:11 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi AmilaM,

 On Mon, Apr 4, 2011 at 10:59 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 AFAIU most of the products were broken due to integration test jar being
 missing. We had to manually build the integration/core with tests to get rid
 of this. After that many products were successfully built. I notices some
 breaks in MS, CEP, ESB.

 We have a nother problem. Now we build using the command mvn install.
 Therefore the target doesn't get cleaned AFAIU. So if the build fails for a
 certain product, it will still contain a recently built pack in the target
 and it will get copied to the place where we host them. Then the QA folks
 will test it and report errors.


 If there are any changes to the product's components/features, it gets
 cleaned since we are including the features as dependencies. So this is not
  a problem.


 I think we'll have to clean the product folders before building them (in
 the build script).


 Isn't it a problem in the build script if it is copying the existing target
 in case of a build failure? Ideally if the build is failed, nothing should
 be copied irrespective of existence of target  folder. so fixing the build
 script to stop copying is the correct solution IMO.  Cleaning the product
 folder target will certainly work but i do not think that is the proper
 fix.


Yes, I agree with your argument. I have selected the easy path at the moment
because we have to provide packs asap. I will see what can be done to
improve the script to stop copying existing packs if the build fails.

Thanks,
AmilaM.


 Thanks and Regards,
 Harshana


 Thanks,
 AmilaM.

 On Mon, Apr 4, 2011 at 8:35 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 There are many product builds in broken state...

 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




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


[Carbon-dev] Test failure in components/registry/org.wso2.carbon.registry.social.impl

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject.

surefire reports are attached.

-- 
S.Uthaiyashankar
Senior Architect  Senior Manager
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware
---
Test set: 
org.wso2.carbon.registry.social.impl.test.activity.ActivityManagerImplTest
---
Tests run: 6, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 5.644 sec  
FAILURE!
testDeleteActivity(org.wso2.carbon.registry.social.impl.test.activity.ActivityManagerImplTest)
  Time elapsed: 0.183 sec   FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNull(Assert.java:230)
at junit.framework.Assert.assertNull(Assert.java:223)
at 
org.wso2.carbon.registry.social.impl.test.activity.ActivityManagerImplTest.testDeleteActivity(ActivityManagerImplTest.java:129)

testDeleteActivities(org.wso2.carbon.registry.social.impl.test.activity.ActivityManagerImplTest)
  Time elapsed: 0.345 sec   ERROR!
java.lang.ClassCastException: org.wso2.carbon.registry.core.CollectionImpl 
cannot be cast to 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry$GhostResource
at 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:125)
at 
org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:566)
at 
org.wso2.carbon.registry.social.impl.activity.ActivityManagerImpl.getActivities(ActivityManagerImpl.java:199)
at 
org.wso2.carbon.registry.social.impl.test.activity.ActivityManagerImplTest.testDeleteActivities(ActivityManagerImplTest.java:252)

---
Test set: 
org.wso2.carbon.registry.social.impl.test.appdata.AppDataManagerImplTest
---
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.923 sec  
FAILURE!
testAppDataManager(org.wso2.carbon.registry.social.impl.test.appdata.AppDataManagerImplTest)
  Time elapsed: 3.889 sec   FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNull(Assert.java:230)
at junit.framework.Assert.assertNull(Assert.java:223)
at 
org.wso2.carbon.registry.social.impl.test.appdata.AppDataManagerImplTest.testAppDataManager(AppDataManagerImplTest.java:91)

---
Test set: 
org.wso2.carbon.registry.social.impl.test.message.MessageManagerImplTest
---
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 4.242 sec  
FAILURE!
testMessageCollections(org.wso2.carbon.registry.social.impl.test.message.MessageManagerImplTest)
  Time elapsed: 3.938 sec   ERROR!
java.lang.ClassCastException: org.wso2.carbon.registry.core.CollectionImpl 
cannot be cast to 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry$GhostResource
at 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:125)
at 
org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:566)
at 
org.wso2.carbon.registry.social.impl.message.MessageManagerImpl.getMessageCollections(MessageManagerImpl.java:103)
at 
org.wso2.carbon.registry.social.impl.test.message.MessageManagerImplTest.testMessageCollections(MessageManagerImplTest.java:97)

testMessages(org.wso2.carbon.registry.social.impl.test.message.MessageManagerImplTest)
  Time elapsed: 0.267 sec   FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNull(Assert.java:230)
at junit.framework.Assert.assertNull(Assert.java:223)
at 
org.wso2.carbon.registry.social.impl.test.message.MessageManagerImplTest.testMessages(MessageManagerImplTest.java:169)

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


[Carbon-dev] Test failure in components/governance/org.wso2.carbon.governance.api

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject.

surefire reports of failing cases are attached.

-- 
S.Uthaiyashankar
Senior Architect  Senior Manager
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware
---
Test set: org.wso2.carbon.governance.api.test.EndpointTest
---
Tests run: 8, Failures: 1, Errors: 7, Skipped: 0, Time elapsed: 18.343 sec  
FAILURE!
testAddEndpoint(org.wso2.carbon.governance.api.test.EndpointTest)  Time 
elapsed: 6.87 sec   FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNull(Assert.java:230)
at junit.framework.Assert.assertNull(Assert.java:223)
at 
org.wso2.carbon.governance.api.test.EndpointTest.testAddEndpoint(EndpointTest.java:60)

testAddWsdlWithEndpoints(org.wso2.carbon.governance.api.test.EndpointTest)  
Time elapsed: 4.595 sec   ERROR!
org.wso2.carbon.governance.api.exception.GovernanceException: Error in adding 
the wsdl. wsdl id: ff0d7b09-c72f-4775-8b39-6dec64b751ce.
at 
org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:103)
at 
org.wso2.carbon.governance.api.test.EndpointTest.testAddWsdlWithEndpoints(EndpointTest.java:67)
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: The path 
'/~prabath/BizService.wsdl' contains one or more illegal characters 
(~!@#$;%^*()+={}|\',)
at 
org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.importResource(WSDLMediaTypeHandler.java:456)
at 
org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.importResource(HandlerManager.java:2494)
at 
org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.importResource(HandlerLifecycleManager.java:869)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.importResource(EmbeddedRegistry.java:775)
at 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.importResource(CacheBackedRegistry.java:154)
at 
org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:679)
at 
org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:96)
... 27 more
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: The path 
'/~prabath/BizService.wsdl' contains one or more illegal characters 
(~!@#$;%^*()+={}|\',)
at 
org.wso2.carbon.registry.core.jdbc.Repository.put(Repository.java:287)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.createLink(EmbeddedRegistry.java:2707)
at 
org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.saveWSDLsToRepositoryNew(WSDLProcessor.java:644)
at 
org.wso2.carbon.registry.extensions.handlers.utils.WSDLProcessor.addWSDLToRegistry(WSDLProcessor.java:179)
at 
org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.processWSDLImport(WSDLMediaTypeHandler.java:487)
at 
org.wso2.carbon.registry.extensions.handlers.WSDLMediaTypeHandler.importResource(WSDLMediaTypeHandler.java:445)
... 33 more

testAddServiceWithEndpoints(org.wso2.carbon.governance.api.test.EndpointTest)  
Time elapsed: 0.963 sec   ERROR!
java.lang.NullPointerException
at 
org.wso2.carbon.registry.core.ResourcePath.init(ResourcePath.java:47)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:629)
at 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:141)
at 
org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:599)
at 
org.wso2.carbon.governance.api.util.GovernanceUtils.writeOwnerAssociations(GovernanceUtils.java:666)
at 
org.wso2.carbon.governance.api.services.ServiceManager.addService(ServiceManager.java:136)
at 
org.wso2.carbon.governance.api.test.EndpointTest.testAddServiceWithEndpoints(EndpointTest.java:111)

testAttachEndpointsToService(org.wso2.carbon.governance.api.test.EndpointTest)  
Time elapsed: 0.879 sec   ERROR!
java.lang.NullPointerException
at 
org.wso2.carbon.registry.core.ResourcePath.init(ResourcePath.java:47)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:629)
at 
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:141)
at 
org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:599)
at 
org.wso2.carbon.governance.api.util.GovernanceUtils.writeOwnerAssociations(GovernanceUtils.java:666)
at 
org.wso2.carbon.governance.api.services.ServiceManager.addService(ServiceManager.java:136)
at 

Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Supun Malinga
On Mon, Apr 4, 2011 at 12:04 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi SupunM,

 On Mon, Apr 4, 2011 at 11:17 AM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 11:06 AM, Janaka Ranabahu jan...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 10:59 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 AFAIU most of the products were broken due to integration test jar being
 missing. We had to manually build the integration/core with tests to get 
 rid
 of this. After that many products were successfully built. I notices some
 breaks in MS, CEP, ESB.

 We have a nother problem. Now we build using the command mvn install.
 Therefore the target doesn't get cleaned AFAIU. So if the build fails for a
 certain product, it will still contain a recently built pack in the target
 and it will get copied to the place where we host them. Then the QA folks
 will test it and report errors.

 I think we'll have to clean the product folders before building them (in
 the build script).


 Is there a way we can configure this from maven itself?. 'cos usually when
 we build the product locally we use them by extracting it there itself.
 While building again the created temp directory has the same name as the
 product folder (eg for appserver :target/wso2appserver-4.1.0-SNAPSHOT). So
 there will be complications.


 What type of complications are you talking about here?


Hi Harshana,

Well I didn't come across a runtime issue due to this. But I did saw some
maven warnings while copying the jars. What I wanted to point out is that
ideally its better if this scenario can be avoided.

thanks,


 Thanks and Regards,
 Harshana


 regards,


 +1.


 Thanks,
 AmilaM.

 On Mon, Apr 4, 2011 at 8:35 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 There are many product builds in broken state...

 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




 --
 Janaka Ranabahu
 Software Engineer
 WSO2 Inc.

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


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




 --
 Supun Malinga,

 Software Engineer,

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


 ___
 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




-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com sup...@wso2.com
mobile - 071 56 91 321
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] components/bam-data-publisher compilation failure in test cases

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject. please fix.

[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[28,8]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

[ERROR]
/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[28,56]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

[ERROR]
/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[45,8]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

[ERROR]
/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[45,56]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

[ERROR]
/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[64,8]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

[ERROR]
/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[64,56]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

[INFO] 6 errors
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[28,8]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[28,56]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[45,8]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[45,56]
cannot find symbol
symbol  : class TestEventBrokerService
location: class
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

/home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[64,8]
cannot find symbol
symbol  : class TestEventBrokerService
location: class

Re: [Carbon-dev] Introducing a new config file - authenticators.xml

2011-04-04 Thread Thilina Buddhika
This is a sample configuration of the authenticators.xml.

It contains a list of authenticator elements where each of them describes a
different authenticator. Attribute name is a mandatory attr which is used
to identify each of the authenticator. It is possible to disable an
installed authenticator. The optional attribute disabled is used for that
purpose and it defaults to 'false' if not mentioned specifically.

Each authenticator has a priority level, which is used in runtime to
identify the authenticator with the highest priority which can handle a
particular authentication request.

'Config' element is used for the authenticator specific configurations.
These configurations are given as parameter elements.

Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml;

!-- Authenticator Configurations for TokenUIAuthenticator --
Authenticator name=TokenUIAuthenticator disabled=true
priority5/priority
/Authenticator

!-- Authenticator Configurations for SAML2SSOAuthenticator --
Authenticator name=SAML2SSOAuthenticator
priority10/priority
config
parameter name=LoginPage/carbon/admin/login.jsp/parameter
parameter name=ServiceProviderIDcarbonServer/parameter
parameter name=IdentityProviderSSOServiceURL
https://localhost:9443/samlsso/parameter
/config
/Authenticator

/Authenticators


Please provide your feedback on this model.

Thanks,
Thilina

On Fri, Apr 1, 2011 at 12:02 PM, Sameera Jayasoma same...@wso2.com wrote:



 On Fri, Apr 1, 2011 at 11:46 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 At the moment, we have some configurations related to Carbon authenticator
 framework scattered across multiple configuration files. For instance, all
 the authenticator configurations and priorities are set in the carbon.xml
 and SSO configurations are in the user-mgt.xml. Also since users can write
 their own authenticators and plug into Carbon, we should provide a default
 place to put their configurations.

 After an offline discussion with Azeez, we thought of introducing a new
 config. file called 'authenticators.xml' which will be categorized as an
 advanced configuration file. Users have to modify it only if they want to
 use a different authentication mechanism other than the default
 authenticator.

 WDYT ?


 +1 for applying separation of concerns concept. Merging all authenticators
 related configurations to a single config files is better approach.

 Sameera


 Thanks,
 Thilina

 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




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




-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

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


Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Afkham Azeez
The first thing you must do before sending the mail is to check those logs.


On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 I'm running into the following error while installing stratos tenant.mgt
 feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




-- 
*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] Introducing a new config file - authenticators.xml

2011-04-04 Thread Thilina Buddhika
Sorry about that. All the tags are starting with Upper case letters. This is
the modified config.

Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml;

!-- Authenticator Configurations for TokenUIAuthenticator --
Authenticator name=TokenUIAuthenticator disabled=true
Priority5/Priority
/Authenticator

!-- Authenticator Configurations for SAML2SSOAuthenticator --
Authenticator name=SAML2SSOAuthenticator
Priority10/Priority
Config
Parameter name=LoginPage/carbon/admin/login.jsp/parameter
Parameter name=ServiceProviderIDcarbonServer/parameter
Parameter name=IdentityProviderSSOServiceURL
https://localhost:9443/samlsso/parameter
/Config
/Authenticator

/Authenticators

On Mon, Apr 4, 2011 at 1:18 PM, Afkham Azeez az...@wso2.com wrote:

 Why are some tags starting with capitals and others starting with simple
 letters?


 On Mon, Apr 4, 2011 at 1:15 PM, Thilina Buddhika thili...@wso2.comwrote:

 This is a sample configuration of the authenticators.xml.

 It contains a list of authenticator elements where each of them describes
 a different authenticator. Attribute name is a mandatory attr which is
 used to identify each of the authenticator. It is possible to disable an
 installed authenticator. The optional attribute disabled is used for that
 purpose and it defaults to 'false' if not mentioned specifically.

 Each authenticator has a priority level, which is used in runtime to
 identify the authenticator with the highest priority which can handle a
 particular authentication request.

 'Config' element is used for the authenticator specific configurations.
 These configurations are given as parameter elements.

 Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml
 

 !-- Authenticator Configurations for TokenUIAuthenticator --
 Authenticator name=TokenUIAuthenticator disabled=true
 priority5/priority
 /Authenticator

 !-- Authenticator Configurations for SAML2SSOAuthenticator --
 Authenticator name=SAML2SSOAuthenticator
 priority10/priority
 config
 parameter
 name=LoginPage/carbon/admin/login.jsp/parameter
 parameter name=ServiceProviderIDcarbonServer/parameter
 parameter name=IdentityProviderSSOServiceURL
 https://localhost:9443/samlsso/parameter
 /config
 /Authenticator

 /Authenticators


 Please provide your feedback on this model.

 Thanks,
 Thilina

 On Fri, Apr 1, 2011 at 12:02 PM, Sameera Jayasoma same...@wso2.comwrote:



 On Fri, Apr 1, 2011 at 11:46 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 At the moment, we have some configurations related to Carbon
 authenticator framework scattered across multiple configuration files. For
 instance, all the authenticator configurations and priorities are set in 
 the
 carbon.xml and SSO configurations are in the user-mgt.xml. Also since users
 can write their own authenticators and plug into Carbon, we should provide 
 a
 default place to put their configurations.

 After an offline discussion with Azeez, we thought of introducing a new
 config. file called 'authenticators.xml' which will be categorized as an
 advanced configuration file. Users have to modify it only if they want to
 use a different authentication mechanism other than the default
 authenticator.

 WDYT ?


 +1 for applying separation of concerns concept. Merging all
 authenticators related configurations to a single config files is better
 approach.

 Sameera


 Thanks,
 Thilina

 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




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




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




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




-- 
Thilina Buddhika
Senior Software Engineer
WSO2 Inc. ; 

[Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/ms

2011-04-04 Thread WSO2 Builder
[INFO] Installing org.wso2.carbon.mex.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.resource.properties.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.docrequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.gadgetrequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.sourcerequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsscraper.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsstubgenerator.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.tryit.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.ms.styles.feature.group 2.3.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.admin.ui.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing 
org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.authenticator.token.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.deployer.mashup.feature.group 
3.2.0.SNAPSHOT.
[ERROR] Cannot complete the install because one or more required items could 
not be found.
[ERROR]  Software being installed: WSO2 Carbon - Javascript Service Hosting 
Feature 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
[ERROR]  Missing requirement: org.wso2.carbon.mashup.jsservices.ui 
3.2.0.SNAPSHOT (org.wso2.carbon.mashup.jsservices.ui 3.2.0.SNAPSHOT) requires 
'package org.wso2.carbon.mashup.jsservices.stub.fileupload 
[3.2.0.SNAPSHOT,3.3.0)' but it could not be found
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Javascript Service Hosting Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.jsservices.ui.feature.group [3.2.0.SNAPSHOT]
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Javascript Service Hosting UI Feature 
3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.mashup.jsservices.ui [3.2.0.SNAPSHOT]
[ERROR] Application failed, log file location: 
/home/carbon/carbon/products/ms/modules/p2-profile-gen/product/target/p2-agent/configuration/1301903391335.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Mon Apr 04 13:20:03 IST 2011
[INFO] Final Memory: 166M/1242M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Introducing a new config file - authenticators.xml

2011-04-04 Thread Thilina Buddhika
 Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml;

!-- Authenticator Configurations for TokenUIAuthenticator --
Authenticator name=TokenUIAuthenticator disabled=true
Priority5/Priority
/Authenticator

!-- Authenticator Configurations for SAML2SSOAuthenticator --
Authenticator name=SAML2SSOAuthenticator
Priority10/Priority
Config
Parameter name=LoginPage/carbon/admin/login.jsp/Parameter
Parameter name=ServiceProviderIDcarbonServer/Parameter
Parameter name=IdentityProviderSSOServiceURL
https://localhost:9443/samlsso/Parameter
/Config
/Authenticator

/Authenticators

On Mon, Apr 4, 2011 at 1:21 PM, Thilina Buddhika thili...@wso2.com wrote:

 Sorry about that. All the tags are starting with Upper case letters. This
 is the modified config.

  Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml
 

 !-- Authenticator Configurations for TokenUIAuthenticator --
 Authenticator name=TokenUIAuthenticator disabled=true
 Priority5/Priority
  /Authenticator

 !-- Authenticator Configurations for SAML2SSOAuthenticator --
 Authenticator name=SAML2SSOAuthenticator
 Priority10/Priority
 Config
 Parameter name=LoginPage/carbon/admin/login.jsp/parameter
 Parameter name=ServiceProviderIDcarbonServer/parameter
 Parameter name=IdentityProviderSSOServiceURL
 https://localhost:9443/samlsso/parameter
 /Config
 /Authenticator

 /Authenticators

 On Mon, Apr 4, 2011 at 1:18 PM, Afkham Azeez az...@wso2.com wrote:

 Why are some tags starting with capitals and others starting with simple
 letters?


 On Mon, Apr 4, 2011 at 1:15 PM, Thilina Buddhika thili...@wso2.comwrote:

 This is a sample configuration of the authenticators.xml.

 It contains a list of authenticator elements where each of them describes
 a different authenticator. Attribute name is a mandatory attr which is
 used to identify each of the authenticator. It is possible to disable an
 installed authenticator. The optional attribute disabled is used for that
 purpose and it defaults to 'false' if not mentioned specifically.

 Each authenticator has a priority level, which is used in runtime to
 identify the authenticator with the highest priority which can handle a
 particular authentication request.

 'Config' element is used for the authenticator specific configurations.
 These configurations are given as parameter elements.

 Authenticators xmlns=
 http://wso2.org/projects/carbon/authenticators.xml;

 !-- Authenticator Configurations for TokenUIAuthenticator --
 Authenticator name=TokenUIAuthenticator disabled=true
 priority5/priority
 /Authenticator

 !-- Authenticator Configurations for SAML2SSOAuthenticator --
 Authenticator name=SAML2SSOAuthenticator
 priority10/priority
 config
 parameter
 name=LoginPage/carbon/admin/login.jsp/parameter
 parameter name=ServiceProviderIDcarbonServer/parameter
 parameter name=IdentityProviderSSOServiceURL
 https://localhost:9443/samlsso/parameter
 /config
 /Authenticator

 /Authenticators


 Please provide your feedback on this model.

 Thanks,
 Thilina

 On Fri, Apr 1, 2011 at 12:02 PM, Sameera Jayasoma same...@wso2.comwrote:



 On Fri, Apr 1, 2011 at 11:46 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 At the moment, we have some configurations related to Carbon
 authenticator framework scattered across multiple configuration files. For
 instance, all the authenticator configurations and priorities are set in 
 the
 carbon.xml and SSO configurations are in the user-mgt.xml. Also since 
 users
 can write their own authenticators and plug into Carbon, we should 
 provide a
 default place to put their configurations.

 After an offline discussion with Azeez, we thought of introducing a new
 config. file called 'authenticators.xml' which will be categorized as an
 advanced configuration file. Users have to modify it only if they want to
 use a different authentication mechanism other than the default
 authenticator.

 WDYT ?


 +1 for applying separation of concerns concept. Merging all
 authenticators related configurations to a single config files is better
 approach.

 Sameera


 Thanks,
 Thilina

 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




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




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . 

Re: [Carbon-dev] Introducing a new config file - authenticators.xml

2011-04-04 Thread Dimuthu Leelarathne
On Mon, Apr 4, 2011 at 1:21 PM, Thilina Buddhika thili...@wso2.com wrote:

 Sorry about that. All the tags are starting with Upper case letters. This
 is the modified config.

 Authenticators xmlns=http://wso2.org/projects/carbon/authenticators.xml
 

 !-- Authenticator Configurations for TokenUIAuthenticator --
 Authenticator name=TokenUIAuthenticator disabled=true
 Priority5/Priority
 /Authenticator

 !-- Authenticator Configurations for SAML2SSOAuthenticator --
 Authenticator name=SAML2SSOAuthenticator
 Priority10/Priority
 Config
 Parameter name=LoginPage/carbon/admin/login.jsp/parameter
 Parameter name=ServiceProviderIDcarbonServer/parameter
 Parameter name=IdentityProviderSSOServiceURL
 https://localhost:9443/samlsso/parameter
 /Config
 /Authenticator

 /Authenticators



+1

Thanks,
DimuthuL



 On Mon, Apr 4, 2011 at 1:18 PM, Afkham Azeez az...@wso2.com wrote:

 Why are some tags starting with capitals and others starting with simple
 letters?


 On Mon, Apr 4, 2011 at 1:15 PM, Thilina Buddhika thili...@wso2.comwrote:

 This is a sample configuration of the authenticators.xml.

 It contains a list of authenticator elements where each of them describes
 a different authenticator. Attribute name is a mandatory attr which is
 used to identify each of the authenticator. It is possible to disable an
 installed authenticator. The optional attribute disabled is used for that
 purpose and it defaults to 'false' if not mentioned specifically.

 Each authenticator has a priority level, which is used in runtime to
 identify the authenticator with the highest priority which can handle a
 particular authentication request.

 'Config' element is used for the authenticator specific configurations.
 These configurations are given as parameter elements.

 Authenticators xmlns=
 http://wso2.org/projects/carbon/authenticators.xml;

 !-- Authenticator Configurations for TokenUIAuthenticator --
 Authenticator name=TokenUIAuthenticator disabled=true
 priority5/priority
 /Authenticator

 !-- Authenticator Configurations for SAML2SSOAuthenticator --
 Authenticator name=SAML2SSOAuthenticator
 priority10/priority
 config
 parameter
 name=LoginPage/carbon/admin/login.jsp/parameter
 parameter name=ServiceProviderIDcarbonServer/parameter
 parameter name=IdentityProviderSSOServiceURL
 https://localhost:9443/samlsso/parameter
 /config
 /Authenticator

 /Authenticators


 Please provide your feedback on this model.

 Thanks,
 Thilina

 On Fri, Apr 1, 2011 at 12:02 PM, Sameera Jayasoma same...@wso2.comwrote:



 On Fri, Apr 1, 2011 at 11:46 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Folks,

 At the moment, we have some configurations related to Carbon
 authenticator framework scattered across multiple configuration files. For
 instance, all the authenticator configurations and priorities are set in 
 the
 carbon.xml and SSO configurations are in the user-mgt.xml. Also since 
 users
 can write their own authenticators and plug into Carbon, we should 
 provide a
 default place to put their configurations.

 After an offline discussion with Azeez, we thought of introducing a new
 config. file called 'authenticators.xml' which will be categorized as an
 advanced configuration file. Users have to modify it only if they want to
 use a different authentication mechanism other than the default
 authenticator.

 WDYT ?


 +1 for applying separation of concerns concept. Merging all
 authenticators related configurations to a single config files is better
 approach.

 Sameera


 Thanks,
 Thilina

 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




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




 --
 Thilina Buddhika
 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




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

Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Prabath Abeysekera
Hi Azeez,

I've checked those logs and couldn't find any further detail other than
what's mentioned
in the mail. That's why I've sent it here to check whether someone else had
experienced
the same before so that I would be able to grab some useful information to
sort this out!



Regards,

On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those logs.


 On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 I'm running into the following error while installing stratos tenant.mgt
 feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




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




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


Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Prabath Abeysekera
Hi,

the corresponding log file is attached herewith!


Regards,

On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other than
 what's mentioned
 in the mail. That's why I've sent it here to check whether someone else had
 experienced
 the same before so that I would be able to grab some useful information to
 sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those
 logs.


 On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 I'm running into the following error while installing stratos tenant.mgt
 feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




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




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

 http://harshana05.blogspot.com/




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

http://harshana05.blogspot.com/
!SESSION 2011-04-04 06:42:44.050 ---
eclipse.buildId=unknown
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application org.eclipse.equinox.p2.director -metadataRepository file:/home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-repo -artifactRepository file:/home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-repo -installIU 

Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Harshana Martin
Hi AmilaM,

On Mon, Apr 4, 2011 at 12:54 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Harshana,

 On Mon, Apr 4, 2011 at 12:11 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi AmilaM,

 On Mon, Apr 4, 2011 at 10:59 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 AFAIU most of the products were broken due to integration test jar being
 missing. We had to manually build the integration/core with tests to get rid
 of this. After that many products were successfully built. I notices some
 breaks in MS, CEP, ESB.

 We have a nother problem. Now we build using the command mvn install.
 Therefore the target doesn't get cleaned AFAIU. So if the build fails for a
 certain product, it will still contain a recently built pack in the target
 and it will get copied to the place where we host them. Then the QA folks
 will test it and report errors.


 If there are any changes to the product's components/features, it gets
 cleaned since we are including the features as dependencies. So this is not
  a problem.


 I think we'll have to clean the product folders before building them (in
 the build script).


 Isn't it a problem in the build script if it is copying the existing
 target in case of a build failure? Ideally if the build is failed, nothing
 should be copied irrespective of existence of target  folder. so fixing the
 build script to stop copying is the correct solution IMO.  Cleaning the
 product folder target will certainly work but i do not think that is the
 proper fix.


 Yes, I agree with your argument. I have selected the easy path at the
 moment because we have to provide packs asap. I will see what can be done to
 improve the script to stop copying existing packs if the build fails.


+1

Thanks and Regards,
Harshana


 Thanks,
 AmilaM.


 Thanks and Regards,
 Harshana


 Thanks,
 AmilaM.

 On Mon, Apr 4, 2011 at 8:35 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 There are many product builds in broken state...

 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




 --
 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] components/bam-data-publisher compilation failure in test cases

2011-04-04 Thread Buddhika Chamith
Looking in to this.

Regards
Buddhika

On Mon, Apr 4, 2011 at 1:39 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject. please fix.

 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[28,8]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 [ERROR]
 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[28,56]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 [ERROR]
 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[45,8]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 [ERROR]
 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[45,56]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 [ERROR]
 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[64,8]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 [ERROR]
 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[64,56]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 [INFO] 6 errors
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[28,8]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[28,56]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[45,8]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 /home/shankar/src/carbon/components/bam-data-publishers/org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/src/test/java/org/wso2/carbon/bam/data/publisher/activity/mediator/activitymediator/ActivityQueueTest.java:[45,56]
 cannot find symbol
 symbol  : class TestEventBrokerService
 location: class
 org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest

 

Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Harshana Martin
Hi SupunM,

On Mon, Apr 4, 2011 at 1:04 PM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 12:04 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi SupunM,

 On Mon, Apr 4, 2011 at 11:17 AM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 11:06 AM, Janaka Ranabahu jan...@wso2.comwrote:



 On Mon, Apr 4, 2011 at 10:59 AM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Hi,

 AFAIU most of the products were broken due to integration test jar
 being missing. We had to manually build the integration/core with tests to
 get rid of this. After that many products were successfully built. I 
 notices
 some breaks in MS, CEP, ESB.

 We have a nother problem. Now we build using the command mvn install.
 Therefore the target doesn't get cleaned AFAIU. So if the build fails for 
 a
 certain product, it will still contain a recently built pack in the target
 and it will get copied to the place where we host them. Then the QA folks
 will test it and report errors.

 I think we'll have to clean the product folders before building them
 (in the build script).


 Is there a way we can configure this from maven itself?. 'cos usually
 when we build the product locally we use them by extracting it there itself.
 While building again the created temp directory has the same name as the
 product folder (eg for appserver :target/wso2appserver-4.1.0-SNAPSHOT). So
 there will be complications.


 What type of complications are you talking about here?


 Hi Harshana,

 Well I didn't come across a runtime issue due to this. But I did saw some
 maven warnings while copying the jars. What I wanted to point out is that
 ideally its better if this scenario can be avoided.


Yes. Your concern is valid but I do not think it is a problem since the
existing jars and the newly created jars are identical.

Thanks and Regards,
Harshana


 thanks,


 Thanks and Regards,
 Harshana


 regards,


 +1.


 Thanks,
 AmilaM.

 On Mon, Apr 4, 2011 at 8:35 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 There are many product builds in broken state...

 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




 --
 Janaka Ranabahu
 Software Engineer
 WSO2 Inc.

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


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




 --
 Supun Malinga,

 Software Engineer,

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


 ___
 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




 --
 Supun Malinga,

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




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


[Carbon-dev] Two services cannot have same name. A service with the EventBrokerService [null] name already exists in the system. error at DSS startup

2011-04-04 Thread Charitha Kankanamge
Hi,

I just downloaded DSS pack from [1] and noticed the following error at the
server startup.

[1]http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/

ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error
building service from bundle : Symbolic Name: org.wso2.carbon.event.ws,Bundle
Version: 3.2.0.SNAPSHOT, ID: 153
org.apache.axis2.AxisFault: Two services cannot have same name.  A service
with the EventBrokerService [null] name already exists in the system.
at
org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:492)
at
org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)
at
org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:752)
at
org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:608)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)

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


Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Dimuthu Leelarathne
Hi,

We have encountered the same problem with the same feature before. It got
fixed mysteriously automatically.

Check the mail with the subject,
[Carbon-dev] IS product build failure

This worries me!

Thanks,
Dimuthu

On Mon, Apr 4, 2011 at 1:35 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 the corresponding log file is attached herewith!


 Regards,

 On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other than
 what's mentioned
 in the mail. That's why I've sent it here to check whether someone else
 had experienced
 the same before so that I would be able to grab some useful information to
 sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those
 logs.


 On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera 
 praba...@wso2.comwrote:

 Hi,

 I'm running into the following error while installing stratos tenant.mgt
 feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




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




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

 http://harshana05.blogspot.com/




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


Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Sameera Jayasoma
Nothing get fixed automatically. :)

Prabath, can you send all the log files. There should be two.

Thank
Sameera

On Mon, Apr 4, 2011 at 1:57 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi,

 We have encountered the same problem with the same feature before. It got
 fixed mysteriously automatically.

 Check the mail with the subject,
 [Carbon-dev] IS product build failure

 This worries me!

 Thanks,
 Dimuthu


 On Mon, Apr 4, 2011 at 1:35 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 the corresponding log file is attached herewith!


 Regards,

 On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other than
 what's mentioned
 in the mail. That's why I've sent it here to check whether someone else
 had experienced
 the same before so that I would be able to grab some useful information
 to sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those
 logs.


  On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera praba...@wso2.com
  wrote:

 Hi,

 I'm running into the following error while installing stratos
 tenant.mgt feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




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




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

 http://harshana05.blogspot.com/




 --
 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 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] Two services cannot have same name. A service with the EventBrokerService [null] name already exists in the system. error at DSS startup

2011-04-04 Thread Danushka Menikkumbura
It looks like the DSS still uses the old eventing implementation in it.

Thanks,
Danushka

On Mon, Apr 4, 2011 at 1:57 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi,

 I just downloaded DSS pack from [1] and noticed the following error at the
 server startup.

 [1]http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/

 ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error
 building service from bundle : Symbolic Name: org.wso2.carbon.event.ws,Bundle
 Version: 3.2.0.SNAPSHOT, ID: 153
 org.apache.axis2.AxisFault: Two services cannot have same name.  A service
 with the EventBrokerService [null] name already exists in the system.
 at
 org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:492)
 at
 org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)
 at
 org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:752)
 at
 org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:608)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
 at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)

 Regards
 Charitha


 ___
 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] Error while installing tenant.mgt feature!

2011-04-04 Thread Prabath Abeysekera
Hi Sameera,

The necessary log files are attached herewith.

Seems like this's occurred due to nonexistence of conf folder in
tenant.mgt.feature.zip.
Right now I'm delving into the issue further to come up with a fix for this.
Any help would
be much appreciated!


Regards,

On Mon, Apr 4, 2011 at 2:08 PM, Sameera Jayasoma same...@wso2.com wrote:

 Nothing get fixed automatically. :)

 Prabath, can you send all the log files. There should be two.

 Thank
 Sameera


 On Mon, Apr 4, 2011 at 1:57 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi,

 We have encountered the same problem with the same feature before. It got
 fixed mysteriously automatically.

 Check the mail with the subject,
 [Carbon-dev] IS product build failure

 This worries me!

 Thanks,
 Dimuthu


 On Mon, Apr 4, 2011 at 1:35 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 the corresponding log file is attached herewith!


 Regards,

 On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other than
 what's mentioned
 in the mail. That's why I've sent it here to check whether someone else
 had experienced
 the same before so that I would be able to grab some useful information
 to sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those
 logs.


  On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera 
 praba...@wso2.com wrote:

 Hi,

 I'm running into the following error while installing stratos
 tenant.mgt feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




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




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

 http://harshana05.blogspot.com/




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




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

http://harshana05.blogspot.com/
!SESSION 2011-04-04 06:42:32.573 ---
eclipse.buildId=unknown
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepositoryName wso2stratos-dss-profile-gen -artifactRepositoryName wso2stratos-dss-profile-gen -metadataRepository file:/home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-repo -artifactRepository 

Re: [Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/ms

2011-04-04 Thread Amila Maha Arachchi
Hi,

These seems related to stub migration. Mashup guys, please have a look and
fix this. We need all the products to be successful by EOD today.

Thanks,
AmilaM.

On Mon, Apr 4, 2011 at 1:20 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Installing org.wso2.carbon.mex.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.registry.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.registry.resource.properties.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.docrequestprocessor.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.gadgetrequestprocessor.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.sourcerequestprocessor.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsscraper.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsstubgenerator.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.tryit.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.ms.styles.feature.group 2.3.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.discovery.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.discovery.admin.ui.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.authenticator.token.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.application.deployer.mashup.feature.group
 3.2.0.SNAPSHOT.
 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: WSO2 Carbon - Javascript Service Hosting
 Feature 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group
 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: org.wso2.carbon.mashup.jsservices.ui
 3.2.0.SNAPSHOT (org.wso2.carbon.mashup.jsservices.ui 3.2.0.SNAPSHOT)
 requires 'package org.wso2.carbon.mashup.jsservices.stub.fileupload
 [3.2.0.SNAPSHOT,3.3.0)' but it could not be found
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: WSO2 Carbon - Javascript Service Hosting Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.jsservices.ui.feature.group [3.2.0.SNAPSHOT]
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: WSO2 Carbon - Javascript Service Hosting UI Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.mashup.jsservices.ui [3.2.0.SNAPSHOT]
 [ERROR] Application failed, log file location:
 /home/carbon/carbon/products/ms/modules/p2-profile-gen/product/target/p2-agent/configuration/1301903391335.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 minute 7 seconds
 [INFO] Finished at: Mon Apr 04 13:20:03 IST 2011
 [INFO] Final Memory: 166M/1242M
 [INFO]
 
 ___
 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] Error while installing tenant.mgt feature!

2011-04-04 Thread Sameera Jayasoma
On Mon, Apr 4, 2011 at 2:24 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Sameera,

 The necessary log files are attached herewith.

 Seems like this's occurred due to nonexistence of conf folder in
 tenant.mgt.feature.zip.
 Right now I'm delving into the issue further to come up with a fix for
 this. Any help would
 be much appreciated!


This is an issue with the tenant-mgt feature. Who is working on this
component?

Thanks
Sameera



 Regards,

 On Mon, Apr 4, 2011 at 2:08 PM, Sameera Jayasoma same...@wso2.com wrote:

 Nothing get fixed automatically. :)

 Prabath, can you send all the log files. There should be two.

 Thank
 Sameera


 On Mon, Apr 4, 2011 at 1:57 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi,

 We have encountered the same problem with the same feature before. It got
 fixed mysteriously automatically.

 Check the mail with the subject,
 [Carbon-dev] IS product build failure

 This worries me!

 Thanks,
 Dimuthu


 On Mon, Apr 4, 2011 at 1:35 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 the corresponding log file is attached herewith!


 Regards,

 On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera 
 praba...@wso2.comwrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other than
 what's mentioned
 in the mail. That's why I've sent it here to check whether someone else
 had experienced
 the same before so that I would be able to grab some useful information
 to sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those
 logs.


  On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera 
 praba...@wso2.com wrote:

 Hi,

 I'm running into the following error while installing stratos
 tenant.mgt feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




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




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

 http://harshana05.blogspot.com/




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




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

 http://harshana05.blogspot.com/




-- 
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] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/ms

2011-04-04 Thread Dinithi Nallaperuma
Hi,

Looking into this issue.

On Mon, Apr 4, 2011 at 2:25 PM, Amila Maha Arachchi ami...@wso2.com wrote:

 Hi,

 These seems related to stub migration. Mashup guys, please have a look and
 fix this. We need all the products to be successful by EOD today.

 Thanks,
 AmilaM.


 On Mon, Apr 4, 2011 at 1:20 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Installing org.wso2.carbon.mex.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.registry.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.registry.resource.properties.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.docrequestprocessor.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.gadgetrequestprocessor.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.sourcerequestprocessor.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsscraper.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsstubgenerator.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.tryit.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.ms.styles.feature.group 2.3.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.discovery.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.discovery.admin.ui.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.authenticator.token.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.application.deployer.mashup.feature.group 3.2.0.SNAPSHOT.
 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: WSO2 Carbon - Javascript Service
 Hosting Feature 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group
 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: org.wso2.carbon.mashup.jsservices.ui
 3.2.0.SNAPSHOT (org.wso2.carbon.mashup.jsservices.ui 3.2.0.SNAPSHOT)
 requires 'package org.wso2.carbon.mashup.jsservices.stub.fileupload
 [3.2.0.SNAPSHOT,3.3.0)' but it could not be found
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: WSO2 Carbon - Javascript Service Hosting Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.jsservices.ui.feature.group [3.2.0.SNAPSHOT]
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: WSO2 Carbon - Javascript Service Hosting UI Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.mashup.jsservices.ui [3.2.0.SNAPSHOT]
 [ERROR] Application failed, log file location:
 /home/carbon/carbon/products/ms/modules/p2-profile-gen/product/target/p2-agent/configuration/1301903391335.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 minute 7 seconds
 [INFO] Finished at: Mon Apr 04 13:20:03 IST 2011
 [INFO] Final Memory: 166M/1242M
 [INFO]
 
 ___
 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




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


Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Dimuthu Leelarathne
Hi,

I am working on it. That is why I am concerned.

thx,
dimuthu

On Mon, Apr 4, 2011 at 2:26 PM, Sameera Jayasoma same...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 2:24 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Sameera,

 The necessary log files are attached herewith.

 Seems like this's occurred due to nonexistence of conf folder in
 tenant.mgt.feature.zip.
 Right now I'm delving into the issue further to come up with a fix for
 this. Any help would
 be much appreciated!


 This is an issue with the tenant-mgt feature. Who is working on this
 component?

 Thanks
 Sameera



 Regards,

 On Mon, Apr 4, 2011 at 2:08 PM, Sameera Jayasoma same...@wso2.comwrote:

 Nothing get fixed automatically. :)

 Prabath, can you send all the log files. There should be two.

 Thank
 Sameera


 On Mon, Apr 4, 2011 at 1:57 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:


 Hi,

 We have encountered the same problem with the same feature before. It
 got fixed mysteriously automatically.

 Check the mail with the subject,
 [Carbon-dev] IS product build failure

 This worries me!

 Thanks,
 Dimuthu


 On Mon, Apr 4, 2011 at 1:35 PM, Prabath Abeysekera 
 praba...@wso2.comwrote:

 Hi,

 the corresponding log file is attached herewith!


 Regards,

 On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera 
 praba...@wso2.comwrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other
 than what's mentioned
 in the mail. That's why I've sent it here to check whether someone
 else had experienced
 the same before so that I would be able to grab some useful
 information to sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check those
 logs.


  On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera 
 praba...@wso2.com wrote:

 Hi,

 I'm running into the following error while installing stratos
 tenant.mgt feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




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




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

 http://harshana05.blogspot.com/




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




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

 http://harshana05.blogspot.com/




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

Re: [Carbon-dev] Two services cannot have same name. A service with the EventBrokerService [null] name already exists in the system. error at DSS startup

2011-04-04 Thread Kasun Indrasiri
I guess its not related DSS. AFAIK, Shammi has removed event.broker feature
from event feature but I guess registry components feature still use this
event.broker feature.
On Mon, Apr 4, 2011 at 2:21 PM, Danushka Menikkumbura danus...@wso2.comwrote:

 It looks like the DSS still uses the old eventing implementation in it.

 Thanks,
 Danushka

 On Mon, Apr 4, 2011 at 1:57 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi,

 I just downloaded DSS pack from [1] and noticed the following error at the
 server startup.

 [1]http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/

 ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error
 building service from bundle : Symbolic Name: org.wso2.carbon.event.ws,Bundle
 Version: 3.2.0.SNAPSHOT, ID: 153
 org.apache.axis2.AxisFault: Two services cannot have same name.  A service
 with the EventBrokerService [null] name already exists in the system.
 at
 org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:492)
 at
 org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)
 at
 org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:752)
 at
 org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:608)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
 at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)

 Regards
 Charitha


 ___
 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




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


Re: [Carbon-dev] Two services cannot have same name. A service with the EventBrokerService [null] name already exists in the system. error at DSS startup

2011-04-04 Thread Prabath Abeysekera
Hi Dhanushka,

On Mon, Apr 4, 2011 at 2:21 PM, Danushka Menikkumbura danus...@wso2.comwrote:

 It looks like the DSS still uses the old eventing implementation in it.


DSS'd already moved to the new eventing implementation sometime back. As
we've identified,
the reason for this issue is the use of registry community feature which we
are planning to
remove from the DSS feature list soon. I ll fix this issue asap.


Regards,



 Thanks,
 Danushka

 On Mon, Apr 4, 2011 at 1:57 PM, Charitha Kankanamge chari...@wso2.comwrote:

 Hi,

 I just downloaded DSS pack from [1] and noticed the following error at the
 server startup.

 [1]http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/

 ERROR {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error
 building service from bundle : Symbolic Name: org.wso2.carbon.event.ws,Bundle
 Version: 3.2.0.SNAPSHOT, ID: 153
 org.apache.axis2.AxisFault: Two services cannot have same name.  A service
 with the EventBrokerService [null] name already exists in the system.
 at
 org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:492)
 at
 org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)
 at
 org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:752)
 at
 org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:608)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
 at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)

 Regards
 Charitha


 ___
 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




-- 
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] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/products/esb

2011-04-04 Thread WSO2 Builder
[INFO] Installing org.wso2.carbon.mex.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.resource.properties.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.docrequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.gadgetrequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.sourcerequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsscraper.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsstubgenerator.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.tryit.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.ms.styles.feature.group 2.3.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.admin.ui.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing 
org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.authenticator.token.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.deployer.mashup.feature.group 
3.2.0.SNAPSHOT.
[ERROR] Cannot complete the install because one or more required items could 
not be found.
[ERROR]  Software being installed: WSO2 Carbon - Javascript Service Hosting 
Feature 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
[ERROR]  Missing requirement: org.wso2.carbon.mashup.jsservices.ui 
3.2.0.SNAPSHOT (org.wso2.carbon.mashup.jsservices.ui 3.2.0.SNAPSHOT) requires 
'package org.wso2.carbon.mashup.jsservices.stub.fileupload 
[3.2.0.SNAPSHOT,3.3.0)' but it could not be found
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Javascript Service Hosting Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.jsservices.ui.feature.group [3.2.0.SNAPSHOT]
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Javascript Service Hosting UI Feature 
3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.mashup.jsservices.ui [3.2.0.SNAPSHOT]
[ERROR] Application failed, log file location: 
/home/carbon/carbon/products/ms/modules/p2-profile-gen/product/target/p2-agent/configuration/1301903391335.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Mon Apr 04 13:20:03 IST 2011
[INFO] Final Memory: 166M/1242M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   WSO2 DataServices Parent
[INFO]   WSO2 DataServices Styles Parent
[INFO]   DataServices UI styles
[INFO]   WSO2 Stratos DSS - UI styles
[INFO]   WSO2 DataServices Samples Parent
[INFO]   DataServices Samples Parent
[INFO]   DataServices Clients
[INFO]   WSO2 Stratos DSS - Samples
[INFO]   WSO2 Stratos DSS - Sample Clients
[INFO]   WSO2 DataServices Features Parent
[INFO]   WSO2 DataServices - Style Features
[INFO]   WSO2 Stratos DSS - Features Aggregator Module
[INFO]   WSO2 Stratos DSS - Style Features
[INFO]   WSO2 Stratos DSS - Login User Interface
[INFO]   WSO2 Stratos DSS - Deployment Features
[INFO]   WSO2 Stratos Data Services Server - Dashboard UI
[INFO]   WSO2 Stratos DSS - Dashboard UI Features
[INFO]   WSO2 DataServices P2 Profile Generation Parent
[INFO]   WSO2 DataServices - DataServices Profile Generation
[INFO]   WSO2 Stratos DSS - DataServices Profile Generation
[INFO]   WSO2 DataServices Distribution Parent
[INFO]   Data Services Server Distribution
[INFO]   WSO2 Stratos DSS - Distribution
[INFO]   WSO2 DSS - Integration Tests
[INFO]   WSO2 DSS - Samples Integration
[INFO] 
[INFO] Building WSO2 DataServices Parent
[INFO]task-segment: [install]
--
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting /home/carbon/carbon/products/esb/modules/integration/core/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy 

Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Supun Malinga
On Mon, Apr 4, 2011 at 1:52 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi SupunM,

 On Mon, Apr 4, 2011 at 1:04 PM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 12:04 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi SupunM,

 On Mon, Apr 4, 2011 at 11:17 AM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 11:06 AM, Janaka Ranabahu jan...@wso2.comwrote:



 On Mon, Apr 4, 2011 at 10:59 AM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Hi,

 AFAIU most of the products were broken due to integration test jar
 being missing. We had to manually build the integration/core with tests 
 to
 get rid of this. After that many products were successfully built. I 
 notices
 some breaks in MS, CEP, ESB.

 We have a nother problem. Now we build using the command mvn
 install. Therefore the target doesn't get cleaned AFAIU. So if the build
 fails for a certain product, it will still contain a recently built pack 
 in
 the target and it will get copied to the place where we host them. Then 
 the
 QA folks will test it and report errors.

 I think we'll have to clean the product folders before building them
 (in the build script).


 Is there a way we can configure this from maven itself?. 'cos usually
 when we build the product locally we use them by extracting it there 
 itself.
 While building again the created temp directory has the same name as the
 product folder (eg for appserver :target/wso2appserver-4.1.0-SNAPSHOT). So
 there will be complications.


 What type of complications are you talking about here?


 Hi Harshana,

 Well I didn't come across a runtime issue due to this. But I did saw some
 maven warnings while copying the jars. What I wanted to point out is that
 ideally its better if this scenario can be avoided.

 Hi Harshana,


 Yes. Your concern is valid but I do not think it is a problem since the
 existing jars and the newly created jars are identical.


I'm not sure. Maven gives following error[1], messages in p2 generation when
I use, mvn install.

regards,

[1]
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/asm-1.5.3.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/axis2-jaxbri-1.6.1.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/axis2-jibx-1.6.1.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/bcel-5.2.0.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/cglib-2.1.3.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/commons-beanutils-1.8.0.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/commons-cli-1.2.0.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/commons-configuration-1.6.0.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/commons-digester-1.8.1.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/derby-10.3.2.1wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/geronimo-jms_1.1_spec-1.1.0.wso2v1.jar
[ERROR] Artifact repository out of sync. Overwriting
/home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/google-collect-1.0.0.wso2v2.jar
[ERROR] Artifact repository out of sync. Overwriting

Re: [Carbon-dev] components/bam-data-publisher compilation failure in test cases

2011-04-04 Thread Buddhika Chamith
Fixed.

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


[Carbon-dev] Test failure in components/broker/org.wso2.carbon.broker.core

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject.

surefire report of failing case attached.

-- 
S.Uthaiyashankar
Senior Architect  Senior Manager
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware
---
Test set: org.wso2.carbon.broker.core.jms.TestJMSBrokerType
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.263 sec  
FAILURE!
testJMSBrokerType(org.wso2.carbon.broker.core.jms.TestJMSBrokerType)  Time 
elapsed: 1.188 sec   ERROR!
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at 
org.apache.qpid.jndi.PropertiesFileInitialContextFactory.init(PropertiesFileInitialContextFactory.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.init(InitialContext.java:197)
at 
org.wso2.carbon.broker.core.internal.jms.JMSBrokerType.createInitialContext(JMSBrokerType.java:203)
at 
org.wso2.carbon.broker.core.internal.jms.JMSBrokerType.subscribe(JMSBrokerType.java:126)
at 
org.wso2.carbon.broker.core.jms.TestJMSBrokerType.testJMSBrokerType(TestJMSBrokerType.java:84)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at 
org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:103)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 40 more

___
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/esb

2011-04-04 Thread Amila Maha Arachchi
ESB team,

Please have a look. It seems like a jar related to integration testing is
missing.

*[INFO] --*
*--**
[ERROR] BUILD ERROR
[INFO] --**--**

[INFO] Failed to resolve artifact.

Missing:* *
--
1) org.wso2.esb:org.wso2.esb.**integration.core:test-jar:**
tests:4.0.0-SNAPSHOT

* *  Try downloading the file manually from the project website.

* *  Then, install it using the command:
 mvn install:install-file -DgroupId=org.wso2.esb
-DartifactId=org.wso2.esb.**integration.core -Dversion=4.0.0-SNAPSHOT
-Dclassifier=tests -Dpackaging=test-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.esb
-DartifactId=org.wso2.esb.**integration.core -Dversion=4.0.0-SNAPSHOT
-Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

* *  Path to dependency:
   1) org.wso2.esb:endpoints:jar:4.**0.0-SNAPSHOT
   2) org.wso2.esb:org.wso2.esb.**integration.core:test-jar:**
tests:4.0.0-SNAPSHOT

--* *
1 required artifact is missing.

for artifact:* *
 org.wso2.esb:endpoints:jar:4.**0.0-SNAPSHOT*



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


Re: [Carbon-dev] Release Managers please pay attention to the broken product builds

2011-04-04 Thread Harshana Martin
Hi SupunM,

On Mon, Apr 4, 2011 at 2:59 PM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 1:52 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi SupunM,

 On Mon, Apr 4, 2011 at 1:04 PM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 12:04 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi SupunM,

 On Mon, Apr 4, 2011 at 11:17 AM, Supun Malinga sup...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 11:06 AM, Janaka Ranabahu jan...@wso2.comwrote:



 On Mon, Apr 4, 2011 at 10:59 AM, Amila Maha Arachchi ami...@wso2.com
  wrote:

 Hi,

 AFAIU most of the products were broken due to integration test jar
 being missing. We had to manually build the integration/core with tests 
 to
 get rid of this. After that many products were successfully built. I 
 notices
 some breaks in MS, CEP, ESB.

 We have a nother problem. Now we build using the command mvn
 install. Therefore the target doesn't get cleaned AFAIU. So if the 
 build
 fails for a certain product, it will still contain a recently built 
 pack in
 the target and it will get copied to the place where we host them. Then 
 the
 QA folks will test it and report errors.

 I think we'll have to clean the product folders before building them
 (in the build script).


 Is there a way we can configure this from maven itself?. 'cos usually
 when we build the product locally we use them by extracting it there 
 itself.
 While building again the created temp directory has the same name as the
 product folder (eg for appserver :target/wso2appserver-4.1.0-SNAPSHOT). So
 there will be complications.


 What type of complications are you talking about here?


 Hi Harshana,

 Well I didn't come across a runtime issue due to this. But I did saw some
 maven warnings while copying the jars. What I wanted to point out is that
 ideally its better if this scenario can be avoided.

 Hi Harshana,


 Yes. Your concern is valid but I do not think it is a problem since the
 existing jars and the newly created jars are identical.


 I'm not sure. Maven gives following error[1], messages in p2 generation
 when I use, mvn install.


Yes. But still this does not break build. And this occurs only when there is
no change in the product :).

Thanks and Regards,
Harshana


 regards,

 [1]
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/asm-1.5.3.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/axis2-jaxbri-1.6.1.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/axis2-jibx-1.6.1.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/bcel-5.2.0.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/cglib-2.1.3.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/commons-beanutils-1.8.0.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/commons-cli-1.2.0.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/commons-configuration-1.6.0.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/commons-digester-1.8.1.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/derby-10.3.2.1wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 /home/disk1/carbon_builds/trunk/products/appserver/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/geronimo-jms_1.1_spec-1.1.0.wso2v1.jar
 [ERROR] Artifact repository out of sync. Overwriting
 

Re: [Carbon-dev] Test failure in components/broker/org.wso2.carbon.broker.core

2011-04-04 Thread Danushka Menikkumbura
Looks like the slf4j jar is not on classpath. I will take a look at this.

Danushka

On Mon, Apr 4, 2011 at 3:10 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject.

 surefire report of failing case attached.

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


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


Re: [Carbon-dev] Test failure in components/governance/org.wso2.carbon.governance.api

2011-04-04 Thread Senaka Fernando
We have already started looking into this. This is due to the introduction
of caching at the registry kernel level.

Thanks,
Senaka.

On Mon, Apr 4, 2011 at 1:01 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject.

 surefire reports of failing cases are attached.

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




-- 
*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] Test failure in components/registry/org.wso2.carbon.registry.social.impl

2011-04-04 Thread Senaka Fernando
Will have a look into this.

Thanks,
Senaka.

On Mon, Apr 4, 2011 at 12:57 PM, Selvaratnam Uthaiyashankar 
shan...@wso2.com wrote:

 $subject.

 surefire reports are attached.

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




-- 
*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] components/bam-data-publisher compilation failure in test cases

2011-04-04 Thread Selvaratnam Uthaiyashankar
Compilation is fixed now. But still test case is failing in
org.wso2.carbon.bam.data.publisher.activity.mediator/bam-activity-mediator/.
Please have a look.

---
Test set:
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest
---
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.076 sec
 FAILURE!
testMultipleActivities2(org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest)
Time elapsed: 5.255 sec   FAILURE!
junit.framework.AssertionFailedError: expected:1000 but was:770
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at junit.framework.Assert.assertEquals(Assert.java:204)
at
org.wso2.carbon.bam.data.publisher.activity.mediator.activitymediator.ActivityQueueTest.testMultipleActivities2(ActivityQueueTest.java:81)



On Mon, Apr 4, 2011 at 3:04 PM, Buddhika Chamith buddhi...@wso2.com wrote:

 Fixed.

 Regards
 Buddhika




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


Re: [Carbon-dev] Test failure in components/broker/org.wso2.carbon.broker.core

2011-04-04 Thread Shammi Jayasinghe
I ll be working on this.

Thanks
Shammi

On Mon, Apr 4, 2011 at 3:10 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject.

 surefire report of failing case attached.

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




-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] components/cep compilation failure in test cases

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject

[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to
/home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/src/test/java/org/wso2/carbon/cep/core/internal/process/TestOMElementProcessor.java:[55,45]
getValue(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Listorg.wso2.carbon.cep.core.XpathDefinition)
in org.wso2.carbon.cep.core.internal.process.OMElementProcessor cannot be
applied to
(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Mapjava.lang.String,java.lang.String)

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

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
/home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/src/test/java/org/wso2/carbon/cep/core/internal/process/TestOMElementProcessor.java:[55,45]
getValue(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Listorg.wso2.carbon.cep.core.XpathDefinition)
in org.wso2.carbon.cep.core.internal.process.OMElementProcessor cannot be
applied to
(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Mapjava.lang.String,java.lang.String)


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


Re: [Carbon-dev] Tenant Registration failure - Stratos Manager 1.1.0

2011-04-04 Thread Dimuthu Leelarathne
Hi,

Fixed.

tx,
dimuthu

On Fri, Apr 1, 2011 at 10:43 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 On Fri, Apr 1, 2011 at 10:13 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 This works in a one week old build I got from AmilaM. Some change done
 this week has broken this.


 Yep. Managed to reproduce on the latest build. I am looking into this.

 thanks,
 dimuthu



 Shankar


 On Fri, Apr 1, 2011 at 8:44 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 Hi,

 When trying to register a tenant in manager (trunk version), getting
 following exception. Any help?

 [2011-04-01 08:42:12,746] ERROR
 {org.wso2.carbon.registry.core.session.UserRegistry} -  Invalid Registry
 Root. The root of the registry must not be a resource.
 {org.wso2.carbon.registry.core.session.UserRegistry}

 [2011-04-01 08:42:12,746] FATAL
 {org.wso2.carbon.registry.core.session.UserRegistry} -  Failed to add the
 root collection to the coreRegistry.
 {org.wso2.carbon.registry.core.session.UserRegistry}

 org.wso2.carbon.registry.core.exceptions.RegistryException: Invalid
 Registry Root. The root of the registry must not be a resource.

 at
 org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:357)

 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.getSystemRegistry(EmbeddedRegistryService.java:291)

 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getConfigSystemRegistry(EmbeddedRegistryService.java:484)

 at
 org.wso2.carbon.tenant.mgt.core.internal.TenantMgtCoreServiceComponent.getConfigSystemRegistry(TenantMgtCoreServiceComponent.java:109)

 at
 org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.copyUIPermissions(DefaultTenantPersistor.java:226)

 at
 org.wso2.carbon.tenant.mgt.core.DefaultTenantPersistor.persistTenant(DefaultTenantPersistor.java:107)

 at
 org.wso2.carbon.tenant.mgt.services.TenantSelfRegistrationService.registerTenant(TenantSelfRegistrationService.java:112)

 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:242)

 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)

 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

 at
 

[Carbon-dev] WSO2 Carbon Continuous Build was SUCCESSFUL

2011-04-04 Thread WSO2 Builder
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable 
to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command: 
mvn install:install-file -DgroupId=org.wso2.gs 
-DartifactId=org.wso2.gs.styles.feature -Dversion=2.0.0-SNAPSHOT 
-Dpackaging=zip -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: 
mvn deploy:deploy-file -DgroupId=org.wso2.gs 
-DartifactId=org.wso2.gs.styles.feature -Dversion=2.0.0-SNAPSHOT 
-Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.gs:org.wso2.gs.styles.feature:zip:2.0.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)


at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at 
org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
... 22 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
... 24 more
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] ERROR

Unable to download the artifact from any repository
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Apr 04 15:37:18 IST 2011
[INFO] Final Memory: 27M/1237M
[INFO] 
2011-04-04_15-34-08
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


[Carbon-dev] WSO2 Carbon Continuous Build has FAILED /home/carbon/carbon/features/repository

2011-04-04 Thread WSO2 Builder
[INFO] Installing org.wso2.carbon.mex.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.resource.properties.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.docrequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.gadgetrequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.sourcerequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsscraper.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsstubgenerator.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.tryit.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.ms.styles.feature.group 2.3.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.admin.ui.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing 
org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.authenticator.token.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.deployer.mashup.feature.group 
3.2.0.SNAPSHOT.
[ERROR] Cannot complete the install because one or more required items could 
not be found.
[ERROR]  Software being installed: WSO2 Carbon - Javascript Service Hosting 
Feature 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
[ERROR]  Missing requirement: org.wso2.carbon.mashup.jsservices.ui 
3.2.0.SNAPSHOT (org.wso2.carbon.mashup.jsservices.ui 3.2.0.SNAPSHOT) requires 
'package org.wso2.carbon.mashup.jsservices.stub.fileupload 
[3.2.0.SNAPSHOT,3.3.0)' but it could not be found
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Javascript Service Hosting Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.jsservices.ui.feature.group [3.2.0.SNAPSHOT]
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Javascript Service Hosting UI Feature 
3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.mashup.jsservices.ui [3.2.0.SNAPSHOT]
[ERROR] Application failed, log file location: 
/home/carbon/carbon/products/ms/modules/p2-profile-gen/product/target/p2-agent/configuration/1301903391335.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Mon Apr 04 13:20:03 IST 2011
[INFO] Final Memory: 166M/1242M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   WSO2 DataServices Parent
[INFO]   WSO2 DataServices Styles Parent
[INFO]   DataServices UI styles
[INFO]   WSO2 Stratos DSS - UI styles
[INFO]   WSO2 DataServices Samples Parent
[INFO]   DataServices Samples Parent
[INFO]   DataServices Clients
[INFO]   WSO2 Stratos DSS - Samples
[INFO]   WSO2 Stratos DSS - Sample Clients
[INFO]   WSO2 DataServices Features Parent
[INFO]   WSO2 DataServices - Style Features
[INFO]   WSO2 Stratos DSS - Features Aggregator Module
[INFO]   WSO2 Stratos DSS - Style Features
[INFO]   WSO2 Stratos DSS - Login User Interface
[INFO]   WSO2 Stratos DSS - Deployment Features
[INFO]   WSO2 Stratos Data Services Server - Dashboard UI
[INFO]   WSO2 Stratos DSS - Dashboard UI Features
[INFO]   WSO2 DataServices P2 Profile Generation Parent
[INFO]   WSO2 DataServices - DataServices Profile Generation
[INFO]   WSO2 Stratos DSS - DataServices Profile Generation
[INFO]   WSO2 DataServices Distribution Parent
[INFO]   Data Services Server Distribution
[INFO]   WSO2 Stratos DSS - Distribution
[INFO]   WSO2 DSS - Integration Tests
[INFO]   WSO2 DSS - Samples Integration
[INFO] 
[INFO] Building WSO2 DataServices Parent
[INFO]task-segment: [install]
--
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting /home/carbon/carbon/products/esb/modules/integration/core/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy 

[Carbon-dev] WSO2 Carbon Continuous Build has FAILED

2011-04-04 Thread WSO2 Builder
[INFO] Installing org.wso2.carbon.mex.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.registry.resource.properties.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.docrequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.gadgetrequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.sourcerequestprocessor.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsscraper.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.jsstubgenerator.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.tryit.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.ms.styles.feature.group 2.3.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.core.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.discovery.admin.ui.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing 
org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.identity.authenticator.token.feature.group 
3.2.0.SNAPSHOT.
[INFO] Installing org.wso2.carbon.application.deployer.mashup.feature.group 
3.2.0.SNAPSHOT.
[ERROR] Cannot complete the install because one or more required items could 
not be found.
[ERROR]  Software being installed: WSO2 Carbon - Javascript Service Hosting 
Feature 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
[ERROR]  Missing requirement: org.wso2.carbon.mashup.jsservices.ui 
3.2.0.SNAPSHOT (org.wso2.carbon.mashup.jsservices.ui 3.2.0.SNAPSHOT) requires 
'package org.wso2.carbon.mashup.jsservices.stub.fileupload 
[3.2.0.SNAPSHOT,3.3.0)' but it could not be found
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Javascript Service Hosting Feature 3.2.0.SNAPSHOT 
(org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.jsservices.ui.feature.group [3.2.0.SNAPSHOT]
[ERROR]  Cannot satisfy dependency:
[ERROR]   From: WSO2 Carbon - Javascript Service Hosting UI Feature 
3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 3.2.0.SNAPSHOT)
[ERROR]   To: org.wso2.carbon.mashup.jsservices.ui [3.2.0.SNAPSHOT]
[ERROR] Application failed, log file location: 
/home/carbon/carbon/products/ms/modules/p2-profile-gen/product/target/p2-agent/configuration/1301903391335.log
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] 

[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Mon Apr 04 13:20:03 IST 2011
[INFO] Final Memory: 166M/1242M
[INFO] 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   WSO2 DataServices Parent
[INFO]   WSO2 DataServices Styles Parent
[INFO]   DataServices UI styles
[INFO]   WSO2 Stratos DSS - UI styles
[INFO]   WSO2 DataServices Samples Parent
[INFO]   DataServices Samples Parent
[INFO]   DataServices Clients
[INFO]   WSO2 Stratos DSS - Samples
[INFO]   WSO2 Stratos DSS - Sample Clients
[INFO]   WSO2 DataServices Features Parent
[INFO]   WSO2 DataServices - Style Features
[INFO]   WSO2 Stratos DSS - Features Aggregator Module
[INFO]   WSO2 Stratos DSS - Style Features
[INFO]   WSO2 Stratos DSS - Login User Interface
[INFO]   WSO2 Stratos DSS - Deployment Features
[INFO]   WSO2 Stratos Data Services Server - Dashboard UI
[INFO]   WSO2 Stratos DSS - Dashboard UI Features
[INFO]   WSO2 DataServices P2 Profile Generation Parent
[INFO]   WSO2 DataServices - DataServices Profile Generation
[INFO]   WSO2 Stratos DSS - DataServices Profile Generation
[INFO]   WSO2 DataServices Distribution Parent
[INFO]   Data Services Server Distribution
[INFO]   WSO2 Stratos DSS - Distribution
[INFO]   WSO2 DSS - Integration Tests
[INFO]   WSO2 DSS - Samples Integration
[INFO] 
[INFO] Building WSO2 DataServices Parent
[INFO]task-segment: [install]
--
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting /home/carbon/carbon/products/esb/modules/integration/core/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy 

[Carbon-dev] Test failure in components/rules/org.wso2.carbon.rule.service

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject.

surefire report of failing case attached.

-- 
S.Uthaiyashankar
Senior Architect  Senior Manager
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware
---
Test set: org.wso2.carbon.rule.samples.RuleServiceTest
---
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.22 sec  
FAILURE!
testOne(org.wso2.carbon.rule.samples.RuleServiceTest)  Time elapsed: 0.189 sec  
 ERROR!
java.lang.Exception: repository directory 
/home/shankar/src/carbon/components/rule/org.wso2.carbon.rule.service/./org.wso2.carbon.rule.service/src/test/repository
 does not exists
at 
org.wso2.carbon.rule.samples.SimpleServer.getNewConfigurationContext(SimpleServer.java:149)
at 
org.wso2.carbon.rule.samples.SimpleServer.start(SimpleServer.java:110)
at 
org.wso2.carbon.rule.samples.AbstractTestCase.setUp(AbstractTestCase.java:60)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
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.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

testMock(org.wso2.carbon.rule.samples.RuleServiceTest)  Time elapsed: 0.001 sec 
  ERROR!
java.lang.Exception: repository directory 
/home/shankar/src/carbon/components/rule/org.wso2.carbon.rule.service/./org.wso2.carbon.rule.service/src/test/repository
 does not exists
at 
org.wso2.carbon.rule.samples.SimpleServer.getNewConfigurationContext(SimpleServer.java:149)
at 
org.wso2.carbon.rule.samples.SimpleServer.start(SimpleServer.java:110)
at 
org.wso2.carbon.rule.samples.AbstractTestCase.setUp(AbstractTestCase.java:60)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
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.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at 

Re: [Carbon-dev] Error while installing tenant.mgt feature!

2011-04-04 Thread Sameera Jayasoma
s/root.tenant.core=conf/root.tenant-core=conf in the build.properties inside
tenant-mgt core feature.

Try this and see it works.

Thanks
Sameera.

On Mon, Apr 4, 2011 at 2:30 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi,

 I am working on it. That is why I am concerned.

 thx,
 dimuthu


 On Mon, Apr 4, 2011 at 2:26 PM, Sameera Jayasoma same...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 2:24 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Sameera,

 The necessary log files are attached herewith.

 Seems like this's occurred due to nonexistence of conf folder in
 tenant.mgt.feature.zip.
 Right now I'm delving into the issue further to come up with a fix for
 this. Any help would
 be much appreciated!


 This is an issue with the tenant-mgt feature. Who is working on this
 component?

 Thanks
 Sameera



 Regards,

 On Mon, Apr 4, 2011 at 2:08 PM, Sameera Jayasoma same...@wso2.comwrote:

 Nothing get fixed automatically. :)

 Prabath, can you send all the log files. There should be two.

 Thank
 Sameera


 On Mon, Apr 4, 2011 at 1:57 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:


 Hi,

 We have encountered the same problem with the same feature before. It
 got fixed mysteriously automatically.

 Check the mail with the subject,
 [Carbon-dev] IS product build failure

 This worries me!

 Thanks,
 Dimuthu


 On Mon, Apr 4, 2011 at 1:35 PM, Prabath Abeysekera 
 praba...@wso2.comwrote:

 Hi,

 the corresponding log file is attached herewith!


 Regards,

 On Mon, Apr 4, 2011 at 1:30 PM, Prabath Abeysekera praba...@wso2.com
  wrote:

 Hi Azeez,

 I've checked those logs and couldn't find any further detail other
 than what's mentioned
 in the mail. That's why I've sent it here to check whether someone
 else had experienced
 the same before so that I would be able to grab some useful
 information to sort this out!



 Regards,


 On Mon, Apr 4, 2011 at 1:20 PM, Afkham Azeez az...@wso2.com wrote:

 The first thing you must do before sending the mail is to check
 those logs.


  On Mon, Apr 4, 2011 at 11:41 AM, Prabath Abeysekera 
 praba...@wso2.com wrote:

 Hi,

 I'm running into the following error while installing stratos
 tenant.mgt feature group.

 [INFO] Installing org.wso2.carbon.tenant.mgt.core.feature.group
 1.1.0.SNAPSHOT.
 [ERROR] An error occurred while collecting items to be installed
 [ERROR]  session context was:(profile=WSO2CarbonProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
 [ERROR]  No repository found containing:
 binary,org.wso2.carbon.tenant.mgt.core_root,1.1.0.SNAPSHOT
 [ERROR] Application failed, log file location:
 /home/disk1/WSO2/Carbon/carbon/products/dss/modules/p2-profile-gen/service/target/p2-agent/configuration/1301896902506.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 Any idea why?

 Any idea why?

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




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




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

 http://harshana05.blogspot.com/




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




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

 http://harshana05.blogspot.com/




 --
 Sameera Jayasoma
 Technical Lead and Product 

Re: [Carbon-dev] Blocking issues found in IS 29th March build still exist in the latest pack

2011-04-04 Thread Hasini Gunasinghe
Hi,

A latest IS pack is hosted at [1] from the last build. And the above issues
are not present in it as I checked.
Thanks AmilaM and builder team for doing the needful within a short time.
[1] http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/

http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/Thanks,
Hasini.

On Mon, Apr 4, 2011 at 11:19 AM, Hasini Gunasinghe has...@wso2.com wrote:

 Hi Pavithra,

 Those issues have been fixed on Friday as mentioned in [1].  And those
 fixes were reflected fine on the build I got locally too.

 As I talked to Denis regarding this and as AmilaM too has mentioned, it
 seems the old distribution has been copied as 4th April build since IS build
 has not been successful on builder machine in the last build cycle.

 Let's wait till the next build cycle in builder machine because although IS
 builds fine locally, as I have seen in previous mails, local builds are not
 supposed to be used in testing.

 [1] http://www.mail-archive.com/carbon-dev@wso2.org/msg15825.html

 http://www.mail-archive.com/carbon-dev@wso2.org/msg15825.htmlThanks,
 Hasini.

 On Mon, Apr 4, 2011 at 10:32 AM, Pavithra Madurangi pavit...@wso2.comwrote:

 Hi IS team,

 I've reported some blocking issues which were found in 29th build. Even
 though they've been resolved per jira status, still those issues exist in
 the latest build. (04th April). Please have a look and provide a proper
 build with fixes.

 For the reference I've listed those issues below.

 [1] https://wso2.org/jira/browse/CARBON-9199
 [2] https://wso2.org/jira/browse/CARBON-9200
 [3] https://wso2.org/jira/browse/CARBON-9201

 Regards,
 Pavithra



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


[Carbon-dev] Test failure in components/module-mgt/org.wso2.carbon.module.mgt

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject.

surefire report for failing case attached.

-- 
S.Uthaiyashankar
Senior Architect  Senior Manager
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware
---
Test set: org.wso2.carbon.module.mgt.service.TestModuleAdminService
---
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 4.785 sec  
FAILURE!
testTotalModules(org.wso2.carbon.module.mgt.service.TestModuleAdminService)  
Time elapsed: 4.059 sec   ERROR!
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add the 
root collection to the coreRegistry.
at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:371)
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.getSystemRegistry(EmbeddedRegistryService.java:291)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:275)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:261)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:218)
at 
org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService.init(InMemoryEmbeddedRegistryService.java:61)
at 
org.wso2.carbon.module.mgt.service.TestModuleAdminService.setUp(TestModuleAdminService.java:57)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
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.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.NullPointerException
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:62)
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:145)
at 
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:559)
at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:333)
... 30 more
Caused by: java.lang.NullPointerException
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:62)
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:145)
at 
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:559)
at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:333)
... 30 more

testAxisMethodStuff(org.wso2.carbon.module.mgt.service.TestModuleAdminService)  
Time elapsed: 0.242 sec   ERROR!
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to add the 
root collection to the coreRegistry.
at 

Re: [Carbon-dev] Test failure in components/broker/org.wso2.carbon.broker.core

2011-04-04 Thread Shammi Jayasinghe
Fixed.

Thanks
Shammi

On Mon, Apr 4, 2011 at 3:22 PM, Danushka Menikkumbura danus...@wso2.comwrote:

 Looks like the slf4j jar is not on classpath. I will take a look at this.

 Danushka

 On Mon, Apr 4, 2011 at 3:10 PM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 $subject.

 surefire report of failing case attached.

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



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




-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
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/ms

2011-04-04 Thread Dinithi Nallaperuma
Hi,

This is fixed now.

On Mon, Apr 4, 2011 at 2:28 PM, Dinithi Nallaperuma dini...@wso2.comwrote:

 Hi,

 Looking into this issue.


 On Mon, Apr 4, 2011 at 2:25 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi,

 These seems related to stub migration. Mashup guys, please have a look and
 fix this. We need all the products to be successful by EOD today.

 Thanks,
 AmilaM.


 On Mon, Apr 4, 2011 at 1:20 PM, WSO2 Builder buil...@wso2.org wrote:

 [INFO] Installing org.wso2.carbon.mex.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.eventing.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.registry.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.registry.ui.menu.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.registry.resource.properties.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsservices.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.docrequestprocessor.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.gadgetrequestprocessor.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.sourcerequestprocessor.server.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsscraper.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.jsstubgenerator.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.tryit.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.ms.styles.feature.group 2.3.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.discovery.core.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.discovery.admin.ui.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group
 3.2.0.SNAPSHOT.
 [INFO] Installing org.wso2.carbon.dashboard.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.identity.authenticator.token.feature.group 3.2.0.SNAPSHOT.
 [INFO] Installing
 org.wso2.carbon.application.deployer.mashup.feature.group 3.2.0.SNAPSHOT.
 [ERROR] Cannot complete the install because one or more required items
 could not be found.
 [ERROR]  Software being installed: WSO2 Carbon - Javascript Service
 Hosting Feature 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group
 3.2.0.SNAPSHOT)
 [ERROR]  Missing requirement: org.wso2.carbon.mashup.jsservices.ui
 3.2.0.SNAPSHOT (org.wso2.carbon.mashup.jsservices.ui 3.2.0.SNAPSHOT)
 requires 'package org.wso2.carbon.mashup.jsservices.stub.fileupload
 [3.2.0.SNAPSHOT,3.3.0)' but it could not be found
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: WSO2 Carbon - Javascript Service Hosting Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.jsservices.ui.feature.group
 [3.2.0.SNAPSHOT]
 [ERROR]  Cannot satisfy dependency:
 [ERROR]   From: WSO2 Carbon - Javascript Service Hosting UI Feature
 3.2.0.SNAPSHOT (org.wso2.carbon.jsservices.ui.feature.group 3.2.0.SNAPSHOT)
 [ERROR]   To: org.wso2.carbon.mashup.jsservices.ui [3.2.0.SNAPSHOT]
 [ERROR] Application failed, log file location:
 /home/carbon/carbon/products/ms/modules/p2-profile-gen/product/target/p2-agent/configuration/1301903391335.log
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO]

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 minute 7 seconds
 [INFO] Finished at: Mon Apr 04 13:20:03 IST 2011
 [INFO] Final Memory: 166M/1242M
 [INFO]
 
 ___
 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




 --
 Regards,
 Dinithi Nallaperuma




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


[Carbon-dev] components/mediation-statistics compilation failure in test cases

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject

[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 3 source files to
/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[45,65]
cannot find symbol
symbol  : method getInstance()
location: class
org.wso2.carbon.mediation.statistics.MediationStatisticsStore

[ERROR]
/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[78,65]
cannot find symbol
symbol  : method getInstance()
location: class
org.wso2.carbon.mediation.statistics.MediationStatisticsStore

[ERROR]
/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[112,65]
cannot find symbol
symbol  : method getInstance()
location: class
org.wso2.carbon.mediation.statistics.MediationStatisticsStore

[ERROR]
/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[148,65]
cannot find symbol
symbol  : method getInstance()
location: class
org.wso2.carbon.mediation.statistics.MediationStatisticsStore

[INFO] 4 errors
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[45,65]
cannot find symbol
symbol  : method getInstance()
location: class
org.wso2.carbon.mediation.statistics.MediationStatisticsStore

/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[78,65]
cannot find symbol
symbol  : method getInstance()
location: class
org.wso2.carbon.mediation.statistics.MediationStatisticsStore

/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[112,65]
cannot find symbol
symbol  : method getInstance()
location: class
org.wso2.carbon.mediation.statistics.MediationStatisticsStore

/home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[148,65]
cannot find symbol
symbol  : method getInstance()
location: class
org.wso2.carbon.mediation.statistics.MediationStatisticsStore



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


Re: [Carbon-dev] Test failure in components/broker/org.wso2.carbon.broker.core

2011-04-04 Thread Selvaratnam Uthaiyashankar
On Mon, Apr 4, 2011 at 4:24 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 Fixed.


You are suppose to fix the failing case. Deleting is not the correct way to
fix it :D.

Shankar



 Thanks
 Shammi


 On Mon, Apr 4, 2011 at 3:22 PM, Danushka Menikkumbura 
 danus...@wso2.comwrote:

 Looks like the slf4j jar is not on classpath. I will take a look at this.

 Danushka

 On Mon, Apr 4, 2011 at 3:10 PM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 $subject.

 surefire report of failing case attached.

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



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




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085



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




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


[Carbon-dev] ESB Login failure

2011-04-04 Thread Kasun Indrasiri
In the latest local ESB build, we cannot login to the mgmt console.

[2011-04-04 16:54:07,189] ERROR
{org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
while trying to invoke service method login
java.lang.reflect.InvocationTargetException
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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
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)
Caused by: java.lang.NullPointerException
at org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
... 16 more
[2011-04-04 16:54:07,208] ERROR
{org.apache.synapse.transport.nhttp.ServerWorker} -  Error processing POST
request
org.apache.axis2.AxisFault: Exception occurred while trying to invoke
service method login
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:208)
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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
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)
Caused by: java.lang.reflect.InvocationTargetException
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)
... 10 more
Caused by: java.lang.NullPointerException
at org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
... 16 more
[2011-04-04 16:54:07,235] ERROR
{org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient} -  Error
occurred while logging in
org.apache.axis2.AxisFault: Exception occurred while trying to invoke
service method login
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
at
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminClient.java:64)
at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.authenticate(DefaultCarbonAuthenticator.java:142)
at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.authenticate(DefaultCarbonAuthenticator.java:87)
at
org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:382)
at

[Carbon-dev] samples/shopping-cart compilation failure in test cases

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject

[INFO] Compiling 1 source file to
/home/shankar/src/carbon/samples/shopping-cart/portal/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/home/shankar/src/carbon/samples/shopping-cart/portal/src/test/java/org/wso2/cart/ui/test/ManagerTest.java:[4,33]
package org.wso2.cart.core.dto.xsd does not exist

[ERROR]
/home/shankar/src/carbon/samples/shopping-cart/portal/src/test/java/org/wso2/cart/ui/test/ManagerTest.java:[5,33]
package org.wso2.cart.core.dto.xsd does not exist

[INFO] 2 errors
[INFO] -
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/home/shankar/src/carbon/samples/shopping-cart/portal/src/test/java/org/wso2/cart/ui/test/ManagerTest.java:[4,33]
package org.wso2.cart.core.dto.xsd does not exist

/home/shankar/src/carbon/samples/shopping-cart/portal/src/test/java/org/wso2/cart/ui/test/ManagerTest.java:[5,33]
package org.wso2.cart.core.dto.xsd does not exist


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


Re: [Carbon-dev] Test failure in components/module-mgt/org.wso2.carbon.module.mgt

2011-04-04 Thread Isuru Suriarachchi
Senaka, this is the same registry related issue which occurred in
service-mgt as well. Please fix this one also..

Thanks,
~Isuru

On Mon, Apr 4, 2011 at 4:15 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject.

 surefire report for failing case attached.

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




-- 
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] components/cep compilation failure in test cases

2011-04-04 Thread Shammi Jayasinghe
I am fixing this.

Thanks
Shammi

On Mon, Apr 4, 2011 at 3:26 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject

 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Compiling 1 source file to
 /home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/target/test-classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/src/test/java/org/wso2/carbon/cep/core/internal/process/TestOMElementProcessor.java:[55,45]
 getValue(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Listorg.wso2.carbon.cep.core.XpathDefinition)
 in org.wso2.carbon.cep.core.internal.process.OMElementProcessor cannot be
 applied to
 (org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Mapjava.lang.String,java.lang.String)

 [INFO] 1error
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure
 /home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/src/test/java/org/wso2/carbon/cep/core/internal/process/TestOMElementProcessor.java:[55,45]
 getValue(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Listorg.wso2.carbon.cep.core.XpathDefinition)
 in org.wso2.carbon.cep.core.internal.process.OMElementProcessor cannot be
 applied to
 (org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Mapjava.lang.String,java.lang.String)


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




-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] ESB Login failure

2011-04-04 Thread Thilina Buddhika
Looks like the AuthenticationAdmin calls are not going through the servlet
transport.

Thanks,
Thilina

On Mon, Apr 4, 2011 at 5:03 PM, Kasun Indrasiri ka...@wso2.com wrote:

 In the latest local ESB build, we cannot login to the mgmt console.

 [2011-04-04 16:54:07,189] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
 while trying to invoke service method login
 java.lang.reflect.InvocationTargetException
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
  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)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
  ... 16 more
 [2011-04-04 16:54:07,208] ERROR
 {org.apache.synapse.transport.nhttp.ServerWorker} -  Error processing POST
 request
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
  at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:208)
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
 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)
 Caused by: java.lang.reflect.InvocationTargetException
 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)
 ... 10 more
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
  ... 16 more
 [2011-04-04 16:54:07,235] ERROR
 {org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient} -  Error
 occurred while logging in
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
 at
 org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
  at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
  at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
  at
 org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
 at
 org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminClient.java:64)
  at
 

Re: [Carbon-dev] components/cep compilation failure in test cases

2011-04-04 Thread Shammi Jayasinghe
Fixed.

Thanks
Shammi

On Mon, Apr 4, 2011 at 5:13 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 I am fixing this.

 Thanks
 Shammi

 On Mon, Apr 4, 2011 at 3:26 PM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 $subject

 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Compiling 1 source file to
 /home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/target/test-classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/src/test/java/org/wso2/carbon/cep/core/internal/process/TestOMElementProcessor.java:[55,45]
 getValue(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Listorg.wso2.carbon.cep.core.XpathDefinition)
 in org.wso2.carbon.cep.core.internal.process.OMElementProcessor cannot be
 applied to
 (org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Mapjava.lang.String,java.lang.String)

 [INFO] 1error
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure
 /home/shankar/src/carbon/components/cep/org.wso2.carbon.cep.core/src/test/java/org/wso2/carbon/cep/core/internal/process/TestOMElementProcessor.java:[55,45]
 getValue(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Listorg.wso2.carbon.cep.core.XpathDefinition)
 in org.wso2.carbon.cep.core.internal.process.OMElementProcessor cannot be
 applied to
 (org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.util.Mapjava.lang.String,java.lang.String)


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




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085





-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test failure in components/broker/org.wso2.carbon.broker.core

2011-04-04 Thread Shammi Jayasinghe
On Mon, Apr 4, 2011 at 4:40 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:



 On Mon, Apr 4, 2011 at 4:24 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 Fixed.


 You are suppose to fix the failing case. Deleting is not the correct way to
 fix it :D.


This test can not be run in component level and it should be moved to
product level and we are adding those tests in messagebroker and cep
products.


Thanks
Shammi


 Shankar



 Thanks
 Shammi


 On Mon, Apr 4, 2011 at 3:22 PM, Danushka Menikkumbura 
 danus...@wso2.comwrote:

 Looks like the slf4j jar is not on classpath. I will take a look at this.


 Danushka

 On Mon, Apr 4, 2011 at 3:10 PM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 $subject.

 surefire report of failing case attached.

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



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




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085



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




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




-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] samples/shopping-cart compilation failure in test cases

2011-04-04 Thread Muhammed Shariq
This was caused by unused imports, removed those.

On Mon, Apr 4, 2011 at 5:07 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject

 [INFO] Compiling 1 source file to
 /home/shankar/src/carbon/samples/shopping-cart/portal/target/test-classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/shankar/src/carbon/samples/shopping-cart/portal/src/test/java/org/wso2/cart/ui/test/ManagerTest.java:[4,33]
 package org.wso2.cart.core.dto.xsd does not exist

 [ERROR]
 /home/shankar/src/carbon/samples/shopping-cart/portal/src/test/java/org/wso2/cart/ui/test/ManagerTest.java:[5,33]
 package org.wso2.cart.core.dto.xsd does not exist

 [INFO] 2 errors
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /home/shankar/src/carbon/samples/shopping-cart/portal/src/test/java/org/wso2/cart/ui/test/ManagerTest.java:[4,33]
 package org.wso2.cart.core.dto.xsd does not exist

 /home/shankar/src/carbon/samples/shopping-cart/portal/src/test/java/org/wso2/cart/ui/test/ManagerTest.java:[5,33]
 package org.wso2.cart.core.dto.xsd does not exist


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


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


Re: [Carbon-dev] ESB Login failure

2011-04-04 Thread Kasun Indrasiri
In mgt-transport.xml, there are some parameters added HTTP_11_NIO/HTTPS_11_NIO.
Is this related to tomcat7 migration?


transport name=http
class=org.wso2.carbon.server.transports.http.HttpTransport
!--
   The Tomcat connector protocol to be used. Valid values are;

   1. HTTP_11
   2. HTTP_11_NIO
   3. HTTP_11_APR
--
parameter name=protocolHTTP_11_NIO/parameter

parameter name=port9763/parameter

..

 transport name=https
class=org.wso2.carbon.server.transports.http.HttpTransport

!--
   The Tomcat connector protocol to be used. Valid values are;

   1. HTTPS_11
   2. HTTPS_11_NIO
   3. HTTPS_11_APR
--
parameter name=protocolHTTPS_11_NIO/parameter

parameter name=port9443/parameter



On Mon, Apr 4, 2011 at 5:15 PM, Thilina Buddhika thili...@wso2.com wrote:

 Looks like the AuthenticationAdmin calls are not going through the servlet
 transport.

 Thanks,
 Thilina

 On Mon, Apr 4, 2011 at 5:03 PM, Kasun Indrasiri ka...@wso2.com wrote:

 In the latest local ESB build, we cannot login to the mgmt console.

 [2011-04-04 16:54:07,189] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
 while trying to invoke service method login
 java.lang.reflect.InvocationTargetException
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
  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)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
  ... 16 more
 [2011-04-04 16:54:07,208] ERROR
 {org.apache.synapse.transport.nhttp.ServerWorker} -  Error processing POST
 request
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
  at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:208)
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
 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)
 Caused by: java.lang.reflect.InvocationTargetException
 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)
 ... 10 more
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
  ... 16 more
 [2011-04-04 16:54:07,235] ERROR
 

Re: [Carbon-dev] Test failure in components/rules/org.wso2.carbon.rule.service

2011-04-04 Thread Shammi Jayasinghe
I am working on this.

Thanks
Shammi

On Mon, Apr 4, 2011 at 3:48 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject.

 surefire report of failing case attached.

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




-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
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-04 Thread WSO2 Builder
Caused by: java.lang.NullPointerException
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:62)
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:145)
at 
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:559)
at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:333)
... 31 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.067 sec  
FAILURE!

Results :

Tests in error: 
  testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin)
  testSteps(org.wso2.carbon.service.mgt.TestServiceGroupAdmin)

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

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/home/carbon/carbon/components/service-mgt/org.wso2.carbon.service.mgt/target/surefire-reports
 for the individual test results.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 11 minutes 35 seconds
[INFO] Finished at: Mon Apr 04 17:32:17 IST 2011
[INFO] Final Memory: 764M/1576M
[INFO] 
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Build MUST succeed today - everybody start working on it!

2011-04-04 Thread Afkham Azeez
Team,
We just have 3 days before we break for the holidays. We have spent a month
trying to fix the build. Yet, due to the carelessness of different people
from time to time, the builder machine never sent out a Build Successful
mail. So, if we just continue to ignore that, even after the break we will
waste time building. So, today, we will focus on fixing the build WITH
TESTS. Pay attention to all the build break mails sent by Shankar today.
Denis  AmilaM will be triggering builds from time to time until it
succeeds.

Tomorrow morning WE MUST receive a build successful mail. RMs  PMs, please
note; it is your responsibility to ensure that this works.

-- 
*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] ESB Login failure

2011-04-04 Thread Afkham Azeez
Yes. Is this causing any issues in the ESB?


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

 In mgt-transport.xml, there are some parameters
 added HTTP_11_NIO/HTTPS_11_NIO. Is this related to tomcat7 migration?


 transport name=http
 class=org.wso2.carbon.server.transports.http.HttpTransport
 !--
The Tomcat connector protocol to be used. Valid values are;

1. HTTP_11
2. HTTP_11_NIO
3. HTTP_11_APR
 --
 parameter name=protocolHTTP_11_NIO/parameter

 parameter name=port9763/parameter

 ..

  transport name=https
 class=org.wso2.carbon.server.transports.http.HttpTransport

 !--
The Tomcat connector protocol to be used. Valid values are;

1. HTTPS_11
2. HTTPS_11_NIO
3. HTTPS_11_APR
 --
 parameter name=protocolHTTPS_11_NIO/parameter

 parameter name=port9443/parameter



 On Mon, Apr 4, 2011 at 5:15 PM, Thilina Buddhika thili...@wso2.comwrote:

 Looks like the AuthenticationAdmin calls are not going through the servlet
 transport.

 Thanks,
 Thilina

 On Mon, Apr 4, 2011 at 5:03 PM, Kasun Indrasiri ka...@wso2.com wrote:

 In the latest local ESB build, we cannot login to the mgmt console.

 [2011-04-04 16:54:07,189] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
 while trying to invoke service method login
 java.lang.reflect.InvocationTargetException
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
  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)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
  ... 16 more
 [2011-04-04 16:54:07,208] ERROR
 {org.apache.synapse.transport.nhttp.ServerWorker} -  Error processing POST
 request
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
  at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:208)
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
 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)
 Caused by: java.lang.reflect.InvocationTargetException
 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)
 ... 10 more
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 

Re: [Carbon-dev] Build MUST succeed today - everybody start working on it!

2011-04-04 Thread Afkham Azeez
Team,
Please note that everybody will have to work overnight today if that is what
it takes to get the build to succeed. The build failing is everybody's
problem, even if it was one or a few individuals mistakes that is causing
the build to fail.

Let the build begin!

Azeez

On Mon, Apr 4, 2011 at 5:37 PM, Afkham Azeez az...@wso2.com wrote:

 Team,
 We just have 3 days before we break for the holidays. We have spent a month
 trying to fix the build. Yet, due to the carelessness of different people
 from time to time, the builder machine never sent out a Build Successful
 mail. So, if we just continue to ignore that, even after the break we will
 waste time building. So, today, we will focus on fixing the build WITH
 TESTS. Pay attention to all the build break mails sent by Shankar today.
 Denis  AmilaM will be triggering builds from time to time until it
 succeeds.

 Tomorrow morning WE MUST receive a build successful mail. RMs  PMs, please
 note; it is your responsibility to ensure that this works.

 --
 *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*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] ESB Login failure

2011-04-04 Thread Kasun Indrasiri
On Mon, Apr 4, 2011 at 5:38 PM, Afkham Azeez az...@wso2.com wrote:

 Yes. Is this causing any issues in the ESB?

Yeah. We cannot login to the management console and gives the above
mentioned exceptions.



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

 In mgt-transport.xml, there are some parameters
 added HTTP_11_NIO/HTTPS_11_NIO. Is this related to tomcat7 migration?


 transport name=http
 class=org.wso2.carbon.server.transports.http.HttpTransport
 !--
The Tomcat connector protocol to be used. Valid values are;

1. HTTP_11
2. HTTP_11_NIO
3. HTTP_11_APR
 --
 parameter name=protocolHTTP_11_NIO/parameter

 parameter name=port9763/parameter

 ..

  transport name=https
 class=org.wso2.carbon.server.transports.http.HttpTransport

 !--
The Tomcat connector protocol to be used. Valid values are;

1. HTTPS_11
2. HTTPS_11_NIO
3. HTTPS_11_APR
 --
 parameter name=protocolHTTPS_11_NIO/parameter

 parameter name=port9443/parameter



 On Mon, Apr 4, 2011 at 5:15 PM, Thilina Buddhika thili...@wso2.comwrote:

 Looks like the AuthenticationAdmin calls are not going through the
 servlet transport.

 Thanks,
 Thilina

 On Mon, Apr 4, 2011 at 5:03 PM, Kasun Indrasiri ka...@wso2.com wrote:

 In the latest local ESB build, we cannot login to the mgmt console.

 [2011-04-04 16:54:07,189] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
 while trying to invoke service method login
 java.lang.reflect.InvocationTargetException
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
  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)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
  ... 16 more
 [2011-04-04 16:54:07,208] ERROR
 {org.apache.synapse.transport.nhttp.ServerWorker} -  Error processing POST
 request
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
  at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:208)
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
 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)
 Caused by: java.lang.reflect.InvocationTargetException
 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
 

Re: [Carbon-dev] Build MUST succeed today - everybody start working on it!

2011-04-04 Thread Afkham Azeez
Sanjaya,
Once you get the Build Successful mail tonight, start deploying the
artifacts on private cloud. Also, make sure that your script for running a
Stratos setup on the local machine works.

Team, Sanjaya has been waiting for several weeks for the build to succeed in
order to setup everything on private cloud  complete the script.

Azeez

On Mon, Apr 4, 2011 at 5:40 PM, Afkham Azeez az...@wso2.com wrote:

 Team,
 Please note that everybody will have to work overnight today if that is
 what it takes to get the build to succeed. The build failing is everybody's
 problem, even if it was one or a few individuals mistakes that is causing
 the build to fail.

 Let the build begin!

 Azeez


 On Mon, Apr 4, 2011 at 5:37 PM, Afkham Azeez az...@wso2.com wrote:

 Team,
 We just have 3 days before we break for the holidays. We have spent a
 month trying to fix the build. Yet, due to the carelessness of different
 people from time to time, the builder machine never sent out a Build
 Successful mail. So, if we just continue to ignore that, even after the
 break we will waste time building. So, today, we will focus on fixing the
 build WITH TESTS. Pay attention to all the build break mails sent by Shankar
 today. Denis  AmilaM will be triggering builds from time to time until it
 succeeds.

 Tomorrow morning WE MUST receive a build successful mail. RMs  PMs,
 please note; it is your responsibility to ensure that this works.

 --
 *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*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*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] ESB Login failure

2011-04-04 Thread Afkham Azeez
You noticed this only today? Tomcat 7 migration was done close to 2 months
ago. Weren't there errors at that time?

Azees

On Mon, Apr 4, 2011 at 5:42 PM, Kasun Indrasiri ka...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 5:38 PM, Afkham Azeez az...@wso2.com wrote:

 Yes. Is this causing any issues in the ESB?

 Yeah. We cannot login to the management console and gives the above
 mentioned exceptions.



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

 In mgt-transport.xml, there are some parameters
 added HTTP_11_NIO/HTTPS_11_NIO. Is this related to tomcat7 migration?


 transport name=http
 class=org.wso2.carbon.server.transports.http.HttpTransport
 !--
The Tomcat connector protocol to be used. Valid values are;

1. HTTP_11
2. HTTP_11_NIO
3. HTTP_11_APR
 --
 parameter name=protocolHTTP_11_NIO/parameter

 parameter name=port9763/parameter

 ..

  transport name=https
 class=org.wso2.carbon.server.transports.http.HttpTransport

 !--
The Tomcat connector protocol to be used. Valid values are;

1. HTTPS_11
2. HTTPS_11_NIO
3. HTTPS_11_APR
 --
 parameter name=protocolHTTPS_11_NIO/parameter

 parameter name=port9443/parameter



 On Mon, Apr 4, 2011 at 5:15 PM, Thilina Buddhika thili...@wso2.comwrote:

 Looks like the AuthenticationAdmin calls are not going through the
 servlet transport.

 Thanks,
 Thilina

 On Mon, Apr 4, 2011 at 5:03 PM, Kasun Indrasiri ka...@wso2.com wrote:

 In the latest local ESB build, we cannot login to the mgmt console.

 [2011-04-04 16:54:07,189] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
 while trying to invoke service method login
 java.lang.reflect.InvocationTargetException
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
  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)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
  ... 16 more
 [2011-04-04 16:54:07,208] ERROR
 {org.apache.synapse.transport.nhttp.ServerWorker} -  Error processing POST
 request
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
  at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:208)
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
 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)
 Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at 

Re: [Carbon-dev] Build MUST succeed today - everybody start working on it!

2011-04-04 Thread Sanjaya Ratnaweera
On Mon, Apr 4, 2011 at 5:44 PM, Afkham Azeez az...@wso2.com wrote:

 Sanjaya,
 Once you get the Build Successful mail tonight, start deploying the
 artifacts on private cloud. Also, make sure that your script for running a
 Stratos setup on the local machine works.


Sure will do. Got some working builds, I'm testing the private cloud now.


 Team, Sanjaya has been waiting for several weeks for the build to succeed
 in order to setup everything on private cloud  complete the script.


Actually script is almost done now. Will test it and commit


Thanks

 ~sanjaya




 Azeez

 On Mon, Apr 4, 2011 at 5:40 PM, Afkham Azeez az...@wso2.com wrote:

 Team,
 Please note that everybody will have to work overnight today if that is
 what it takes to get the build to succeed. The build failing is everybody's
 problem, even if it was one or a few individuals mistakes that is causing
 the build to fail.

 Let the build begin!

 Azeez


 On Mon, Apr 4, 2011 at 5:37 PM, Afkham Azeez az...@wso2.com wrote:

 Team,
 We just have 3 days before we break for the holidays. We have spent a
 month trying to fix the build. Yet, due to the carelessness of different
 people from time to time, the builder machine never sent out a Build
 Successful mail. So, if we just continue to ignore that, even after the
 break we will waste time building. So, today, we will focus on fixing the
 build WITH TESTS. Pay attention to all the build break mails sent by Shankar
 today. Denis  AmilaM will be triggering builds from time to time until it
 succeeds.

 Tomorrow morning WE MUST receive a build successful mail. RMs  PMs,
 please note; it is your responsibility to ensure that this works.

 --
 *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*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*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
Sanjaya Ratnaweera
Senior Software Engineer; WSO2 Inc; http://www.wso2.com/.

blog: http://www.samudura.org
homepage: http://www.samudura.net
twitter: http://twitter.com/sanjayar

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


[Carbon-dev] Build failure in components/service-mgt

2011-04-04 Thread Amila Maha Arachchi
Hi,

Please ack and fix this ASAP.

sure-fire plugin reports attached.

Thanks,
AmilaM.
---
Test set: org.wso2.carbon.service.mgt.TestServiceAdmin
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.628 sec  
FAILURE!
testSteps(org.wso2.carbon.service.mgt.TestServiceAdmin)  Time elapsed: 1.498 
sec   ERROR!
org.wso2.carbon.registry.core.exceptions.RegistryException: Couldn't initialize 
EmbeddedRegistryService. Failed to add the root collection to the coreRegistry.
at 
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:635)
at 
org.wso2.carbon.service.mgt.TestServiceAdmin.setUp(TestServiceAdmin.java:79)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
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.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed 
to add the root collection to the coreRegistry.
at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:371)
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.getSystemRegistry(EmbeddedRegistryService.java:291)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:275)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:261)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.configure(EmbeddedRegistryService.java:218)
at 
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.init(EmbeddedRegistryService.java:98)
at 
org.wso2.carbon.registry.core.config.RegistryContext.getEmbeddedRegistryService(RegistryContext.java:631)
... 22 more
Caused by: java.lang.NullPointerException
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:237)
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:62)
at 
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:145)
at 
org.wso2.carbon.registry.core.utils.RegistryUtils.systemResourceShouldBeAdded(RegistryUtils.java:559)
at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:333)
... 31 more
Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: Failed 
to add the root collection to the coreRegistry.
at 
org.wso2.carbon.registry.core.session.UserRegistry.addRootCollection(UserRegistry.java:371)
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 

[Carbon-dev] Test failure in bps product

2011-04-04 Thread Selvaratnam Uthaiyashankar
$subject

surefire report is attached.


[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/surefire-reports

---
 T E S T S
---
Running org.wso2.carbon.authenticator.test.LoginTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/shankar/windows/garbage/m2/repository/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/shankar/windows/garbage/m2/repository/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 26.83 sec
 FAILURE!

Results :

Tests in error:
  testTemplate(org.wso2.carbon.authenticator.test.LoginTest)

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

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.

Please refer to
/home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/surefire-reports
for the individual test results.


-- 
S.Uthaiyashankar
Senior Architect  Senior Manager
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware
---
Test set: org.wso2.carbon.authenticator.test.LoginTest
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 26.829 sec  
FAILURE!
testTemplate(org.wso2.carbon.authenticator.test.LoginTest)  Time elapsed: 
26.451 sec   ERROR!
java.io.FileNotFoundException: Source 
'/home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/./carbontmp/wso2bps-2.0.3-SNAPSHOT/coverage.em'
 does not exist
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:767)
at 
org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:706)
at 
org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:670)
at 
org.wso2.carbon.integration.core.ServerUtils.instrumentJarsForEmma(ServerUtils.java:230)
at 
org.wso2.carbon.integration.core.ServerUtils.startServerUsingCarbonZip(ServerUtils.java:114)
at 
org.wso2.carbon.integration.core.CarbonIntegrationTestCase.setUp(CarbonIntegrationTestCase.java:71)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
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.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

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


Re: [Carbon-dev] Build failure in components/service-mgt

2011-04-04 Thread Afkham Azeez
Isuru is looking into this
On Apr 4, 2011 5:57 PM, Amila Maha Arachchi ami...@wso2.com wrote:
 Hi,

 Please ack and fix this ASAP.

 sure-fire plugin reports attached.

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


Re: [Carbon-dev] Test failure in components/rules/org.wso2.carbon.rule.service

2011-04-04 Thread Shammi Jayasinghe
Hi Amila,

Could you please have a look on this.

Thanks
Shammi

On Mon, Apr 4, 2011 at 5:29 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 I am working on this.

 Thanks
 Shammi

 On Mon, Apr 4, 2011 at 3:48 PM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 $subject.

 surefire report of failing case attached.

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




 --
 Best Regards,*

 Shammi Jayasinghe*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com,
 mobile: +94 71 4493085





-- 
Best Regards,*

Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build failure in components/service-mgt

2011-04-04 Thread Amila Maha Arachchi
On Mon, Apr 4, 2011 at 6:01 PM, Afkham Azeez az...@wso2.com wrote:

 Isuru is looking into this


I think Isuru was looking in to module-mgt. This is related to registry I
guess.

AmilaM.



 On Apr 4, 2011 5:57 PM, Amila Maha Arachchi ami...@wso2.com wrote:
  Hi,
 
  Please ack and fix this ASAP.
 
  sure-fire plugin reports attached.
 
  Thanks,
  AmilaM.

 ___
 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] components/mediation-statistics compilation failure in test cases

2011-04-04 Thread Hiranya Jayathilaka
Fixed

On Mon, Apr 4, 2011 at 4:38 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject

 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] Compiling 3 source files to
 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/target/test-classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[45,65]
 cannot find symbol
 symbol  : method getInstance()
 location: class
 org.wso2.carbon.mediation.statistics.MediationStatisticsStore

 [ERROR]
 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[78,65]
 cannot find symbol
 symbol  : method getInstance()
 location: class
 org.wso2.carbon.mediation.statistics.MediationStatisticsStore

 [ERROR]
 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[112,65]
 cannot find symbol
 symbol  : method getInstance()
 location: class
 org.wso2.carbon.mediation.statistics.MediationStatisticsStore

 [ERROR]
 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[148,65]
 cannot find symbol
 symbol  : method getInstance()
 location: class
 org.wso2.carbon.mediation.statistics.MediationStatisticsStore

 [INFO] 4 errors
 [INFO] -
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[45,65]
 cannot find symbol
 symbol  : method getInstance()
 location: class
 org.wso2.carbon.mediation.statistics.MediationStatisticsStore

 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[78,65]
 cannot find symbol
 symbol  : method getInstance()
 location: class
 org.wso2.carbon.mediation.statistics.MediationStatisticsStore

 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[112,65]
 cannot find symbol
 symbol  : method getInstance()
 location: class
 org.wso2.carbon.mediation.statistics.MediationStatisticsStore

 /home/shankar/src/carbon/components/mediation-statistics/org.wso2.carbon.mediation.statistics/src/test/java/org/wso2/carbon/mediation/statistics/StatisticsStoreTest.java:[148,65]
 cannot find symbol
 symbol  : method getInstance()
 location: class
 org.wso2.carbon.mediation.statistics.MediationStatisticsStore



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




-- 
Hiranya Jayathilaka
Senior Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test failure in bps product

2011-04-04 Thread Denis Weerasiri
Hi,
This coverage.em' does not exist occurs due to Emma code coverage
integration. This was common to many products. But Thilini, Waruna and I
didn't had this issue.
Can you check your ruby version is 1.8.7?

On Mon, Apr 4, 2011 at 5:59 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 $subject

 surefire report is attached.


 [INFO] [surefire:test {execution: default-test}]
 [INFO] Surefire report directory:
 /home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.wso2.carbon.authenticator.test.LoginTest
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/shankar/windows/garbage/m2/repository/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in
 [jar:file:/home/shankar/windows/garbage/m2/repository/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
 explanation.
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 26.83 sec
  FAILURE!

 Results :

 Tests in error:
   testTemplate(org.wso2.carbon.authenticator.test.LoginTest)

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

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/surefire-reports
 for the individual test results.


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




-- 
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] Test failure in bps product

2011-04-04 Thread Selvaratnam Uthaiyashankar
On Mon, Apr 4, 2011 at 6:13 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 This coverage.em' does not exist occurs due to Emma code coverage
 integration. This was common to many products. But Thilini, Waruna and I
 didn't had this issue.
 Can you check your ruby version is 1.8.7?


Yes, it is 1.8.7

Shankar



 On Mon, Apr 4, 2011 at 5:59 PM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 $subject

 surefire report is attached.


 [INFO] [surefire:test {execution: default-test}]
 [INFO] Surefire report directory:
 /home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.wso2.carbon.authenticator.test.LoginTest
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/shankar/windows/garbage/m2/repository/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in
 [jar:file:/home/shankar/windows/garbage/m2/repository/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
 explanation.
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 26.83 sec
  FAILURE!

 Results :

 Tests in error:
   testTemplate(org.wso2.carbon.authenticator.test.LoginTest)

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

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/surefire-reports
 for the individual test results.


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




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




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


[Carbon-dev] Build failure

2011-04-04 Thread Afkham Azeez
I got a full svn up, and then did mvn install. Ended up with the following
failure within a second.

[INFO] Scanning for projects...
Downloading:
http://people.apache.org/repo/m1-snapshot-repository//org.apache.commons/poms/commons-parent-17.pom
[INFO] Unable to find resource 'org.apache.commons:commons-parent:pom:17' in
repository apache.m1 (http://people.apache.org/repo/m1-snapshot-repository/)
Downloading:
http://repo1.maven.org/maven2/org/apache/commons/commons-parent/17/commons-parent-17.pom

[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.wso2.carbon:org.wso2.carbon.registry.eventing
POM Location:
/Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml
Validation Messages:

[0]  'dependencies.dependency.version' is missing for
org.wso2.carbon:org.wso2.carbon.event.core:jar
[1]  'dependencies.dependency.version' is missing for
org.wso2.carbon:org.wso2.carbon.event.ws:jar


Reason: Failed to validate POM for project
org.wso2.carbon:org.wso2.carbon.registry.eventing at
/Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM for
project org.wso2.carbon:org.wso2.carbon.registry.eventing at
/Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


-- 
*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] Build failure

2011-04-04 Thread Amila Maha Arachchi
This was fixed by Janaka a little while ago. Take a svn up of
components/pom.xml

On Mon, Apr 4, 2011 at 6:44 PM, Afkham Azeez az...@wso2.com wrote:

 I got a full svn up, and then did mvn install. Ended up with the following
 failure within a second.

 [INFO] Scanning for projects...
 Downloading:
 http://people.apache.org/repo/m1-snapshot-repository//org.apache.commons/poms/commons-parent-17.pom
 [INFO] Unable to find resource 'org.apache.commons:commons-parent:pom:17'
 in repository apache.m1 (
 http://people.apache.org/repo/m1-snapshot-repository/)
 Downloading:
 http://repo1.maven.org/maven2/org/apache/commons/commons-parent/17/commons-parent-17.pom

 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.wso2.carbon:org.wso2.carbon.registry.eventing
 POM Location:
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml
 Validation Messages:

 [0]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.core:jar
 [1]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.ws:jar


 Reason: Failed to validate POM for project
 org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
 for project org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


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


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


Re: [Carbon-dev] Test failure in bps product

2011-04-04 Thread Ranga Siriwardena
Hi,

We got the same issue and was able to solve it after installing
libzip-ruby1.8

Thank you.




On Mon, Apr 4, 2011 at 6:17 PM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:



 On Mon, Apr 4, 2011 at 6:13 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 This coverage.em' does not exist occurs due to Emma code coverage
 integration. This was common to many products. But Thilini, Waruna and I
 didn't had this issue.
 Can you check your ruby version is 1.8.7?


 Yes, it is 1.8.7

 Shankar



 On Mon, Apr 4, 2011 at 5:59 PM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

  $subject

 surefire report is attached.


 [INFO] [surefire:test {execution: default-test}]
 [INFO] Surefire report directory:
 /home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/surefire-reports

 ---
  T E S T S
 ---
 Running org.wso2.carbon.authenticator.test.LoginTest
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/shankar/windows/garbage/m2/repository/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in
 [jar:file:/home/shankar/windows/garbage/m2/repository/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
 explanation.
 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 26.83 sec
  FAILURE!

 Results :

 Tests in error:
   testTemplate(org.wso2.carbon.authenticator.test.LoginTest)

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

 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] There are test failures.

 Please refer to
 /home/shankar/src/carbon/products/bps/modules/integration/org.wso2.bps.login.test/target/surefire-reports
 for the individual test results.


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




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




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




-- 
Ranga Siriwardena
Software Engineer
WSO2 Inc.

Mobile: +94 779808031
Blog: http://rangasiriwardena.blogspot.com/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Build failure

2011-04-04 Thread Afkham Azeez
Janaka,
Why did you commit with such a major build failure? We have to realize that
when you be careless like this, you are impacting the work of 100 other
developers!


On Mon, Apr 4, 2011 at 6:47 PM, Amila Maha Arachchi ami...@wso2.com wrote:

 This was fixed by Janaka a little while ago. Take a svn up of
 components/pom.xml

 On Mon, Apr 4, 2011 at 6:44 PM, Afkham Azeez az...@wso2.com wrote:

 I got a full svn up, and then did mvn install. Ended up with the following
 failure within a second.

 [INFO] Scanning for projects...
 Downloading:
 http://people.apache.org/repo/m1-snapshot-repository//org.apache.commons/poms/commons-parent-17.pom
 [INFO] Unable to find resource 'org.apache.commons:commons-parent:pom:17'
 in repository apache.m1 (
 http://people.apache.org/repo/m1-snapshot-repository/)
 Downloading:
 http://repo1.maven.org/maven2/org/apache/commons/commons-parent/17/commons-parent-17.pom

 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.wso2.carbon:org.wso2.carbon.registry.eventing
 POM Location:
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml
 Validation Messages:

 [0]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.core:jar
 [1]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.ws:jar


 Reason: Failed to validate POM for project
 org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
 for project org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


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



 ___
 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] Build failure

2011-04-04 Thread Senaka Fernando
Hi Azeez,

On Mon, Apr 4, 2011 at 6:50 PM, Afkham Azeez az...@wso2.com wrote:

 Janaka,
 Why did you commit with such a major build failure? We have to realize that
 when you be careless like this, you are impacting the work of 100 other
 developers!


I'm to take the blame about this. This was due to the porting of registry
eventing to use the new eventing implementation, committed in two commits
r91619, and r91623, a few minutes apart. Your svn update unfortunately
should have been within this ~15min window. We will make sure the same will
not be repeated.

Thanks,
Senaka.



 On Mon, Apr 4, 2011 at 6:47 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 This was fixed by Janaka a little while ago. Take a svn up of
 components/pom.xml

  On Mon, Apr 4, 2011 at 6:44 PM, Afkham Azeez az...@wso2.com wrote:

 I got a full svn up, and then did mvn install. Ended up with the
 following failure within a second.

 [INFO] Scanning for projects...
 Downloading:
 http://people.apache.org/repo/m1-snapshot-repository//org.apache.commons/poms/commons-parent-17.pom
 [INFO] Unable to find resource 'org.apache.commons:commons-parent:pom:17'
 in repository apache.m1 (
 http://people.apache.org/repo/m1-snapshot-repository/)
 Downloading:
 http://repo1.maven.org/maven2/org/apache/commons/commons-parent/17/commons-parent-17.pom

 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.wso2.carbon:org.wso2.carbon.registry.eventing
 POM Location:
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml
 Validation Messages:

 [0]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.core:jar
 [1]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.ws:jar


 Reason: Failed to validate POM for project
 org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
 for project org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


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



 ___
 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




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

2011-04-04 Thread Senaka Fernando
On Mon, Apr 4, 2011 at 6:58 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Azeez,

 On Mon, Apr 4, 2011 at 6:50 PM, Afkham Azeez az...@wso2.com wrote:

 Janaka,
 Why did you commit with such a major build failure? We have to realize
 that when you be careless like this, you are impacting the work of 100 other
 developers!


 I'm to take the blame about this. This was due to the porting of registry
 eventing to use the new eventing implementation, committed in two commits
 r91619, and r91623, a few minutes apart. Your svn update unfortunately
 should have been within this ~15min window. We will make sure the same will
 not be repeated.


Please also note that Ajith is doing some cleaning up of the P2 profile
generation code in G-Reg right now to work with the latest event
implementation (we are making things proper), which is impacted by these
changes. Please do give us a few minutes to sort that out.

Thanks,
Senaka.


 Thanks,
 Senaka.



 On Mon, Apr 4, 2011 at 6:47 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 This was fixed by Janaka a little while ago. Take a svn up of
 components/pom.xml

  On Mon, Apr 4, 2011 at 6:44 PM, Afkham Azeez az...@wso2.com wrote:

 I got a full svn up, and then did mvn install. Ended up with the
 following failure within a second.

 [INFO] Scanning for projects...
 Downloading:
 http://people.apache.org/repo/m1-snapshot-repository//org.apache.commons/poms/commons-parent-17.pom
 [INFO] Unable to find resource
 'org.apache.commons:commons-parent:pom:17' in repository apache.m1 (
 http://people.apache.org/repo/m1-snapshot-repository/)
 Downloading:
 http://repo1.maven.org/maven2/org/apache/commons/commons-parent/17/commons-parent-17.pom

 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.wso2.carbon:org.wso2.carbon.registry.eventing
 POM Location:
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml
 Validation Messages:

 [0]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.core:jar
 [1]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.ws:jar


 Reason: Failed to validate POM for project
 org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
 for project org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


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



 ___
 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




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

Re: [Carbon-dev] FYI: Carbon core and product should be built with mvn clean install

2011-04-04 Thread Afkham Azeez
Harshana,
Please look into this urgently!


On Mon, Apr 4, 2011 at 7:06 PM, Supun Kamburugamuva su...@wso2.com wrote:

 If you build the carbon core without *clean* the product won't start.

 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




-- 
*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] FYI: Carbon core and product should be built with mvn clean install

2011-04-04 Thread Afkham Azeez
What is the error you are seeing?


On Mon, Apr 4, 2011 at 7:06 PM, Supun Kamburugamuva su...@wso2.com wrote:

 If you build the carbon core without *clean* the product won't start.

 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




-- 
*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] ESB Login failure

2011-04-04 Thread Supun Kamburugamuva
The nhttp HTTPS port is set as the management console URL. I believe this is
dues to a recent change. Did we change a system property name where we set
the management console port?

Thanks,
Supun..

On Mon, Apr 4, 2011 at 5:45 PM, Afkham Azeez az...@wso2.com wrote:

 You noticed this only today? Tomcat 7 migration was done close to 2 months
 ago. Weren't there errors at that time?

 Azees


 On Mon, Apr 4, 2011 at 5:42 PM, Kasun Indrasiri ka...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 5:38 PM, Afkham Azeez az...@wso2.com wrote:

 Yes. Is this causing any issues in the ESB?

 Yeah. We cannot login to the management console and gives the above
 mentioned exceptions.



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

 In mgt-transport.xml, there are some parameters
 added HTTP_11_NIO/HTTPS_11_NIO. Is this related to tomcat7 migration?


 transport name=http
 class=org.wso2.carbon.server.transports.http.HttpTransport
 !--
The Tomcat connector protocol to be used. Valid values are;

1. HTTP_11
2. HTTP_11_NIO
3. HTTP_11_APR
 --
 parameter name=protocolHTTP_11_NIO/parameter

 parameter name=port9763/parameter

 ..

  transport name=https
 class=org.wso2.carbon.server.transports.http.HttpTransport

 !--
The Tomcat connector protocol to be used. Valid values are;

1. HTTPS_11
2. HTTPS_11_NIO
3. HTTPS_11_APR
 --
 parameter name=protocolHTTPS_11_NIO/parameter

 parameter name=port9443/parameter



 On Mon, Apr 4, 2011 at 5:15 PM, Thilina Buddhika thili...@wso2.comwrote:

 Looks like the AuthenticationAdmin calls are not going through the
 servlet transport.

 Thanks,
 Thilina

 On Mon, Apr 4, 2011 at 5:03 PM, Kasun Indrasiri ka...@wso2.comwrote:

 In the latest local ESB build, we cannot login to the mgmt console.

 [2011-04-04 16:54:07,189] ERROR
 {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Exception occurred
 while trying to invoke service method login
 java.lang.reflect.InvocationTargetException
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
 at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
  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)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.AbstractAdmin.getHttpSession(AbstractAdmin.java:148)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:63)
  ... 16 more
 [2011-04-04 16:54:07,208] ERROR
 {org.apache.synapse.transport.nhttp.ServerWorker} -  Error processing 
 POST
 request
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
 service method login
  at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:208)
 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.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408)
  at
 org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259)
 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)
 Caused by: java.lang.reflect.InvocationTargetException

Re: [Carbon-dev] Build failure

2011-04-04 Thread Senaka Fernando
On Mon, Apr 4, 2011 at 7:02 PM, Senaka Fernando sen...@wso2.com wrote:



 On Mon, Apr 4, 2011 at 6:58 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Azeez,

 On Mon, Apr 4, 2011 at 6:50 PM, Afkham Azeez az...@wso2.com wrote:

 Janaka,
 Why did you commit with such a major build failure? We have to realize
 that when you be careless like this, you are impacting the work of 100 other
 developers!


 I'm to take the blame about this. This was due to the porting of registry
 eventing to use the new eventing implementation, committed in two commits
 r91619, and r91623, a few minutes apart. Your svn update unfortunately
 should have been within this ~15min window. We will make sure the same will
 not be repeated.


 Please also note that Ajith is doing some cleaning up of the P2 profile
 generation code in G-Reg right now to work with the latest event
 implementation (we are making things proper), which is impacted by these
 changes. Please do give us a few minutes to sort that out.


This has been fixed in r91629, and the new event functionality has been
completely ported into registry eventing.

Thanks,
Senaka.


 Thanks,
 Senaka.


 Thanks,
 Senaka.



 On Mon, Apr 4, 2011 at 6:47 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 This was fixed by Janaka a little while ago. Take a svn up of
 components/pom.xml

  On Mon, Apr 4, 2011 at 6:44 PM, Afkham Azeez az...@wso2.com wrote:

 I got a full svn up, and then did mvn install. Ended up with the
 following failure within a second.

 [INFO] Scanning for projects...
 Downloading:
 http://people.apache.org/repo/m1-snapshot-repository//org.apache.commons/poms/commons-parent-17.pom
 [INFO] Unable to find resource
 'org.apache.commons:commons-parent:pom:17' in repository apache.m1 (
 http://people.apache.org/repo/m1-snapshot-repository/)
 Downloading:
 http://repo1.maven.org/maven2/org/apache/commons/commons-parent/17/commons-parent-17.pom

 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.wso2.carbon:org.wso2.carbon.registry.eventing
 POM Location:
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml
 Validation Messages:

 [0]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.core:jar
 [1]  'dependencies.dependency.version' is missing for
 org.wso2.carbon:org.wso2.carbon.event.ws:jar


 Reason: Failed to validate POM for project
 org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Failed to validate
 POM for project org.wso2.carbon:org.wso2.carbon.registry.eventing at
 /Users/azeez/projects/wso2/org/trunk/carbon/components/registry/org.wso2.carbon.registry.eventing/pom.xml


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



 ___
 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




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

[Carbon-dev] QPid configuration files are not copied in the ESB distribution

2011-04-04 Thread Supun Kamburugamuva
We still get the qpid configuration files not found error while starting the
ESB. What should we do to get this fixed?

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 configuration files are not copied in the ESB distribution

2011-04-04 Thread Senaka Fernando
Guys,

G-Reg seems to be having the same issues, :-( with the addition of the new
event implementation. I was under the impression that simply adding the qpid
server feature was sufficient to get this to work. Do we have to do anything
else?

Thanks,
Senaka.

On Mon, Apr 4, 2011 at 7:22 PM, Supun Kamburugamuva su...@wso2.com wrote:

 We still get the qpid configuration files not found error while starting
 the ESB. What should we do to get this fixed?

 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




-- 
*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] FYI: Carbon core and product should be built with mvn clean install

2011-04-04 Thread Pradeep Fernando
hi,

On Mon, Apr 4, 2011 at 7:16 PM, Supun Kamburugamuva su...@wso2.com wrote:
 The build is not complete. It complains about missing contrains from bundles
 like commons-logging, commons-io etc. It seems that the bundles.info is not
 generated properly. You can simply build the carbon core without clean and
 carbon core won't start.

yes, I have observed the behaviour for a while. Every time i encounter
the partial bundle.info there is a common pattern. the people have
used mvn install. It is affecting the p2.inf resouce copying as well.
I'm not 100% sure though.

--Pradeep



 Thanks,
 Supun..

 On Mon, Apr 4, 2011 at 7:13 PM, Afkham Azeez az...@wso2.com wrote:

 What is the error you are seeing?

 On Mon, Apr 4, 2011 at 7:06 PM, Supun Kamburugamuva su...@wso2.com
 wrote:

 If you build the carbon core without clean the product won't start.

 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




 --
 Afkham Azeez
 Senior Software Architect  Senior Manager; WSO2, Inc.; http://wso2.com,

 Member; Apache Software Foundation; http://www.apache.org/
 email: az...@wso2.com cell: +94 77 3320919
 blog: http://blog.afkham.org
 twitter: http://twitter.com/afkham_azeez
 linked-in: http://lk.linkedin.com/in/afkhamazeez

 Lean . Enterprise . Middleware



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





-- 
Pradeep Fernando
Software Engineer
WSO2 Inc; http://wso2.com/

blog: http://pradeepfernando.blogspot.com/
m: +94776603662
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] QPid configuration files are not copied in the ESB distribution

2011-04-04 Thread Anjana Fernando
Hi,

Same with DSS, can anyone point to where we actually get these
configuration files from, basically the stuff inside the new
advanced directory, according to what I read from previous mails, we
should be getting this when including the event feature (which depends
on qpid as I know) ? .. So far as I see, we are not getting those from
anywhere.

Cheers,
Anjana.

On Mon, Apr 4, 2011 at 7:29 PM, Senaka Fernando sen...@wso2.com wrote:
 Guys,

 G-Reg seems to be having the same issues, :-( with the addition of the new
 event implementation. I was under the impression that simply adding the qpid
 server feature was sufficient to get this to work. Do we have to do anything
 else?

 Thanks,
 Senaka.

 On Mon, Apr 4, 2011 at 7:22 PM, Supun Kamburugamuva su...@wso2.com wrote:

 We still get the qpid configuration files not found error while starting
 the ESB. What should we do to get this fixed?

 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




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





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


Re: [Carbon-dev] QPid configuration files are not copied in the ESB distribution

2011-04-04 Thread Pradeep Fernando
On Mon, Apr 4, 2011 at 7:29 PM, Senaka Fernando sen...@wso2.com wrote:
 Guys,

 G-Reg seems to be having the same issues, :-( with the addition of the new
 event implementation. I was under the impression that simply adding the qpid
 server feature was sufficient to get this to work. Do we have to do anything

they are using p2.inf to copy conf files. you have to copy stuff
accordingly. this is not new to greg i guess. ;)

--Pradeep


 else?

 Thanks,
 Senaka.

 On Mon, Apr 4, 2011 at 7:22 PM, Supun Kamburugamuva su...@wso2.com wrote:

 We still get the qpid configuration files not found error while starting
 the ESB. What should we do to get this fixed?

 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




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





-- 
Pradeep Fernando
Software Engineer
WSO2 Inc; http://wso2.com/

blog: http://pradeepfernando.blogspot.com/
m: +94776603662
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


  1   2   >