Posts

Showing posts from May, 2014

appengine:devserver_stop not working in Windows 8/eclipse

If you have added appengine:devserver_stop in eclipse as a debug goal in maven goals and still you are not able to stop the server then you can manually close the server on given port.

Let's take an example that your server is running on 8080 that you want to stop.

1) Open command line prompt:
netstat -a -n -oYou will get following output......
 Proto  Local Address          Foreign Address        State           PID
 TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       700
 TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
 TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING       432
 TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       756
 TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING       788
 TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING       548
 TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING       540
 TCP    10.0.0.69:139          0.0.0.0:0              LISTENING   …

DFP API works fine at localhost but failed Google App engine (access denied ("java.lang.RuntimePermission" "getClassLoader")

DFP API works fine at localhost but failed Google App engine (access denied ("java.lang.RuntimePermission" "getClassLoader")
--------------------------------------------------------------------------

 com.google.api.ads.common.lib.exception.ServiceException: Unexpected Exception.

    com.google.api.ads.common.lib.soap.jaxws.JaxWsHandler.createSoapClient(JaxWsHandler.java:210)
    com.google.api.ads.common.lib.soap.jaxws.JaxWsHandler.createSoapClient(JaxWsHandler.java:1)
    com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createSoapClient(BaseAdsServiceClientFactoryHelper.java:106)
    com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createAdsServiceClient(BaseAdsServiceClientFactoryHelper.java:71)
    com.google.api.ads.common.lib.factory.AdsServiceClientFactory.getServiceClient(AdsServiceClientFactory.java:73)
    com.google.api.ads.common.lib.factory.BaseAdsServiceClientFactory.getServiceClientAsInterface(Bas…