Steve, Kevin, I, also, experienced this problem. And, tried your fixes, which didn't work, but, did provide different errors. In searching the archives suggested, I came across a similar problem with SetCharacterEncodingFilter. class not being named correctly. Checking, it was indeed SetCharacterEncodingFilter.clas. Changing it corrected example errors.
The moral here is not to let Stuffit unstuff your archives, especially java. Do it yourself. In the 4.0.3 web.xml the section from 68-73 was commented out. And, once things worked, switching between EUC_JP and US_EN did not make a difference. Uncommenting the section did cause a java failure java.io.UnsupportedEncodingException: US_EN. Using EUC_JP did not produce this. On 23/03/02 14:55, "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: > >> From: [EMAIL PROTECTED] >> Date: 22 Mar 2002 23:27:40 -0800 >> To: [EMAIL PROTECTED] >> Subject: Re: Tomcat on Mac OS X, please help! >> >> Went rooting around in my logs and found this in localhost_examples_log. >> .. >> >> 2002-03-23 02:21:12 StandardContext[/examples]: Exception starting >> filter Set >> Character Encoding >> java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter > > > The above exception is telling you that in your WEB.XML file for the > /examples context, there has been specified an encoding filter that your > system does not recognize. Take a look at the WEB.XML file in the > /examples/WEB-INF directory and comment out lines 68 - 73 (or just delete > them). > > If you read the lines you have just commented out you will see that Set > Character Encoding filter has been applied to all requests in the > /examples > context. Reading above in lines 32 - 39 you can see that the filter has > been set to EUC_JP which is not recognized as a valid system environment > variable. > > Deleting or commenting out lines 68 - 73 should solve the problem or > changing EUC_JP to US_EN (if you are running US English). I'm almost > certain this question has been asked and answered before but knowing how > hard it is to find things in the archives at mikal.org (which also has > been > offline for some days so I don't know why SUN still makes reference to it) > there are a couple of others you can check and which IMHO are more > functional. > > http://archives2.real-time.com/rte-tomcat/ > and > http://marc.theaimsgroup.com/ > > OS X is a great platform for Java development and Tomcat works well with > it. > I don't bother with Apache because I don't have much content which is > static > (so its not worth the trouble) plus I do a lot of custom logging via > Tomcat. > You will find the ususal Mac issues, though, such as MacRoman character > encoding do have to be solved but that's half the fun ;) > > HTH > > Steven > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> >
