Hi All,
After we have upgraded the SD from 12000 to 14006, we have a problem to run some reports by schedule.
When we run the report manually and then send it forward by email, it works just fine.
But when we schedule a report and send it by email, we got the following error message.
com.phantomjs.export.server.ServerNeedKillingException:
ServerNeedKillingException: Exception in phantom export :: Stack Trace
java.lang.RuntimeException: Not enough port available at
com.phantomjs.export.api.CustomExportUtil.exportFromPhantomjs(CustomExportUtil.java:74)
at
com.adventnet.servicedesk.reports.utils.ReportUtil.exportChart(ReportUtil.java:9419)
at
com.adventnet.servicedesk.reports.utils.CoreReportDesigner.generateReport(CoreReportDesigner.java:3628)
at com.adventnet.servicedesk.reports.utils.CoreReportDesigner.generateReportCompiledJasper(CoreReportDesigner.java:3258)
at
com.adventnet.servicedesk.report.task.ScheduledReportTask.generateReport(ScheduledReportTask.java:476)
at com.adventnet.servicedesk.report.task.ScheduledReportTask.executeTask(ScheduledReportTask.java:198)
at
com.adventnet.taskengine.internal.SchedulerBean.executeTask(SchedulerBean.java:641)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at
com.adventnet.mfw.bean.BeanProxy.lambda$invoke$0(BeanProxy.java:51) at
com.zoho.mickey.api.DefaultCodeBlock.execute(CodeBlock.java:453) at
com.adventnet.mfw.bean.BeanProxy.invoke(BeanProxy.java:48) at
com.sun.proxy.$Proxy4.executeTask(Unknown Source) at
com.adventnet.taskengine.internal.ScheduleExecutor.executeNextTask(ScheduleExecutor.java:334)
at
com.adventnet.taskengine.internal.ScheduleExecutor.run(ScheduleExecutor.java:225)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at
java.util.concurrent.FutureTask.run(FutureTask.java:266) at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Any advise what cause the problem?
Which ports are not enough?