We have implemented the module in one of our project but are eunable to generate and send appointments. The Mendix logging only shows: 2013-05-13 11:50:59.679 INFO - net.fortuna.ical4j.util.Configurator: ical4j.properties not found Any suggestions? Additional from a testproject reproducing the problem Error in scheduled event 'SEAppointmentNotificationProcesQueue' java.lang.ExceptionInInitializerError at net.fortuna.ical4j.model.Iso8601.<init>(Iso8601.java:78) at net.fortuna.ical4j.model.Date.<init>(Date.java:128) at net.fortuna.ical4j.model.DateTime.<init>(DateTime.java:236) at icalendarmodule.actions.AppointmentSendNotification.createCalendar(AppointmentSendNotification.java:197) at icalendarmodule.actions.AppointmentSendNotification.executeAction(AppointmentSendNotification.java:97) at icalendarmodule.actions.AppointmentSendNotification.executeAction(AppointmentSendNotification.java:56) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.execute(SourceFile:226) at ln.a(SourceFile:69) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.executeSync(SourceFile:203) at lo.a(SourceFile:60) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.executeSync(SourceFile:203) at lS.a(SourceFile:60) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.execute(SourceFile:226) at hI.d(SourceFile:150) at hI.a(SourceFile:108) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:171) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:162) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:160) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:156) 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$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192) Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission ical4j.unfolding.relaxed read) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) at java.security.AccessController.checkPermission(AccessController.java:549) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285) at java.lang.System.getProperty(System.java:650) at net.fortuna.ical4j.util.Configurator.getProperty(Configurator.java:77) at net.fortuna.ical4j.util.CompatibilityHints.<clinit>(CompatibilityHints.java:83) at net.fortuna.ical4j.model.Iso8601.<init>(Iso8601.java:78) at net.fortuna.ical4j.model.Date.<init>(Date.java:128) at net.fortuna.ical4j.model.DateTime.<init>(DateTime.java:236) at icalendarmodule.actions.AppointmentSendNotification.createCalendar(AppointmentSendNotification.java:197) at icalendarmodule.actions.AppointmentSendNotification.executeAction(AppointmentSendNotification.java:97) at icalendarmodule.actions.AppointmentSendNotification.executeAction(AppointmentSendNotification.java:56) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.execute(SourceFile:226) at ln.a(SourceFile:69) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.executeSync(SourceFile:203) at lo.a(SourceFile:60) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.executeSync(SourceFile:203) at lS.a(SourceFile:60) at mt.a(SourceFile:72) at ms.a(SourceFile:151) at ms.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:207) at com.mendix.core.Core.execute(SourceFile:226) at hI.d(SourceFile:150) at hI.a(SourceFile:108) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:171) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:162) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:160) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:156) 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$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192)
asked
Cees van den Heuvel (Intermediad)
2 answers
1
Your stacktrace shows:
java.security.AccessControlException: access denied (java.util.PropertyPermission ical4j.unfolding.relaxed read) at
Would you mind filing a ticket? I'd fix it immediately for you but I don't know which app you're referring to :)
answered
Achiel
0
We implemented the iCal module at one point and ran into multiple issues. One of them being that the module as is did not work for smtps (e.g. gmail server). We fixed it (following was useful: http://stackoverflow.com/questions/1990454/using-javamail-to-connect-to-gmail-smtp-server-ignores-specified-port-and-tries). If at one point you run into similar issues let me know.