One can read the following on your website :
For instance, the processor can be called with: <p:processor name="oxf:debug"> <p:input name="config"> <config>Employee</config> </p:input> <p:input name="data"> <employee> <firstname>substring-after(/request/request-path,'.')</firstname> </employee> </p:input> <p:output name="data" id="emp"/> </p:processor> This will generate the message: Employee: <employee> <firstname>txt</firstname> </employee> I checked the mailing list and from what I understand, the logs are in the Apache folder. I go there, and I have the following : admin.2007-10-29.log -> empty catalina.2007-10-29.log -> some data, everything seems ok host-manager.2007-10-29.log -> empty jakarta-service.2007-10-29.log -> empty localhost.2007-10-29.log -> error 29 oct. 2007 15:07:28 org.apache.catalina.core.StandardContext loadOnStartup GRAVE: La servlet /mepia a généré une exception "load()" javax.servlet.ServletException: database is not running at org.exist.xmlrpc.RpcServlet.init(RpcServlet.java:90) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) It says that database is not running... how come? manager.2007-10-29.log -> empty stderr_2007-10-29.log -> empty stdout2007-10-29.log -> some data, seems ok. ops.log : Checking for Xerces, not found! Warning: Failed find a valid Parser! Please add an appropriate Parser to the class-path, e.g. in the 'endorsed' folder of the servlet container or in the 'endorsed' folder of the JRE. 2007-10-29 15:26:18,758 Thread-1 WARN servlets.EXistServlet null - Looking for a valid Transformer... Checking for Xalan, not found! Checking for Saxon, not found! Warning: Failed find a valid Transformer! Please add an appropriate Transformer to the class-path, e.g. in the 'endorsed' folder of the servlet container or in the 'endorsed' folder of the JRE. Anyway to worry about doctor? Anyway... where is my data written ? I would like to do some testing, but I can't figure out how to put it place the debugger. I added the attribute debug=true on the output of the processor above, no difference. Thanks for your help. |
Administrator
|
Hi,
The issue you are seeing likely has nothing to do with the debug processor. Instead, it seems that eXist doesn't manage to start. The eXist warnings you are seeing should be of no consequence unless you use XSLT with eXist - I see these warnings yet eXist works fine. The exception reported by Tomcat, which you paste below, is not the root exception though. Is there any other exception in the log file? What version of Tomcat and the JDK are you using? Also, can you make sure that Tomcat can write to your WEB-INF/exist-data directory and files? Once this works, the debug processor should work fine, but you don't need to use it explicitly as shown below. Instead, just add a @debug attribute on XPL input, output or param elements. -Erik StephR wrote: > One can read the following on your website : > > For instance, the processor can be called with: > <p:processor name="oxf:debug"> > <p:input name="config"> > <config>Employee</config> > </p:input> > <p:input name="data"> > <employee> > <firstname>substring-after(/request/request-path,'.')</firstname> > </employee> > </p:input> > <p:output name="data" id="emp"/> > </p:processor> > > This will generate the message: > > Employee: > > <employee> > <firstname>txt</firstname> > </employee> > > I checked the mailing list and from what I understand, the logs are in the > Apache folder. I go there, and I have the following : > > admin.2007-10-29.log -> empty > catalina.2007-10-29.log -> some data, everything seems ok > host-manager.2007-10-29.log -> empty > jakarta-service.2007-10-29.log -> empty > localhost.2007-10-29.log -> error > > 29 oct. 2007 15:07:28 org.apache.catalina.core.StandardContext loadOnStartup > GRAVE: La servlet /mepia a généré une exception "load()" > javax.servlet.ServletException: database is not running > at org.exist.xmlrpc.RpcServlet.init(RpcServlet.java:90) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4351) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883) > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > at org.apache.catalina.core.StandardService.start(StandardService.java:516) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at org.apache.catalina.startup.Catalina.start(Catalina.java:566) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) > > It says that database is not running... how come? > > manager.2007-10-29.log -> empty > stderr_2007-10-29.log -> empty > stdout2007-10-29.log -> some data, seems ok. > > ops.log : > > Checking for Xerces, not found! > Warning: Failed find a valid Parser! > > Please add an appropriate Parser to the class-path, e.g. in the 'endorsed' > folder of the servlet container or in the 'endorsed' folder of the JRE. > > 2007-10-29 15:26:18,758 Thread-1 WARN servlets.EXistServlet null - Looking > for a valid Transformer... > Checking for Xalan, not found! > Checking for Saxon, not found! > Warning: Failed find a valid Transformer! > > Please add an appropriate Transformer to the class-path, e.g. in the > 'endorsed' folder of the servlet container or in the 'endorsed' folder of > the JRE. > > Anyway to worry about doctor? > > Anyway... where is my data written ? I would like to do some testing, but I > can't figure out how to put it place the debugger. I added the attribute > debug=true on the output of the processor above, no difference. > > Thanks for your help. > > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |