Hi,
  I found an open issue on the app engine issue tracker that discusses 
this: https://code.google.com/p/googleappengine/issues/detail?id=4910

It seems like the primary suspect is including extra jars for jaxws that 
appengine already provides.

- Kevin Winter
AdWords API Team

On Tuesday, January 22, 2013 4:23:09 PM UTC-5, Tom Chokel wrote:
>
> Hello,
>
> I recently upgraded to v201209 of the Java client library for App Engine 
> and none of the Jaxws classes are working in production. Everything works 
> fine when I run it on my local machine- however, when I deploy to App 
> Engine I receive the following error:
>
> com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection <init>: 
> Unable to make javax.xml.ws.wsaddressing.W3CEndpointReference.address 
> accessible.
> java.lang.SecurityException: java.lang.IllegalAccessException: Reflection 
> is not allowed on private 
> javax.xml.ws.wsaddressing.W3CEndpointReference$Address 
> javax.xml.ws.wsaddressing.W3CEndpointReference.address
>
> I REALLY would appreciate any help you could provide! Below is a copy of 
> my stack trace when trying to download all campaigns using the 
> CampaignServiceInterface class. Thanks!
>
> com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection <init>: 
> Unable to make javax.xml.ws.wsaddressing.W3CEndpointReference.address 
> accessible.
> java.lang.SecurityException: java.lang.IllegalAccessException: Reflection 
> is not allowed on private 
> javax.xml.ws.wsaddressing.W3CEndpointReference$Address 
> javax.xml.ws.wsaddressing.W3CEndpointReference.address
> at 
> com.google.appengine.runtime.Request.process-45a9318280648c38(Request.java)
> at 
> com.sun.xml.bind.v2.runtime.reflect.Accessor$FieldReflection.<init>(Accessor.java:220)
> at 
> com.sun.xml.bind.AccessorFactoryImpl.createFieldAccessor(AccessorFactoryImpl.java:66)
> at 
> com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.createFieldSeed(RuntimeClassInfoImpl.java:252)
> at 
> com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.createFieldSeed(RuntimeClassInfoImpl.java:81)
> at 
> com.sun.xml.bind.v2.model.impl.ClassInfoImpl.findFieldProperties(ClassInfoImpl.java:398)
> at 
> com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getProperties(ClassInfoImpl.java:301)
> at 
> com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getProperties(RuntimeClassInfoImpl.java:176)
> at 
> com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:243)
> at 
> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:100)
> at 
> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:81)
> at 
> com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:209)
> at 
> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:95)
> at 
> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:81)
> at 
> com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:315)
> at 
> com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:330)
> at 
> com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:441)
> at 
> com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:288)
> at 
> com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1111)
> at 
> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
> at 
> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)
> 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:616)
> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:233)
> at javax.xml.bind.ContextFinder.find(ContextFinder.java:410)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:594)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:542)
> at com.sun.xml.ws.spi.ProviderImpl$2.run(ProviderImpl.java:220)
> at com.sun.xml.ws.spi.ProviderImpl$2.run(ProviderImpl.java:218)
> at java.security.AccessController.doPrivileged(AccessController.java:34)
> at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:217)
> at com.sun.xml.ws.spi.ProviderImpl.<clinit>(ProviderImpl.java:88)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> at java.lang.Class.newInstance0(Class.java:372)
> at java.lang.Class.newInstance(Class.java:325)
> at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:58)
> at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:142)
> at javax.xml.ws.spi.Provider.provider(Provider.java:102)
> at javax.xml.ws.Service.<init>(Service.java:76)
> at 
> com.google.api.ads.adwords.jaxws.v201209.cm.CampaignService.<init>(CampaignService.java:42)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:33)
> at 
> com.google.api.ads.common.lib.soap.jaxws.JaxWsHandler.createSoapClient(JaxWsHandler.java:185)
> at 
> com.google.api.ads.common.lib.soap.jaxws.JaxWsHandler.createSoapClient(JaxWsHandler.java:1)
> at 
> com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createSoapClient(BaseAdsServiceClientFactoryHelper.java:106)
> at 
> com.google.api.ads.common.lib.factory.helper.BaseAdsServiceClientFactoryHelper.createAdsServiceClient(BaseAdsServiceClientFactoryHelper.java:71)
> at 
> com.google.api.ads.common.lib.factory.AdsServiceClientFactory.getServiceClient(AdsServiceClientFactory.java:73)
> at 
> com.google.api.ads.common.lib.factory.BaseAdsServiceClientFactory.getServiceClientAsInterface(BaseAdsServiceClientFactory.java:79)
> at 
> com.google.api.ads.common.lib.factory.BaseServices.get(BaseServices.java:60)
> at semply.LightPullServlet2.getCampaignInfo(LightPullServlet2.java:205)
> at semply.LightPullServlet2.doGet(LightPullServlet2.java:155)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> at 
> com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:454)
> at 
> com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:461)
> at com.google.tracing.TraceContext.runInContext(TraceContext.java:703)
> at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:338)
> at 
> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:330)
> at 
> com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:458)
> at java.lang.Thread.run(Thread.java:679)
> Caused by: java.lang.IllegalAccessException: Reflection is not allowed on 
> private javax.xml.ws.wsaddressing.W3CEndpointReference$Address 
> javax.xml.ws.wsaddressing.W3CEndpointReference.address
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en



Reply via email to