Web Service Call Error [akka:event-driven:dispatcher:request-dispatching-34] [LocalActorRef] null

0
I am calling a webservice which takes a string as a parameter however the string is a complex XML, I am using a java action to do this but I am getting the error below. If I call the same webservice in a POJO and not a java action it is successful. Please help [ERROR] [11/17/12 8:30 PM] [akka:event-driven:dispatcher:request-dispatching-34] [LocalActorRef] null java.lang.ExceptionInInitializerError at org.apache.commons.discovery.log.DiscoveryLogFactory._newLog(DiscoveryLogFactory.java:141) at org.apache.commons.discovery.log.DiscoveryLogFactory.<clinit>(DiscoveryLogFactory.java:104) at org.apache.commons.discovery.resource.DiscoverResources.<clinit>(DiscoverResources.java:82) at org.apache.commons.discovery.tools.ResourceUtils.getResource(ResourceUtils.java:122) at org.apache.commons.discovery.tools.ResourceUtils.loadProperties(ResourceUtils.java:175) at org.apache.commons.discovery.tools.PropertiesHolder.getProperties(PropertiesHolder.java:102) at org.apache.commons.discovery.tools.DiscoverClass.find(DiscoverClass.java:360) at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418) at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378) at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.iflex.fcubs.gw.ws.types.FCUBSAccServiceLocator.<init>(FCUBSAccServiceLocator.java:12) at bancabcrouter.actions.CallQueryCustAcc.executeAction(CallQueryCustAcc.java:47) at bancabcrouter.actions.CallQueryCustAcc.executeAction(CallQueryCustAcc.java:1) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:183) at com.mendix.core.Core.execute(SourceFile:219) at lh.a(SourceFile:69) at mg.a(SourceFile:73) at mf.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:183) at com.mendix.core.Core.executeSync(SourceFile:196) at li.a(SourceFile:70) at mg.a(SourceFile:73) at mf.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:183) at com.mendix.core.Core.executeSync(SourceFile:196) at li.a(SourceFile:70) at mg.a(SourceFile:73) at mf.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:183) at com.mendix.core.Core.execute(SourceFile:219) at gm.execute(SourceFile:186) at iW.a(SourceFile:304) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:141) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:133) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:131) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:127) at akka.actor.LocalActorRef.invoke(ActorRef.scala:910) at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:223) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:123) at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:195) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:123) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192) Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "org.apache.commons.discovery.log.level" "read") at java.security.AccessControlContext.checkPermission(AccessControlContext.java:366) at java.security.AccessController.checkPermission(AccessController.java:555) at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302) at java.lang.System.getProperty(System.java:706) at org.apache.commons.discovery.log.SimpleLog.<clinit>(SimpleLog.java:155) ... 62 more
asked
1 answers
0

See the 'caused by', in this case: Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "org.apache.commons.discovery.log.level" "read")

Apparantly the library you use is trying to access this property. You can disable the setting 'emulate cloud security' for now to continue developing but in the cloud you'll have to request permission to read this property.

answered