[Dev] Build failed on the JiBX sample in WSO2 Application server

2013-12-13 Thread Nadeeshaan Gunasinghe
Hi all,
When I Try to build the JiBX sample (
http://docs.wso2.org/display/AS521/JiBX+Data+Binding) it gives a BUILD
FAILED message and the error Log is as follows

[bind] Error running binding compiler
 [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
target 12 in method
org.wso2.appserver.jibx.library.beans.Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
at offset 1
 [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
 [bind] at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
 [bind] at java.lang.Class.getDeclaredMethods(Class.java:1845)
 [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
 [bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
 [bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
 [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 [bind] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [bind] at java.lang.reflect.Method.invoke(Method.java:606)
 [bind] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
 [bind] at org.apache.tools.ant.Target.execute(Target.java:390)
 [bind] at org.apache.tools.ant.Target.performTasks(Target.java:411)
 [bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
 [bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
 [bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 [bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1251)
 [bind] at org.apache.tools.ant.Main.runBuild(Main.java:809)
 [bind] at org.apache.tools.ant.Main.startAnt(Main.java:217)
 [bind] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
 [bind] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)


I have installed JDK 1.7 in my machine. Why this error apears?
Thanks
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UES-468] Carbon automation core gives error UES

2013-12-13 Thread Madhuka Udantha
Hi,

When UES master[1] ingratiating with UI test[2] in wso2.carbon.automation
it run UI test with passing test. After test execution finished, below
exception is throwing.


[2013-12-13 12:24:39,199]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-12-13 12:24:39,098]  INFO
{org.apache.axis2.transport.tcp.TCPTransportSender} -  TCP Sende
r Shutdown
[2013-12-13 12:24:39,200]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-12-13 12:24:39,102] ERROR
{org.wso2.carbon.core.init.CarbonServerManager} -  Failed to Un-
register Servlets
[2013-12-13 12:24:39,206]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 java.lang.NullPointerException
[2013-12-13 12:24:39,206]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:358)
[2013-12-13 12:24:39,206]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:354)
[2013-12-13 12:24:39,207]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.lazyUnload(TomcatGenericWebap
psDeployer.java:379)
[2013-12-13 12:24:39,207]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.cleanup(AbstractWebappDeployer.java
:259)
[2013-12-13 12:24:39,208]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.apache.axis2.deployment.DeploymentEngine.cleanup(DeploymentEngine.java:1386)
[2013-12-13 12:24:39,208]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.wso2.carbon.core.CarbonAxisConfigurator.cleanup(CarbonAxisConfigurator.java:449)
[2013-12-13 12:24:39,208]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.apache.axis2.engine.AxisConfiguration.cleanup(AxisConfiguration.java:1438)
[2013-12-13 12:24:39,209]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.apache.axis2.context.ConfigurationContext.terminate(ConfigurationContext.java:788
)
[2013-12-13 12:24:39,209]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.apache.axis2.transport.http.AxisServlet.destroy(AxisServlet.java:528)
[2013-12-13 12:24:39,209]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.destroy(ServletRegistra
tion.java:38)
[2013-12-13 12:24:39,209]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.unregister(ProxyServlet.java:1
53)
[2013-12-13 12:24:39,210]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.unregister(HttpServiceImpl.
java:88)
[2013-12-13 12:24:39,210]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.wso2.carbon.core.init.CarbonServerManager.stop(CarbonServerManager.java:925)
[2013-12-13 12:24:39,210]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 at
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.deactivate(CarbonCoreService
Component.java:82)


[1] https://github.com/wso2/ues
[2] https://wso2.org/jira/browse/UES-468

-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

*Mobile*: +94774066336
*Blog*: http://madhukaudantha.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UES-468] Carbon automation core gives error UES

2013-12-13 Thread Nuwan Wimalasekara
Hi maduka,
As the log, the exception throws from the UES when shutting down the
server. Test framework core does only calling the server shutting down
service after the tests. Then it prints the logs of what UES server console
prints. so we need to test the UES shutting down manually an make sure that
it is working without any error logs. if it works fine, We need to look the
test flow of the UES test cases to identify which test case makes
serverunstable.

Thanks,
Nuwanw


On Fri, Dec 13, 2013 at 2:15 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi,

 When UES master[1] ingratiating with UI test[2] in wso2.carbon.automation
 it run UI test with passing test. After test execution finished, below
 exception is throwing.


 [2013-12-13 12:24:39,199]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  [2013-12-13 12:24:39,098]  INFO
 {org.apache.axis2.transport.tcp.TCPTransportSender} -  TCP Sende
 r Shutdown
 [2013-12-13 12:24:39,200]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  [2013-12-13 12:24:39,102] ERROR
 {org.wso2.carbon.core.init.CarbonServerManager} -  Failed to Un-
 register Servlets
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  java.lang.NullPointerException
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:358)
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:354)
 [2013-12-13 12:24:39,207]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.lazyUnload(TomcatGenericWebap
 psDeployer.java:379)
 [2013-12-13 12:24:39,207]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.cleanup(AbstractWebappDeployer.java
 :259)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.deployment.DeploymentEngine.cleanup(DeploymentEngine.java:1386)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.cleanup(CarbonAxisConfigurator.java:449)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.engine.AxisConfiguration.cleanup(AxisConfiguration.java:1438)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.context.ConfigurationContext.terminate(ConfigurationContext.java:788
 )
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.transport.http.AxisServlet.destroy(AxisServlet.java:528)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.destroy(ServletRegistra
 tion.java:38)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.unregister(ProxyServlet.java:1
 53)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.unregister(HttpServiceImpl.
 java:88)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.init.CarbonServerManager.stop(CarbonServerManager.java:925)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.deactivate(CarbonCoreService
 Component.java:82)


 [1] https://github.com/wso2/ues
 [2] https://wso2.org/jira/browse/UES-468

 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/

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




-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UES-468] Carbon automation core gives error UES

2013-12-13 Thread Madhuka Udantha
Thanks Nuwan for the point.
I will follow it.




On Fri, Dec 13, 2013 at 2:51 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 Hi maduka,
 As the log, the exception throws from the UES when shutting down the
 server. Test framework core does only calling the server shutting down
 service after the tests. Then it prints the logs of what UES server console
 prints. so we need to test the UES shutting down manually an make sure
 that it is working without any error logs. if it works fine, We need to
 look the test flow of the UES test cases to identify which test case makes
 server unstable.

 Thanks,
 Nuwanw


 On Fri, Dec 13, 2013 at 2:15 PM, Madhuka Udantha madh...@wso2.com wrote:

 Hi,

 When UES master[1] ingratiating with UI test[2] in wso2.carbon.automation
 it run UI test with passing test. After test execution finished, below
 exception is throwing.


 [2013-12-13 12:24:39,199]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  [2013-12-13 12:24:39,098]  INFO
 {org.apache.axis2.transport.tcp.TCPTransportSender} -  TCP Sende
 r Shutdown
 [2013-12-13 12:24:39,200]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  [2013-12-13 12:24:39,102] ERROR
 {org.wso2.carbon.core.init.CarbonServerManager} -  Failed to Un-
 register Servlets
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  java.lang.NullPointerException
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:358)
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:354)
 [2013-12-13 12:24:39,207]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.lazyUnload(TomcatGenericWebap
 psDeployer.java:379)
 [2013-12-13 12:24:39,207]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.cleanup(AbstractWebappDeployer.java
 :259)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.deployment.DeploymentEngine.cleanup(DeploymentEngine.java:1386)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.cleanup(CarbonAxisConfigurator.java:449)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.engine.AxisConfiguration.cleanup(AxisConfiguration.java:1438)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.context.ConfigurationContext.terminate(ConfigurationContext.java:788
 )
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.transport.http.AxisServlet.destroy(AxisServlet.java:528)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.destroy(ServletRegistra
 tion.java:38)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.unregister(ProxyServlet.java:1
 53)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.unregister(HttpServiceImpl.
 java:88)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.init.CarbonServerManager.stop(CarbonServerManager.java:925)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.deactivate(CarbonCoreService
 Component.java:82)


 [1] https://github.com/wso2/ues
 [2] https://wso2.org/jira/browse/UES-468

 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/

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




 --
 Nuwan Wimalasekara
 Senior Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 phone: +94 71 668 4620






-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

*Mobile*: +94774066336
*Blog*: 

Re: [Dev] [UES-468] Carbon automation core gives error UES

2013-12-13 Thread Lasantha Fernando
Hi all,

A similar issue was reported in [1] and a fix was done to webapp-mgt
component by Mohan. The fix is available from version 4.2.1 of the
component. It might be that there is a reference to the old component.

[1] https://wso2.org/jira/browse/CEP-370

Thanks,
Lasantha


On 13 December 2013 15:07, Madhuka Udantha madh...@wso2.com wrote:

 Thanks Nuwan for the point.
 I will follow it.




 On Fri, Dec 13, 2013 at 2:51 PM, Nuwan Wimalasekara nuw...@wso2.comwrote:

 Hi maduka,
 As the log, the exception throws from the UES when shutting down the
 server. Test framework core does only calling the server shutting down
 service after the tests. Then it prints the logs of what UES server console
 prints. so we need to test the UES shutting down manually an make sure
 that it is working without any error logs. if it works fine, We need to
 look the test flow of the UES test cases to identify which test case makes
 server unstable.

 Thanks,
 Nuwanw


 On Fri, Dec 13, 2013 at 2:15 PM, Madhuka Udantha madh...@wso2.comwrote:

 Hi,

 When UES master[1] ingratiating with UI test[2] in
 wso2.carbon.automation it run UI test with passing test. After test
 execution finished, below exception is throwing.


 [2013-12-13 12:24:39,199]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  [2013-12-13 12:24:39,098]  INFO
 {org.apache.axis2.transport.tcp.TCPTransportSender} -  TCP Sende
 r Shutdown
 [2013-12-13 12:24:39,200]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  [2013-12-13 12:24:39,102] ERROR
 {org.wso2.carbon.core.init.CarbonServerManager} -  Failed to Un-
 register Servlets
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  java.lang.NullPointerException
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:358)
 [2013-12-13 12:24:39,206]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:354)
 [2013-12-13 12:24:39,207]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.lazyUnload(TomcatGenericWebap
 psDeployer.java:379)
 [2013-12-13 12:24:39,207]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.cleanup(AbstractWebappDeployer.java
 :259)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.deployment.DeploymentEngine.cleanup(DeploymentEngine.java:1386)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.cleanup(CarbonAxisConfigurator.java:449)
 [2013-12-13 12:24:39,208]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.engine.AxisConfiguration.cleanup(AxisConfiguration.java:1438)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.context.ConfigurationContext.terminate(ConfigurationContext.java:788
 )
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.apache.axis2.transport.http.AxisServlet.destroy(AxisServlet.java:528)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.destroy(ServletRegistra
 tion.java:38)
 [2013-12-13 12:24:39,209]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.unregister(ProxyServlet.java:1
 53)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.unregister(HttpServiceImpl.
 java:88)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.init.CarbonServerManager.stop(CarbonServerManager.java:925)
 [2013-12-13 12:24:39,210]  INFO
 {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
  at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.deactivate(CarbonCoreService
 Component.java:82)


 [1] https://github.com/wso2/ues
 [2] https://wso2.org/jira/browse/UES-468

 --
 *Madhuka* Udantha
 Senior Software Engineer
 Development Technologies
 WSO2 Inc. : http://wso2.com

 *Mobile*: +94774066336
 *Blog*: http://madhukaudantha.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 

[Dev] API Manager-1.6.0 nightly build pack - 13/12/2013

2013-12-13 Thread Dinusha Senanayaka
Hi All,

Please find the $subject in [1].

[1]. http://builder1.us1.wso2.org/~apim/13-12-2013/


Regards,
Dinusha.
-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Manager-1.6.0 nightly build pack - 12/12/2013

2013-12-13 Thread Dinusha Senanayaka
Hi Nirodha,

Please find the latest build pack in [1]. This pack includes the fix for
WSClient issue.

[1]. builder1.us1.wso2.org/~apim/13-12-2013/wso2am-1.6.0.zip

Regards,
Dinusha.


On Fri, Dec 13, 2013 at 12:35 AM, Nuwan Dias nuw...@wso2.com wrote:

 I have committed to a wrong location :(. That's why it has not gone into
 the pack. Will fix properly.

 Thanks,
 NuwanD.


 On Thu, Dec 12, 2013 at 10:34 PM, Nirodha Pramod niro...@wso2.com wrote:

 Hi Dinusha,

 Still the WSClient issue is not fixed in this pack. Please have a look.

 https://wso2.org/jira/browse/APIMANAGER-1871

 regards,
 Nirodha


 On Thu, Dec 12, 2013 at 9:06 PM, Dinusha Senanayaka dinu...@wso2.comwrote:

 Hi All,

 Please find the $subject in [1].

 [1]. http://builder1.us1.wso2.org/~apim/12-12-2013/


 Regards,
 Dinusha.
 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




 --

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

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




 --
 Nuwan Dias

 Senior Software Engineer - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Kernel commit for patch 0004

2013-12-13 Thread Vijayaratha Vijayasingam
Hi manoj;
We want to add cipher-tool .properties for AM -datasources.
I have added the patch here..Please commit to kernel patch 0004.
Thanks
-- 
-Ratha
mobile: (+94)755906608


cipher-tool.properties.patch
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Identity Server 4.6.0 release

2013-12-13 Thread Suneth Ranasinghe
Hi All,

Following are the details for the IS cluster setup.

ELB  -   192.168.18.23
Node 1 -  192.168.18.23
Node 2 - 192.168.18.24

Please add the following entry to your /etc/hosts file.

192.168.18.23   wso2.is.com

Access Url: https://wso2.is.com:9444/carbon/

Regards,





On Fri, Dec 13, 2013 at 7:39 PM, Shavantha Weerasinghe
shavan...@wso2.comwrote:

 Hi All

 Below are the areas  that the IS team has identified as need to be
 covered, from my end I have (OAuth/SSO/UM//Open ID) today Also the
 area of account recovery. Lets focus on these areas during the weekend
 as well.

 regards,shavantha

 IS Team,

 Lets start aggressively testing the pack that will be built today in
 the builder machine.

 1. SAML2 / STS/ PassiveSTS -
 2. OAuth 2 / OAuth 1.0a / OpenIDConnect / OpenID / KDC-
 3. XACML -
 4. Identity Management -
 5. User Management / LDAP / AD / JDBC- Darshana / Venura
 6. SCIM -



 On Wed, Dec 11, 2013 at 6:45 PM, Johann Nallathamby joh...@wso2.com
 wrote:
 
  Hi All,
 
  Please find the latest pack at [1].
 
  [1]
 https://svn.wso2.org/repos/wso2/scratch/IS-4.6.0/11-12-13-pack2/wso2is-4.6.0.zip
 
 
  On Thu, Dec 5, 2013 at 1:09 PM, Chamath Gunawardana chama...@wso2.com
 wrote:
 
  Hi Shavantha,
 
  The pack is available in
 https://svn.wso2.org/repos/wso2/scratch/IS-4.5.1/5-12-13/wso2is-4.6.0.zip
 
 
  Thanks,
 
 
  On Thu, Dec 5, 2013 at 11:19 AM, Shavantha Weerasinghe 
 shavan...@wso2.com wrote:
 
  hi guys
 
  any update on a pack for testing
 
  regards,
  Shavantha Weerasinghe
  Senior Software Engineer QA
  WSO2, Inc.
  lean.enterprise.middleware.
  http://wso2.com
  http://wso2.org
  Tel : 94 11 214 5345
  Fax :94 11 2145300
 
 
 
  On Wed, Dec 4, 2013 at 9:58 AM, Shavantha Weerasinghe
  shavan...@wso2.com wrote:
   Hi Venura
  
   Thanks for the update
  
   regards.
   Shavantha Weerasinghe
   Senior Software Engineer QA
   WSO2, Inc.
   lean.enterprise.middleware.
   http://wso2.com
   http://wso2.org
   Tel : 94 11 214 5345
   Fax :94 11 2145300
  
  
  
   On Wed, Dec 4, 2013 at 9:55 AM, Venura Kahawala ven...@wso2.com
 wrote:
   Hi Shavantha,
  
   Ishara has encountered some integration test failures, which will
 be fixed
   ASAP. Then a pack can be released for QA testing.
  
   Regards,
   Venura
  
  
   On Wed, Dec 4, 2013 at 9:53 AM, Shavantha Weerasinghe 
 shavan...@wso2.com
   wrote:
  
   Hi Asela
  
   When will the pack be released for QA
  
   Regards,
   Shavantha Weerasinghe
   Senior Software Engineer QA
   WSO2, Inc.
   lean.enterprise.middleware.
   http://wso2.com
   http://wso2.org
   Tel : 94 11 214 5345
   Fax :94 11 2145300
  
  
  
   On Tue, Dec 3, 2013 at 5:41 PM, Asela Pathberiya as...@wso2.com
 wrote:
   
   
   
On Tue, Dec 3, 2013 at 4:33 PM, Sumedha Rubasinghe 
 sume...@wso2.com
wrote:
   
It's wrong to create chunk06. This should be in chunk05  then
 moved to
chunk06 once chunk05 is done.
   
   
Ok...  then we can create 4.6.0 in chuck 05. AFAIK, chuck05
 would be
frozen
soon.
   
   
Thanks,
Asela.
   
   
   
   
On Tue, Dec 3, 2013 at 4:13 PM, Ishara Karunarathna 
 isha...@wso2.com
wrote:
   
HI Asela,
   
   
   
   
On Tue, Dec 3, 2013 at 4:07 PM, Asela Pathberiya 
 as...@wso2.com
wrote:
   
Hi All,
   
It is great, if  we can get a build of WSO2 Identity Server
 4.6.0 for
QA
testing.  Shavantha is already assigned for QA testing. There
 are 16
L1s [1]
and 7 L2s [2] to be fixed. Some of these issues already have
 been
fixed. It
is better to go through them and review.  I guess, new
 feature [3]
is
already completed now. Is there any document on this? It is
 better,
if we
can have continuous packs based on the road map [4] until the
 release
is
done.
@Ishara, Shall we share the 4.6.0 pack (M1) which is done with
developer
testing?
   
We will have to create a chunk-06 and will build it and share.
   
   
Thanks,
Ishara
   
--
Ishara Karunarathna
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com
   
email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,
 mobile:
+94
718211678
   
--
You received this message because you are subscribed to the
 Google
Groups
WSO2 Engineering Group group.
To unsubscribe from this group and stop receiving emails from
 it, send
an
email to engineering-group+unsubscr...@wso2.com.
For more options, visit
https://groups.google.com/a/wso2.com/groups/opt_out.
   
   
   
   
--
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
   
   
   
   
--
Thanks  Regards,
Asela
   
ATL
Mobile : +94 777 625 933
  
  
  
  
   --
   Senior Software Engineer
  
   Mobile: +94 71 82 300 20
  
 
 
 
 
  --
  Best Regards,
  Chamath Gunawardana
  Technical Lead; WSO2 Inc.
  Mobile : +94776322240
 
 
 
 
  --
  Thanks  Regards,
 
  Johann Dilantha Nallathamby
  Senior Software 

Re: [Dev] [Architecture] [C5] WSO2 Carbon Kernel 5.0.0 - M1 Release

2013-12-13 Thread Sanjiva Weerawarana
Congratulations C5 team!

Hmmm ... legacy technologies like Axis2 .. ouch.

Sanjiva.
p.s.: s/GitHup/GitHub/.


On Thu, Dec 12, 2013 at 1:10 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi All,

 We are happy to inform you that the release of the first milestone of
 Carbon kernel 5.0.0. You can download the release distribution from [1].

 *What is Carbon Kernel 5?*
 Carbon kernel 5 is the next generation of WSO2 Carbon
 kernel, re-architected from the ground up with the latest technologies to
 overcome the existing architectural limitations as well as to get rid of
 the dependencies to the legacy technologies like Apache Axis2.

 This milestone release includes the bare minimum features for an OSGi
 runtime.

 *New Features*

- Equinox Kepler based light-weight OSGi runtime.
- New Carbon launcher implementation
- Centralized logging back-end (based on Log4j) which supports
multiple logging APIs.

 *How to contribute?*
 C5 code is now available in GitHup[2]. You can clone this repository and
 do a maven build from the root. If you have any suggestions or interested
 in C5 discussions, please do so via *dev@wso2.org dev@wso2.org* or 
 *architect...@wso2.org
 architect...@wso2.org* mailing lists.

 Please report bugs, if any here[3]

 *Known Issues*
 https://wso2.org/jira/browse/CARBON-14585?filter=11693

 Thanks,
 *C5 Team.*

 [1]
 http://svn.wso2.org/repos/wso2/people/sameera/work/carbon-5.0.0/milestone-1/wso2carbon-kernel-5.0.0-SNAPSHOT.zip
 [2] https://github.com/wso2/carbon-kernel
 [3] https://wso2.org/jira/browse/CARBON

 --
 Sameera Jayasoma,
 Architect,

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

 Lean . Enterprise . Middleware

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman  CEO; WSO2, Inc.;  http://wso2.com/
email: sanj...@wso2.com; office: +1 650 745 4499 x5700; cell: +94 77 787
6880 | +1 650 265 8311
blog: http://sanjiva.weerawarana.org/
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] JaxRS samples not building

2013-12-13 Thread Afkham Azeez
I downloaded AS 5.2.1 and tried to build the samples. I get the following
error.

[INFO] Scanning for projects...

[ERROR] The build could not read 1 project - [Help 1]

[ERROR]

[ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
(/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
has 1 error

[ERROR] Non-resolvable parent POM for
org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced and 'parent.relativePath' points at wrong
local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
/Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
[Help 2]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions,
please read the following articles:

[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



Also, http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
has several minor mistakes

-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/*
*email: **az...@wso2.com* az...@wso2.com
* cell: +94 77 3320919 %2B94%2077%203320919 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
http://lk.linkedin.com/in/afkhamazeez*

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


Re: [Dev] JaxRS samples not building

2013-12-13 Thread Afkham Azeez
Looks like the pom files in the sample directories are pointing to invalid
parents. Please take a look at the samples/pom.xml file.


On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.com wrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the following
 error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local repository,
 resolution will not be reattempted until the update interval of central has
 elapsed or updates are forced and 'parent.relativePath' points at wrong
 local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




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

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


Re: [Dev] JaxRS samples not building

2013-12-13 Thread Sagara Gunathunga
On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.com wrote:

 Looks like the pom files in the sample directories are pointing to invalid
 parents. Please take a look at the samples/pom.xml file.



It seems we have missed some other sample issues as well
https://wso2.org/jira/browse/WSAS-1641 :(

Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.com wrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the following
 error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local repository,
 resolution will not be reattempted until the update interval of central has
 elapsed or updates are forced and 'parent.relativePath' points at wrong
 local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JaxRS samples not building

2013-12-13 Thread Afkham Azeez
On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga sag...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.com wrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


So even basic testing of samples is not before releasing? No automated
tests that cover all the samples?


 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.com wrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local repository,
 resolution will not be reattempted until the update interval of central has
 elapsed or updates are forced and 'parent.relativePath' points at wrong
 local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 Sagara Gunathunga

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




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

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


Re: [Dev] JaxRS samples not building

2013-12-13 Thread Afkham Azeez
On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.com wrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


If the POMs are in error, please provide me with the correct POMs. I need
to try out some stuff urgently.



 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.com wrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval of
 central has elapsed or updates are forced and 'parent.relativePath' points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 Sagara Gunathunga

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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




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

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


Re: [Dev] JaxRS samples not building

2013-12-13 Thread Sagara Gunathunga
On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.com wrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


 If the POMs are in error, please provide me with the correct POMs. I need
 to try out some stuff urgently.


Could you please try with DevS JAX-RS wizard for the time being ? it's easy
and quicker. As I'm in middle of a workshop can't attend to fix POM file
myself for next few hours.

Thanks !




 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.com wrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval 
 of
 central has elapsed or updates are forced and 'parent.relativePath' points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 Sagara Gunathunga

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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




-- 
Sagara Gunathunga

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

Re: [Dev] JaxRS samples not building

2013-12-13 Thread Sagara Gunathunga
Following parent POM entry has been added to the top level sample POM file
that cause this issue ( we didn't have this entry on earlier versions) . I
think top level sample POM file should not refer to any other parents POMs.

parent
groupIdorg.wso2.appserver/groupId
artifactIdwso2appserver-samples-parent/artifactId
version5.2.1/version
/parent


Corrected POM file is attached here, please replace
wso2as-5.2.1/samples/pom.xml file and this will solve your issue.


Thanks !




On Fri, Dec 13, 2013 at 10:52 AM, Sagara Gunathunga sag...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.com wrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


 If the POMs are in error, please provide me with the correct POMs. I need
 to try out some stuff urgently.


 Could you please try with DevS JAX-RS wizard for the time being ? it's
 easy and quicker. As I'm in middle of a workshop can't attend to fix POM
 file myself for next few hours.

 Thanks !




 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.com wrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval 
 of
 central has elapsed or updates are forced and 'parent.relativePath' 
 points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 Sagara Gunathunga

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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; 

Re: [Dev] exploring Wso2 Registry

2013-12-13 Thread Udara Liyanage
Resource resource = registryService.get(resourcePath);
 return resource.getContent();

Above will return the resource if there is a end resource on the path
resourcePath or else an array of String which consist the resource paths
of the resources that lies inside the resourcePath path. This way you can
traverse the entire resource list recursively. Feel painfull :-)
Sorry if this is not what you required.


On Sun, Dec 8, 2013 at 8:16 AM, Chanaka Fernando chana...@wso2.com wrote:

 In that case you can first look for the registry entry ( key) you are
 going to add in the existing registry with the help of the above mentioned
 code block. Then if it is not there, you can add that entry. Bottom line of
 what you are trying to achieve is some kind of search. This can be achieved
 through the existing api s as I mentioned above.
 On Dec 8, 2013 7:07 AM, Aliosha aliosh...@gmail.com wrote:

 Well... in my application i aim to add and remove dynamically
  address-endpoints to  LoadBalanced Enpoints according to some
 conditions (each L-B-Endpoint is saved in /_system/config in the way i can
 keep their persistence).As i have more than one LoadBalance endpoint,
 before adding o removing, i need to check the presence of the
 address-endpoint in one of the loadbalance endpoint. I'm doing this
 programmatically and i have not knowledge about which (key-name) and how
 many Load-balanced-endpoint are there. I want to avoid to keep somewhere a
 static list of the l-b-endpoints as i need to achieve a sufficient
 flexibility. So i need to have the possibility to explore the registry
 content.


 2013/12/8 Chanaka Fernando chana...@wso2.com

 Hi Aliosha,

 As per the current implementation, it doesn't have an API to access the
 entire registry entries list. What are you trying to achieve through
 getting the entire list?

 Thanks,
 Chanaka


 On Fri, Dec 6, 2013 at 11:55 AM, Aliosha aliosh...@gmail.com wrote:

 Hi i need some help in this trick:
 For many reason i'm saving some endpoints in my /_system/config
 registry.

 In my code i need to get the list of all of them.
 I know i can get one resource programmatically using the code in the
 link below and previoulsy knowing its key:
 http://vvratha.blogspot.it/2013_02_01_archive.html

 In particular i'm referring to:

 Registry regInstance = synapseMsgContext.getConfiguration()
   .getRegistry();

 Object obj = regInstance.getResource(new Entry (Key), null);


 How can i get all the /_system/config entries List?
 Really thanks.




 --
 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://soatutorials.blogspot.com
 LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
 Twitter:https://twitter.com/chanakaudaya
 Wordpress:http://chanakaudaya.wordpress.com





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




-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JaxRS samples not building

2013-12-13 Thread Kasun Gajasinghe
Hi Azeez,

You can also use the ant scripts that is provided with each sample to build
them for the moment. We need to fix this issue ASAP. I think we can deploy
the missing poms to nexus to fix this issue. I guess this issue was not
surfaced during smoke testing because the missing poms gets copied to local
m2 repo during the platform build. I think we need to test the samples with
a clean repo too.

We have done some more isolation of samples like Jaxws-Jaxrs to reduce this
kind of errors, and to provide the users a clear idea about dependencies of
samples (seems those have gotten lost too).

Hi Sagara,

I was able to re-produce the issue [1]. Will fix it for the next release.

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


On Fri, Dec 13, 2013 at 11:57 PM, Sagara Gunathunga sag...@wso2.com wrote:



 Following parent POM entry has been added to the top level sample POM file
 that cause this issue ( we didn't have this entry on earlier versions) . I
 think top level sample POM file should not refer to any other parents POMs.

 parent
 groupIdorg.wso2.appserver/groupId
 artifactIdwso2appserver-samples-parent/artifactId
 version5.2.1/version
 /parent


 Corrected POM file is attached here, please replace
 wso2as-5.2.1/samples/pom.xml file and this will solve your issue.


 Thanks !




 On Fri, Dec 13, 2013 at 10:52 AM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.com wrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


 If the POMs are in error, please provide me with the correct POMs. I
 need to try out some stuff urgently.


 Could you please try with DevS JAX-RS wizard for the time being ? it's
 easy and quicker. As I'm in middle of a workshop can't attend to fix POM
 file myself for next few hours.

 Thanks !




 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.comwrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update 
 interval of
 central has elapsed or updates are forced and 'parent.relativePath' 
 points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 
 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug
 logging.

 [ERROR]

 [ERROR] For more information about the errors and possible
 solutions, please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 Sagara Gunathunga

 Senior 

Re: [Dev] JaxRS samples not building

2013-12-13 Thread Sagara Gunathunga
On Fri, Dec 13, 2013 at 2:07 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Azeez,

 You can also use the ant scripts that is provided with each sample to
 build them for the moment. We need to fix this issue ASAP. I think we can
 deploy the missing poms to nexus to fix this issue. I guess this issue
 was not surfaced during smoke testing because the missing poms gets copied
 to local m2 repo during the platform build. I think we need to test the
 samples with a clean repo too.

 We have done some more isolation of samples like Jaxws-Jaxrs to reduce
 this kind of errors, and to provide the users a clear idea about
 dependencies of samples (seems those have gotten lost too).

 Hi Sagara,

 I was able to re-produce the issue [1]. Will fix it for the next release.


 Cool, FYI some of the Aixs2 samples are failing as well so make sure you
can build all the samples.

Thanks !




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


 On Fri, Dec 13, 2013 at 11:57 PM, Sagara Gunathunga sag...@wso2.comwrote:



 Following parent POM entry has been added to the top level sample POM
 file that cause this issue ( we didn't have this entry on earlier versions)
 . I think top level sample POM file should not refer to any other parents
 POMs.

 parent
 groupIdorg.wso2.appserver/groupId
 artifactIdwso2appserver-samples-parent/artifactId
 version5.2.1/version
 /parent


 Corrected POM file is attached here, please replace
 wso2as-5.2.1/samples/pom.xml file and this will solve your issue.


 Thanks !




 On Fri, Dec 13, 2013 at 10:52 AM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga 
 sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.comwrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


 If the POMs are in error, please provide me with the correct POMs. I
 need to try out some stuff urgently.


 Could you please try with DevS JAX-RS wizard for the time being ? it's
 easy and quicker. As I'm in middle of a workshop can't attend to fix POM
 file myself for next few hours.

 Thanks !




 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.comwrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update 
 interval of
 central has elapsed or updates are forced and 'parent.relativePath' 
 points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 
 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven
 with the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug
 logging.

 [ERROR]

 [ERROR] For more information about the errors and possible
 solutions, please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: 
 

Re: [Dev] JaxRS samples not building

2013-12-13 Thread Sagara Gunathunga
On Fri, Dec 13, 2013 at 11:27 AM, Sagara Gunathunga sag...@wso2.com wrote:



 Following parent POM entry has been added to the top level sample POM file
 that cause this issue ( we didn't have this entry on earlier versions) . I
 think top level sample POM file should not refer to any other parents POMs.

 parent
 groupIdorg.wso2.appserver/groupId
 artifactIdwso2appserver-samples-parent/artifactId
 version5.2.1/version
 /parent


Supun/Kasun,

Could you please elaborate why we need to introduce another
wso2appserver-samples-parent pom here ? Last releases we didn't have this,
if you are not trying to solve a specific problem I just like to get rid of
this POM file so that  wso2as-5.2.1/samples/pom.xml will be the ultimate
parent for all the samples .

Thanks !




 Corrected POM file is attached here, please replace
 wso2as-5.2.1/samples/pom.xml file and this will solve your issue.


 Thanks !




 On Fri, Dec 13, 2013 at 10:52 AM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.com wrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


 If the POMs are in error, please provide me with the correct POMs. I
 need to try out some stuff urgently.


 Could you please try with DevS JAX-RS wizard for the time being ? it's
 easy and quicker. As I'm in middle of a workshop can't attend to fix POM
 file myself for next few hours.

 Thanks !




 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.comwrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update 
 interval of
 central has elapsed or updates are forced and 'parent.relativePath' 
 points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 
 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug
 logging.

 [ERROR]

 [ERROR] For more information about the errors and possible
 solutions, please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 Sagara Gunathunga

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




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 

Re: [Dev] JaxRS samples not building

2013-12-13 Thread Isuru Perera
Hi Kasun,


On Fri, Dec 13, 2013 at 1:07 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Azeez,

 You can also use the ant scripts that is provided with each sample to
 build them for the moment. We need to fix this issue ASAP. I think we can
 deploy the missing poms to nexus to fix this issue. I guess this issue
 was not surfaced during smoke testing because the missing poms gets copied
 to local m2 repo during the platform build. I think we need to test the
 samples with a clean repo too.

 We have done some more isolation of samples like Jaxws-Jaxrs to reduce
 this kind of errors, and to provide the users a clear idea about
 dependencies of samples (seems those have gotten lost too).

 Hi Sagara,

 I was able to re-produce the issue [1]. Will fix it for the next release.

What is the reason for this issue?


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


 On Fri, Dec 13, 2013 at 11:57 PM, Sagara Gunathunga sag...@wso2.comwrote:



 Following parent POM entry has been added to the top level sample POM
 file that cause this issue ( we didn't have this entry on earlier versions)
 . I think top level sample POM file should not refer to any other parents
 POMs.

 parent
 groupIdorg.wso2.appserver/groupId
 artifactIdwso2appserver-samples-parent/artifactId
 version5.2.1/version
 /parent


 Corrected POM file is attached here, please replace
 wso2as-5.2.1/samples/pom.xml file and this will solve your issue.


 Thanks !




 On Fri, Dec 13, 2013 at 10:52 AM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga 
 sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.comwrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


 If the POMs are in error, please provide me with the correct POMs. I
 need to try out some stuff urgently.


 Could you please try with DevS JAX-RS wizard for the time being ? it's
 easy and quicker. As I'm in middle of a workshop can't attend to fix POM
 file myself for next few hours.

 Thanks !




 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.comwrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update 
 interval of
 central has elapsed or updates are forced and 'parent.relativePath' 
 points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 
 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven
 with the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug
 logging.

 [ERROR]

 [ERROR] For more information about the errors and possible
 solutions, please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 * linked-in: 

Re: [Dev] JaxRS samples not building

2013-12-13 Thread Afkham Azeez
Folks who are in SL from AS team, KasunG/SupunM etc. please fix these POMs
properly ASAP, and make it available to all users. Shipping samples that
don't work is a cardinal sin! Shipping samples that don't even build is
much worse!


On Sat, Dec 14, 2013 at 2:37 AM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Azeez,

 You can also use the ant scripts that is provided with each sample to
 build them for the moment. We need to fix this issue ASAP. I think we can
 deploy the missing poms to nexus to fix this issue. I guess this issue
 was not surfaced during smoke testing because the missing poms gets copied
 to local m2 repo during the platform build. I think we need to test the
 samples with a clean repo too.

 We have done some more isolation of samples like Jaxws-Jaxrs to reduce
 this kind of errors, and to provide the users a clear idea about
 dependencies of samples (seems those have gotten lost too).

 Hi Sagara,

 I was able to re-produce the issue [1]. Will fix it for the next release.

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


 On Fri, Dec 13, 2013 at 11:57 PM, Sagara Gunathunga sag...@wso2.comwrote:



 Following parent POM entry has been added to the top level sample POM
 file that cause this issue ( we didn't have this entry on earlier versions)
 . I think top level sample POM file should not refer to any other parents
 POMs.

 parent
 groupIdorg.wso2.appserver/groupId
 artifactIdwso2appserver-samples-parent/artifactId
 version5.2.1/version
 /parent


 Corrected POM file is attached here, please replace
 wso2as-5.2.1/samples/pom.xml file and this will solve your issue.


 Thanks !




 On Fri, Dec 13, 2013 at 10:52 AM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga 
 sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.comwrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


 If the POMs are in error, please provide me with the correct POMs. I
 need to try out some stuff urgently.


 Could you please try with DevS JAX-RS wizard for the time being ? it's
 easy and quicker. As I'm in middle of a workshop can't attend to fix POM
 file myself for next few hours.

 Thanks !




 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.comwrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update 
 interval of
 central has elapsed or updates are forced and 'parent.relativePath' 
 points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 
 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven
 with the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug
 logging.

 [ERROR]

 [ERROR] For more information about the errors and possible
 solutions, please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 

Re: [Dev] Kernel commit for patch 0004

2013-12-13 Thread Manoj Kumara
Hi Ratha,

Can you please raise a JIRA for this. I need to update the README.txt with
it.

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Fri, Dec 13, 2013 at 8:46 PM, Vijayaratha Vijayasingam
rat...@wso2.comwrote:


 Hi manoj;
 We want to add cipher-tool .properties for AM -datasources.
 I have added the patch here..Please commit to kernel patch 0004.
 Thanks
 --
  -Ratha
 mobile: (+94)755906608

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


Re: [Dev] JaxRS samples not building

2013-12-13 Thread Kasun Gajasinghe
Hi Sagara,


On Sat, Dec 14, 2013 at 2:52 AM, Sagara Gunathunga sag...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:27 AM, Sagara Gunathunga sag...@wso2.comwrote:



 Following parent POM entry has been added to the top level sample POM
 file that cause this issue ( we didn't have this entry on earlier versions)
 . I think top level sample POM file should not refer to any other parents
 POMs.

 parent
 groupIdorg.wso2.appserver/groupId
 artifactIdwso2appserver-samples-parent/artifactId
 version5.2.1/version
 /parent


 Supun/Kasun,

 Could you please elaborate why we need to introduce another
 wso2appserver-samples-parent pom here ? Last releases we didn't have this,
 if you are not trying to solve a specific problem I just like to get rid of
 this POM file so that  wso2as-5.2.1/samples/pom.xml will be the ultimate
 parent for all the samples .


I will see to add the poms to nexus and see whether we can solve the issue.
Adding the wso2appserver-samples-parent pom as the parent of samples pom
has meant that all the parent poms up to the platform has been chainly
linked together which is a mess!

I'm actually against introducing parent poms to samples. :) I'm not sure
how this got added to the samples though. As I see, some of the sample
improvements we did in 5.2.0 with regard to parent poms are also missing in
5.2.1. :(




 Thanks !




 Corrected POM file is attached here, please replace
 wso2as-5.2.1/samples/pom.xml file and this will solve your issue.


 Thanks !




 On Fri, Dec 13, 2013 at 10:52 AM, Sagara Gunathunga sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:42 AM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:08 PM, Afkham Azeez az...@wso2.com wrote:




 On Fri, Dec 13, 2013 at 11:06 PM, Sagara Gunathunga 
 sag...@wso2.comwrote:




 On Fri, Dec 13, 2013 at 10:34 AM, Afkham Azeez az...@wso2.comwrote:

 Looks like the pom files in the sample directories are pointing to
 invalid parents. Please take a look at the samples/pom.xml file.



 It seems we have missed some other sample issues as well
 https://wso2.org/jira/browse/WSAS-1641 :(


 So even basic testing of samples is not before releasing? No automated
 tests that cover all the samples?


 If the POMs are in error, please provide me with the correct POMs. I
 need to try out some stuff urgently.


 Could you please try with DevS JAX-RS wizard for the time being ? it's
 easy and quicker. As I'm in middle of a workshop can't attend to fix POM
 file myself for next few hours.

 Thanks !




 Thanks !



 On Fri, Dec 13, 2013 at 10:58 PM, Afkham Azeez az...@wso2.comwrote:

 I downloaded AS 5.2.1 and tried to build the samples. I get the
 following error.

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.wso2.appserver:jaxrs_basic:5.2.1
 (/Users/azeez/software/wso2as-5.2.1/samples/Jaxws-Jaxrs/jaxrs_basic/pom.xml)
 has 1 error

 [ERROR] Non-resolvable parent POM for
 org.wso2.appserver:wso2appserver-samples:5.2.1: Failure to find
 org.wso2.appserver:wso2appserver-samples-parent:pom:5.2.1 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update 
 interval of
 central has elapsed or updates are forced and 'parent.relativePath' 
 points
 at wrong local POM @ org.wso2.appserver:wso2appserver-samples:5.2.1,
 /Users/azeez/software/wso2as-5.2.1/samples/pom.xml, line 21, column 13 
 -
 [Help 2]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven
 with the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug
 logging.

 [ERROR]

 [ERROR] For more information about the errors and possible
 solutions, please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Also,
 http://docs.wso2.org/display/AS521/Building+and+Running+JAX-RS+Samples,
 has several minor mistakes

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/*
 *email: **az...@wso2.com* az...@wso2.com
 * cell: +94 77 3320919 %2B94%2077%203320919 blog: *
 *http://blog.afkham.org* http://blog.afkham.org
 *twitter: