PDF function throws error when custom css is invoked through servlet

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

PDF function throws error when custom css is invoked through servlet

dsanky
Hi guys,
We have a need to externalize custom css files out of the Orbeon war and
into the file system. For that purpose, we have created a servlet that
allows us to access the external css file. We then use the *property*
element: *oxf.fr.css.custom.uri.orbeon.** of the properties-local.xml to
invoke the servlet *url*. Here it is:
<property as="xs:string" name="oxf.fr.css.custom.uri.orbeon.*"
value="http://localhost/orbeon/external/stylesheet/customer-style.css"/>  

The above works well however we have noticed an unfortunate side effect: it
breaks the *pdf*  button functionality.
Instead of having the usual print preview page, we have an "An error has
occurred while processing the request."
Unfortunately the stack trace does not give much indication of what the
problem could be. Here it is:

+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|xf:submission for submission id: fr-send-submission, error code received
when submitting instance: 404                |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                              
|
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/ops/pfc/xforms-xml-submission.xpl                                          
|executing processor           |  57|
|······················································································································|
|element=<p:processor name="oxf:pipeline">[...]</p:processor>                                                        
|
|name   ={http://www.orbeon.com/oxf/processors}pipeline                                                              
|
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/ops/xforms/xforms-server-submit.xpl                                        
|executing processor           |  70|
|······················································································································|
|element=<p:processor name="oxf:xforms-server">[...]</p:processor>                                                    
|
|name   ={http://www.orbeon.com/oxf/processors}xforms-server                                                          
|
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.xforms.submission.XFormsSubmissionException                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|getReplacer                  
|XFormsModelSubmission.java    | 535|
|eon.oxf.xforms.submission.RegularSubmission$$anon$1|call                        
|RegularSubmission.scala       | 112|
|eon.oxf.xforms.submission.RegularSubmission$$anon$1|call                        
|RegularSubmission.scala       |  82|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|runDeferredSubmission        
|XFormsModelSubmission.java    | 442|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                        
|
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|runDeferredSubmission        
|XFormsModelSubmission.java    | 456|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                        
|
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|runDeferredSubmission        
|XFormsModelSubmission.java    | 466|
|org.orbeon.oxf.xforms.processor.XFormsServer      
|org$orbeon$oxf$xforms$processo|XFormsServer.scala            | 867|
|org.orbeon.oxf.xforms.processor.XFormsServer       |start                        
|XFormsServer.scala            | 596|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                          
|PipelineProcessor.java        | 617|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$     |wrapException                
|OrbeonLocationException.scala |  60|
|org.orbeon.oxf.common.OrbeonLocationException      |wrapException                
|OrbeonLocationException.scala |    |
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                          
|PipelineProcessor.java        | 619|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                        
|PipelineProcessor.java        | 614|
|f.processor.pipeline.choose.ConcreteChooseProcessor|start                        
|ConcreteChooseProcessor.java  | 231|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                          
|PipelineProcessor.java        | 617|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                        
|PipelineProcessor.java        | 614|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                          
|PipelineProcessor.java        | 617|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                        
|PipelineProcessor.java        | 614|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getInput                    
|PipelineProcessor.java        | 141|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getKeyImpl                  
|PipelineProcessor.java        | 109|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|processor.pipeline.choose.ConcreteChooseProcessor$1|getKeyImpl                  
|ConcreteChooseProcessor.java  | 135|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKey                  
|ProcessorImpl.java            | 489|
|orbeon.oxf.processor.pipeline.PipelineProcessor$1$2|run                          
|PipelineProcessor.java        | 113|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                  
|PipelineProcessor.java        |  60|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getKeyImpl                  
|PipelineProcessor.java        | 111|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|cessor.pipeline.TeeProcessor$TeeProcessorOutputImpl|getKeyImpl                  
|TeeProcessor.java             | 147|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKey                  
|ProcessorImpl.java            | 489|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKeyValidity          
|ProcessorImpl.java            | 521|
|org.orbeon.oxf.processor.ProcessorImpl             |isInputInCache              
|ProcessorImpl.java            | 502|
|org.orbeon.oxf.processor.ProcessorImpl             |isInputInCache              
|ProcessorImpl.java            | 507|
|processor.pipeline.choose.ConcreteChooseProcessor$1|getKeyImpl                  
|ConcreteChooseProcessor.java  | 131|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKey                  
|ProcessorImpl.java            | 489|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKeyValidity          
|ProcessorImpl.java            | 521|
|org.orbeon.oxf.processor.ProcessorImpl             |isInputInCache              
|ProcessorImpl.java            | 502|
|org.orbeon.oxf.processor.ProcessorImpl             |isInputInCache              
|ProcessorImpl.java            | 507|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter            
|ApplicationFilterChain.java   | 274|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                    
|ApplicationFilterChain.java   | 242|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply$mcV$sp                
|LimiterFilter.scala           |  85|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply                        
|LimiterFilter.scala           |  85|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply                        
|LimiterFilter.scala           |  85|
|org.orbeon.oxf.logging.LifecycleLogger$            |withEvent                    
|LifecycleLogger.scala         | 124|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply$mcV$sp                
|LimiterFilter.scala           |  84|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply                        
|LimiterFilter.scala           |  78|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply                        
|LimiterFilter.scala           |  78|
|org.orbeon.oxf.logging.LifecycleLogger$            |withEvent                    
|LifecycleLogger.scala         | 124|
|rbeon.oxf.servlet.LimiterFilter$$anonfun$doFilter$1|apply                        
|LimiterFilter.scala           |  78|
|rbeon.oxf.servlet.LimiterFilter$$anonfun$doFilter$1|apply                        
|LimiterFilter.scala           |  72|
|scala.Option                                       |foreach                      
|Option.scala                  | 257|
|org.orbeon.oxf.servlet.LimiterFilter               |doFilter                    
|LimiterFilter.scala           |  72|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter            
|ApplicationFilterChain.java   | 274|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                    
|ApplicationFilterChain.java   | 242|
|org.apache.catalina.core.StandardWrapperValve      |invoke                      
|StandardWrapperValve.java     | 275|
|org.apache.catalina.core.StandardContextValve      |invoke                      
|StandardContextValve.java     | 161|
|.jboss.web.tomcat.security.SecurityAssociationValve|invoke                      
|SecurityAssociationValve.java | 181|
|uster.catalina.CatalinaContext$RequestListenerValve|event                        
|CatalinaContext.java          | 285|
|uster.catalina.CatalinaContext$RequestListenerValve|invoke                      
|CatalinaContext.java          | 261|
|au.com.infomedix.cpflogin.FormPopupIdentifierValve |invoke                      
|FormPopupIdentifierValve.java |  41|
|fomedix.cpflogin.AuthenticatedSessionSSOCookieValve|invoke                      
|AuthenticatedSessionSSOCookieV| 111|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke                      
|AuthenticatorBase.java        | 593|
|au.com.infomedix.cpflogin.CpfAuthDecodeValve       |invoke                      
|CpfAuthDecodeValve.java       | 136|
|au.com.infomedix.cpflogin.RequestTraceValve        |invoke                      
|RequestTraceValve.java        | 102|
|org.jboss.web.tomcat.security.JaccContextValve     |invoke                      
|JaccContextValve.java         |  88|
|b.tomcat.security.SecurityContextEstablishmentValve|invoke                      
|SecurityContextEstablishmentVa| 100|
|org.apache.catalina.core.StandardHostValve         |invoke                      
|StandardHostValve.java        | 159|
|org.apache.catalina.valves.ErrorReportValve        |invoke                      
|ErrorReportValve.java         | 102|
|org.jboss.web.rewrite.RewriteValve                 |invoke                      
|RewriteValve.java             | 466|
|.jboss.web.tomcat.service.jca.CachedConnectionValve|invoke                      
|CachedConnectionValve.java    | 158|
|.jboss.web.tomcat.service.sso.ClusteredSingleSignOn|invoke                      
|ClusteredSingleSignOn.java    | 735|
|org.apache.catalina.core.StandardEngineValve       |invoke                      
|StandardEngineValve.java      | 109|
|cat.service.request.ActiveRequestResponseCacheValve|invoke                      
|ActiveRequestResponseCacheValv|  53|
|org.apache.catalina.connector.CoyoteAdapter        |service                      
|CoyoteAdapter.java            | 362|
|org.apache.coyote.ajp.AjpProcessor                 |process                      
|AjpProcessor.java             | 504|
|.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler|process                      
|AjpProtocol.java              | 437|
|org.apache.tomcat.util.net.JIoEndpoint$Worker      |run                          
|JIoEndpoint.java              | 951|
|java.lang.Thread                                   |run                          
|Thread.java                   | 745|
+----------------------------------------------------------------------------------------------------------------------+
2017-09-25 10:17:56,054 145118 ERROR [ajp-0.0.0.0-8009-10]
webapp.ProcessorService -
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|xf:submission for submission id: fr-send-submission, error code received
when submitting instance: 404                |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                              
|
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/ops/pfc/xforms-xml-submission.xpl                                          
|executing processor           |  57|
|······················································································································|
|element=<p:processor name="oxf:pipeline">[...]</p:processor>                                                        
|
|name   ={http://www.orbeon.com/oxf/processors}pipeline                                                              
|
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/ops/xforms/xforms-server-submit.xpl                                        
|executing processor           |  70|
|······················································································································|
|element=<p:processor name="oxf:xforms-server">[...]</p:processor>                                                    
|
|name   ={http://www.orbeon.com/oxf/processors}xforms-server                                                          
|
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.xforms.submission.XFormsSubmissionException                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|getReplacer                  
|XFormsModelSubmission.java    | 535|
|eon.oxf.xforms.submission.RegularSubmission$$anon$1|call                        
|RegularSubmission.scala       | 112|
|eon.oxf.xforms.submission.RegularSubmission$$anon$1|call                        
|RegularSubmission.scala       |  82|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|runDeferredSubmission        
|XFormsModelSubmission.java    | 442|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                        
|
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|runDeferredSubmission        
|XFormsModelSubmission.java    | 456|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                        
|
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|runDeferredSubmission        
|XFormsModelSubmission.java    | 466|
|org.orbeon.oxf.xforms.processor.XFormsServer      
|org$orbeon$oxf$xforms$processo|XFormsServer.scala            | 867|
|org.orbeon.oxf.xforms.processor.XFormsServer       |start                        
|XFormsServer.scala            | 596|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                          
|PipelineProcessor.java        | 617|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                
|
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$     |wrapException                
|OrbeonLocationException.scala |  60|
|org.orbeon.oxf.common.OrbeonLocationException      |wrapException                
|OrbeonLocationException.scala |    |
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                          
|PipelineProcessor.java        | 619|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                        
|PipelineProcessor.java        | 614|
|f.processor.pipeline.choose.ConcreteChooseProcessor|start                        
|ConcreteChooseProcessor.java  | 231|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                          
|PipelineProcessor.java        | 617|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                        
|PipelineProcessor.java        | 614|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                          
|PipelineProcessor.java        | 617|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                        
|PipelineProcessor.java        | 614|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getInput                    
|PipelineProcessor.java        | 141|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getKeyImpl                  
|PipelineProcessor.java        | 109|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|processor.pipeline.choose.ConcreteChooseProcessor$1|getKeyImpl                  
|ConcreteChooseProcessor.java  | 135|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKey                  
|ProcessorImpl.java            | 489|
|orbeon.oxf.processor.pipeline.PipelineProcessor$1$2|run                          
|PipelineProcessor.java        | 113|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren              
|PipelineProcessor.java        | 679|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                  
|PipelineProcessor.java        |  60|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|getKeyImpl                  
|PipelineProcessor.java        | 111|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|cessor.pipeline.TeeProcessor$TeeProcessorOutputImpl|getKeyImpl                  
|TeeProcessor.java             | 147|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKey                  
|ProcessorImpl.java            | 489|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKeyValidity          
|ProcessorImpl.java            | 521|
|org.orbeon.oxf.processor.ProcessorImpl             |isInputInCache              
|ProcessorImpl.java            | 502|
|org.orbeon.oxf.processor.ProcessorImpl             |isInputInCache              
|ProcessorImpl.java            | 507|
|processor.pipeline.choose.ConcreteChooseProcessor$1|getKeyImpl                  
|ConcreteChooseProcessor.java  | 131|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|getKey                      
|ProcessorOutputImpl.java      | 260|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |getKey                      
|ProcessorOutputImpl.java      | 400|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKey                  
|ProcessorImpl.java            | 489|
|org.orbeon.oxf.processor.ProcessorImpl             |getInputKeyValidity          
|ProcessorImpl.java            | 521|
|org.orbeon.oxf.processor.ProcessorImpl             |isInputInCache              
|ProcessorImpl.java            | 502|
|org.orbeon.oxf.processor.ProcessorImpl             |isInputInCache              
|ProcessorImpl.java            | 507|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter            
|ApplicationFilterChain.java   | 274|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                    
|ApplicationFilterChain.java   | 242|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply$mcV$sp                
|LimiterFilter.scala           |  85|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply                        
|LimiterFilter.scala           |  85|
|doFilter$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1|apply                        
|LimiterFilter.scala           |  85|
|org.orbeon.oxf.logging.LifecycleLogger$            |withEvent                    
|LifecycleLogger.scala         | 124|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply$mcV$sp                
|LimiterFilter.scala           |  84|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply                        
|LimiterFilter.scala           |  78|
|.LimiterFilter$$anonfun$doFilter$1$$anonfun$apply$1|apply                        
|LimiterFilter.scala           |  78|
|org.orbeon.oxf.logging.LifecycleLogger$            |withEvent                    
|LifecycleLogger.scala         | 124|
|rbeon.oxf.servlet.LimiterFilter$$anonfun$doFilter$1|apply                        
|LimiterFilter.scala           |  78|
|rbeon.oxf.servlet.LimiterFilter$$anonfun$doFilter$1|apply                        
|LimiterFilter.scala           |  72|
|scala.Option                                       |foreach                      
|Option.scala                  | 257|
|org.orbeon.oxf.servlet.LimiterFilter               |doFilter                    
|LimiterFilter.scala           |  72|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter            
|ApplicationFilterChain.java   | 274|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                    
|ApplicationFilterChain.java   | 242|
|org.apache.catalina.core.StandardWrapperValve      |invoke                      
|StandardWrapperValve.java     | 275|
|org.apache.catalina.core.StandardContextValve      |invoke                      
|StandardContextValve.java     | 161|
|.jboss.web.tomcat.security.SecurityAssociationValve|invoke                      
|SecurityAssociationValve.java | 181|
|uster.catalina.CatalinaContext$RequestListenerValve|event                        
|CatalinaContext.java          | 285|
|uster.catalina.CatalinaContext$RequestListenerValve|invoke                      
|CatalinaContext.java          | 261|
|au.com.infomedix.cpflogin.FormPopupIdentifierValve |invoke                      
|FormPopupIdentifierValve.java |  41|
|fomedix.cpflogin.AuthenticatedSessionSSOCookieValve|invoke                      
|AuthenticatedSessionSSOCookieV| 111|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke                      
|AuthenticatorBase.java        | 593|
|au.com.infomedix.cpflogin.CpfAuthDecodeValve       |invoke                      
|CpfAuthDecodeValve.java       | 136|
|au.com.infomedix.cpflogin.RequestTraceValve        |invoke                      
|RequestTraceValve.java        | 102|
|org.jboss.web.tomcat.security.JaccContextValve     |invoke                      
|JaccContextValve.java         |  88|
|b.tomcat.security.SecurityContextEstablishmentValve|invoke                      
|SecurityContextEstablishmentVa| 100|
|org.apache.catalina.core.StandardHostValve         |invoke                      
|StandardHostValve.java        | 159|
|org.apache.catalina.valves.ErrorReportValve        |invoke                      
|ErrorReportValve.java         | 102|
|org.jboss.web.rewrite.RewriteValve                 |invoke                      
|RewriteValve.java             | 466|
|.jboss.web.tomcat.service.jca.CachedConnectionValve|invoke                      
|CachedConnectionValve.java    | 158|
|.jboss.web.tomcat.service.sso.ClusteredSingleSignOn|invoke                      
|ClusteredSingleSignOn.java    | 735|
|org.apache.catalina.core.StandardEngineValve       |invoke                      
|StandardEngineValve.java      | 109|
|cat.service.request.ActiveRequestResponseCacheValve|invoke                      
|ActiveRequestResponseCacheValv|  53|
|org.apache.catalina.connector.CoyoteAdapter        |service                      
|CoyoteAdapter.java            | 362|
|org.apache.coyote.ajp.AjpProcessor                 |process                      
|AjpProcessor.java             | 504|
|.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler|process                      
|AjpProtocol.java              | 437|
|org.apache.tomcat.util.net.JIoEndpoint$Worker      |run                          
|JIoEndpoint.java              | 951|
|java.lang.Thread                                   |run                          
|Thread.java                   | 745|
+----------------------------------------------------------------------------------------------------------------------+

Any clues of what could be done to fix this issue?
Thanks.

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: PDF function throws error when custom css is invoked through servlet

Alessandro  Vernet
Administrator
Hi Disanka,

Sorry for the late response! If this is still an issue, can I ask if you're
using Tomcat? If you are, there is a simple way of externalizing resources,
without making any change to the Orbeon Forms war, by adding the following
inside the <Context> for Orbeon Forms, in your Tomcat's server.xml:

<Parameter override="false"
           name="oxf.resources.priority.0"
         
value="org.orbeon.oxf.resources.FilesystemResourceManagerFactory"/>
<Parameter override="false"
         
name="oxf.resources.priority.0.oxf.resources.filesystem.sandbox-directory"
           value="/path/to/external/resources-local"/>

Then you can put inside that path (`/path/to/external/resources-local`),
whatever you would put in the `WEB-INF/resources`. Would that work for you?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: PDF function throws error when custom css is invoked through servlet

fabio_barion
when I do the form publication I would like to be able to save in my table the list of controls that make up the form

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet
Sent: giovedì 12 ottobre 2017 07:22
To: [hidden email]
Subject: [orbeon] Re: PDF function throws error when custom css is invoked through servlet

Hi Disanka,

Sorry for the late response! If this is still an issue, can I ask if you're using Tomcat? If you are, there is a simple way of externalizing resources, without making any change to the Orbeon Forms war, by adding the following inside the <Context> for Orbeon Forms, in your Tomcat's server.xml:

<Parameter override="false"
           name="oxf.resources.priority.0"

value="org.orbeon.oxf.resources.FilesystemResourceManagerFactory"/>
<Parameter override="false"

name="oxf.resources.priority.0.oxf.resources.filesystem.sandbox-directory"
           value="/path/to/external/resources-local"/>

Then you can put inside that path (`/path/to/external/resources-local`),
whatever you would put in the `WEB-INF/resources`. Would that work for you?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].


Fabio Barion  |  SDG SRL
Piazza Pertini 77  I  21042 I  Caronno Pertusella (VA)  I Italy
t +39 02 96459429  I  f +39 02 96459441
[hidden email]<mailto:[hidden email]> I www.sdgitaly.it<http://www.sdgitaly.it>

SDG  si occupa di Information Technology

Questo messaggio, comprensivo di allegati, è da intendersi destinato ai soli destinatari e può contenere informazioni confidenziali, proprietarie o tutelate legalmente. Persone o entità non autorizzate non possono accedere a tali informazioni. Qualsiasi diffusione, distribuzione, divulgazione o copia di queste informazioni non è autorizzata ed è severamente vietata. Se ha ricevuto il presente messaggio per errore la preghiamo di avvisare rispondendo alla email, e di cancellare il messaggio e relativi allegati.  I messaggi di posta elettronica sono inviati e/o ricevuti via internet. SDG non può garantire la completa confidenzialità a completezza dei dati e/o dei documenti inviati via email, e SDG declina ogni responsabilità per qualsiasi danno eventualmente recato da dati e/o documenti trasmessi via posta elettronica.
________________________________
SDG  is an Information Technology Company

This email message, including any attachment(s), is intended only for the named recipient(s) and may contain confidential, proprietary or legally privileged information. Unauthorized individuals or entities are not permitted access to this information. Any dissemination, distribution, disclosure, or copying of this information is unauthorized and strictly prohibited. If you have received this message in error, please advise the sender by reply email, and delete this message and any attachments. The e-mail messages you send and/or receive are therefore also transmitted via the internet. SDG cannot guarantee (complete) confidentiality and completeness of data and/or documents sent by e-mail, and SDG accepts no liability for any damage whatsoever related to data and/or documents which are communicated by e-mail.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: PDF function throws error when custom css is invoked through servlet

Alessandro  Vernet
Administrator
Hi Fabio,

As you can imagine there is internal code in Orbeon Forms that does this, but it isn't exposed in a public API. Have you already looked into using the persistence API to retrieve the entire form? You should then be able to extract from the full form definition the information you need. Is this something that would work for you?

Alex

On Wed, Oct 11, 2017 at 11:09 PM, Fabio Barion <[hidden email]> wrote:
when I do the form publication I would like to be able to save in my table the list of controls that make up the form

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet
Sent: giovedì 12 ottobre 2017 07:22
To: [hidden email]
Subject: [orbeon] Re: PDF function throws error when custom css is invoked through servlet

Hi Disanka,

Sorry for the late response! If this is still an issue, can I ask if you're using Tomcat? If you are, there is a simple way of externalizing resources, without making any change to the Orbeon Forms war, by adding the following inside the <Context> for Orbeon Forms, in your Tomcat's server.xml:

<Parameter override="false"
           name="oxf.resources.priority.0"

value="org.orbeon.oxf.resources.FilesystemResourceManagerFactory"/>
<Parameter override="false"

name="oxf.resources.priority.0.oxf.resources.filesystem.sandbox-directory"
           value="/path/to/external/resources-local"/>

Then you can put inside that path (`/path/to/external/resources-local`),
whatever you would put in the `WEB-INF/resources`. Would that work for you?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].


Fabio Barion  |  SDG SRL
Piazza Pertini 77  I  21042 I  Caronno Pertusella (VA)  I Italy
t <a href="tel:%2B39%2002%2096459429" value="+390296459429">+39 02 96459429  I  f <a href="tel:%2B39%2002%2096459441" value="+390296459441">+39 02 96459441
[hidden email]<mailto:[hidden email]> I www.sdgitaly.it<http://www.sdgitaly.it>

SDG  si occupa di Information Technology

Questo messaggio, comprensivo di allegati, è da intendersi destinato ai soli destinatari e può contenere informazioni confidenziali, proprietarie o tutelate legalmente. Persone o entità non autorizzate non possono accedere a tali informazioni. Qualsiasi diffusione, distribuzione, divulgazione o copia di queste informazioni non è autorizzata ed è severamente vietata. Se ha ricevuto il presente messaggio per errore la preghiamo di avvisare rispondendo alla email, e di cancellare il messaggio e relativi allegati.  I messaggi di posta elettronica sono inviati e/o ricevuti via internet. SDG non può garantire la completa confidenzialità a completezza dei dati e/o dei documenti inviati via email, e SDG declina ogni responsabilità per qualsiasi danno eventualmente recato da dati e/o documenti trasmessi via posta elettronica.
________________________________
SDG  is an Information Technology Company

This email message, including any attachment(s), is intended only for the named recipient(s) and may contain confidential, proprietary or legally privileged information. Unauthorized individuals or entities are not permitted access to this information. Any dissemination, distribution, disclosure, or copying of this information is unauthorized and strictly prohibited. If you have received this message in error, please advise the sender by reply email, and delete this message and any attachments. The e-mail messages you send and/or receive are therefore also transmitted via the internet. SDG cannot guarantee (complete) confidentiality and completeness of data and/or documents sent by e-mail, and SDG accepts no liability for any damage whatsoever related to data and/or documents which are communicated by e-mail.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet