Hi Isuru,

Adding the org.apache.stratos.metadata.client  component to the dropins got me 
one step further, but now I run into an exception of a missing 
METADATA_CLIENT_CONFIG_FILE  file (see below), where do I set the file and what 
information / data should be in there to get things back to work ? Do you have 
a sample ?

Thanks

Martin


TID: [0] [STRATOS] [2014-09-25 17:29:26,420] ERROR 
{org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} -  Unable to load the 
configuration file; no System Property found for METADATA_CLIENT_CONFIG_FILE 
{org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver}
java.lang.RuntimeException: Unable to load the configuration file; no System 
Property found for METADATA_CLIENT_CONFIG_FILE

From: isu...@wso2.com [mailto:isu...@wso2.com] On Behalf Of Isuru Haththotuwa
Sent: Tuesday, September 23, 2014 7:39 PM
To: Martin Eppel (meppel)
Cc: dev@stratos.apache.org; Reka Thirunavukkarasu (r...@wso2.com)
Subject: Re: issue with latest binaries from 4.0.0-grouping branch

Hi Martin,
I think this is due to some recent changes. Could you please build the 
org.apache.stratos.metadata.client component, and add it to the 
<STRATOS_HOME>/repository/component/dropins as a temporaray workaround for this?

On Wed, Sep 24, 2014 at 1:58 AM, Martin Eppel (meppel) 
<mep...@cisco.com<mailto:mep...@cisco.com>> wrote:


I updated the 4.0.0-grouping branch today morning (09/23 PST) and run into the 
exception below when I try to deploy an application:

I opened a JIRA for this issue

https://issues.apache.org/jira/browse/STRATOS-819

TID: [0] [STRATOS] [2014-09-23 20:17:33,080] DEBUG 
{org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser}
 -  Subscribable Information alias: c1alias22 
{org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser}
TID: [0] [STRATOS] [2014-09-23 20:17:33,080] DEBUG 
{org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser}
 -  Subscribable Information alias: c1alias32 
{org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser}
TID: [0] [STRATOS] [2014-09-23 20:17:33,080] DEBUG 
{org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser}
 -   ] 
{org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser}
TID: [0] [STRATOS] [2014-09-23 20:17:33,084] ERROR 
{org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} -  
org/apache/stratos/metadata/client/config/MetaDataClientConfig 
{org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver}
java.lang.NoClassDefFoundError: 
org/apache/stratos/metadata/client/config/MetaDataClientConfig
        at 
org.apache.stratos.cloud.controller.application.ApplicationUtils.getTextPayload(ApplicationUtils.java:158)
        at 
org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser.createClusterContext(DefaultApplicationParser.java:524)
        at 
org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser.getClusterInformation(DefaultApplicationParser.java:487)
        at 
org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser.buildCompositeAppStructure(DefaultApplicationParser.java:202)
        at 
org.apache.stratos.cloud.controller.application.parser.DefaultApplicationParser.parse(DefaultApplicationParser.java:99)
        at 
org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.deployApplicationDefinition(CloudControllerServiceImpl.java:1430)
        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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
        at 
org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
        at 
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
        at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
        at 
org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
        at 
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
        at 
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
        at 
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
        at 
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at 
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at 
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
        at 
org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
        at 
org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
        at 
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
        at 
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
        at 
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
        at 
org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
        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:745)
Caused by: java.lang.ClassNotFoundException: 
org.apache.stratos.metadata.client.config.MetaDataClientConfig
        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)
        ... 50 more

--
Thanks and Regards,

Isuru H.
+94 716 358 048



Reply via email to