Hi All,
I am still reviewing orbeon form for our future project, and we're definitely buy the commercial support from orbeon . I'm trying to deploy OPS in Sun JES 5 application server. and I found out that we need to set some security policy property in SUN Server to make it work. I'll post all I've done when I finished. but now, I can't run any of the example, not even the hello example, it throws java.lang.NoSuchMethodError (executing processor: name='{http://www.orbeon.com/oxf/processors}null-serializer'): line 92, column 60 of oxf:/ops/pfc/xforms-epilogue.xpl (reading processor output: name='document', id='xhtml-data'): org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V line 92, column 60 of oxf:/ops/pfc/xforms-epilogue.xpl (reading processor output: name='document', id='xhtml-data'): org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V and I guess this is to do with the xerces resolver in orbeon form and this method (setAllowOasisXMLCatalogPI) is not available in the loaded class. may be class loader problem. does anyone have idea what is going on ? Thanks. |
Additional Info :
Hi All, I am still reviewing orbeon form for our future project, and we're definitely buy the commercial support from orbeon . I'm trying to deploy OPS in Sun JES 5 application server. and I found out that we need to set some security policy property in SUN Server to make it work. I'll post all I've done when I finished. but now, I can't run any of the example, not even the hello example, it throws java.lang.NoSuchMethodError (executing processor: name='{http://www.orbeon.com/oxf/processors}null-serializer'): line 92, column 60 of oxf:/ops/pfc/xforms-epilogue.xpl (reading processor output: name='document', id='xhtml-data'): org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V line 92, column 60 of oxf:/ops/pfc/xforms-epilogue.xpl (reading processor output: name='document', id='xhtml-data'): org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V and I guess this is to do with the xerces resolver in orbeon form and this method (setAllowOasisXMLCatalogPI) is not available in the loaded class. may be class loader problem. does anyone have idea what is going on ? Thanks. |
Administrator
|
On Thu, Sep 25, 2008 at 11:30 PM, musang <[hidden email]> wrote:
> I'm trying to deploy OPS in Sun JES 5 application server. > and I found out that we need to set some security policy property in SUN > Server to make it work. First, even if this is not what you are aiming for, can you set the security policy to be completely unrestricted? This to first check if the problem you're having is related to the security policy or something else. > java.lang.NoSuchMethodError Do you have a stack trace for this exception? I am wondering who is trying to find which method of what class, and what is the call stack at that point. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- 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 |
Thanks Alex,
exactly in the beginning there were a few exception regading security policy. and after I loosen all the security I then found this NoSuchMethodError. I can't find any stack trace in the log file. but from the error page I can see someone (which I don't know) trying to access org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI I search around in Sun JES library, there is another class with the same full qualified class name (org.apache.xml.resolver.CatalogManager) but without the setAllowOasisXMLCatalogPI method in it. I'll keep trying when I'm back in the office. Thanks.
|
I found the stack trace :
java.lang.NoSuchMethodError: org.apache.xml.resolver.CatalogManager.setAllowOasisXMLCatalogPI(Z)V at orbeon.apache.xerces.util.XMLCatalogResolver.init(XMLCatalogResolver.java:538) at orbeon.apache.xerces.util.XMLCatalogResolver.<init>(XMLCatalogResolver.java:120) at orbeon.apache.xerces.util.XMLCatalogResolver.<init>(XMLCatalogResolver.java:98) at org.exist.validation.resolver.eXistXMLCatalogResolver.<init>(eXistXMLCatalogResolver.java:49) at org.exist.util.Configuration.configureValidation(Configuration.java:1097) at org.exist.util.Configuration.<init>(Configuration.java:339) at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:756) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933) at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:235) at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114) Thanks. |
I passed the other errors, it was class loading issue and some of other policies issue.
Next Issue : A sequence of more than one item is not allowed as the first argument of starts-with() ("application/xml; charset=UTF-8", "application/xml; charset=UTF-8") Resource URL Line Column oxf:/ops/xforms/xforms-server.xpl 31 40 |
Forgot to say that this error happen when I try to open the Hello example.
Thanks.
|
And here is the stack trace :
org.orbeon.saxon.trans.DynamicError: A sequence of more than one item is not allowed as the first argument of starts-with() ("application/xml; charset=UTF-8", "application/xml; charset=UTF-8") at org.orbeon.saxon.expr.ComputedExpression.typeError(ComputedExpression.java:703) at org.orbeon.saxon.expr.CardinalityChecker.evaluateItem(CardinalityChecker.java:274) at org.orbeon.saxon.functions.Contains.evaluateItem(Contains.java:36) at org.orbeon.saxon.expr.ComputedExpression.iterate(ComputedExpression.java:628) at org.orbeon.saxon.expr.ComputedExpression.effectiveBooleanValue(ComputedExpression.java:645) at org.orbeon.saxon.functions.BooleanFn.effectiveBooleanValue(BooleanFn.java:137) at org.orbeon.saxon.expr.BooleanExpression.effectiveBooleanValue(BooleanExpression.java:127) at org.orbeon.saxon.functions.BooleanFn.effectiveBooleanValue(BooleanFn.java:135) at org.orbeon.saxon.functions.BooleanFn.evaluateItem(BooleanFn.java:124) at org.orbeon.saxon.expr.ComputedExpression.iterate(ComputedExpression.java:628) at org.orbeon.oxf.util.PooledXPathExpression.evaluate(PooledXPathExpression.java:216) at org.orbeon.oxf.util.PooledXPathExpression.evaluateSingle(PooledXPathExpression.java:151) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:194) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) 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:860) at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933) at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:235) at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114) |
Administrator
|
In reply to this post by musang
Do other examples work?
This looks like for some reason, there are two Content-Type headers being passed on HTTP POST. The code could easily be modified not to cause an error when this happens, but it shouldn't happen in the first place ;-) -Erik On Sep 28, 2008, at 6:14 PM, musang wrote: > > Forgot to say that this error happen when I try to open the Hello > example. > > Thanks. > > > musang wrote: >> >> I passed the other errors, it was class loading issue and some of >> other >> policies issue. >> >> Next Issue :-) : >> >> A sequence of more than one item is not allowed as the first >> argument of >> starts-with() ("application/xml; charset=UTF-8", "application/xml; >> charset=UTF-8") >> >> Resource URL Line Column >> oxf:/ops/xforms/xforms-server.xpl 31 40 >> >> > > -- > View this message in context: http://www.nabble.com/OPS-with-Sun-JES-5-Server-tp19683134p19717180.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.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 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 |