File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes workers2.props config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "workers2.props config" Watch "workers2.props config" New topic

workers2.props config

question question

Joined: Oct 17, 2005
Posts: 1
I've got an app named /myapp that is connected to tomcat through apache via modjk. I've mapped the whole (/myapp/*) context to tomcat, but I want there to be one exception. I want /myapp/resources to be served by apache. I've created the directory /var/www/html/myapp/resources, but how do I tell the workers2.props or some other file to make this exception?

I know that I could map /myapp/servlet/* and /myapp/*.jsp, but I've got servlets mapped in the web.xml. I access the login servlet as /myapp/login, so I can't use /myapp/servlet/*

Any help will be appreciated.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

"question question",

There aren't may rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: workers2.props config
It's not a secret anymore!