Hi,
I am new to OPS, but get stuck at some point so here goes: I have a xform with a submission to a standalone exist (i.e. not using the 'standard' exist that comes with the installation). While I can read from it, the submission fails, or rather, I have no idea of what is happening for I see no logs, no errors on screen or whatsoever. It goes to a blackhole for that matter. My setup is that I run OPS in Eclipse, using the WTP plugin and use tomcat. Hopefully this sounds familiar. First problem (logging): From my console I see some initial logging (looks like stdout): Starting Orbeon Forms Release 3.6.0.200712061930 Initializing Resource Manager with: {oxf.resources.priority.1.oxf.resources.webapp.rootdir=/WEB-INF/resources, oxf.resources.priority.1=org.orbeon.oxf.resources.WebAppResourceManagerFactory, oxf.resources.priority.2=org.orbeon.oxf.resources.ClassLoaderResourceManagerFactory, oxf.resources.factory=org.orbeon.oxf.resources.PriorityResourceManagerFactory, org.orbeon.oxf.resources.WebAppResourceManagerImplServletContext=org.apache.catalina.core.ApplicationContextFacade@19b1de} Found 0 catalog entries. ... 9-mei-2008 13:54:00 org.apache.catalina.startup.Catalina start INFO: Server startup in 11920 ms I've changed the config/log4j.xml so that I should see debug logging from: <category name="org.orbeon.oxf.xforms.processor.XFormsServer"> <priority value="debug"/> </category> <category name="org.orbeon.oxf.xforms.XFormsInstance"> <priority value="debug"/> </category> <category name="org.orbeon.oxf.xforms.processor.XFormsModelSubmission"> <priority value="debug"/> </category> But I don't see anything in my console at all. I've been looking for other log files and or locations but come up empty handed. Without log information debugging becomes hard. Any suggestions here? Second problem (submission): The standalone exist runs in 'server' mode rather than the 'startup', which means I don't have REST capabilities but purely rely on the XML:DB Processor.insert-country-data.xpl My page-flow: <page id="list" path-info="/visum-country-data/" view="list-country-data.xpl"/> <page id="new" path-info="/visum-country-data/new" view="profile.xhtml"/> My submission: <xforms:submission id="save-submission" ref="instance('country-profile')" action="oxf:insert-country-data.xpl" method="put" replace="yes" > <xforms:message ev:event="xforms-submit-error" level="xxforms:log-error" > A submission error occurred: <xforms:output value="event('error-type')"/> </xforms:message> </xforms:submission> and <xforms:submit submission="save-submission"> <xforms:label>Save</xforms:label> </xforms:submit> For the pipeline I submit to, see attachment. What am I doing wrong? Thanks in advance! Mike |
Oke,
I solved the first (had to activate the consoleAppender, doh!). And because of that I found out why it wasn't working: URI scheme oxf is not implemented/supported.... |
Free forum by Nabble | Edit this page |