Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

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

Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

Heinrich Götzger
Hello together,

right now we use Orbeon Forms 3.9.0.201105152046-CE into our own war file.
To get this running we added these jars into our lib-directory:

orbeon-form-runner.jar
orbeon-resources-private.jar
orbeon-resources-public.jar
orbeon-xforms-filter.jar
orbeon.jar
saxon-9-1-0-8_orbeon_20110215.jar
scala-library-2.8.1.jar

It works very fine and as expected.

For several reasons we need to check the latest release so I tried to
get Orbeon Forms 3.9.0.post.201203310628 CE running embedded in our own war.

As we build with maven I had to add following fragments into pom.xml
(just to document it, since I didn't find something about this somewhere):

<plugin>
    <groupId>org.scala-tools</groupId>
    <artifactId>maven-scala-plugin</artifactId>
    <version>2.13.1</version>
    <executions>
       <execution>
          <id>compile</id>
          <goals>
             <goal>compile</goal>
          </goals>
          <phase>compile</phase>
       </execution>
       <execution>
          <id>test-compile</id>
          <goals>
             <goal>testCompile</goal>
          </goals>
          <phase>test-compile</phase>
       </execution>
       <execution>
          <phase>process-resources</phase>
          <goals>
             <goal>compile</goal>
          </goals>
       </execution>
    </executions>
    <configuration>
       <scalaVersion>${scala.version}</scalaVersion>
       <args>
          <arg>-target:jvm-1.5</arg>
          <!-- to support mix java/scala only -->
          <arg>-make:transitivenocp</arg>
          <arg>-dependencyfile</arg>
          <arg>${project.build.directory}/.scala_dependencies</arg>
       </args>
    </configuration>
</plugin>

[...]

<repository>
    <id>scala-tools.org.snapshots</id>
    <name>Scala Tools Maven2 Repository</name>
    <url>our-own-nexus-server/nexus/content/repositories/scala-tools.org.snapshots</url>
    <snapshots/>
</repository>

[...]

<scala.version>2.10.0-SNAPSHOT</scala.version>

And we added/replaced these files:

?       saxon-9-1-0-8_orbeon_20110613.jar
?       scala-library-2.9.1-1.jar
M       orbeon.jar
M       orbeon-form-runner.jar
M       orbeon-resources-public.jar
!       saxon-9-1-0-8_orbeon_20110215.jar
!       scala-library-2.8.1.jar
M       orbeon-resources-private.jar
M       orbeon-xforms-filter.jar


After redeploy I get this error which I'm not able to fix:

java.lang.ClassNotFoundException: sbinary.Writes
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
         at org.orbeon.oxf.xforms.processor.XFormsToXHTML$StaticStateBits.<init>(XFormsToXHTML.java:328)
         at org.orbeon.oxf.xforms.processor.XFormsToXHTML.readStaticState(XFormsToXHTML.java:259)
         at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$300(XFormsToXHTML.java:68)
         at org.orbeon.oxf.xforms.processor.XFormsToXHTML$3.read(XFormsToXHTML.java:172)
         at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
         at org.orbeon.oxf.xforms.processor.XFormsToXHTML.doIt(XFormsToXHTML.java:159)
         at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$000(XFormsToXHTML.java:68)
         at org.orbeon.oxf.xforms.processor.XFormsToXHTML$1.readImpl(XFormsToXHTML.java:86)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:266)
         at org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1$2.read(XIncludeProcessor.java:119)
         at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
         at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:332)
         at org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1.readImpl(XIncludeProcessor.java:113)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:266)
         at org.orbeon.oxf.xforms.processor.ResourcesAggregator$$anon$1.readImpl(ResourcesAggregator.scala:45)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:95)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:93)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:127)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:95)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:93)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:558)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeParents(PipelineProcessor.java:719)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$400(PipelineProcessor.java:62)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:554)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:558)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeParents(PipelineProcessor.java:719)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$400(PipelineProcessor.java:62)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:554)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
         at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
         at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
         at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:288)
         at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:317)
         at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
         at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:332)
         at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:315)
         at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:186)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
         at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:248)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
         at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:248)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
         at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
         at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:473)
         at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:84)
         at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:97)
         at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:133)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at com.xxx.security.SpnegoAuthenticationProcessingFilter.doFilter(SpnegoAuthenticationProcessingFilter.java:209)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
         at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at com.xxx.servlet.RequestFilter.doFilter(RequestFilter.java:332)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
         at java.lang.Thread.run(Thread.java:662)


So how can I get this fixed or what is missing or wrong here?

Thanks for some support.

Cheers

Heinrich

--
Before printing this e-mail, think about our environmental responsibility.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

Heinrich Götzger
I love to answer my own mails ;-)

On 04/02/12 18:03, Heinrich Götzger wrote:
> So how can I get this fixed or what is missing or wrong here?
As almost always, long question, simple answer:

Add sbinary-0.2.jar from

http://code.google.com/p/sbinary

Heinrich


--
Before printing this e-mail, think about our environmental responsibility.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

Heinrich Götzger
But now I get this error:

$(document).on is not a function

..rs(startNode,false,function(value,node){return conditionFunction(node);},true);}..


$(document).on is not a function
http://boo:9090/xxx/xforms-server/orbeon-f04b42b2ee7944fbc963050f3827ea0922bfe63f.js
Line 135

Which points to:

var XFORMS_SEPARATOR_1="\xB7";var XFORMS_SEPARATOR_2="-";var
XFORMS_SERVER_PATH="/xforms-server";var
XXFORMS_NAMESPACE_URI="http://orbeon.org/oxf/xml/xforms";var
PATH_TO_JAVASCRIPT_1="/ops/javascript/xforms";var
PATH_TO_JAVASCRIPT_2=XFORMS_SERVER_PATH+"/";var
ELEMENT_TYPE=document.createElement("dummy").nodeType;var
ATTRIBUTE_TYPE=document.createAttribute("dummy").nodeType;var
TEXT_TYPE=document.createTextNode("").nodeType;var XFORMS_REGEXP_CR=new
RegExp("\\r","g");var XFORMS_REGEXP_SINGLE_QUOTE=new RegExp("'","g");var
XFORMS_REGEXP_OPEN_ANGLE=new RegExp("<","g");var
XFORMS_REGEXP_CLOSE_ANGLE=new RegExp(">","g");var
XFORMS_REGEXP_AMPERSAND=new RegExp("&","g");var
XFORMS_WIDE_TEXTAREA_MIN_ROWS=5;var
DEFAULT_LOADING_TEXT="Loading...";(function(){var YD=YAHOO.util.Dom;var
OD;_.defer(function(){OD=ORBEON.util.Dom;});_.mixin({take:function(obj,interceptor,context){return
interceptor.call(context,obj);},match:function(obj){function
compareMaybe(f){return _.isFunction(f)?f(obj):f==obj;}function
applyMaybe(f){return _.isFunction(f)?f(obj):f;}for(var
i=1;i<arguments.length-1;i=i+2){if(compareMaybe(arguments[i])){return
applyMaybe(arguments[i+1]);}}return
arguments.length%2==0?applyMaybe(arguments[arguments.length-1]):obj;},returns:function(obj){return
_.bind(_.identity,this,obj);}});this.ORBEON=this.ORBEON||{};this.ORBEON.onJavaScriptLoaded=new
YAHOO.util.CustomEvent("javascript-loaded");this.ORBEON.util={IEDom:{getElementsByName:function(element,localName,namespace){return
element.getElementsByTagName(namespace==null?localName:namespace+":"+localName);}},MozDom:{getElementsByName:function(element,localName,namespace){return
element.getElementsByTagName((ORBEON.xforms.Globals.isFF3OrNewer&&namespace!=null?namespace+":":"")+localName);}},Dom:{ELEMENT_TYPE:1,isElement:function(node){return
node.nodeType==this.ELEMENT_TYPE;},get:function(controlId){return
document.getElementById(controlId);},safeGet:function(controlId){var
result=document.getElementById(controlId);if(result&&(result.id!=controlId)&&document.all){result=null;var
documentAll=document.all[controlId];if(documentAll){if(documentAll.length){for(var
i=0;i<documentAll.length;i++){if(documentAll[i].id==controlId){result=documentAll[i];break;}}}else{result=documentAll;}}}return
result;},getAttribute:function(element,name){if(ORBEON.xforms.Globals.isRenderingEngineTrident){return
element.getAttribute(name);}else{if(element.hasAttribute(name)){if(ORBEON.xforms.Globals.isRenderingEngineWebCore){return
ORBEON.util.String.replace(element.getAttribute(name),"&#38;","&");}else{return
element.getAttribute(name);}}else{return
null;}}},setAttribute:function(element,name,value){var
ATTRIBUTE_SLOTS={cellspacing:"cellSpacing","class":"className",colspan:"colSpan","for":"htmlFor",frameborder:"frameBorder",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",usemap:"useMap",accesskey:"accessKey",type:"type"};if(ATTRIBUTE_SLOTS[name]){var
key=ATTRIBUTE_SLOTS[name];if(!(value==""&&YAHOO.lang.isNumber(element[key]))){element[key]=value;}}else{if(name=="style"){element.style.cssText=""+value;}else{if(name=="name"&&element.tagName.toLowerCase()=="input"){element.setAttribute(name,value);if(YAHOO.lang.isObject(element.form)){var
controlsWithName=element.form[value];var
nameChangeSuccessful=false;if(controlsWithName&&YAHOO.lang.isNumber(controlsWithName.length)){for(var
controlIndex=0;controlIndex<controlsWithName.length;controlIndex++){if(controlsWithName[controlIndex]==element){nameChangeSuccessful=true;}}}else{if(YAHOO.lang.isObject(controlsWithName)){if(controlsWithName==element){nameChangeSuccessful=true;}}}if(!nameChangeSuccessful){var
elementSource=element.outerHTML;elementSource=elementSource.replace(new
RegExp(" name=.*(
|>)","g"),"$1");elementSource=elementSource.replace(new RegExp(">"),'
name="'+value+'">');var
newElement=document.createElement(elementSource);element.parentNode.insertBefore(newElement,element);element.parentNode.removeChild(element);}}}else{element.setAttribute(name,value);}}}},getChildElementByIndex:function(parent,position){for(var
i=0;i<parent.childNodes.length;i++){var
child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)){if(position==0){return
child;}position--;}}return
null;},getChildElementByClass:function(parent,clazz){for(var
i=0;i<parent.childNodes.length;i++){var
child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)&&YAHOO.util.Dom.hasClass(child,clazz)){return
child;}}return null;},getChildElementsByClass:function(parent,clazz){var
nodes=[];for(var i=0;i<parent.childNodes.length;i++){var
child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)&&YAHOO.util.Dom.hasClass(child,clazz)){nodes[nodes.length]=child;}}return
nodes.length==0?null:nodes;},nextSiblingElement:function(element){while(true){var
candidate=element.nextSibling;if(candidate==null){return
null;}if(ORBEON.util.Dom.isElement(candidate)){return
candidate;}}},stringToDom:function(xmlString){if(document.implementation.createDocument...controlValues;},_setVariables:function(variables){ORBEON.xforms.Offline.variables=variables;var
controlIDToVariableName={};for(var name in variables){var
controlID=variables[name].value;controlIDToVariableName[controlID]=name;}ORBEON.xforms.Offline.controlIDToVariableName=controlIDToVariableName;},_encrypt:function(text,key){return
key==null?text:text==""?text:byteArrayToHex(rijndaelEncrypt(text,key,"ECB"));},_decrypt:function(text,key){return
key==null?text:text==""?text:byteArrayToString(rijndaelDecrypt(hexToByteArray(text),key,"ECB"));}};function
xformsIsDefined(thing){return typeof thing!="undefined";}function
xformsDispatchEvent(target,eventName){if(target.dispatchEvent){var
event=document.createEvent("HTMLEvents");event.initEvent(eventName.toLowerCase(),true,true);target.dispatchEvent(event);}else{target.fireEvent("on"+eventName);}}function
xformsPreventDefault(event){if(event.preventDefault){event.preventDefault();}else{return
false;}}function xformsArrayContains(array,element){for(var
i=0;i<array.length;i++){if(array[i]==element){return true;}}return
false;}function xformsLog(object){var
debugDiv=ORBEON.util.Dom.get("xforms-debug");if(debugDiv==null){var
visibleWidth;var
visibleHeight;if(navigator.appName.indexOf("Microsoft")!=-1){visibleWidth=document.body.offsetWidth;visibleHeight=document.body.offsetHeight;}else{visibleWidth=window.innerWidth;visibleHeight=window.innerHeight;}debugDiv=document.createElement("div");debugDiv.className="xforms-debug";debugDiv.id="xforms-debug";debugDiv.style.width=ORBEON.util.Properties.debugWindowWidth.get()+"px";debugDiv.style.left=visibleWidth-(ORBEON.util.Properties.debugWindowWidth.get()+50)+"px";debugDiv.style.height=ORBEON.util.Properties.debugWindowHeight.get()+"px";debugDiv.style.top=visibleHeight-(ORBEON.util.Properties.debugWindowHeight.get()+20)+"px";var
clear=document.createElement("BUTTON");clear.appendChild(document.createTextNode("Clear"));debugDiv.appendChild(clear);document.body.insertBefore(debugDiv,document.body.firstChild);YAHOO.util.Event.addListener(clear,"click",function(event){var
target=getEventTarget(event);while(target.nextSibling){target.parentNode.removeChild(target.nextSibling);}return
false;});YAHOO.util.Event.addListener(debugDiv,"mousedown",function(event){ORBEON.xforms.Globals.debugDiv=getEventTarget(event);return
false;});YAHOO.util.Event.addListener(document,"mouseup",function(event){ORBEON.xforms.Globals.debugDiv=null;return
false;});YAHOO.util.Event.addListener(document,"mousemove",function(event){if(ORBEON.xforms.Globals.debugDiv){ORBEON.xforms.Globals.debugDiv.style.left=event.clientX;ORBEON.xforms.Globals.debugDiv.style.top=event.clientY;}return
false;});}text=object===undefined?"undefined":object===null?"null":typeof object=="string"&&object==""?"empty
string":object.nodeType&&object.nodeType==ORBEON.util.Dom.ELEMENT_TYPE?"Element
"+object.tagName:object.nodeType&&object.nodeType==ORBEON.util.Dom.TEXT_TYPE?"Text:
"+ORBEON.util.Dom.getStringValue(object):object;debugDiv.innerHTML+=text+"
| ";}function xformsLogTime(text){var
oldTime=ORBEON.xforms.Globals.debugLastTime;var currentTime=new
Date().getTime();ORBEON.xforms.Globals.debugLastTime=currentTime;xformsLog((currentTime-oldTime)+":
"+text);}function xformsLogProperties(object){var message="[";var
first=true;for(var p in object){if(first){first=false;}else{message+=",
";}message+=p+": "+object[p];}message+="]";xformsLog(message);}function
xformsValueChanged(target){var
newValue=ORBEON.xforms.Controls.getCurrentValue(target);var
valueChanged=newValue!=target.previousValue;var
isUploadControl=YAHOO.util.Dom.hasClass(target,"xforms-upload");if(valueChanged&&!isUploadControl){target.previousValue=newValue;var
incremental=YAHOO.util.Dom.hasClass(target,"xforms-incremental");var
event=new
ORBEON.xforms.server.AjaxServer.Event(null,target.id,newValue,"xxforms-value");ORBEON.xforms.server.AjaxServer.fireEvents([event],incremental);}return
valueChanged;}function
getEventTarget(event){if(event&&event.LinkedField){return
event.LinkedField;}else{event=event?event:window.event;var
target=event.srcElement?event.srcElement:event.target;if(target.xformsElement){return
target.xformsElement;}else{if(target.ownerDocument.xformsElement){return
target.ownerDocument.xformsElement;}else{return
target;}}}}if(!ORBEON.xforms.Globals.pageLoadedRegistered){var
foundDojoContentPane=false;for(var i=0;i<document.forms.length;i++){var
form=document.forms[i];if(form.className.indexOf("xforms-form")!=-1){var
currentElement=form.parentNode;while(currentElement!=null){if(currentElement.className=="dijitContentPane"){foundDojoContentPane=true;break;}currentElement=currentElement.parentNode;}}}if(!foundDojoContentPane){ORBEON.xforms.Globals.pageLoadedRegistered=true;YAHOO.util.Event.throwErrors=true;YAHOO.util.Event.onDOMReady(ORBEON.xforms.Init.document);ORBEON.xforms.Globals.debugLastTime=new
Date().getTime();ORBEON.xforms.Globals.lastEventSentTime=new
Date().getTime();}}ORBEON.onJavaScriptLoaded.fire();

Any Ideas?

Thanks

Cheers

Heinrich

--
Before printing this e-mail, think about our environmental responsibility.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

Erik Bruchez
Administrator
In reply to this post by Heinrich Götzger
Heinrich,

In short you need to make sure you end up with the exact JAR files we use.

For example, I wouldn't try using 2.10.0-SNAPSHOT: we haven't tried
that at all. We use Scala 2.9.1-1 at the moment.

Also, we use sbinary-2.9.1-0.4.0.jar, not sbinary-0.2.jar.

-Erik

On Mon, Apr 2, 2012 at 9:03 AM, Heinrich Götzger <[hidden email]> wrote:

> Hello together,
>
> right now we use Orbeon Forms 3.9.0.201105152046-CE into our own war file.
> To get this running we added these jars into our lib-directory:
>
> orbeon-form-runner.jar
> orbeon-resources-private.jar
> orbeon-resources-public.jar
> orbeon-xforms-filter.jar
> orbeon.jar
> saxon-9-1-0-8_orbeon_20110215.jar
> scala-library-2.8.1.jar
>
> It works very fine and as expected.
>
> For several reasons we need to check the latest release so I tried to get
> Orbeon Forms 3.9.0.post.201203310628 CE running embedded in our own war.
>
> As we build with maven I had to add following fragments into pom.xml (just
> to document it, since I didn't find something about this somewhere):
>
> <plugin>
>   <groupId>org.scala-tools</groupId>
>   <artifactId>maven-scala-plugin</artifactId>
>   <version>2.13.1</version>
>   <executions>
>      <execution>
>         <id>compile</id>
>         <goals>
>            <goal>compile</goal>
>         </goals>
>         <phase>compile</phase>
>      </execution>
>      <execution>
>         <id>test-compile</id>
>         <goals>
>            <goal>testCompile</goal>
>         </goals>
>         <phase>test-compile</phase>
>      </execution>
>      <execution>
>         <phase>process-resources</phase>
>         <goals>
>            <goal>compile</goal>
>         </goals>
>      </execution>
>   </executions>
>   <configuration>
>      <scalaVersion>${scala.version}</scalaVersion>
>      <args>
>         <arg>-target:jvm-1.5</arg>
>         <!-- to support mix java/scala only -->
>         <arg>-make:transitivenocp</arg>
>         <arg>-dependencyfile</arg>
>         <arg>${project.build.directory}/.scala_dependencies</arg>
>      </args>
>   </configuration>
> </plugin>
>
> [...]
>
> <repository>
>   <id>scala-tools.org.snapshots</id>
>   <name>Scala Tools Maven2 Repository</name>
>
> <url>our-own-nexus-server/nexus/content/repositories/scala-tools.org.snapshots</url>
>   <snapshots/>
> </repository>
>
> [...]
>
> <scala.version>2.10.0-SNAPSHOT</scala.version>
>
> And we added/replaced these files:
>
> ?       saxon-9-1-0-8_orbeon_20110613.jar
> ?       scala-library-2.9.1-1.jar
> M       orbeon.jar
> M       orbeon-form-runner.jar
> M       orbeon-resources-public.jar
> !       saxon-9-1-0-8_orbeon_20110215.jar
> !       scala-library-2.8.1.jar
> M       orbeon-resources-private.jar
> M       orbeon-xforms-filter.jar
>
>
> After redeploy I get this error which I'm not able to fix:
>
> java.lang.ClassNotFoundException: sbinary.Writes
>        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
>        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>        at
> org.orbeon.oxf.xforms.processor.XFormsToXHTML$StaticStateBits.<init>(XFormsToXHTML.java:328)
>        at
> org.orbeon.oxf.xforms.processor.XFormsToXHTML.readStaticState(XFormsToXHTML.java:259)
>        at
> org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$300(XFormsToXHTML.java:68)
>        at
> org.orbeon.oxf.xforms.processor.XFormsToXHTML$3.read(XFormsToXHTML.java:172)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
>        at
> org.orbeon.oxf.xforms.processor.XFormsToXHTML.doIt(XFormsToXHTML.java:159)
>        at
> org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$000(XFormsToXHTML.java:68)
>        at
> org.orbeon.oxf.xforms.processor.XFormsToXHTML$1.readImpl(XFormsToXHTML.java:86)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:266)
>        at
> org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1$2.read(XIncludeProcessor.java:119)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:332)
>        at
> org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1.readImpl(XIncludeProcessor.java:113)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:266)
>        at
> org.orbeon.oxf.xforms.processor.ResourcesAggregator$$anon$1.readImpl(ResourcesAggregator.scala:45)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:95)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:93)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:127)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:95)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:93)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:558)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeParents(PipelineProcessor.java:719)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$400(PipelineProcessor.java:62)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:554)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:558)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeParents(PipelineProcessor.java:719)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$400(PipelineProcessor.java:62)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:554)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>        at
> org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>        at
> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:288)
>        at
> org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:317)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:332)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:315)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:186)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:248)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>        at
> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:248)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>        at
> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>        at
> org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:473)
>        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:84)
>        at
> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:97)
>        at
> org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:133)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)
>        at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
>        at
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> com.xxx.security.SpnegoAuthenticationProcessingFilter.doFilter(SpnegoAuthenticationProcessingFilter.java:209)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
>        at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>        at
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
>        at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
>        at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at com.xxx.servlet.RequestFilter.doFilter(RequestFilter.java:332)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>        at java.lang.Thread.run(Thread.java:662)
>
>
> So how can I get this fixed or what is missing or wrong here?
>
> Thanks for some support.
>
> Cheers
>
> Heinrich
>
> --
> Before printing this e-mail, think about our environmental responsibility.
>
>
>
> --
> 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
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

koenvdk
In reply to this post by Heinrich Götzger
Hi Heinrich,


I'm trying to integrate orbeon into my maven workflow as well. Could you tell us what else you had to do, besides what you explained in your first mail?
There seem to be a lot more libraries in the orbeon war than those you mentioned...


Thx!



Koen Vanderkimpen

Connect: Twitter

[hidden email]
IT Consulent - Sectie Onderzoek
Afdeling Klanten en Diensten
Smals -
www.smals.be



From:        Heinrich Götzger <[hidden email]>
To:        [hidden email]
Date:        02/04/2012 18:59
Subject:        [ops-users] Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file





But now I get this error:

$(document).on is not a function

..rs(startNode,false,function(value,node){return conditionFunction(node);},true);}..


$(document).on is not a function
http://boo:9090/xxx/xforms-server/orbeon-f04b42b2ee7944fbc963050f3827ea0922bfe63f.js
Line 135

Which points to:

var XFORMS_SEPARATOR_1="\xB7";var XFORMS_SEPARATOR_2="-";var
XFORMS_SERVER_PATH="/xforms-server";var
XXFORMS_NAMESPACE_URI="
http://orbeon.org/oxf/xml/xforms";var
PATH_TO_JAVASCRIPT_1="/ops/javascript/xforms";var
PATH_TO_JAVASCRIPT_2=XFORMS_SERVER_PATH+"/";var
ELEMENT_TYPE=document.createElement("dummy").nodeType;var
ATTRIBUTE_TYPE=document.createAttribute("dummy").nodeType;var
TEXT_TYPE=document.createTextNode("").nodeType;var XFORMS_REGEXP_CR=new
RegExp("\\r","g");var XFORMS_REGEXP_SINGLE_QUOTE=new RegExp("'","g");var
XFORMS_REGEXP_OPEN_ANGLE=new RegExp("<","g");var
XFORMS_REGEXP_CLOSE_ANGLE=new RegExp(">","g");var
XFORMS_REGEXP_AMPERSAND=new RegExp("&","g");var
XFORMS_WIDE_TEXTAREA_MIN_ROWS=5;var
DEFAULT_LOADING_TEXT="Loading...";(function(){var YD=YAHOO.util.Dom;var
OD;_.defer(function(){OD=ORBEON.util.Dom;});_.mixin({take:function(obj,interceptor,context){return
interceptor.call(context,obj);},match:function(obj){function
compareMaybe(f){return _.isFunction(f)?f(obj):f==obj;}function
applyMaybe(f){return _.isFunction(f)?f(obj):f;}for(var
i=1;i<arguments.length-1;i=i+2){if(compareMaybe(arguments[i])){return
applyMaybe(arguments[i+1]);}}return
arguments.length%2==0?applyMaybe(arguments[arguments.length-1]):obj;},returns:function(obj){return
_.bind(_.identity,this,obj);}});this.ORBEON=this.ORBEON||{};this.ORBEON.onJavaScriptLoaded=new
YAHOO.util.CustomEvent("javascript-loaded");this.ORBEON.util={IEDom:{getElementsByName:function(element,localName,namespace){return
element.getElementsByTagName(namespace==null?localName:namespace+":"+localName);}},MozDom:{getElementsByName:function(element,localName,namespace){return
element.getElementsByTagName((ORBEON.xforms.Globals.isFF3OrNewer&&namespace!=null?namespace+":":"")+localName);}},Dom:{ELEMENT_TYPE:1,isElement:function(node){return
node.nodeType==this.ELEMENT_TYPE;},get:function(controlId){return
document.getElementById(controlId);},safeGet:function(controlId){var
result=document.getElementById(controlId);if(result&&(result.id!=controlId)&&document.all){result=null;var
documentAll=document.all[controlId];if(documentAll){if(documentAll.length){for(var
i=0;i<documentAll.length;i++){if(documentAll[i].id==controlId){result=documentAll[i];break;}}}else{result=documentAll;}}}return
result;},getAttribute:function(element,name){if(ORBEON.xforms.Globals.isRenderingEngineTrident){return
element.getAttribute(name);}else{if(element.hasAttribute(name)){if(ORBEON.xforms.Globals.isRenderingEngineWebCore){return
ORBEON.util.String.replace(element.getAttribute(name),"&#38;","&");}else{return
element.getAttribute(name);}}else{return
null;}}},setAttribute:function(element,name,value){var
ATTRIBUTE_SLOTS={cellspacing:"cellSpacing","class":"className",colspan:"colSpan","for":"htmlFor",frameborder:"frameBorder",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",usemap:"useMap",accesskey:"accessKey",type:"type"};if(ATTRIBUTE_SLOTS[name]){var
key=ATTRIBUTE_SLOTS[name];if(!(value==""&&YAHOO.lang.isNumber(element[key]))){element[key]=value;}}else{if(name=="style"){element.style.cssText=""+value;}else{if(name=="name"&&element.tagName.toLowerCase()=="input"){element.setAttribute(name,value);if(YAHOO.lang.isObject(element.form)){var
controlsWithName=element.form[value];var
nameChangeSuccessful=false;if(controlsWithName&&YAHOO.lang.isNumber(controlsWithName.length)){for(var
controlIndex=0;controlIndex<controlsWithName.length;controlIndex++){if(controlsWithName[controlIndex]==element){nameChangeSuccessful=true;}}}else{if(YAHOO.lang.isObject(controlsWithName)){if(controlsWithName==element){nameChangeSuccessful=true;}}}if(!nameChangeSuccessful){var
elementSource=element.outerHTML;elementSource=elementSource.replace(new
RegExp(" name=.*(
|>)","g"),"$1");elementSource=elementSource.replace(new RegExp(">"),'
name="'+value+'">');var
newElement=document.createElement(elementSource);element.parentNode.insertBefore(newElement,element);element.parentNode.removeChild(element);}}}else{element.setAttribute(name,value);}}}},getChildElementByIndex:function(parent,position){for(var
i=0;i<parent.childNodes.length;i++){var
child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)){if(position==0){return
child;}position--;}}return
null;},getChildElementByClass:function(parent,clazz){for(var
i=0;i<parent.childNodes.length;i++){var
child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)&&YAHOO.util.Dom.hasClass(child,clazz)){return
child;}}return null;},getChildElementsByClass:function(parent,clazz){var
nodes=[];for(var i=0;i<parent.childNodes.length;i++){var
child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)&&YAHOO.util.Dom.hasClass(child,clazz)){nodes[nodes.length]=child;}}return
nodes.length==0?null:nodes;},nextSiblingElement:function(element){while(true){var
candidate=element.nextSibling;if(candidate==null){return
null;}if(ORBEON.util.Dom.isElement(candidate)){return
candidate;}}},stringToDom:function(xmlString){if(document.implementation.createDocument...controlValues;},_setVariables:function(variables){ORBEON.xforms.Offline.variables=variables;var
controlIDToVariableName={};for(var name in variables){var
controlID=variables[name].value;controlIDToVariableName[controlID]=name;}ORBEON.xforms.Offline.controlIDToVariableName=controlIDToVariableName;},_encrypt:function(text,key){return
key==null?text:text==""?text:byteArrayToHex(rijndaelEncrypt(text,key,"ECB"));},_decrypt:function(text,key){return
key==null?text:text==""?text:byteArrayToString(rijndaelDecrypt(hexToByteArray(text),key,"ECB"));}};function
xformsIsDefined(thing){return typeof thing!="undefined";}function
xformsDispatchEvent(target,eventName){if(target.dispatchEvent){var
event=document.createEvent("HTMLEvents");event.initEvent(eventName.toLowerCase(),true,true);target.dispatchEvent(event);}else{target.fireEvent("on"+eventName);}}function
xformsPreventDefault(event){if(event.preventDefault){event.preventDefault();}else{return
false;}}function xformsArrayContains(array,element){for(var
i=0;i<array.length;i++){if(array[i]==element){return true;}}return
false;}function xformsLog(object){var
debugDiv=ORBEON.util.Dom.get("xforms-debug");if(debugDiv==null){var
visibleWidth;var
visibleHeight;if(navigator.appName.indexOf("Microsoft")!=-1){visibleWidth=document.body.offsetWidth;visibleHeight=document.body.offsetHeight;}else{visibleWidth=window.innerWidth;visibleHeight=window.innerHeight;}debugDiv=document.createElement("div");debugDiv.className="xforms-debug";debugDiv.id="xforms-debug";debugDiv.style.width=ORBEON.util.Properties.debugWindowWidth.get()+"px";debugDiv.style.left=visibleWidth-(ORBEON.util.Properties.debugWindowWidth.get()+50)+"px";debugDiv.style.height=ORBEON.util.Properties.debugWindowHeight.get()+"px";debugDiv.style.top=visibleHeight-(ORBEON.util.Properties.debugWindowHeight.get()+20)+"px";var
clear=document.createElement("BUTTON");clear.appendChild(document.createTextNode("Clear"));debugDiv.appendChild(clear);document.body.insertBefore(debugDiv,document.body.firstChild);YAHOO.util.Event.addListener(clear,"click",function(event){var
target=getEventTarget(event);while(target.nextSibling){target.parentNode.removeChild(target.nextSibling);}return
false;});YAHOO.util.Event.addListener(debugDiv,"mousedown",function(event){ORBEON.xforms.Globals.debugDiv=getEventTarget(event);return
false;});YAHOO.util.Event.addListener(document,"mouseup",function(event){ORBEON.xforms.Globals.debugDiv=null;return
false;});YAHOO.util.Event.addListener(document,"mousemove",function(event){if(ORBEON.xforms.Globals.debugDiv){ORBEON.xforms.Globals.debugDiv.style.left=event.clientX;ORBEON.xforms.Globals.debugDiv.style.top=event.clientY;}return
false;});}text=object===undefined?"undefined":object===null?"null":typeof object=="string"&&object==""?"empty
string":object.nodeType&&object.nodeType==ORBEON.util.Dom.ELEMENT_TYPE?"Element
"+object.tagName:object.nodeType&&object.nodeType==ORBEON.util.Dom.TEXT_TYPE?"Text:
"+ORBEON.util.Dom.getStringValue(object):object;debugDiv.innerHTML+=text+"
| ";}function xformsLogTime(text){var
oldTime=ORBEON.xforms.Globals.debugLastTime;var currentTime=new
Date().getTime();ORBEON.xforms.Globals.debugLastTime=currentTime;xformsLog((currentTime-oldTime)+":
"+text);}function xformsLogProperties(object){var message="[";var
first=true;for(var p in object){if(first){first=false;}else{message+=",
";}message+=p+": "+object[p];}message+="]";xformsLog(message);}function
xformsValueChanged(target){var
newValue=ORBEON.xforms.Controls.getCurrentValue(target);var
valueChanged=newValue!=target.previousValue;var
isUploadControl=YAHOO.util.Dom.hasClass(target,"xforms-upload");if(valueChanged&&!isUploadControl){target.previousValue=newValue;var
incremental=YAHOO.util.Dom.hasClass(target,"xforms-incremental");var
event=new
ORBEON.xforms.server.AjaxServer.Event(null,target.id,newValue,"xxforms-value");ORBEON.xforms.server.AjaxServer.fireEvents([event],incremental);}return
valueChanged;}function
getEventTarget(event){if(event&&event.LinkedField){return
event.LinkedField;}else{event=event?event:window.event;var
target=event.srcElement?event.srcElement:event.target;if(target.xformsElement){return
target.xformsElement;}else{if(target.ownerDocument.xformsElement){return
target.ownerDocument.xformsElement;}else{return
target;}}}}if(!ORBEON.xforms.Globals.pageLoadedRegistered){var
foundDojoContentPane=false;for(var i=0;i<document.forms.length;i++){var
form=document.forms[i];if(form.className.indexOf("xforms-form")!=-1){var
currentElement=form.parentNode;while(currentElement!=null){if(currentElement.className=="dijitContentPane"){foundDojoContentPane=true;break;}currentElement=currentElement.parentNode;}}}if(!foundDojoContentPane){ORBEON.xforms.Globals.pageLoadedRegistered=true;YAHOO.util.Event.throwErrors=true;YAHOO.util.Event.onDOMReady(ORBEON.xforms.Init.document);ORBEON.xforms.Globals.debugLastTime=new
Date().getTime();ORBEON.xforms.Globals.lastEventSentTime=new
Date().getTime();}}ORBEON.onJavaScriptLoaded.fire();

Any Ideas?

Thanks

Cheers

Heinrich

--
Before printing this e-mail, think about our environmental responsibility.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe:
[hidden email]
For general help:
[hidden email]
OW2 mailing lists service home page:
http://www.ow2.org/wws








Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen.

Conformément aux dispositions relatives à la représentation de l'asbl dans ses statuts, seul l'administrateur délégué, le directeur général ou son mandataire exprès est habilité à souscrire des engagements au nom de Smals.
Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message.

According to the provisions regarding representation of the non profit association in its bylaws, only the chief executive officer, the general manager or his explicit agent can enter into engagements on behalf of Smals.
If you are not the addressee of this message, we kindly ask you to signal this to us immediately and to delete the message.





--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

Heinrich Götzger
In reply to this post by Erik Bruchez
Erik,

thanks for the response.

So I change to

<scala.version>2.9.1-1</scala.version>

and copy the file

sbinary-2.9.1-0.4.0.jar

from the orbeon-nightly-build into my lib-directory.
ok.

I did this already since with the other release of sbinary it won't even
compile, and the latest release of sbinary is not available at some
maven repository at all right now.

So then I would need to check all the other jars as well.....

But unfortunately the Javascript problem mentioned in the other post in
this thread remains.
And I've no idea how to even detect the hot spot in the code, not
talking about how to fix it.

Some helpful tips around?

Cheers

Heinrich


On 04/03/12 06:34, Erik Bruchez wrote:

> Heinrich,
>
> In short you need to make sure you end up with the exact JAR files we use.
>
> For example, I wouldn't try using 2.10.0-SNAPSHOT: we haven't tried
> that at all. We use Scala 2.9.1-1 at the moment.
>
> Also, we use sbinary-2.9.1-0.4.0.jar, not sbinary-0.2.jar.
>
> -Erik
>
> On Mon, Apr 2, 2012 at 9:03 AM, Heinrich Götzger<[hidden email]>  wrote:
>> Hello together,
>>
>> right now we use Orbeon Forms 3.9.0.201105152046-CE into our own war file.
>> To get this running we added these jars into our lib-directory:
>>
>> orbeon-form-runner.jar
>> orbeon-resources-private.jar
>> orbeon-resources-public.jar
>> orbeon-xforms-filter.jar
>> orbeon.jar
>> saxon-9-1-0-8_orbeon_20110215.jar
>> scala-library-2.8.1.jar
>>
>> It works very fine and as expected.
>>
>> For several reasons we need to check the latest release so I tried to get
>> Orbeon Forms 3.9.0.post.201203310628 CE running embedded in our own war.
>>
>> As we build with maven I had to add following fragments into pom.xml (just
>> to document it, since I didn't find something about this somewhere):
>>
>> <plugin>
>>    <groupId>org.scala-tools</groupId>
>>    <artifactId>maven-scala-plugin</artifactId>
>>    <version>2.13.1</version>
>>    <executions>
>>       <execution>
>>          <id>compile</id>
>>          <goals>
>>             <goal>compile</goal>
>>          </goals>
>>          <phase>compile</phase>
>>       </execution>
>>       <execution>
>>          <id>test-compile</id>
>>          <goals>
>>             <goal>testCompile</goal>
>>          </goals>
>>          <phase>test-compile</phase>
>>       </execution>
>>       <execution>
>>          <phase>process-resources</phase>
>>          <goals>
>>             <goal>compile</goal>
>>          </goals>
>>       </execution>
>>    </executions>
>>    <configuration>
>>       <scalaVersion>${scala.version}</scalaVersion>
>>       <args>
>>          <arg>-target:jvm-1.5</arg>
>>          <!-- to support mix java/scala only -->
>>          <arg>-make:transitivenocp</arg>
>>          <arg>-dependencyfile</arg>
>>          <arg>${project.build.directory}/.scala_dependencies</arg>
>>       </args>
>>    </configuration>
>> </plugin>
>>
>> [...]
>>
>> <repository>
>>    <id>scala-tools.org.snapshots</id>
>>    <name>Scala Tools Maven2 Repository</name>
>>
>> <url>our-own-nexus-server/nexus/content/repositories/scala-tools.org.snapshots</url>
>>    <snapshots/>
>> </repository>
>>
>> [...]
>>
>> <scala.version>2.10.0-SNAPSHOT</scala.version>
>>
>> And we added/replaced these files:
>>
>> ?       saxon-9-1-0-8_orbeon_20110613.jar
>> ?       scala-library-2.9.1-1.jar
>> M       orbeon.jar
>> M       orbeon-form-runner.jar
>> M       orbeon-resources-public.jar
>> !       saxon-9-1-0-8_orbeon_20110215.jar
>> !       scala-library-2.8.1.jar
>> M       orbeon-resources-private.jar
>> M       orbeon-xforms-filter.jar
>>
>>
>> After redeploy I get this error which I'm not able to fix:
>>
>> java.lang.ClassNotFoundException: sbinary.Writes
>>         at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
>>         at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
>>         at
>> org.orbeon.oxf.xforms.processor.XFormsToXHTML$StaticStateBits.<init>(XFormsToXHTML.java:328)
>>         at
>> org.orbeon.oxf.xforms.processor.XFormsToXHTML.readStaticState(XFormsToXHTML.java:259)
>>         at
>> org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$300(XFormsToXHTML.java:68)
>>         at
>> org.orbeon.oxf.xforms.processor.XFormsToXHTML$3.read(XFormsToXHTML.java:172)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
>>         at
>> org.orbeon.oxf.xforms.processor.XFormsToXHTML.doIt(XFormsToXHTML.java:159)
>>         at
>> org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$000(XFormsToXHTML.java:68)
>>         at
>> org.orbeon.oxf.xforms.processor.XFormsToXHTML$1.readImpl(XFormsToXHTML.java:86)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:266)
>>         at
>> org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1$2.read(XIncludeProcessor.java:119)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:332)
>>         at
>> org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1.readImpl(XIncludeProcessor.java:113)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:266)
>>         at
>> org.orbeon.oxf.xforms.processor.ResourcesAggregator$$anon$1.readImpl(ResourcesAggregator.scala:45)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:95)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:93)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:127)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1$1.run(PipelineProcessor.java:95)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:93)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:558)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeParents(PipelineProcessor.java:719)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$400(PipelineProcessor.java:62)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:554)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput$1.run(PipelineProcessor.java:558)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeParents(PipelineProcessor.java:719)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$400(PipelineProcessor.java:62)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:554)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>>         at
>> org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:257)
>>         at
>> org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:400)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:262)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:288)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:317)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:367)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:332)
>>         at
>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:315)
>>         at
>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:186)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>>         at
>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:248)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>>         at
>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:248)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor$4.run(PipelineProcessor.java:640)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.executeChildren(PipelineProcessor.java:702)
>>         at
>> org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:637)
>>         at
>> org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:473)
>>         at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:84)
>>         at
>> org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:97)
>>         at
>> org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:133)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)
>>         at
>> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
>>         at
>> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> com.xxx.security.SpnegoAuthenticationProcessingFilter.doFilter(SpnegoAuthenticationProcessingFilter.java:209)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
>>         at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)
>>         at
>> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)
>>         at
>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
>>         at
>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>         at com.xxx.servlet.RequestFilter.doFilter(RequestFilter.java:332)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>         at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>         at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>         at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>         at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>         at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>         at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>>         at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>>         at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>>         at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>         at java.lang.Thread.run(Thread.java:662)
>>
>>
>> So how can I get this fixed or what is missing or wrong here?
>>
>> Thanks for some support.
>>
>> Cheers
>>
>> Heinrich
>>
>> --
>> Before printing this e-mail, think about our environmental responsibility.
>>
>>
>>
>> --
>> 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
>>

--
Before printing this e-mail, think about our environmental responsibility.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

Heinrich Götzger
In reply to this post by koenvdk
Hello Koen,

we use just the orbeon-runner as our forms to complex to be build with
the builder.

So with release Orbeon Forms 3.9.0.201105152046-CE we're using this
pom.xml (replacing some costumer related content with xxx)

<project
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.xxx</groupId>
<artifactId>xxx</artifactId>
<version>2.9-SNAPSHOT</version>
<packaging>war</packaging>
<name>xxx Standard Web App</name>
<description>xxx Standard Web App</description>
<issueManagement>
<system>xxx trac</system>
<url>http://xxx.net/trac/xxx</url>
</issueManagement>
<scm>
<connection>scm:svn:http://xxx/svn/xxxStandard/trunk</connection>
<developerConnection>scm:svn:http://xxx@svn/xxxStandard/trunk</developerConnection>
<url>http://xxx/svn/xxxStandard/trunk</url>
</scm>
<organization>
<name>xxx</name>
<url>http://xxx.com</url>
</organization>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<packagingExcludes>WEB-INF/web.xml</packagingExcludes>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<additionalProjectFacets>
<jst.jsf>1.1</jst.jsf>
<jst.web.xdoclet>1.2.3</jst.web.xdoclet>
</additionalProjectFacets>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<path>/${project.artifactId}</path>
<server>${server}</server>
<url>${maven.tomcat.url}</url>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/wsdl/executeGenericAction.wsdl</wsdl>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.0-beta-4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<escapeString>\</escapeString>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<configuration>
<excludes>
<exclude>**/TestCaseUtils.java</exclude>
<exclude>%regex[.*XMLAssert*.*]</exclude>
<exclude>**/TestTemplate.java</exclude>
</excludes>
<failIfNoTests>false</failIfNoTests>
<showSuccess>false</showSuccess>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>thirdParty</id>
<name>xxx third party components</name>
<url>http://xxx.net:6061/nexus/content/repositories/thirdparty
</url>
</repository>
<repository>
<id>spring-milestone</id>
<name>Spring Portfolio Milestone Repository</name>
<url>http://maven.springframework.org/milestone</url>
</repository>
</repositories>
<pluginRepositories>
</pluginRepositories>
<dependencies>
<dependency>
<!--
             The order matters, dependencies are loaded in the order in
             which they are declared in the pom.xml.
             To avoid NoClassDefFoundError: org/objectweb/asm/CodeVisitor,
             cglib-nodep needs to be on top.
          -->
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2.2</version>
<type>jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.security.extensions</groupId>
<artifactId>spring-security-kerberos-core</artifactId>
<version>1.0.0.M2</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.1</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${spring.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<!-- http://cxf.apache.org/docs/using-cxf-with-maven.html -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
<!-- Jetty is needed if you're are not using the CXFServlet -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>xxxRelease</id>
<name>xxx releases</name>
<url>http://xxx.net:6061/nexus/content/repositories/releases/
</url>
</repository>
<snapshotRepository>
<id>xxxSnapshots</id>
<name>xxx snapshots</name>
<url>http://xxx.net:6061/nexus/content/repositories/snapshots/
</url>
</snapshotRepository>
</distributionManagement>
<properties>
<cxf.version>2.3.2</cxf.version>
<spring.version>3.0.2.RELEASE</spring.version>
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
</properties>
</project>

We then have these jars in our lib-directory:

activation-1.1.1.jar
ant-1_6_5.jar
ant-jsch-1_6_5.jar
apache-mime4j-0.6.jar
avalon-framework-4_2_0.jar
axis_1_2_1-axis.jar
axis_1_2_1-jaxrpc.jar
axis_1_2_1-saaj.jar
axis_1_2_1-wsdl4j-1.5.1.jar
barcode4j-1.0.jar
batic-dependency-xmlgraphics-commons-1.1.jar
batik-all-1_6.jar
castor-0_9_4_3-xml.jar
commons-beanutils-1_5.jar
commons-cli-1_0.jar
commons-codec-1.4.jar
commons-collections-3.2.1.jar
commons-digester-1_5.jar
commons-discovery-0.4.jar
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
commons-lang-2_3.jar
commons-logging-1.1.1.jar
commons-pool-1.5.4.jar
commons-validator-1_0_2.jar
dom4j-1_6_1.jar
ehcache-core-2.3.1.jar
flyingsaucer-20100212-itext-2_1_7.jar
flyingsaucer-core-renderer_orbeon_20100512.jar
fop-0_93.jar
httpclient-4.1.jar
httpcore-4.1.jar
httpcore-nio-4.1.jar
httpmime-4.1.jar
itext-bcmail-jdk14-138.jar
itext-bcprov-jdk14-138.jar
jakarta-oro-2_0_8_orbeon.jar
jakarta-poi-1.11.0-dev-20030610.jar
jaxen-1_1_beta_9.jar
jcifs-1.3.14.jar
jfreechart-1.0.9.jar
jfreechart-dependency-jcommon-1.0.12.jar
jms-api-1_1.jar
jsch-0.1.42.jar
jtidy-8.0-20060801.131059-3.jar
mail-1_3_2.jar
metadata-extractor-2_1.jar
msv-20081113_orbeon_20081209.jar
msv-isorelax-20070407.jar
msv-relaxngDatatype-20070407.jar
msv-xsdlib-20070407_orbeon_20100309.jar
orbeon-form-runner.jar
orbeon.jar
orbeon-resources-private.jar
orbeon-resources-public.jar
orbeon-xforms-filter.jar
pdfbox-0_7_1.jar
rhino-1.7R2.jar
saxon-9-1-0-8_orbeon_20110215.jar
saxpath-dev_orbeon.jar
scala-library-2.8.1.jar
tagsoup-1.2.jar
xerces-resolver-2_9_orbeon_20070711.jar
xerces-serializer-2_9_orbeon_20070711.jar
xerces-xercesImpl-2_9_orbeon_20070711.jar

HTH

(actually most of these jars would need to be added to the dependency in
the pom.xml, but time is rare ....)

This is working fine for us for almost a year now. But we have a lot of
issues with IE7 now and some other problems hanging around that we'd
like to switch to a younger release. But this switch seems to be
fascinating ....

Cheers

Heinrich

On 04/03/12 09:18, [hidden email] wrote:

> Hi Heinrich,
>
>
> I'm trying to integrate orbeon into my maven workflow as well. Could
> you tell us what else you had to do, besides what you explained in
> your first mail?
> There seem to be a lot more libraries in the orbeon war than those you
> mentioned...
>
>
> Thx!
>
>
>
> Koen Vanderkimpen
>
> Connect:Twitter <http://www.twitter.com/koenvdk>
>
> [hidden email]
> IT Consulent - Sectie Onderzoek
> Afdeling Klanten en Diensten
> Smals - www.smals.be
>
--
Before printing this e-mail, think about our environmental responsibility.



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

Erik Bruchez
Administrator
In reply to this post by Heinrich Götzger
I found this:

http://stackoverflow.com/questions/9153428/twitter-bootstrap-2-javascript-plugins-not-working

-Erik

On Mon, Apr 2, 2012 at 9:59 AM, Heinrich Götzger <[hidden email]> wrote:

> But now I get this error:
>
> $(document).on is not a function
>
> ..rs(startNode,false,function(value,node){return
> conditionFunction(node);},true);}..
>
>
> $(document).on is not a function
> http://boo:9090/xxx/xforms-server/orbeon-f04b42b2ee7944fbc963050f3827ea0922bfe63f.js
> Line 135
>
> Which points to:
>
> var XFORMS_SEPARATOR_1="\xB7";var XFORMS_SEPARATOR_2="-";var
> XFORMS_SERVER_PATH="/xforms-server";var
> XXFORMS_NAMESPACE_URI="http://orbeon.org/oxf/xml/xforms";var
> PATH_TO_JAVASCRIPT_1="/ops/javascript/xforms";var
> PATH_TO_JAVASCRIPT_2=XFORMS_SERVER_PATH+"/";var
> ELEMENT_TYPE=document.createElement("dummy").nodeType;var
> ATTRIBUTE_TYPE=document.createAttribute("dummy").nodeType;var
> TEXT_TYPE=document.createTextNode("").nodeType;var XFORMS_REGEXP_CR=new
> RegExp("\\r","g");var XFORMS_REGEXP_SINGLE_QUOTE=new RegExp("'","g");var
> XFORMS_REGEXP_OPEN_ANGLE=new RegExp("<","g");var
> XFORMS_REGEXP_CLOSE_ANGLE=new RegExp(">","g");var
> XFORMS_REGEXP_AMPERSAND=new RegExp("&","g");var
> XFORMS_WIDE_TEXTAREA_MIN_ROWS=5;var
> DEFAULT_LOADING_TEXT="Loading...";(function(){var YD=YAHOO.util.Dom;var
> OD;_.defer(function(){OD=ORBEON.util.Dom;});_.mixin({take:function(obj,interceptor,context){return
> interceptor.call(context,obj);},match:function(obj){function
> compareMaybe(f){return _.isFunction(f)?f(obj):f==obj;}function
> applyMaybe(f){return _.isFunction(f)?f(obj):f;}for(var
> i=1;i<arguments.length-1;i=i+2){if(compareMaybe(arguments[i])){return
> applyMaybe(arguments[i+1]);}}return
> arguments.length%2==0?applyMaybe(arguments[arguments.length-1]):obj;},returns:function(obj){return
> _.bind(_.identity,this,obj);}});this.ORBEON=this.ORBEON||{};this.ORBEON.onJavaScriptLoaded=new
> YAHOO.util.CustomEvent("javascript-loaded");this.ORBEON.util={IEDom:{getElementsByName:function(element,localName,namespace){return
> element.getElementsByTagName(namespace==null?localName:namespace+":"+localName);}},MozDom:{getElementsByName:function(element,localName,namespace){return
> element.getElementsByTagName((ORBEON.xforms.Globals.isFF3OrNewer&&namespace!=null?namespace+":":"")+localName);}},Dom:{ELEMENT_TYPE:1,isElement:function(node){return
> node.nodeType==this.ELEMENT_TYPE;},get:function(controlId){return
> document.getElementById(controlId);},safeGet:function(controlId){var
> result=document.getElementById(controlId);if(result&&(result.id!=controlId)&&document.all){result=null;var
> documentAll=document.all[controlId];if(documentAll){if(documentAll.length){for(var
> i=0;i<documentAll.length;i++){if(documentAll[i].id==controlId){result=documentAll[i];break;}}}else{result=documentAll;}}}return
> result;},getAttribute:function(element,name){if(ORBEON.xforms.Globals.isRenderingEngineTrident){return
> element.getAttribute(name);}else{if(element.hasAttribute(name)){if(ORBEON.xforms.Globals.isRenderingEngineWebCore){return
> ORBEON.util.String.replace(element.getAttribute(name),"&#38;","&");}else{return
> element.getAttribute(name);}}else{return
> null;}}},setAttribute:function(element,name,value){var
> ATTRIBUTE_SLOTS={cellspacing:"cellSpacing","class":"className",colspan:"colSpan","for":"htmlFor",frameborder:"frameBorder",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",usemap:"useMap",accesskey:"accessKey",type:"type"};if(ATTRIBUTE_SLOTS[name]){var
> key=ATTRIBUTE_SLOTS[name];if(!(value==""&&YAHOO.lang.isNumber(element[key]))){element[key]=value;}}else{if(name=="style"){element.style.cssText=""+value;}else{if(name=="name"&&element.tagName.toLowerCase()=="input"){element.setAttribute(name,value);if(YAHOO.lang.isObject(element.form)){var
> controlsWithName=element.form[value];var
> nameChangeSuccessful=false;if(controlsWithName&&YAHOO.lang.isNumber(controlsWithName.length)){for(var
> controlIndex=0;controlIndex<controlsWithName.length;controlIndex++){if(controlsWithName[controlIndex]==element){nameChangeSuccessful=true;}}}else{if(YAHOO.lang.isObject(controlsWithName)){if(controlsWithName==element){nameChangeSuccessful=true;}}}if(!nameChangeSuccessful){var
> elementSource=element.outerHTML;elementSource=elementSource.replace(new
> RegExp(" name=.*( |>)","g"),"$1");elementSource=elementSource.replace(new
> RegExp(">"),' name="'+value+'">');var
> newElement=document.createElement(elementSource);element.parentNode.insertBefore(newElement,element);element.parentNode.removeChild(element);}}}else{element.setAttribute(name,value);}}}},getChildElementByIndex:function(parent,position){for(var
> i=0;i<parent.childNodes.length;i++){var
> child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)){if(position==0){return
> child;}position--;}}return
> null;},getChildElementByClass:function(parent,clazz){for(var
> i=0;i<parent.childNodes.length;i++){var
> child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)&&YAHOO.util.Dom.hasClass(child,clazz)){return
> child;}}return null;},getChildElementsByClass:function(parent,clazz){var
> nodes=[];for(var i=0;i<parent.childNodes.length;i++){var
> child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)&&YAHOO.util.Dom.hasClass(child,clazz)){nodes[nodes.length]=child;}}return
> nodes.length==0?null:nodes;},nextSiblingElement:function(element){while(true){var
> candidate=element.nextSibling;if(candidate==null){return
> null;}if(ORBEON.util.Dom.isElement(candidate)){return
> candidate;}}},stringToDom:function(xmlString){if(document.implementation.createDocument...controlValues;},_setVariables:function(variables){ORBEON.xforms.Offline.variables=variables;var
> controlIDToVariableName={};for(var name in variables){var
> controlID=variables[name].value;controlIDToVariableName[controlID]=name;}ORBEON.xforms.Offline.controlIDToVariableName=controlIDToVariableName;},_encrypt:function(text,key){return
> key==null?text:text==""?text:byteArrayToHex(rijndaelEncrypt(text,key,"ECB"));},_decrypt:function(text,key){return
> key==null?text:text==""?text:byteArrayToString(rijndaelDecrypt(hexToByteArray(text),key,"ECB"));}};function
> xformsIsDefined(thing){return typeof thing!="undefined";}function
> xformsDispatchEvent(target,eventName){if(target.dispatchEvent){var
> event=document.createEvent("HTMLEvents");event.initEvent(eventName.toLowerCase(),true,true);target.dispatchEvent(event);}else{target.fireEvent("on"+eventName);}}function
> xformsPreventDefault(event){if(event.preventDefault){event.preventDefault();}else{return
> false;}}function xformsArrayContains(array,element){for(var
> i=0;i<array.length;i++){if(array[i]==element){return true;}}return
> false;}function xformsLog(object){var
> debugDiv=ORBEON.util.Dom.get("xforms-debug");if(debugDiv==null){var
> visibleWidth;var
> visibleHeight;if(navigator.appName.indexOf("Microsoft")!=-1){visibleWidth=document.body.offsetWidth;visibleHeight=document.body.offsetHeight;}else{visibleWidth=window.innerWidth;visibleHeight=window.innerHeight;}debugDiv=document.createElement("div");debugDiv.className="xforms-debug";debugDiv.id="xforms-debug";debugDiv.style.width=ORBEON.util.Properties.debugWindowWidth.get()+"px";debugDiv.style.left=visibleWidth-(ORBEON.util.Properties.debugWindowWidth.get()+50)+"px";debugDiv.style.height=ORBEON.util.Properties.debugWindowHeight.get()+"px";debugDiv.style.top=visibleHeight-(ORBEON.util.Properties.debugWindowHeight.get()+20)+"px";var
> clear=document.createElement("BUTTON");clear.appendChild(document.createTextNode("Clear"));debugDiv.appendChild(clear);document.body.insertBefore(debugDiv,document.body.firstChild);YAHOO.util.Event.addListener(clear,"click",function(event){var
> target=getEventTarget(event);while(target.nextSibling){target.parentNode.removeChild(target.nextSibling);}return
> false;});YAHOO.util.Event.addListener(debugDiv,"mousedown",function(event){ORBEON.xforms.Globals.debugDiv=getEventTarget(event);return
> false;});YAHOO.util.Event.addListener(document,"mouseup",function(event){ORBEON.xforms.Globals.debugDiv=null;return
> false;});YAHOO.util.Event.addListener(document,"mousemove",function(event){if(ORBEON.xforms.Globals.debugDiv){ORBEON.xforms.Globals.debugDiv.style.left=event.clientX;ORBEON.xforms.Globals.debugDiv.style.top=event.clientY;}return
> false;});}text=object===undefined?"undefined":object===null?"null":typeof
> object=="string"&&object==""?"empty
> string":object.nodeType&&object.nodeType==ORBEON.util.Dom.ELEMENT_TYPE?"Element
> "+object.tagName:object.nodeType&&object.nodeType==ORBEON.util.Dom.TEXT_TYPE?"Text:
> "+ORBEON.util.Dom.getStringValue(object):object;debugDiv.innerHTML+=text+" |
> ";}function xformsLogTime(text){var
> oldTime=ORBEON.xforms.Globals.debugLastTime;var currentTime=new
> Date().getTime();ORBEON.xforms.Globals.debugLastTime=currentTime;xformsLog((currentTime-oldTime)+":
> "+text);}function xformsLogProperties(object){var message="[";var
> first=true;for(var p in object){if(first){first=false;}else{message+=",
> ";}message+=p+": "+object[p];}message+="]";xformsLog(message);}function
> xformsValueChanged(target){var
> newValue=ORBEON.xforms.Controls.getCurrentValue(target);var
> valueChanged=newValue!=target.previousValue;var
> isUploadControl=YAHOO.util.Dom.hasClass(target,"xforms-upload");if(valueChanged&&!isUploadControl){target.previousValue=newValue;var
> incremental=YAHOO.util.Dom.hasClass(target,"xforms-incremental");var
> event=new
> ORBEON.xforms.server.AjaxServer.Event(null,target.id,newValue,"xxforms-value");ORBEON.xforms.server.AjaxServer.fireEvents([event],incremental);}return
> valueChanged;}function
> getEventTarget(event){if(event&&event.LinkedField){return
> event.LinkedField;}else{event=event?event:window.event;var
> target=event.srcElement?event.srcElement:event.target;if(target.xformsElement){return
> target.xformsElement;}else{if(target.ownerDocument.xformsElement){return
> target.ownerDocument.xformsElement;}else{return
> target;}}}}if(!ORBEON.xforms.Globals.pageLoadedRegistered){var
> foundDojoContentPane=false;for(var i=0;i<document.forms.length;i++){var
> form=document.forms[i];if(form.className.indexOf("xforms-form")!=-1){var
> currentElement=form.parentNode;while(currentElement!=null){if(currentElement.className=="dijitContentPane"){foundDojoContentPane=true;break;}currentElement=currentElement.parentNode;}}}if(!foundDojoContentPane){ORBEON.xforms.Globals.pageLoadedRegistered=true;YAHOO.util.Event.throwErrors=true;YAHOO.util.Event.onDOMReady(ORBEON.xforms.Init.document);ORBEON.xforms.Globals.debugLastTime=new
> Date().getTime();ORBEON.xforms.Globals.lastEventSentTime=new
> Date().getTime();}}ORBEON.onJavaScriptLoaded.fire();
>
> Any Ideas?
>
> Thanks
>
> Cheers
>
>
> Heinrich
>
> --
> Before printing this e-mail, think about our environmental responsibility.
>
>
>
> --
> 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
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

koenvdk
In reply to this post by Heinrich Götzger
Thx,

looks like an interesting setup!



Koen Vanderkimpen

Connect: Twitter




From:        Heinrich Götzger <[hidden email]>
To:        [hidden email]
Date:        04/04/2012 17:29
Subject:        [ops-users] Re: Re: Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file





Hello Koen,

we use just the orbeon-runner as our forms to complex to be build with
the builder.

So with release Orbeon Forms 3.9.0.201105152046-CE we're using this
pom.xml (replacing some costumer related content with xxx)

<project
   xmlns="
http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.xxx</groupId>
<artifactId>xxx</artifactId>
<version>2.9-SNAPSHOT</version>
<packaging>war</packaging>
<name>xxx Standard Web App</name>
<description>xxx Standard Web App</description>
<issueManagement>
<system>xxx trac</system>
<url>
http://xxx.net/trac/xxx</url>
</issueManagement>
<scm>
<connection>scm:svn:
http://xxx/svn/xxxStandard/trunk</connection>
<developerConnection>scm:svn:
http://xxx@svn/xxxStandard/trunk</developerConnection>
<url>
http://xxx/svn/xxxStandard/trunk</url>
</scm>
<organization>
<name>xxx</name>
<url>
http://xxx.com</url>
</organization>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<packagingExcludes>WEB-INF/web.xml</packagingExcludes>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<additionalProjectFacets>
<jst.jsf>1.1</jst.jsf>
<jst.web.xdoclet>1.2.3</jst.web.xdoclet>
</additionalProjectFacets>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<path>/${project.artifactId}</path>
<server>${server}</server>
<url>${maven.tomcat.url}</url>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>${project.build.directory}/generated/cxf</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/wsdl/executeGenericAction.wsdl</wsdl>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.0-beta-4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<escapeString>\</escapeString>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<configuration>
<excludes>
<exclude>**/TestCaseUtils.java</exclude>
<exclude>%regex[.*XMLAssert*.*]</exclude>
<exclude>**/TestTemplate.java</exclude>
</excludes>
<failIfNoTests>false</failIfNoTests>
<showSuccess>false</showSuccess>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>thirdParty</id>
<name>xxx third party components</name>
<url>
http://xxx.net:6061/nexus/content/repositories/thirdparty
</url>
</repository>
<repository>
<id>spring-milestone</id>
<name>Spring Portfolio Milestone Repository</name>
<url>
http://maven.springframework.org/milestone</url>
</repository>
</repositories>
<pluginRepositories>
</pluginRepositories>
<dependencies>
<dependency>
<!--             The order matters, dependencies are loaded in the order in             which they are declared in the pom.xml.             To avoid NoClassDefFoundError: org/objectweb/asm/CodeVisitor,             cglib-nodep needs to be on top.          -->
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2.2</version>
<type>jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.security.extensions</groupId>
<artifactId>spring-security-kerberos-core</artifactId>
<version>1.0.0.M2</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.1</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${spring.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<!--
http://cxf.apache.org/docs/using-cxf-with-maven.html -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
<!-- Jetty is needed if you're are not using the CXFServlet -->
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>xxxRelease</id>
<name>xxx releases</name>
<url>
http://xxx.net:6061/nexus/content/repositories/releases/
</url>
</repository>
<snapshotRepository>
<id>xxxSnapshots</id>
<name>xxx snapshots</name>
<url>
http://xxx.net:6061/nexus/content/repositories/snapshots/
</url>
</snapshotRepository>
</distributionManagement>
<properties>
<cxf.version>2.3.2</cxf.version>
<spring.version>3.0.2.RELEASE</spring.version>
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
</properties>
</project>

We then have these jars in our lib-directory:

activation-1.1.1.jar
ant-1_6_5.jar
ant-jsch-1_6_5.jar
apache-mime4j-0.6.jar
avalon-framework-4_2_0.jar
axis_1_2_1-axis.jar
axis_1_2_1-jaxrpc.jar
axis_1_2_1-saaj.jar
axis_1_2_1-wsdl4j-1.5.1.jar
barcode4j-1.0.jar
batic-dependency-xmlgraphics-commons-1.1.jar
batik-all-1_6.jar
castor-0_9_4_3-xml.jar
commons-beanutils-1_5.jar
commons-cli-1_0.jar
commons-codec-1.4.jar
commons-collections-3.2.1.jar
commons-digester-1_5.jar
commons-discovery-0.4.jar
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
commons-lang-2_3.jar
commons-logging-1.1.1.jar
commons-pool-1.5.4.jar
commons-validator-1_0_2.jar
dom4j-1_6_1.jar
ehcache-core-2.3.1.jar
flyingsaucer-20100212-itext-2_1_7.jar
flyingsaucer-core-renderer_orbeon_20100512.jar
fop-0_93.jar
httpclient-4.1.jar
httpcore-4.1.jar
httpcore-nio-4.1.jar
httpmime-4.1.jar
itext-bcmail-jdk14-138.jar
itext-bcprov-jdk14-138.jar
jakarta-oro-2_0_8_orbeon.jar
jakarta-poi-1.11.0-dev-20030610.jar
jaxen-1_1_beta_9.jar
jcifs-1.3.14.jar
jfreechart-1.0.9.jar
jfreechart-dependency-jcommon-1.0.12.jar
jms-api-1_1.jar
jsch-0.1.42.jar
jtidy-8.0-20060801.131059-3.jar
mail-1_3_2.jar
metadata-extractor-2_1.jar
msv-20081113_orbeon_20081209.jar
msv-isorelax-20070407.jar
msv-relaxngDatatype-20070407.jar
msv-xsdlib-20070407_orbeon_20100309.jar
orbeon-form-runner.jar
orbeon.jar
orbeon-resources-private.jar
orbeon-resources-public.jar
orbeon-xforms-filter.jar
pdfbox-0_7_1.jar
rhino-1.7R2.jar
saxon-9-1-0-8_orbeon_20110215.jar
saxpath-dev_orbeon.jar
scala-library-2.8.1.jar
tagsoup-1.2.jar
xerces-resolver-2_9_orbeon_20070711.jar
xerces-serializer-2_9_orbeon_20070711.jar
xerces-xercesImpl-2_9_orbeon_20070711.jar

HTH

(actually most of these jars would need to be added to the dependency in
the pom.xml, but time is rare ....)

This is working fine for us for almost a year now. But we have a lot of
issues with IE7 now and some other problems hanging around that we'd
like to switch to a younger release. But this switch seems to be
fascinating ....

Cheers

Heinrich

On 04/03/12 09:18, [hidden email] wrote:
> Hi Heinrich,
>
>
> I'm trying to integrate orbeon into my maven workflow as well. Could
> you tell us what else you had to do, besides what you explained in
> your first mail?
> There seem to be a lot more libraries in the orbeon war than those you
> mentioned...
>
>
> Thx!
>
>
>
> Koen Vanderkimpen
>
> Connect:Twitter <
http://www.twitter.com/koenvdk>
>
> [hidden email]
> IT Consulent - Sectie Onderzoek
> Afdeling Klanten en Diensten
> Smals -
www.smals.be
>

--
Before printing this e-mail, think about our environmental responsibility.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe:
[hidden email]
For general help:
[hidden email]
OW2 mailing lists service home page:
http://www.ow2.org/wws








Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen.

Conformément aux dispositions relatives à la représentation de l'asbl dans ses statuts, seul l'administrateur délégué, le directeur général ou son mandataire exprès est habilité à souscrire des engagements au nom de Smals.
Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message.

According to the provisions regarding representation of the non profit association in its bylaws, only the chief executive officer, the general manager or his explicit agent can enter into engagements on behalf of Smals.
If you are not the addressee of this message, we kindly ask you to signal this to us immediately and to delete the message.





--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Integration of Orbeon Forms 3.9.0.post.201203310628 CE into own war-file

Heinrich Götzger
In reply to this post by Erik Bruchez
Replace jQuery by jquery-1.7.2.min.js did the trick.

Thanks a lot.

Heinrich

On 04/04/12 19:45, Erik Bruchez wrote:

> I found this:
>
> http://stackoverflow.com/questions/9153428/twitter-bootstrap-2-javascript-plugins-not-working
>
> -Erik
>
> On Mon, Apr 2, 2012 at 9:59 AM, Heinrich Götzger<[hidden email]>  wrote:
>> But now I get this error:
>>
>> $(document).on is not a function
>>
>> ..rs(startNode,false,function(value,node){return
>> conditionFunction(node);},true);}..
>>
>>
>> $(document).on is not a function
>> http://boo:9090/xxx/xforms-server/orbeon-f04b42b2ee7944fbc963050f3827ea0922bfe63f.js
>> Line 135
>>
>> Which points to:
>>
>> var XFORMS_SEPARATOR_1="\xB7";var XFORMS_SEPARATOR_2="-";var
>> XFORMS_SERVER_PATH="/xforms-server";var
>> XXFORMS_NAMESPACE_URI="http://orbeon.org/oxf/xml/xforms";var
>> PATH_TO_JAVASCRIPT_1="/ops/javascript/xforms";var
>> PATH_TO_JAVASCRIPT_2=XFORMS_SERVER_PATH+"/";var
>> ELEMENT_TYPE=document.createElement("dummy").nodeType;var
>> ATTRIBUTE_TYPE=document.createAttribute("dummy").nodeType;var
>> TEXT_TYPE=document.createTextNode("").nodeType;var XFORMS_REGEXP_CR=new
>> RegExp("\\r","g");var XFORMS_REGEXP_SINGLE_QUOTE=new RegExp("'","g");var
>> XFORMS_REGEXP_OPEN_ANGLE=new RegExp("<","g");var
>> XFORMS_REGEXP_CLOSE_ANGLE=new RegExp(">","g");var
>> XFORMS_REGEXP_AMPERSAND=new RegExp("&","g");var
>> XFORMS_WIDE_TEXTAREA_MIN_ROWS=5;var
>> DEFAULT_LOADING_TEXT="Loading...";(function(){var YD=YAHOO.util.Dom;var
>> OD;_.defer(function(){OD=ORBEON.util.Dom;});_.mixin({take:function(obj,interceptor,context){return
>> interceptor.call(context,obj);},match:function(obj){function
>> compareMaybe(f){return _.isFunction(f)?f(obj):f==obj;}function
>> applyMaybe(f){return _.isFunction(f)?f(obj):f;}for(var
>> i=1;i<arguments.length-1;i=i+2){if(compareMaybe(arguments[i])){return
>> applyMaybe(arguments[i+1]);}}return
>> arguments.length%2==0?applyMaybe(arguments[arguments.length-1]):obj;},returns:function(obj){return
>> _.bind(_.identity,this,obj);}});this.ORBEON=this.ORBEON||{};this.ORBEON.onJavaScriptLoaded=new
>> YAHOO.util.CustomEvent("javascript-loaded");this.ORBEON.util={IEDom:{getElementsByName:function(element,localName,namespace){return
>> element.getElementsByTagName(namespace==null?localName:namespace+":"+localName);}},MozDom:{getElementsByName:function(element,localName,namespace){return
>> element.getElementsByTagName((ORBEON.xforms.Globals.isFF3OrNewer&&namespace!=null?namespace+":":"")+localName);}},Dom:{ELEMENT_TYPE:1,isElement:function(node){return
>> node.nodeType==this.ELEMENT_TYPE;},get:function(controlId){return
>> document.getElementById(controlId);},safeGet:function(controlId){var
>> result=document.getElementById(controlId);if(result&&(result.id!=controlId)&&document.all){result=null;var
>> documentAll=document.all[controlId];if(documentAll){if(documentAll.length){for(var
>> i=0;i<documentAll.length;i++){if(documentAll[i].id==controlId){result=documentAll[i];break;}}}else{result=documentAll;}}}return
>> result;},getAttribute:function(element,name){if(ORBEON.xforms.Globals.isRenderingEngineTrident){return
>> element.getAttribute(name);}else{if(element.hasAttribute(name)){if(ORBEON.xforms.Globals.isRenderingEngineWebCore){return
>> ORBEON.util.String.replace(element.getAttribute(name),"&#38;","&");}else{return
>> element.getAttribute(name);}}else{return
>> null;}}},setAttribute:function(element,name,value){var
>> ATTRIBUTE_SLOTS={cellspacing:"cellSpacing","class":"className",colspan:"colSpan","for":"htmlFor",frameborder:"frameBorder",maxlength:"maxLength",readonly:"readOnly",rowspan:"rowSpan",tabindex:"tabIndex",usemap:"useMap",accesskey:"accessKey",type:"type"};if(ATTRIBUTE_SLOTS[name]){var
>> key=ATTRIBUTE_SLOTS[name];if(!(value==""&&YAHOO.lang.isNumber(element[key]))){element[key]=value;}}else{if(name=="style"){element.style.cssText=""+value;}else{if(name=="name"&&element.tagName.toLowerCase()=="input"){element.setAttribute(name,value);if(YAHOO.lang.isObject(element.form)){var
>> controlsWithName=element.form[value];var
>> nameChangeSuccessful=false;if(controlsWithName&&YAHOO.lang.isNumber(controlsWithName.length)){for(var
>> controlIndex=0;controlIndex<controlsWithName.length;controlIndex++){if(controlsWithName[controlIndex]==element){nameChangeSuccessful=true;}}}else{if(YAHOO.lang.isObject(controlsWithName)){if(controlsWithName==element){nameChangeSuccessful=true;}}}if(!nameChangeSuccessful){var
>> elementSource=element.outerHTML;elementSource=elementSource.replace(new
>> RegExp(" name=.*( |>)","g"),"$1");elementSource=elementSource.replace(new
>> RegExp(">"),' name="'+value+'">');var
>> newElement=document.createElement(elementSource);element.parentNode.insertBefore(newElement,element);element.parentNode.removeChild(element);}}}else{element.setAttribute(name,value);}}}},getChildElementByIndex:function(parent,position){for(var
>> i=0;i<parent.childNodes.length;i++){var
>> child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)){if(position==0){return
>> child;}position--;}}return
>> null;},getChildElementByClass:function(parent,clazz){for(var
>> i=0;i<parent.childNodes.length;i++){var
>> child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)&&YAHOO.util.Dom.hasClass(child,clazz)){return
>> child;}}return null;},getChildElementsByClass:function(parent,clazz){var
>> nodes=[];for(var i=0;i<parent.childNodes.length;i++){var
>> child=parent.childNodes[i];if(ORBEON.util.Dom.isElement(child)&&YAHOO.util.Dom.hasClass(child,clazz)){nodes[nodes.length]=child;}}return
>> nodes.length==0?null:nodes;},nextSiblingElement:function(element){while(true){var
>> candidate=element.nextSibling;if(candidate==null){return
>> null;}if(ORBEON.util.Dom.isElement(candidate)){return
>> candidate;}}},stringToDom:function(xmlString){if(document.implementation.createDocument...controlValues;},_setVariables:function(variables){ORBEON.xforms.Offline.variables=variables;var
>> controlIDToVariableName={};for(var name in variables){var
>> controlID=variables[name].value;controlIDToVariableName[controlID]=name;}ORBEON.xforms.Offline.controlIDToVariableName=controlIDToVariableName;},_encrypt:function(text,key){return
>> key==null?text:text==""?text:byteArrayToHex(rijndaelEncrypt(text,key,"ECB"));},_decrypt:function(text,key){return
>> key==null?text:text==""?text:byteArrayToString(rijndaelDecrypt(hexToByteArray(text),key,"ECB"));}};function
>> xformsIsDefined(thing){return typeof thing!="undefined";}function
>> xformsDispatchEvent(target,eventName){if(target.dispatchEvent){var
>> event=document.createEvent("HTMLEvents");event.initEvent(eventName.toLowerCase(),true,true);target.dispatchEvent(event);}else{target.fireEvent("on"+eventName);}}function
>> xformsPreventDefault(event){if(event.preventDefault){event.preventDefault();}else{return
>> false;}}function xformsArrayContains(array,element){for(var
>> i=0;i<array.length;i++){if(array[i]==element){return true;}}return
>> false;}function xformsLog(object){var
>> debugDiv=ORBEON.util.Dom.get("xforms-debug");if(debugDiv==null){var
>> visibleWidth;var
>> visibleHeight;if(navigator.appName.indexOf("Microsoft")!=-1){visibleWidth=document.body.offsetWidth;visibleHeight=document.body.offsetHeight;}else{visibleWidth=window.innerWidth;visibleHeight=window.innerHeight;}debugDiv=document.createElement("div");debugDiv.className="xforms-debug";debugDiv.id="xforms-debug";debugDiv.style.width=ORBEON.util.Properties.debugWindowWidth.get()+"px";debugDiv.style.left=visibleWidth-(ORBEON.util.Properties.debugWindowWidth.get()+50)+"px";debugDiv.style.height=ORBEON.util.Properties.debugWindowHeight.get()+"px";debugDiv.style.top=visibleHeight-(ORBEON.util.Properties.debugWindowHeight.get()+20)+"px";var
>> clear=document.createElement("BUTTON");clear.appendChild(document.createTextNode("Clear"));debugDiv.appendChild(clear);document.body.insertBefore(debugDiv,document.body.firstChild);YAHOO.util.Event.addListener(clear,"click",function(event){var
>> target=getEventTarget(event);while(target.nextSibling){target.parentNode.removeChild(target.nextSibling);}return
>> false;});YAHOO.util.Event.addListener(debugDiv,"mousedown",function(event){ORBEON.xforms.Globals.debugDiv=getEventTarget(event);return
>> false;});YAHOO.util.Event.addListener(document,"mouseup",function(event){ORBEON.xforms.Globals.debugDiv=null;return
>> false;});YAHOO.util.Event.addListener(document,"mousemove",function(event){if(ORBEON.xforms.Globals.debugDiv){ORBEON.xforms.Globals.debugDiv.style.left=event.clientX;ORBEON.xforms.Globals.debugDiv.style.top=event.clientY;}return
>> false;});}text=object===undefined?"undefined":object===null?"null":typeof
>> object=="string"&&object==""?"empty
>> string":object.nodeType&&object.nodeType==ORBEON.util.Dom.ELEMENT_TYPE?"Element
>> "+object.tagName:object.nodeType&&object.nodeType==ORBEON.util.Dom.TEXT_TYPE?"Text:
>> "+ORBEON.util.Dom.getStringValue(object):object;debugDiv.innerHTML+=text+" |
>> ";}function xformsLogTime(text){var
>> oldTime=ORBEON.xforms.Globals.debugLastTime;var currentTime=new
>> Date().getTime();ORBEON.xforms.Globals.debugLastTime=currentTime;xformsLog((currentTime-oldTime)+":
>> "+text);}function xformsLogProperties(object){var message="[";var
>> first=true;for(var p in object){if(first){first=false;}else{message+=",
>> ";}message+=p+": "+object[p];}message+="]";xformsLog(message);}function
>> xformsValueChanged(target){var
>> newValue=ORBEON.xforms.Controls.getCurrentValue(target);var
>> valueChanged=newValue!=target.previousValue;var
>> isUploadControl=YAHOO.util.Dom.hasClass(target,"xforms-upload");if(valueChanged&&!isUploadControl){target.previousValue=newValue;var
>> incremental=YAHOO.util.Dom.hasClass(target,"xforms-incremental");var
>> event=new
>> ORBEON.xforms.server.AjaxServer.Event(null,target.id,newValue,"xxforms-value");ORBEON.xforms.server.AjaxServer.fireEvents([event],incremental);}return
>> valueChanged;}function
>> getEventTarget(event){if(event&&event.LinkedField){return
>> event.LinkedField;}else{event=event?event:window.event;var
>> target=event.srcElement?event.srcElement:event.target;if(target.xformsElement){return
>> target.xformsElement;}else{if(target.ownerDocument.xformsElement){return
>> target.ownerDocument.xformsElement;}else{return
>> target;}}}}if(!ORBEON.xforms.Globals.pageLoadedRegistered){var
>> foundDojoContentPane=false;for(var i=0;i<document.forms.length;i++){var
>> form=document.forms[i];if(form.className.indexOf("xforms-form")!=-1){var
>> currentElement=form.parentNode;while(currentElement!=null){if(currentElement.className=="dijitContentPane"){foundDojoContentPane=true;break;}currentElement=currentElement.parentNode;}}}if(!foundDojoContentPane){ORBEON.xforms.Globals.pageLoadedRegistered=true;YAHOO.util.Event.throwErrors=true;YAHOO.util.Event.onDOMReady(ORBEON.xforms.Init.document);ORBEON.xforms.Globals.debugLastTime=new
>> Date().getTime();ORBEON.xforms.Globals.lastEventSentTime=new
>> Date().getTime();}}ORBEON.onJavaScriptLoaded.fire();
>>
>> Any Ideas?
>>
>> Thanks
>>
>> Cheers
>>
>>
>> Heinrich
>>
>> --
>> Before printing this e-mail, think about our environmental responsibility.
>>
>>
>>
>> --
>> 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
>>

--
Before printing this e-mail, think about our environmental responsibility.



--
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