You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ken Martin <ke...@digitalcyclone.com> on 2002/02/23 00:12:27 UTC

[Mac OS X] /examples not working

I have gone through the list archives and can't find a solution 
(though this could certainly be my fault)...

I have installed Tomcat 4.0.1 but I can't get the /examples to 
work. I did try decompressing the .tar using Stuffit, tar in 
Terminal, and I tried the .zip.

I tried to follow the instructions at the Apple site (and I 
think I succeeded in following the instructions), but no 
/examples. I also tried to set it up for Apache and get the same 
error as I get at :8080.

Thanks for any help/advice,

Ken Martin


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: [Mac OS X] /examples not working

Posted by Ken Martin <ke...@digitalcyclone.com>.
On Saturday, February 23, 2002, at 10:31 AM, Ken Pelletier wrote:

> Did you make sure to use gnutar and not tar?

Ken, you're my hero! Works perfectly and installed instantly. A 
very happy weekend development!

Man, this is great... I've mucked around with this for quite a 
while over a number of weeks. Ugh!

You know, the Apple instructions use 'tar' and not 'gnutar'... 
boy the time adding three letters could have saved me!

Thanks again!

Ken Martin


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: [Mac OS X] /examples not working

Posted by Terje Dahl <te...@halden.net>.
Excelent tip!!!!

StuffIt Deluxe was no good!

I now unpacked it with gnutar, an reinstalled it.
And it works!!!!!!!!!!

Thanks alot!
(Spent weeks trying to figure out the problem)

Terje


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: [Mac OS X] /examples not working

Posted by Terje Dahl <te...@halden.net>.
I used StuffIt (Deluxe). Are you saying that should be OK, or not?

Terje


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: [Mac OS X] /examples not working

Posted by Ken Pelletier <ke...@nika.com>.
Ken,

Did you make sure to use gnutar and not tar?  I believe the Jakarta tar 
files use gnu extensions, and gnutar must be used.  At least that's what 
I read and it got me out of a jam with a mangled pathname within Tomcat 
when unpacked with tar - or StuffIt, for that matter.

- Ken

On Friday, February 22, 2002, at 05:12 PM, Ken Martin wrote:

> I have gone through the list archives and can't find a solution (though 
> this could certainly be my fault)...
>
> I have installed Tomcat 4.0.1 but I can't get the /examples to work. I 
> did try decompressing the .tar using Stuffit, tar in Terminal, and I 
> tried the .zip.
>
> I tried to follow the instructions at the Apple site (and I think I 
> succeeded in following the instructions), but no /examples. I also 
> tried to set it up for Apache and get the same error as I get at :8080.
>
> Thanks for any help/advice,
>
> Ken Martin
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: [Mac OS X] /examples not working

Posted by Ken Martin <ke...@digitalcyclone.com>.
On Friday, February 22, 2002, at 05:12 PM, Ken Martin wrote:

> I have gone through the list archives and can't find a solution 
> (though this could certainly be my fault)...
>
> I have installed Tomcat 4.0.1 but I can't get the /examples to 
> work. I did try decompressing the .tar using Stuffit, tar in 
> Terminal, and I tried the .zip.
>
> I tried to follow the instructions at the Apple site (and I 
> think I succeeded in following the instructions), but no 
> /examples. I also tried to set it up for Apache and get the 
> same error as I get at :8080.

Oh! I forgot. No errors in catalina.out or catalina_log. This 
error is from localhost_examples_log:

*****
2002-02-02 16:54:42 StandardContext[/examples]: Exception 
starting filter Set Character Encoding
java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter
	at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1307)
	at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1156)
	at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter
(ApplicationFilterConfig.java:252)
	at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef
(ApplicationFilterConfig.java:314)
	at 
org.apache.catalina.core.ApplicationFilterConfig.<init>
(ApplicationFilterConfig.java:120)
	at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:
3065)
	at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3371)
	at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
	at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
	at 
org.apache.catalina.core.StandardService.start(StandardService.java:388)
	at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
*****

Ken Martin


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>