[ale] tomcat woes
James P. Kinney III
jkinney at localnetsolutions.com
Tue May 24 12:36:13 EDT 2005
On Tue, 2005-05-24 at 11:40 -0400, Barry Hawkins wrote:
> On Mon, May 23, 2005 at 10:59:41PM -0400, James P. Kinney III spake thus:
> > Has anyone setup tomcat 5 with the /servlets/* invoker?
> I believe the Servlet invoker requires /servlet/ with no 's'.
I'll double check. I've seen docs that say both. I settled on servlets
as that is what the old setup was using (and all the page links are
using).
>
> [...]
> > Tomcat just doesn't "see" the class files in the servlets directory.
> [...]
> It sounds like the Servlets you wish to invoke are not in your web
> application's classpath. Do these Servlets need to be accessed by
> multiple web apps, or does each web app have its own servlets?
Each app has it's own servlets.
> If
> the latter is true, having the Servlets either in your /WEB-INF/lib
> as a .jar package or as files that get compiled and output into
> /WEB-INF/classes should make them visible.
Haven't tried that. Will do it today.
> If you need a classpath
> entry for a .jar or .class files outside the webapps directory, it
> is a bit more involved, but fortunately doable.
Ah Ha! I haven't tweaked the classpath for the tomcat startup to include
the {user}/servlets directory.
>
> Sorry if I overlooked part of the issue, but I had to make this reply
> quick.
Many thanks!!
>
> Regards,
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Ale
mailing list