Hi,
i'm trying to upgrade my OF application from 3.5.0 to 3.6.0rc1. The first step (login / authentication) works (so i think my page-flow works basically, too), but the first XForms page fails to load correctly. I get a ResourceNotFoundException: Exception at line 72, column 61 of oxf:/ops/xforms/xforms-server.xpl (executing processor: name='{http://www.orbeon.com/oxf/processors}xforms-resource-server') Throwable org.orbeon.oxf.resources.ResourceNotFoundException: Cannot find resource /ops/javascript/xforms.js at org.orbeon.oxf.resources.PriorityResourceManagerImpl.lastModified(PriorityResourceManagerImpl.java:155) at org.orbeon.oxf.xforms.processor.XFormsResourceServer.computeCombinedLastModified(XFormsResourceServer.java:136) at org.orbeon.oxf.xforms.processor.XFormsResourceServer.start(XFormsResourceServer.java:75) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:650) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:647) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:229) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:650) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:647) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Unknown Source) I think i paid attention to the upgrade tips at [1], but that didn't help. For upgrading, i took the content of the orbeon.war, removed the complete apps directory and the "root" page-flow, and put the resources dir and the page-flow of my 3.5.0 app under WEB-INF. After that, i updated the config directory by merging the changed 3.6.0 files into my resources/config and changed the epilogue-servlet to use theme-plain. In the web.xml, i changed the paths to the config dir from /apps/resources/config to /resources/config. The orbeon-resources-*.jars are located under WEB-INF/lib as they are in the orbeon.war, so the xforms.js should be available. Are there other points i have to observer when updating to 3.6.0? florian PS: The orbeon.war works without problems when deployed into my tomcat server, so i think i screwed something up when trying to transplant my app... [1] http://www.orbeon.com/ops/doc/home-changes-36#upgrade-notes -- 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 |
Administrator
|
Did you follow the upgrade notes and remove the obsolete resource
folders, like RESOURCES/ops, etc.? -Erik On Dec 3, 2007, at 4:45 AM, Florian Schmitt wrote: > Hi, > > i'm trying to upgrade my OF application from 3.5.0 to 3.6.0rc1. The > first step (login / authentication) works (so i think my page-flow > works basically, too), but the first XForms page fails to load > correctly. I get a ResourceNotFoundException: > > Exception at line 72, column 61 of oxf:/ops/xforms/xforms-server.xpl > (executing processor: name='{http://www.orbeon.com/oxf/ > processors}xforms-resource-server') > > Throwable > org.orbeon.oxf.resources.ResourceNotFoundException: Cannot find > resource /ops/javascript/xforms.js > at > org > .orbeon > .oxf > .resources > .PriorityResourceManagerImpl > .lastModified(PriorityResourceManagerImpl.java:155) > at > org > .orbeon > .oxf > .xforms > .processor > .XFormsResourceServer > .computeCombinedLastModified(XFormsResourceServer.java:136) > at > org > .orbeon > .oxf > .xforms > .processor.XFormsResourceServer.start(XFormsResourceServer.java:75) > at org.orbeon.oxf.processor.pipeline.PipelineProcessor > $11.run(PipelineProcessor.java:650) > at > org > .orbeon > .oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) > at > org > .orbeon > .oxf > .processor.pipeline.PipelineProcessor.start(PipelineProcessor.java: > 647) > at > org > .orbeon > .oxf > .processor > .pipeline > .choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java: > 229) > at org.orbeon.oxf.processor.pipeline.PipelineProcessor > $11.run(PipelineProcessor.java:650) > at > org > .orbeon > .oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) > at > org > .orbeon > .oxf > .processor.pipeline.PipelineProcessor.start(PipelineProcessor.java: > 647) > at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95) > at > org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java: > 96) > at > org > .orbeon > .oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:75) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 290) > at > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 228) > at > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 175) > at > org > .apache > .catalina > .authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) > at > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > at > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 109) > at > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 212) > at > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 844) > at org.apache.coyote.http11.Http11Protocol > $Http11ConnectionHandler.process(Http11Protocol.java:634) > at org.apache.tomcat.util.net.JIoEndpoint > $Worker.run(JIoEndpoint.java:445) > at java.lang.Thread.run(Unknown Source) > > > I think i paid attention to the upgrade tips at [1], but that didn't > help. > > For upgrading, i took the content of the orbeon.war, removed the > complete apps directory and the "root" page-flow, and put the > resources dir and the page-flow of my 3.5.0 app under WEB-INF. After > that, i updated the config directory by merging the changed 3.6.0 > files into my resources/config and changed the epilogue-servlet to > use theme-plain. In the web.xml, i changed the paths to the config > dir from /apps/resources/config to /resources/config. > > The orbeon-resources-*.jars are located under WEB-INF/lib as they > are in the orbeon.war, so the xforms.js should be available. Are > there other points i have to observer when updating to 3.6.0? > > florian > > PS: The orbeon.war works without problems when deployed into my > tomcat server, so i think i screwed something up when trying to > transplant my app... > > [1] http://www.orbeon.com/ops/doc/home-changes-36#upgrade-notes > > > -- > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Erik,
> Did you follow the upgrade notes and remove the obsolete resource > folders, like RESOURCES/ops, etc.? there was no folder ops in my old app. The only obsolete folder i had to remove was the config/theme folder. I've changed also the properties.xml to use an external eXist DB for server-side state caching instead of the internal one, but this seems to work without problems. Maybe i did something wrong when modifying the epilogue-servlet.xpl - this is one of the files where i can't use the "original" version because it uses the examples theme. florian -- 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 |
In reply to this post by Erik Bruchez
Hi,
now it works :-), but i'm not sure what was the cause for the problems. If i find time to test it, i will search what went wrong when i upgraded my app and post the results if they are of interest for others. florian -- 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 |
Administrator
|
Glad it's working now.
-Erik On Dec 5, 2007, at 1:31 AM, Florian Schmitt wrote: > Hi, > > now it works :-), but i'm not sure what was the cause for the > problems. If i find time to test it, i will search what went wrong > when i upgraded my app and post the results if they are of interest > for others. > > florian > > > > -- > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |