File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "workers2.props config" Watch "workers2.props config" New topic
Author

workers2.props config

question question
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 61420
    
  67

"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.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: workers2.props config