Re: [Servingxml-help] Need urgent help
Brought to you by:
danielaparker
From: Daniel P. <dan...@sy...> - 2006-04-28 03:14:04
|
I'm forwarding this to the list to keep a record that this is resolved. Best regards, Daniel ----- Original Message ----- From: "rams" <ra...@ta...> To: "Daniel Parker" <dan...@sy...> Sent: Thursday, April 27, 2006 12:50 AM Subject: Re: [Servingxml-help] Need urgent help > Hi Daniel, > Thanks for cooperation. That problem is solved .now it is working fine. > regards > RamReddy > On Thursday 27 April 2006 10:17, you wrote: >> The manifest looks okay. >> >> Also please send me the versions of your JDK ($JAVA_HOME) and JRE >> (java -version), and verify that they're the same (that you're not >> inadvertently compiling with one version and running with another.) >> >> Finally, see if you get different results running like this: >> >> java -cp ../../servingxml.jar:../../lib/concurrent.jar >> com.servingxml.app.consoleapp.ConsoleApp -r resources-books.xml -i >> data/books.txt -o output.xml books >> >> -- Daniel >> >> ----- Original Message ----- >> From: "rams" <ra...@ta...> >> To: "Daniel Parker" <dan...@sy...> >> Cc: "Vaidyanathan Narayanan" <vai...@ta...> >> Sent: Thursday, April 27, 2006 12:21 AM >> Subject: Re: [Servingxml-help] Need urgent help >> >> > Hi Daniel, >> > Thanks for your reply. >> > I am running this example in Linux environment. >> > 1. I am using both versions of the ServingXML 0.3.2 and 0.4.2. >> > In both versions I am getting same exception. >> > 2.I tried in $HOME and one of the subdirectories of the home also. >> > It is creating servingxml.jar and all the required directories >> > 3. >> > Here I am sending the contents of Manifest.mf file from servingxml.jar >> > >> > Manifest-Version: 1.0 >> > Ant-Version: Apache Ant 1.6.5 >> > Created-By: 1.4.2_09-b05 (Sun Microsystems Inc.) >> > Main-Class: com.servingxml.app.consoleapp.ConsoleApp >> > ServingXML-Components: META-INF/components/com/servingxml/core/compone >> > nts.xml >> > Class-Path: servingxml.jar lib/activation.jar lib/avalon-framework-cvs >> > -20020806.jar lib/batik.jar lib/concurrent.jar lib/edtftpj.jar lib/fo >> > p.jar lib/isorelax.jar lib/mail.jar lib/msv.jar lib/relaxngDatatype.j >> > ar lib/saxon.jar lib/servingxml.edtftpj.jar lib/servingxml.fop.jar li >> > b/servingxml.mail.jar lib/servingxml.msv.jar lib/servingxml.swing.jar >> > lib/servingxmlx.jar lib/xsdlib.jar ./classes/ ./config/ >> > The ReadWriteLock class is there in concurrent.jar . I saw the class >> > file >> > there . It is also there in the class path. >> > Still it is saying " >> > >> > Exception in thread "main" java.lang.NoClassDefFoundError: >> >> > EDU/oswego/cs/dl/util/concurrent/ReadWriteLock >> >> > at >> >> > com.servingxml.components.cache.SimpleCache.<init>(SimpleCache.java:39 >> >> >) at com.servingxml.app.AppDriver.startup(AppDriver.java:120) at >> >> > com.servingxml.app.AppDriver.startup(AppDriver.java:99) at >> >> > com.servingxml.app.consoleapp.ConsoleApp.main(ConsoleApp.java:120) >> > >> > Can you please go throw this info and suggest a solution. >> > Thanks & Regards >> > RamReddy.S >> > >> > On Thursday 27 April 2006 08:58, you wrote: >> >> In order to help, I'll need to be able to replicate this, which I'm >> >> currently unable to do. Since you indicated that you attempted this >> >> in >> >> a Windows environment, I would prefer to work with that. So, for the >> >> Windows >> >> environment, can you provide me with the following information: >> >> >> >> (i) Which version of ServingXML are you using? >> >> >> >> (ii) What is the exact pathname of the directory under which you >> >> installed >> >> ServingXML? (in the past there was once an issue with spaces in >> >> directory names, although that should be fixed, but I don't want to >> >> rule >> >> anything out.) >> >> >> >> (iii) After you built the distribution, please extract the >> >> Manifest.mf >> >> from the servingxml.jar file, and post that here. >> >> >> >> Thanks, >> >> Daniel Parker >> >> >> >> ----- Original Message ----- >> >> From: "rams" <ra...@ta...> >> >> To: <ser...@li...> >> >> Sent: Wednesday, April 26, 2006 12:52 AM >> >> Subject: [Servingxml-help] Need urgent help >> >> >> >> > Hi, >> >> > I am getting the following exception when i try to run Servingxml >> >> > using the >> >> > required input files. The concurrent jar is there in the path and it >> >> > contains >> >> > the required file also. >> >> > >> >> > Example: java -jar dir/servingxml.jar -r resources.xml -o out.html >> >> > service [rams@localhost servingxml-0.3.2]$ java -jar >> >> > servingxml.jar -r >> >> > books-resources.xml -i data/books.txt -o books.xml books >> >> > Exception in thread "main" java.lang.NoClassDefFoundError: >> >> > EDU/oswego/cs/dl/util/concurrent/ReadWriteLock >> >> > at >> >> > com.servingxml.components.cache.SimpleCache.<init>(SimpleCache.java:39 >> >> >) at com.servingxml.app.AppDriver.startup(AppDriver.java:120) at >> >> > com.servingxml.app.AppDriver.startup(AppDriver.java:99) at >> >> > com.servingxml.app.consoleapp.ConsoleApp.main(ConsoleApp.java:120) >> >> > (i-search)`': >> >> > >> >> > >> >> > >> >> > This e-mail and any files transmitted with it are for the sole use >> >> > of >> >> > the >> >> > intended recipient(s) and may contain confidential and privileged >> >> > information. If you are not the intended recipient or received it in >> >> > error, please contact the sender by reply e-mail and destroy all >> >> > copies of the original message. Please do not copy it for any >> >> > purpose >> >> > or disclose its contents. >> >> > >> >> > Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights >> >> > ReservedRqºyvy²¢y®zr·¶}?Ë?S,yr-¶'ºm?£¡mz¦q¢®¿mv¥x¢¢§zº-± >> > >> > This e-mail and any files transmitted with it are for the sole use of >> > the >> > intended recipient(s) and may contain confidential and privileged >> > information. If you are not the intended recipient or received it in >> > error, please contact the sender by reply e-mail and destroy all copies >> > of the original message. Please do not copy it for any purpose or >> > disclose its contents. >> > >> > Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights >> > Reserved > > > This e-mail and any files transmitted with it are for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. If you are not the intended recipient or received it in > error, please contact the sender by reply e-mail and destroy all copies of > the original message. Please do not copy it for any purpose or disclose > its contents. > > Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved |