You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2007/03/31 03:03:34 UTC
[jira] Created: (SM-914) Exception upon generating a dot file from
the apache-servicemix-web distribution in Tomcat
Exception upon generating a dot file from the apache-servicemix-web distribution in Tomcat
-------------------------------------------------------------------------------------------
Key: SM-914
URL: https://issues.apache.org/activemq/browse/SM-914
Project: ServiceMix
Issue Type: Bug
Affects Versions: 3.1
Environment: MacOS X 10.4.8/Tomcat 5.5.20
Reporter: Bruce Snyder
Upon deploying the {{apache-servicemix-web-3.1-incubating.war}} file in Tomcat 5.5.20 and clicking on the 'View' link in the ServiceMix console, the following exception is thrown:
{code}
WARN - [dispatcher] - Servlet.service() for servlet dispatcher threw exception
java.io.IOException: dot: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.java:71)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:249)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1105)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:841)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
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.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
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:664)
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:613)
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-914) Exception upon generating a dot file
from the apache-servicemix-web distribution in Tomcat
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38942 ]
Guillaume Nodet commented on SM-914:
------------------------------------
You just need to put the dot executable file in a location accessible
from in the PATH. Obiously, a clean error should be reported in the web page
instead of this cryptic exception.
> Exception upon generating a dot file from the apache-servicemix-web distribution in Tomcat
> -------------------------------------------------------------------------------------------
>
> Key: SM-914
> URL: https://issues.apache.org/activemq/browse/SM-914
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 3.1
> Environment: MacOS X 10.4.8/Tomcat 5.5.20
> Reporter: Bruce Snyder
>
> Upon deploying the {{apache-servicemix-web-3.1-incubating.war}} file in Tomcat 5.5.20 and clicking on the 'View' link in the ServiceMix console, the following exception is thrown:
> {code}
> WARN - [dispatcher] - Servlet.service() for servlet dispatcher threw exception
> java.io.IOException: dot: not found
> at java.lang.UNIXProcess.forkAndExec(Native Method)
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
> at java.lang.ProcessImpl.start(ProcessImpl.java:91)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> at java.lang.Runtime.exec(Runtime.java:591)
> at java.lang.Runtime.exec(Runtime.java:429)
> at java.lang.Runtime.exec(Runtime.java:326)
> at org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.java:71)
> at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:249)
> at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1105)
> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:841)
> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
> at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 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.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 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:664)
> 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:613)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-914) Exception upon generating a dot file
from the apache-servicemix-web distribution in Tomcat
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38943 ]
Guillaume Nodet commented on SM-914:
------------------------------------
Dot is a diagramming tool that can from the dot format to png images.
It can be downloaded at http://www.graphviz.org
> Exception upon generating a dot file from the apache-servicemix-web distribution in Tomcat
> -------------------------------------------------------------------------------------------
>
> Key: SM-914
> URL: https://issues.apache.org/activemq/browse/SM-914
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 3.1
> Environment: MacOS X 10.4.8/Tomcat 5.5.20
> Reporter: Bruce Snyder
>
> Upon deploying the {{apache-servicemix-web-3.1-incubating.war}} file in Tomcat 5.5.20 and clicking on the 'View' link in the ServiceMix console, the following exception is thrown:
> {code}
> WARN - [dispatcher] - Servlet.service() for servlet dispatcher threw exception
> java.io.IOException: dot: not found
> at java.lang.UNIXProcess.forkAndExec(Native Method)
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
> at java.lang.ProcessImpl.start(ProcessImpl.java:91)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> at java.lang.Runtime.exec(Runtime.java:591)
> at java.lang.Runtime.exec(Runtime.java:429)
> at java.lang.Runtime.exec(Runtime.java:326)
> at org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.java:71)
> at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:249)
> at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1105)
> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:841)
> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
> at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 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.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 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:664)
> 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:613)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-914) Exception upon generating a dot file
from the apache-servicemix-web distribution in Tomcat
Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38956 ]
Bruce Snyder commented on SM-914:
---------------------------------
Oh so the exception _java.io.IOException: dot: not found_ is actually ServiceMix looking for the GraphViz executable?
> Exception upon generating a dot file from the apache-servicemix-web distribution in Tomcat
> -------------------------------------------------------------------------------------------
>
> Key: SM-914
> URL: https://issues.apache.org/activemq/browse/SM-914
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 3.1
> Environment: MacOS X 10.4.8/Tomcat 5.5.20
> Reporter: Bruce Snyder
>
> Upon deploying the {{apache-servicemix-web-3.1-incubating.war}} file in Tomcat 5.5.20 and clicking on the 'View' link in the ServiceMix console, the following exception is thrown:
> {code}
> WARN - [dispatcher] - Servlet.service() for servlet dispatcher threw exception
> java.io.IOException: dot: not found
> at java.lang.UNIXProcess.forkAndExec(Native Method)
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
> at java.lang.ProcessImpl.start(ProcessImpl.java:91)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> at java.lang.Runtime.exec(Runtime.java:591)
> at java.lang.Runtime.exec(Runtime.java:429)
> at java.lang.Runtime.exec(Runtime.java:326)
> at org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.java:71)
> at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:249)
> at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1105)
> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:841)
> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
> at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 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.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 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:664)
> 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:613)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-914) Exception upon generating a dot file
from the apache-servicemix-web distribution in Tomcat
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38957 ]
Guillaume Nodet commented on SM-914:
------------------------------------
Yeah, exactly.
I guess the web console could check the first time if the dot executable can be found and display a nice
error message if not.
> Exception upon generating a dot file from the apache-servicemix-web distribution in Tomcat
> -------------------------------------------------------------------------------------------
>
> Key: SM-914
> URL: https://issues.apache.org/activemq/browse/SM-914
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 3.1
> Environment: MacOS X 10.4.8/Tomcat 5.5.20
> Reporter: Bruce Snyder
>
> Upon deploying the {{apache-servicemix-web-3.1-incubating.war}} file in Tomcat 5.5.20 and clicking on the 'View' link in the ServiceMix console, the following exception is thrown:
> {code}
> WARN - [dispatcher] - Servlet.service() for servlet dispatcher threw exception
> java.io.IOException: dot: not found
> at java.lang.UNIXProcess.forkAndExec(Native Method)
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
> at java.lang.ProcessImpl.start(ProcessImpl.java:91)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> at java.lang.Runtime.exec(Runtime.java:591)
> at java.lang.Runtime.exec(Runtime.java:429)
> at java.lang.Runtime.exec(Runtime.java:326)
> at org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.java:71)
> at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:249)
> at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1105)
> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:841)
> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
> at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 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.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 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:664)
> 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:613)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-914) Exception upon generating a dot file from
the apache-servicemix-web distribution in Tomcat
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-914.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.2
3.1.1
Assignee: Guillaume Nodet
Display a nice page when the dot process can not be launched.
URL: http://svn.apache.org/viewvc?view=rev&rev=526123
URL: http://svn.apache.org/viewvc?view=rev&rev=526124
> Exception upon generating a dot file from the apache-servicemix-web distribution in Tomcat
> -------------------------------------------------------------------------------------------
>
> Key: SM-914
> URL: https://issues.apache.org/activemq/browse/SM-914
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 3.1
> Environment: MacOS X 10.4.8/Tomcat 5.5.20
> Reporter: Bruce Snyder
> Assigned To: Guillaume Nodet
> Fix For: 3.1.1, 3.2
>
>
> Upon deploying the {{apache-servicemix-web-3.1-incubating.war}} file in Tomcat 5.5.20 and clicking on the 'View' link in the ServiceMix console, the following exception is thrown:
> {code}
> WARN - [dispatcher] - Servlet.service() for servlet dispatcher threw exception
> java.io.IOException: dot: not found
> at java.lang.UNIXProcess.forkAndExec(Native Method)
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
> at java.lang.ProcessImpl.start(ProcessImpl.java:91)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> at java.lang.Runtime.exec(Runtime.java:591)
> at java.lang.Runtime.exec(Runtime.java:429)
> at java.lang.Runtime.exec(Runtime.java:326)
> at org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.java:71)
> at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:249)
> at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1105)
> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:841)
> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
> at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 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.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 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:664)
> 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:613)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.