| Yes, I'm sorry, I did put my package name in there so it does look like
| wrapperClass="my.class.MyWrapper".
| It does read though "my.class.MyWrapper.java", does that make a
difference?

Yes, the class name does not include ".java" -- you should remove it.

|>> Can anyone tell me what I'm doing wrong?
|
|> I assume the compiled class has been JAR'd and placed in the
|> CATALINA_HOME/lib directory.
|
| I don't have a $CATALINA_HOME/lib, I do have $CATALINA_HOME/common/lib, is
| that where it's supposed to go?

You never said which version of TC you are using. For TC 6, it should go
in lib... for TC 5.5 it should go in shared/lib or server/lib. I
recommend the latter.

| I did jar my MyWrapper's whole package up and put it in the /common/lib
| folder and restarted Tomcat. I tried it with both MyWrapper.java and
| MyWrapper and neither of them are printing for me.

You probably have your JAR in the wrong place.

Chris and Mark,

    Thank you both for your help. It's working now. I do have one more
question now though since I got that to work.

    Is it possible to package up your own wrapper inside a war file which
you can deploy to other Tomcat servers without putting it in Tomcat 5.5 -
shared/lib or server/lib or Tomcat 6 lib/?

-Brian
-- 
View this message in context: 
http://www.nabble.com/wrapperClass-usage-tp17261254p17276743.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to