stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (STRATOS-464) Stratos Manager failed to start with ClassNotFoundException
Date Tue, 18 Feb 2014 21:23:21 GMT
Jeffrey created STRATOS-464:
-------------------------------

             Summary: Stratos Manager failed to start with ClassNotFoundException
                 Key: STRATOS-464
                 URL: https://issues.apache.org/jira/browse/STRATOS-464
             Project: Stratos
          Issue Type: Bug
          Components: Stratos Manager
    Affects Versions: 4.0.0 Alpha
         Environment: OpenStack, Stratos 4.0 build from master branch
            Reporter: Jeffrey
            Priority: Blocker


Code pulled from Stratos incubator master branch as of Feb 18.  Stratos Manager failed to
start with java.lang.ClassNotFoundException: org.wso2.carbon.webapp.mgt.loader.CarbonWebappLoader.
  Please see log below.


TID: [0] [SCC] [2014-02-18 04:47:49,440]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
-  Starting WSO2 Carbon... {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [SCC] [2014-02-18 04:47:49,442]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
-  Operating System : Linux 3.5.0-23-generic, amd64 {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [SCC] [2014-02-18 04:47:49,442]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
-  Java Home        : /opt/jdk1.7.0_45/jre {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [SCC] [2014-02-18 04:47:49,442]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
-  Java Version     : 1.7.0_45 {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [SCC] [2014-02-18 04:47:49,442]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
-  Java VM          : Java HotSpot(TM) 64-Bit Server VM 24.45-b08,Oracle Corporation {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [SCC] [2014-02-18 04:47:49,442]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
-  Carbon Home      : /opt/wso2/apache-stratos-manager-4.0.0-SNAPSHOT {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [SCC] [2014-02-18 04:47:49,442]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
-  Java Temp Dir    : /opt/wso2/apache-stratos-manager-4.0.0-SNAPSHOT/tmp {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [SCC] [2014-02-18 04:47:49,442]  INFO {org.wso2.carbon.core.internal.CarbonCoreActivator}
-  User             : root, en-US, America/Los_Angeles {org.wso2.carbon.core.internal.CarbonCoreActivator}
TID: [0] [SCC] [2014-02-18 04:47:49,528]  WARN {org.wso2.carbon.core.bootup.validator.SystemValidator}
-  Could not validate the system for configuration parameter : CPU {org.wso2.carbon.core.bootup.validator.SystemValidator}
TID: [0] [SCC] [2014-02-18 04:47:49,529]  WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter}
-  The default keystore (wso2carbon.jks) is currently being used. To maximize security when
deploying to a production environment, configure a new keystore with a unique password in
the production server profile. {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter}
TID: [0] [SCC] [2014-02-18 04:47:49,529]  WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter}
-  Swap Memory size (MB): 1021 of the system is below the recommended minimum size :2048 {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter}
TID: [0] [SCC] [2014-02-18 04:47:50,222] ERROR {org.apache.tomcat.util.digester.Digester}
-  Begin event threw exception {org.apache.tomcat.util.digester.Digester}
java.lang.ClassNotFoundException: org.wso2.carbon.webapp.mgt.loader.CarbonWebappLoader
	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 org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
	at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:635)
	at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:580)
	at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:837)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
	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)
TID: [0] [SCC] [2014-02-18 04:47:50,225] ERROR {org.apache.catalina.startup.ContextConfig}
-  Parse error in context.xml for / {org.apache.catalina.startup.ContextConfig}
org.xml.sax.SAXParseException; systemId: file:/opt/wso2/apache-stratos-manager-4.0.0-SNAPSHOT/repository/conf/tomcat/context.xml;
lineNumber: 23; columnNumber: 151; Error at (23, 151) : org.wso2.carbon.webapp.mgt.loader.CarbonWebappLoader
	at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2687)
	at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2719)
	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1279)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
	at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:635)
	at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:580)
	at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:837)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
	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: java.lang.ClassNotFoundException: org.wso2.carbon.webapp.mgt.loader.CarbonWebappLoader
	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 org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
	... 26 more
TID: [0] [SCC] [2014-02-18 04:47:50,226] ERROR {org.apache.catalina.startup.ContextConfig}
-  Occurred at line 23 column 151 {org.apache.catalina.startup.ContextConfig}
TID: [0] [SCC] [2014-02-18 04:47:50,226]  WARN {org.apache.tomcat.util.digester.Digester}
-    No rules found matching 'Context/Loader/Context/WatchedResource'. {org.apache.tomcat.util.digester.Digester}



On a separate note, Cloud Controller process came up but I observed the following exception
in wso2carbon.log:


TID: [0] [CC] [2014-02-18 04:46:22,898] 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-02-18 04:46:22,904]  INFO {org.apache.axis2.transport.tcp.TCPTransportSender}
-  TCP Sender started {org.apache.axis2.transport.tcp.TCPTransportSender}




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message