-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 5/20/2011 9:43 AM, Caldarale, Charles R wrote: >> From: Howard Smalley [mailto:howardsmal...@hotmail.com] >> Subject: ClassNotFoundException WSServlet with Tomcat 7.0.11 on Windows >> Server 2008 R2 using METRO 2.1 > >> I originally tried using the metro-on-tomcat.xml ant file >> but it doesn't seem to have been updated for tomcat 7.*) > > That's a bit odd, since the structure of Tomcat 7 is the same as that of > Tomcat 6. You need to complain to the Metro folks. > >> SEVERE: Allocate exception for servlet TempConvertWS >> java.lang.ClassNotFoundException: com.sun.xml.ws.transport.http.WSServlet > > Which usually means you have the requisite class located in more than > one place. Given the way you've been scattering jars all over, > that's not surprising. Each required .jar file must be in only one > place, not multiple. +1 Howard: are you sure that you need to put your libraries into Tomcat's lib directories, etc. instead of just putting them all in your webapp's WEB-INF/lib directory? AFAIK, Tomcat does not provide any web services APIs so there shouldn't be any conflicts. Try removing all of the libraries you added to the CATALINA_HOME/lib and CATALINA_HOME/endorsed directories and removing the "sever.loader" property from catalina.properties (not sure why you'd need that, anyway). All of your libraries should be in your webapp's WEB-INF/lib directory only at that point. If you restart Tomcat in that configuration, what is the result? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3Wfe4ACgkQ9CaO5/Lv0PDjWgCgwFA9lQbdWzMwQXi1Ekhlvd3U XIgAoI22lq7/dHXdo+73fP7md0Mw2k53 =jvdc -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org