I'll never be able to rest assured with deployments
on SAP's app server, sigh....
I haven't tested on SAP WAS in a while so when I
deployed Orbeon Forms 3.6.0.200805221357 I got the following:
2008-05-26 13:21:14,226
ERROR ProcessorService - Exception with no location
data
java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer at org.exolab.castor.xml.Unmarshaller.initConfig(Unknown Source) at org.exolab.castor.xml.Unmarshaller.<init>(Unknown Source) at org.exolab.castor.xml.Unmarshaller.<init>(Unknown Source) at org.exolab.castor.mapping.Mapping.loadMappingInternal(Unknown Source) at org.exolab.castor.mapping.Mapping.loadMapping(Unknown Source) at org.orbeon.oxf.processor.scope.ScopeGenerator$1.fillOutState(ScopeGenerator.java:115) at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:1405) at org.orbeon.oxf.processor.scope.ScopeGenerator$1.readImpl(ScopeGenerator.java:59) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:994) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1177) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36) at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:994) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1177) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:376) at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:409) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:452) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:407) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:185) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:518) 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:853) at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321) at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377) at org.orbeon.oxf.servlet.OPSXFormsFilter.doFilter(OPSXFormsFilter.java:90) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58) There is an
orbeon.org.apache.xml.serialize.XMLSerializer inside
xerces-xercesImpl-2_9_orbeon_20070711.jar
- note the relocation under the orbeon package (which is not what
Castor or Orbeon itself try to load from).
As a reminder, in order to deploy on SAP at all, I
had to move xerces-xercesImpl-2_9_orbeon_20070711.jar from WEB-INF\lib\private
to WEB-INF\lib and remove the references to the 'private' subdirectory inside
orbeon.jar's MANIFEST.MF.
Any suggestion?
Thank you,
JL
-- 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
|
Jean Luc,
On Mon, May 26, 2008 at 10:55 AM, Jean Luc <[hidden email]> wrote: > java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer > There is an orbeon.org.apache.xml.serialize.XMLSerializer inside > xerces-xercesImpl-2_9_orbeon_20070711.jar - note the relocation under the > orbeon package (which is not what Castor or Orbeon itself try to load from). Right, but it's looking for org/apache/xml/serialize/XMLSerializer. Maybe you can add a vanilla Xerces jar to the WEB-INF/lib to solve this? Ideally, we should see what method is used by Castor to find this class, and see if it can be configured to use the classes under orbeon.org.apache. You'll let us know what your findings are. 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 |
Hmm... I added xerces, but no luck.
I see orbeon.jar\META-INF\services\javax.xml.parsers.SAXParserFactory points to a relocated class, org.orbeon.oxf.xml.xerces.XercesSAXParserFactoryImpl, but this seems to be ignored by NetWeaver. I'll see if anything defines system properties, since the manifest file should eventually be read if nothing comes up first. http://help.sap.com/saphelp_nw04/helpdata/en/34/f1353e39011a38e10000000a114084/content.htm I'll keep digging. ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Monday, May 26, 2008 10:03 PM Subject: [ops-users] Re: SAP Netweaver: java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer > Jean Luc, > > On Mon, May 26, 2008 at 10:55 AM, Jean Luc <[hidden email]> wrote: >> java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer > >> There is an orbeon.org.apache.xml.serialize.XMLSerializer inside >> xerces-xercesImpl-2_9_orbeon_20070711.jar - note the relocation under the >> orbeon package (which is not what Castor or Orbeon itself try to load >> from). > > Right, but it's looking for org/apache/xml/serialize/XMLSerializer. > Maybe you can add a vanilla Xerces jar to the WEB-INF/lib to solve > this? Ideally, we should see what method is used by Castor to find > this class, and see if it can be configured to use the classes under > orbeon.org.apache. You'll let us know what your findings are. > > 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 > -- 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
|
Jean Luc,
On Wed, May 28, 2008 at 2:13 PM, Jean Luc <[hidden email]> wrote: > Hmm... I added xerces, but no luck. > > I see orbeon.jar\META-INF\services\javax.xml.parsers.SAXParserFactory points > to a relocated class, org.orbeon.oxf.xml.xerces.XercesSAXParserFactoryImpl, > but this seems to be ignored by NetWeaver. > I'll see if anything defines system properties, since the manifest file > should eventually be read if nothing comes up first. From the stack trace you included in your first message in this thread, it looks like the problem is coming from Castor, which is included in Orbeon Forms. So the problem should be under our control, so to speak :). The question is: why doesn't Castor use orbeon.org.apache.xml.serialize.XMLSerializer but rather tried to look for org.apache.xml.serialize.XMLSerializer. Maybe you will find the answer looking that Castor source, and maybe Castor can be configured to use the appropriate parser. 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 |
And Castor's version hasn't changed recently (I mean the one used in
Orbeon). I'll redeploy the latest build (without xerces, as it is, since it fixes the URL rewriting problem) and find out on Monday. JL ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Friday, May 30, 2008 1:22 PM Subject: [ops-users] Re: Re: Re: SAP Netweaver: java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer > Jean Luc, > > On Wed, May 28, 2008 at 2:13 PM, Jean Luc <[hidden email]> wrote: >> Hmm... I added xerces, but no luck. >> >> I see orbeon.jar\META-INF\services\javax.xml.parsers.SAXParserFactory >> points >> to a relocated class, >> org.orbeon.oxf.xml.xerces.XercesSAXParserFactoryImpl, >> but this seems to be ignored by NetWeaver. >> I'll see if anything defines system properties, since the manifest file >> should eventually be read if nothing comes up first. > > From the stack trace you included in your first message in this > thread, it looks like the problem is coming from Castor, which is > included in Orbeon Forms. So the problem should be under our control, > so to speak :). The question is: why doesn't Castor use > orbeon.org.apache.xml.serialize.XMLSerializer but rather tried to > look for org.apache.xml.serialize.XMLSerializer. Maybe you will find > the answer looking that Castor source, and maybe Castor can be > configured to use the appropriate parser. > > 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 > -- 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 |