Originally posted by mark howard:
I cut and paste the code you supplied and it worked perfectly for me, printing "Init param: test" every time when run.
I'm using Tomcat 4.0.4. Have you made any other alterations to the Tomcat configuration? Did you restart Tomcat after adding the init-params to your deployment descriptor?
Honestly, I just downloaded and set up Tomcat 4.0.6 today. I installed it in the default directory (C:\jakarta-tomcat-4.0.6) and set up an environment variable named CATALINA_HOME to point to that directory. Then, I put my app into a directory under the webapps folder. That's really all I've done.
I got the app up and running and then tried to add the deployment descriptor (it's in the WEB-INF directory). Is there any way to tell what's going wrong?
I've restarted the app server dozens of times, but to no avail. I've even created a new app that does nothing but prints an init param, but that isn't working, either.
At this point, I'm at a loss even for a way to debug the problem. If anyone has any ideas, please shoot them my way.
Thanks,
Corey
[ January 27, 2003: Message edited by: Corey McGlone ]