Re: SOAP on TOMCAT 5.0
hi, u will get unsupported major.minor version 48.0 error when ur code has been compiled using higher version of JDK (may be 1.5) and u r running it using lower version of JDK/JRE (may be 1.4) check ur setup and JRE/JDK once again. rgds, Hardik Tank --- [EMAIL PROTECTED] wrote: Hi Guys, Some help required on using SOAP on Tomcat 5.0. I need to configure SOAP 2.3.1 with Tomcat 5.0 locally on my machine. Following are the things I did: 1) Copied the soap.war file under the webapps directory. 2)Set the class paths in my system 3) copied the latest version of activation.jar,mail.jar and xercesImpl.jar onto the lib directory of tomcat I am able to get the soap home page: http://localhost:8080/soap I am also able to Run the admin tool and deploy a sample webservice using the admin tool. Also the the webservice is listed as a deployed component. NOTE: Right now I am running the service and client from same server. However the problem persisted when I used different servers(Tomcat again) on different machines as well. As I see this leads to the creation of DeployedServices.ds xml descriptor on soap folder in tomcat. Yet I am not able to deploy the service through command line neither am I able to run the client program through command line. Both these actions throw the same error messages: java.lang.UnsupportedClassVersion error: org/w3c/dom/Node (unsupported major.minor version 48.0) As I understand this is because default dom api's in Tomcat are older versions which support Level 1 parsing. However all latest apis which might be used by SOAP are Level3 based. Hence I included the xml-apis.jar and xercesImpl.jar in the /common/endorsed directory in Tomcat. This is supposed to override the use of default jars. Still I am getting the same error. Is there something else I am missing too. Any sort of help on this welcome. Just wanted to give it another shot else I need to reinstall the latest version on Tomcat that is supposed to be free from this error Thanks Niladri Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SOAP on TOMCAT 5.0
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: SOAP on TOMCAT 5.0 java.lang.UnsupportedClassVersion error: org/w3c/dom/Node (unsupported major.minor version 48.0) This is the version of a class file you're trying to load - 48.0 corresponds to JRE/JDK 1.4, so that would indicate you're trying to run Tomcat on a 1.3 level or older. You need to install a more current version of the JVM, preferably 5.0 or 1.4.2. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SOAP on TOMCAT 5.0
Hi Guys, Some help required on using SOAP on Tomcat 5.0. I need to configure SOAP 2.3.1 with Tomcat 5.0 locally on my machine. Following are the things I did: 1) Copied the soap.war file under the webapps directory. 2)Set the class paths in my system 3) copied the latest version of activation.jar,mail.jar and xercesImpl.jar onto the lib directory of tomcat I am able to get the soap home page: http://localhost:8080/soap I am also able to Run the admin tool and deploy a sample webservice using the admin tool. Also the the webservice is listed as a deployed component. NOTE: Right now I am running the service and client from same server. However the problem persisted when I used different servers(Tomcat again) on different machines as well. As I see this leads to the creation of DeployedServices.ds xml descriptor on soap folder in tomcat. Yet I am not able to deploy the service through command line neither am I able to run the client program through command line. Both these actions throw the same error messages: java.lang.UnsupportedClassVersion error: org/w3c/dom/Node (unsupported major.minor version 48.0) As I understand this is because default dom api's in Tomcat are older versions which support Level 1 parsing. However all latest apis which might be used by SOAP are Level3 based. Hence I included the xml-apis.jar and xercesImpl.jar in the /common/endorsed directory in Tomcat. This is supposed to override the use of default jars. Still I am getting the same error. Is there something else I am missing too. Any sort of help on this welcome. Just wanted to give it another shot else I need to reinstall the latest version on Tomcat that is supposed to be free from this error Thanks Niladri Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments.