Just as an add on info, unit tests also fail:

[2015-02-20 10:44:40,811] ERROR 
{org.apache.stratos.integration.tests.StratosTestServerManager} -  
/home/meppel/codedrop_stratos_410_integ/base/stratos/samples/applications/single-cartridge/artifacts/autoscaling-policy.json
Adding autoscale policy...
* About to connect() to localhost port 9443 (#0)
*   Trying 127.0.0.1...   % Total    % Received % Xferd  Average Speed   Time   
 Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     
0connected
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* Unknown SSL protocol error in connection to localhost:9443
* Closing connection #0
curl: (35) Unknown SSL protocol error in connection to localhost:9443

org.apache.commons.exec.ExecuteException: Process exited with an error: 35(Exit 
value: 35)
        at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
       at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
        at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:136)
        at 
org.apache.stratos.integration.tests.SampleApplicationsTest.executeCommand(SampleApplicationsTest.java:96)
        at 
org.apache.stratos.integration.tests.SampleApplicationsTest.testSingleCartridgeApplication(SampleApplicationsTest.java:64)
        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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
        at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
        at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
        at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
        at 
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
        at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
        at org.testng.TestRunner.privateRun(TestRunner.java:757)

From: Martin Eppel (meppel)
Sent: Friday, February 20, 2015 2:09 PM
To: [email protected]
Subject: ISSUE: failing to locate autoscaler service, (in source from master 
updated 02/20) ?

I upgraded the stratos source (from 4.1.0-alpha) to the lastest from master and 
run into the exception below, anyone knows what is missing (This was working 
fine in 4.1.0-alpha).
Were there any recent changes related to the AutoScalerService or configuration?

Thanks

Martin



TID: [0] [STRATOS] [2015-02-20 21:04:12,886] DEBUG 
{org.apache.stratos.manager.utils.CartridgeConfigFileReader} -   >>> Property 
Name :autoscaler.service.url Property Value 
:https://octl.qmog.cisco.com:9443/services/AutoScalerService/ 
{org.apache.stratos.manager.utils.CartridgeConfigFileReader}
...

TID: [0] [STRATOS] [2015-02-20 21:10:14,648]  INFO 
{org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} -  Adding autoscaling 
policy: [id] economyPolicy 
{org.apache.stratos.rest.endpoint.api.StratosApiV41Utils}
TID: [0] [STRATOS] [2015-02-20 21:10:14,685] ERROR 
{org.apache.axis2.engine.AxisEngine} -  The service cannot be found for the 
endpoint reference (EPR) 
https://octl.qmog.cisco.com:9443/services/AutoScalerService/ 
{org.apache.axis2.engine.AxisEngine}org.apache.axis2.AxisFault: The service 
cannot be found for the endpoint reference (EPR) 
https://octl.qmog.cisco.com:9443/services/AutoScalerService/
        at 
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:78)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:329)        at 
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)      
  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)

Reply via email to