-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert,
On 1/28/2011 6:05 PM, robert.jen...@surecomp.com wrote: > Well after playing with web.xml I got my app up and partly working in Tomcat > 7. Good that it's working... sorry only partly. > When I go to http://localhost:7080/allMATCHWeb the default page is > loaded. My properties file is loaded and language based webpages > generated, etc. Good. What about your log statements? Where did you eventually find them? Also, what did you have to do to get your InitServlet to run? > Now my issue seems to be with web services. Again the web.xml > contains the following for each webservice. > > <servlet> > <servlet-name>MessageServiceServlethttp</servlet-name> > > <servlet-class>com.surecomp.allMATCH.client.webservices.MessageService</servlet-class> > <load-on-startup>0</load-on-startup> Note that <load-on-startup>0</load-on-startup> is the default, so you don't actually need that. > </servlet> > > <servlet-mapping> > <servlet-name>MessageServiceServlethttp</servlet-name> > <url-pattern>MessageService</url-pattern> URL patterns are required to start with "/". Didn't we cover this? > </servlet-mapping> > > Now, these work for webshpere and weblogic, so I am assuming (bad > thing I know) that the same would work for Tomcat. Anything that is written and deployed to specification should work in all containers. If you are having a problem with a spec-compliant webapp I assure you it will be fixed ASAP. > The log file is producing the following when deploying the services. > > INFO: Marking servlet MessageServiceServlethttp as unavailable > Jan 28, 2011 5:59:40 PM org.apache.catalina.core.StandardContext loadOnStartup > SEVERE: Servlet /allMATCHWeb threw load() exception > java.lang.ClassCastException: > com.surecomp.allMATCH.client.webservices.MessageService cannot be cast to > javax.servlet.Servlet I'll bet you have all kinds of inappropriate libraries deployed in various places. What libraries have you added to CATALINA_BASE/lib? What changes (if any) have you made to CATALINA_BASE/catalina.properties What libraries do you have in WEB-INF/lib? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1FvAUACgkQ9CaO5/Lv0PDJ4ACeJTgnaCkk3Sw6OVUGgJiDHsyA R6EAni/4kB4tAxa7/PAPHSCX+65u3bJd =cOMp -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org