Hi Isuru, I have questions about the andes client jar file (andes-client-0.13.wso2v8.jar):
- Where is the official place to get this file? Currently, I noticed it's deployed by default to /opt/wso2/apache-stratos-autoscaler-4.0.0-SNAPSHOT/repository/components/dropins/andes-client-0.13.wso2v8.jar, so I picked it up from this location. - I noticed we also have copies of this jar under /opt/wso2/wso2cep-3.0.0/repository/components/lib/andes-client-0.13.wso2v8.jar and /opt/wso2/wso2mb-2.1.0/client-lib/andes-client-0.13.wso2v8.jar. These copies have different size than the one under /opt/wso2/apache-stratos-autoscaler-4.0.0-SNAPSHOT/repository/components/dropins/andes-client-0.13.wso2v8.jar. Should I remove these copies since I already deploy newer version to <product>/repository/components/dropins/ or leave them but make sure they are the same version as /opt/wso2/apache-stratos-autoscaler-4.0.0-SNAPSHOT/repository/components/dropins/andes-client-0.13.wso2v8.jar? -rw-r--r-- 1 root root 2140848 Feb 19 00:30 /opt/wso2/apache-stratos-autoscaler-4.0.0-SNAPSHOT/repository/components/dropins/andes-client-0.13.wso2v8.jar -rw-r--r-- 1 root root 2140848 Feb 19 00:30 /opt/wso2/apache-stratos-cartridge-agent-4.0.0-SNAPSHOT/lib/andes-client-0.13.wso2v8.jar -rw-r--r-- 1 root root 2140848 Feb 19 00:30 /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/client-lib/andes-client-0.13.wso2v8.jar -rw-r--r-- 1 root root 2140848 Feb 19 00:30 /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/components/dropins/andes-client-0.13.wso2v8.jar -rw-r--r-- 1 root root 2140848 Feb 19 00:30 /opt/wso2/apache-stratos-load-balancer-4.0.0-SNAPSHOT/repository/components/dropins/andes-client-0.13.wso2v8.jar -rw-r--r-- 1 root root 2140848 Feb 19 00:30 /opt/wso2/apache-stratos-manager-4.0.0-SNAPSHOT/repository/components/dropins/andes-client-0.13.wso2v8.jar -rw-r--r-- 1 root root 2140848 Feb 19 00:30 /opt/wso2/wso2cep-3.0.0/repository/components/dropins/andes-client-0.13.wso2v8.jar -rw-r--r-- 1 root root 2139249 Mar 27 03:52 /opt/wso2/wso2cep-3.0.0/repository/components/lib/andes-client-0.13.wso2v8.jar -rw-r--r-- 1 root root 2139249 Jul 2 2013 /opt/wso2/wso2mb-2.1.0/client-lib/andes-client-0.13.wso2v8.jar Thanks, -Jeffrey From: Isuru Perera <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Tuesday, March 25, 2014 7:35 PM To: dev <[email protected]<mailto:[email protected]>> Subject: Re: issue with latest code from github / master Hi Jeffrey, That's great to hear. Just doing "mvn clean install" would work. On Wed, Mar 26, 2014 at 6:34 AM, Jeffrey Nguyen (jeffrngu) <[email protected]<mailto:[email protected]>> wrote: Just wanted to confirm that I don't see issue [1] with the latest code in master. Also I didn't need specify the special options I mentioned below (just "mvn clean install" from the top level). I also gave the Stratos zip files to Martin to test on his testbed and he no longer saw this issue. So I think it's just an issue w/ his build environment. -Jeffrey From: jeffrngu <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Tuesday, March 25, 2014 12:19 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, Nirmal Fernando <[email protected]<mailto:[email protected]>> Subject: Re: issue with latest code from github / master Hi Isuru, Nirmal and I looked at issue [1] together. What we did to get around this issue was to add an option to the maven command that will check for the latest version of dependencies. That seemed to fix the issue. Nirmal, do you recall what that option was? Somehow I don't see the options when I do 'mvn —help'. Regards, -Jeffrey From: Isuru Perera <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Tuesday, March 25, 2014 11:25 AM To: dev <[email protected]<mailto:[email protected]>> Subject: Re: issue with latest code from github / master Hi Martin, I mentioned about the andes-client-0.13.wso2v8.jar for WSO2 MB. This jar is required when you connect with WSO2 MB. The products you build from trunk will not have it and you will have to copy that jar to repository/components/dropins. However the class not found exceptions are not appearing in the latest products I built. I'm exactly not sure where the problem is. Looks like Jeffrey has also reported the same issue in February [1] and Udara has resolved as he was also unable to reproduce the issue. Since you and Jeffrey both have encountered the same issue, we will further check on possibilities of happening these kinds of an errors. Also note that we are in the middle of merging products into one and I hope you can give us some time to stabilize the trunk. Thanks! Best Regards, [1] https://issues.apache.org/jira/browse/STRATOS-464 On Wed, Mar 26, 2014 at 12:19 AM, Martin Eppel (meppel) <[email protected]<mailto:[email protected]>> wrote: I updated the code and still see the same error – I don’t understand what needs to be copied, exactly which module needs to be copied where ? Thanks Martin From: Isuru Perera [mailto:[email protected]<mailto:[email protected]>] Sent: Monday, March 24, 2014 11:18 PM To: dev Subject: Re: issue with latest code from github / master Hi, I just checked the latest code and I didn't notice a similar error. We are testing a single JVM product (which will merge the separate products) and perhaps those changes might have affected you when you got the code on March 24. Please try the latest code. Please note that we removed the client library for WSO2 MB from the products. You will have to manually copy that JAR now. The setup script is updated to copy this now. Thanks! On Tue, Mar 25, 2014 at 4:14 AM, Martin Eppel (meppel) <[email protected]<mailto:[email protected]>> wrote: Hi, I deployed the latest apache stratos code from Github (master, 03/24) and deployed but the system is throwing the error below (in controller, mananger, and autoscaler), is this a issue of the latest code or I am missing something ? Thanks Martin TID: [0] [CC] [2014-03-24 08:33:06,475] INFO {org.apache.axis2.transport.tcp.TCPTransportSender} - TCP Sender started {org.apache.axis2.transport.tcp.TCPTransportSender} TID: [0] [CC] [2014-03-24 08:33:06,550] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: echo {super-tenant} {org.wso2.carbon.core.deployment.DeploymentInterceptor} TID: [0] [CC] [2014-03-24 08:33:06,624] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: Echo.aar - file:/opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/Echo.aar {org.apache.axis2.deployment.DeploymentEngine} TID: [0] [CC] [2014-03-24 08:33:06,708] INFO {org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: Version {super-tenant} {org.wso2.carbon.core.deployment.DeploymentInterceptor} TID: [0] [CC] [2014-03-24 08:33:06,739] INFO {org.apache.axis2.deployment.DeploymentEngine} - Deploying Web service: Version.aar - file:/opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/Version.aar {org.apache.axis2.deployment.DeploymentEngine} TID: [0] [CC] [2014-03-24 08:33:06,804] INFO {org.apache.axis2.deployment.ModuleDeployer} - Deploying module: addressing-1.6.1-wso2v10 - file:/opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/deployment/client/modules/addressing-1.6.1-wso2v10.mar {org.apache.axis2.deployment.ModuleDeployer} TID: [0] [CC] [2014-03-24 08:33:06,810] ERROR {org.apache.axis2.deployment.ModuleDeployer} - The rampart-1.6.1-wso2v8.mar module, which is not valid, caused org.apache.rampart.Rampart {org.apache.axis2.deployment.ModuleDeployer} org.apache.axis2.deployment.DeploymentException: org.apache.rampart.Rampart at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:527) at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:77) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807) at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:264) at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:69) at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:64) at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:151) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:133) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) at org.wso2.carbon.core.init.CarbonServerManager.getClientConfigurationContext(CarbonServerManager.java:572) at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:460) at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219) at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146) at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620) at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197) at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343) at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81) at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40) at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: org.apache.axis2.deployment.DeploymentException: org.apache.rampart.Rampart at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:234) at org.apache.axis2.deployment.repository.util.ArchiveReader.readModuleArchive(ArchiveReader.java:514) ... 50 more Caused by: org.apache.axis2.deployment.DeploymentException: org.apache.rampart.Rampart at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:85) at org.apache.axis2.deployment.ModuleBuilder.populateModule(ModuleBuilder.java:120) ... 51 more Caused by: java.lang.ClassNotFoundException: org.apache.rampart.Rampart at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at org.apache.axis2.util.Loader.loadClass(Loader.java:261) at org.apache.axis2.util.Loader.loadClass(Loader.java:229) at org.apache.axis2.deployment.ModuleBuilder.loadModuleClass(ModuleBuilder.java:69) ... 52 more TID: [0] [CC] [2014-03-24 08:33:06,816] INFO {org.apache.axis2.transport.tcp.TCPTransportSender} - TCP Sender started {org.apache.axis2.transport.tcp.TCPTransportSender} TID: [0] [CC] [2014-03-24 08:33:08,530] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Repository : /opt/wso2/apache-stratos-cc-4.0.0-SNAPSHOT/repository/deployment/server/ {org.wso2.carbon.core.init.CarbonServerManager} -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha<http://about.me/chrishantha> -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha<http://about.me/chrishantha> -- Isuru Perera Senior Software Engineer | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha<http://about.me/chrishantha>
