Also, make sure the file stored locally to the Rundeck server has the
DTD declaration, too.
On Feb 3, 12:39 pm, Greg Schueler <
g...@controltier.com> wrote:
> Hi Edward,
>
> It looks to me like the resources file was stored to disk from the remote
> URL, but whatever file is on disk is not valid. Can you check the
> resource.xml file for the project and verify it is correct? it should be at
> RUNDECK_BASE/projects/NAME/etc/resources.xml
>
> On Thu, Feb 3, 2011 at 12:21 PM, Edward Bailey <
>
>
>
>
eds.mailing.list.acco...@gmail.com> wrote:
> > I am trying to pull a model resource remotely and getting the following
> > error
>
> > *Request:* /run
> > *Message:* Error on line 1 of document : Document is invalid: no grammar
> > found. Nested exception: Document is invalid: no grammar found.
> > *Caused by:* Executing action [nodes] of controller [FrameworkController]
> > caused exception: com.dtolabs.shared.resources.ResourceXMLParserException:
> > org.dom4j.DocumentException: Error on line 1 of document : Document is
> > invalid: no grammar found. Nested exception: Document is invalid: no grammar
> > found.
> > *Class:* FrameworkController
> > *At Line:* [94]
> > *Code Snippet:*
> > Stack Trace
>
> > org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionEx ception: Executing action [nodes] of controller [FrameworkController] caused exception: com.dtolabs.shared.resources.ResourceXMLParserException: org.dom4j.DocumentException: Error on line 1 of document : Document is invalid: no grammar found. Nested exception: Document is invalid: no grammar found.
>
> > at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.exe cuteAction(SimpleGrailsControllerHelper.java:250)
> > at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.han dleURI(SimpleGrailsControllerHelper.java:202)
>
> > at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.han dleURI(SimpleGrailsControllerHelper.java:137)
> > at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsController.handleReq uest(SimpleGrailsController.java:88)
>
> > at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(S impleControllerHandlerAdapter.java:48)
> > at org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet.doDispatch(G railsDispatcherServlet.java:255)
>
> > at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServl et.java:716)
> > at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkSe rvlet.java:647)
> > at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.jav a:552)
>
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle r.java:1166)
>
> > at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequest Filter.java:70)
> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle r.java:1157)
> > at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequest Filter.java:70)
>
> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle r.java:1157)
> > at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequest Filter.java:70)
> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle r.java:1157)
> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandle r.java:1157)
>
> > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> > at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>
> > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>
> > at org.mortbay.jetty.Server.handle(Server.java:326)
> > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
> > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnecti on.java:915)
>
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
> > at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:2 28)
>
> > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:58 2)
>
> > Here is the output of my document using curl
>
> > [automate@xxxxxxxxxxx etc]$ curlhttp://admin:xxxxxxxxxx@xxxxxxxxxxxx:8080/zport/dmd/Systems/Batch/get...