When Adding Action Plans for account, after clicking Save I am getting an error:
The actual error is:
java.io.FileNotFoundException: /usr/share/tomcat5/webapps/centric/WEB-INF/fileLibrary/centric_crm/templates_en_US.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at java.io.FileInputStream.(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:935)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:144)
at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:771)
at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:107)
at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:225)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:185)
at org.aspcfs.utils.XMLUtils.parseXML(Unknown Source)
at org.aspcfs.utils.XMLUtils.(Unknown Source)
at org.aspcfs.modules.actionplans.base.ActionPlanEmail.(Unknown Source)
at org.aspcfs.modules.actionplans.base.ActionPlanWork.sendEmail(Unknown Source)
at org.aspcfs.modules.actionplans.base.ActionPlanWork.sendEmail(Unknown Source)
at org.aspcfs.modules.accounts.actions.AccountActionPlans.executeCommandInsert(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.darkhorseventures.framework.servlets.ControllerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
I copied manually templates_en_US.xml to that directory and now it works but I guess should work without users intervenction.
Also, I've encountered this problem before with some other actiond done, but currently cannot remember.
v.