You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Marcello Teodori (JIRA)" <ji...@apache.org> on 2008/02/21 15:10:15 UTC

[jira] Commented: (SM-914) Exception upon generating a dot file from the apache-servicemix-web distribution in Tomcat

    [ https://issues.apache.org/activemq/browse/SM-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41353#action_41353 ] 

Marcello Teodori commented on SM-914:
-------------------------------------

I've installed graphviz on Mac OS X using MacPorts and it's available on the path, but I still get a similar exception:

java.lang.Exception: Error while rendering dot file
    at org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.java:73)
    at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:243)

My environment is on Tomcat 6.0.16 and ServiceMix 3.2.1, I've tried also on a windows machine but the error is the same, isa anybody able to generate the graphs correctly or am I missing some configuration?
 



> 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
>            Assignee: 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.