How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
Hi I'm sorry if this is been asked before, seems like a real dumb one... but i can't find it on the website in any of the docs of the FAQs etc... How do I change the version of Xerces my Cocoon is using? I have the Xerces version 2.0.0 that came with Cocoon 2.0.2. I want to try replacing it with Xerces version 1.4.x or version 2.0.2. How do I do this I've tried just replacing the jar (even renaming it so it's the same filename) but this doesn't work, get errors about not being able to find all classes. I've also tried editing the Manifest file, but no suprises there, that didn't work either. Help! Thankyou -jesse PS, I'm using Tomcat 4.0.4 on Linux JDK 1.2.2. -- Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au Email: jesse (at) va.com.au Website Development Phone: +61 (0)8 8223 2288 Web Email Hosting Web: http://jesse.va.com.au Streaming Media Hosting Telehousing / Colocation - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
I think you may need the xml-apis.jar file. What are the classes that are reported missing? Matthew -Original Message- From: Jesse Reynolds [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:58 AM To: [EMAIL PROTECTED] Subject: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar ) Hi I'm sorry if this is been asked before, seems like a real dumb one... but i can't find it on the website in any of the docs of the FAQs etc... How do I change the version of Xerces my Cocoon is using? I have the Xerces version 2.0.0 that came with Cocoon 2.0.2. I want to try replacing it with Xerces version 1.4.x or version 2.0.2. How do I do this I've tried just replacing the jar (even renaming it so it's the same filename) but this doesn't work, get errors about not being able to find all classes. I've also tried editing the Manifest file, but no suprises there, that didn't work either. Help! Thankyou -jesse PS, I'm using Tomcat 4.0.4 on Linux JDK 1.2.2. -- Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au Email: jesse (at) va.com.au Website Development Phone: +61 (0)8 8223 2288 Web Email Hosting Web: http://jesse.va.com.au Streaming Media Hosting Telehousing / Colocation - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
in catalina.sh. This didn't actually seem to make any difference to anything Cheers Jesse At 11:00 AM -0600 17/7/02, Matthew Hailstone wrote: I think you may need the xml-apis.jar file. What are the classes that are reported missing? Matthew -Original Message- From: Jesse Reynolds [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:58 AM To: [EMAIL PROTECTED] Subject: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar ) Hi I'm sorry if this is been asked before, seems like a real dumb one... but i can't find it on the website in any of the docs of the FAQs etc... How do I change the version of Xerces my Cocoon is using? I have the Xerces version 2.0.0 that came with Cocoon 2.0.2. I want to try replacing it with Xerces version 1.4.x or version 2.0.2. How do I do this I've tried just replacing the jar (even renaming it so it's the same filename) but this doesn't work, get errors about not being able to find all classes. I've also tried editing the Manifest file, but no suprises there, that didn't work either. Help! Thankyou -jesse PS, I'm using Tomcat 4.0.4 on Linux JDK 1.2.2. -- Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au Email: jesse (at) va.com.au Website Development Phone: +61 (0)8 8223 2288 Web Email Hosting Web: http://jesse.va.com.au Streaming Media Hosting Telehousing / Colocation - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au Email: jesse (at) va.com.au Website Development Phone: +61 (0)8 8223 2288 Web Email Hosting Web: http://jesse.va.com.au Streaming Media Hosting Telehousing / Colocation - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
At 11:00 AM -0600 17/7/02, Matthew Hailstone wrote: I think you may need the xml-apis.jar file. Further to my previouis post, I have do have the xml-apis.jar file that comes with cocoon 2.0.2 in the WEB-INF/lib directory. Thankyou -jesse -- Jesse Reynolds - Virtual Artists Pty Ltd - http://www.va.com.au Email: jesse (at) va.com.au Website Development Phone: +61 (0)8 8223 2288 Web Email Hosting Web: http://jesse.va.com.au Streaming Media Hosting Telehousing / Colocation - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
I got the latest Xerces jars from: http://gump.covalent.net/jars/latest/xml-xerces2/ Looks like the xercesImpl.jar has the DOMErrorHandler class in it. After further examination, looks like xerces 2.0.0 does not have this and other org.w3c.dom classes. The new xml-apis.jar equivalent is now named xmlParserAPIs.jar. Hope this helps. :) Matthew -Original Message- From: Jesse Reynolds [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 11:07 AM To: [EMAIL PROTECTED] Subject: RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar ) I think it's org/w3c/dom/DOMErrorHandler that can't be found. The main part of the error is: Error compiling sitemap description: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler the whole stack trace is: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler at org.apache.cocoon.sitemap.Handler.run(Handler.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java, Compiled Code) at org.apache.catalina.loader.WebappClassLoader.findClassInternal (WebappClassLoader.java, Compiled Code) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappC lassLoader.java, Compiled Code) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC lassLoader.java, Compiled Code) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC lassLoader.java, Compiled Code) at org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java, Compiled Code) at org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java, Compiled Code) at org.apache.xerces.dom.DocumentImpl.(DocumentImpl.java, Compiled Code) at org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(Documen tBuilderImpl.java, Compiled Code) at org.apache.cocoon.components.parser.JaxpParser.newDocument(Jax pParser.java, Compiled Code) at org.apache.cocoon.components.browser.BrowserImpl.createDocumen tForBrowserInfo(BrowserImpl.java, Compiled Code) at org.apache.cocoon.components.browser.BrowserImpl.compose(Brows erImpl.java, Compiled Code) at org.apache.avalon.excalibur.component.DefaultComponentFactory. newInstance(DefaultComponentFactory.java, Compiled Code) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandl er.initialize(ThreadSafeComponentHandler.java, Compiled Code) at org.apache.avalon.excalibur.component.ExcaliburComponentManage r.lookup(ExcaliburComponentManager.java, Compiled Code) at org.apache.avalon.excalibur.component.ExcaliburComponentManage r.lookup(ExcaliburComponentManager.java, Compiled Code) at org.apache.cocoon.components.CocoonComponentManager.lookup(Coc oonComponentManager.java, Compiled Code) at org.apache.cocoon.transformation.TraxTransformer.compose(TraxT ransformer.java, Compiled Code) at org.apache.avalon.excalibur.component.DefaultComponentFactory. newInstance(DefaultComponentFactory.java, Compiled Code) at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(Abst ractPool.java, Compiled Code) at org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(Abs tractPool.java, Compiled Code) at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow (SoftResourceLimitingPool.java, Compiled Code) at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.init ialize(SoftResourceLimitingPool.java, Compiled Code) at org.apache.avalon.excalibur.component.PoolableComponentHandler .initialize(PoolableComponentHandler.java, Compiled Code) at org.apache.avalon.excalibur.component.ExcaliburComponentSelect or.addComponent(ExcaliburComponentSelector.java, Compiled Code) at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.addC omponent(DefaultSitemapComponentSelector.java, Compiled Code) at org.apache.cocoon.sitemap.AbstractSitemap.load_component(Abstr actSitemap.java, Compiled Code) at org.apache.cocoon.www.sitemap_xmap$Configurer.configTransforme rs(sitemap_xmap.java, Compiled Code) at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java, Compiled Code) at org.apache.avalon.excalibur.component.DefaultComponentFactory. newInstance(DefaultComponentFactory.java, Compiled Code) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandl er.initialize(ThreadSafeComponentHandler.java, Compiled Code
RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar )
Okay. I'm not quite sure what you're suggesting. do you know what version of xerces is at the gump URL you mentioned? I see it's a few hundred kb smaller than the xerces 2.0.2 that I downloaded from xml.apache.org, so it must be a different version, perhaps a development release? Anyway, I tried putting the xercesImpl.jar and the xmlParserAPIs.jar from gump in the WEB-INF/lib dir and the same error was given as below. I also tried removing the xml-apis.jar file but that gave a worse result (The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.:) So, any other suggestions??? Maybe xerces 2.0.2 just doesn't work with Cocoon yet (or vice versa). Thankyou Jesse At 11:25 AM -0600 17/7/02, Matthew Hailstone wrote: I got the latest Xerces jars from: http://gump.covalent.net/jars/latest/xml-xerces2/ Looks like the xercesImpl.jar has the DOMErrorHandler class in it. After further examination, looks like xerces 2.0.0 does not have this and other org.w3c.dom classes. The new xml-apis.jar equivalent is now named xmlParserAPIs.jar. Hope this helps. :) Matthew -Original Message- From: Jesse Reynolds [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 11:07 AM To: [EMAIL PROTECTED] Subject: RE: How to upgrade a jar? (eg to xercesImpl-2.0.2.jar ) I think it's org/w3c/dom/DOMErrorHandler that can't be found. The main part of the error is: Error compiling sitemap description: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler the whole stack trace is: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler at org.apache.cocoon.sitemap.Handler.run(Handler.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java, Compiled Code) at org.apache.catalina.loader.WebappClassLoader.findClassInternal (WebappClassLoader.java, Compiled Code) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappC lassLoader.java, Compiled Code) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC lassLoader.java, Compiled Code) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC lassLoader.java, Compiled Code) at org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java, Compiled Code) at org.apache.xerces.dom.CoreDocumentImpl.(CoreDocumentImpl.java, Compiled Code) at org.apache.xerces.dom.DocumentImpl.(DocumentImpl.java, Compiled Code) at org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(Documen tBuilderImpl.java, Compiled Code) at org.apache.cocoon.components.parser.JaxpParser.newDocument(Jax pParser.java, Compiled Code) at org.apache.cocoon.components.browser.BrowserImpl.createDocumen tForBrowserInfo(BrowserImpl.java, Compiled Code) at org.apache.cocoon.components.browser.BrowserImpl.compose(Brows erImpl.java, Compiled Code) at org.apache.avalon.excalibur.component.DefaultComponentFactory. newInstance(DefaultComponentFactory.java, Compiled Code) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandl er.initialize(ThreadSafeComponentHandler.java, Compiled Code) at org.apache.avalon.excalibur.component.ExcaliburComponentManage r.lookup(ExcaliburComponentManager.java, Compiled Code) at org.apache.avalon.excalibur.component.ExcaliburComponentManage r.lookup(ExcaliburComponentManager.java, Compiled Code) at org.apache.cocoon.components.CocoonComponentManager.lookup(Coc oonComponentManager.java, Compiled Code) at org.apache.cocoon.transformation.TraxTransformer.compose(TraxT ransformer.java, Compiled Code) at org.apache.avalon.excalibur.component.DefaultComponentFactory. newInstance(DefaultComponentFactory.java, Compiled Code) at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(Abst ractPool.java, Compiled Code) at org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(Abs tractPool.java, Compiled Code) at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow (SoftResourceLimitingPool.java, Compiled Code) at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.init ialize(SoftResourceLimitingPool.java, Compiled Code) at org.apache.avalon.excalibur.component.PoolableComponentHandler .initialize(PoolableComponentHandler.java, Compiled Code) at org.apache.avalon.excalibur.component.ExcaliburComponentSelect or.addComponent