Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't run Tomcat Servlet from directory other than /classes. HELP!!!!

Status
Not open for further replies.

SBpsc

MIS
Dec 1, 2004
50
CA
I am using a simple HelloWorld servlet that runs just fine under the /classes folder, but it does not run under the /classes/bjohnson directory.

Works as:
/classes/HelloWorld

Does not work when I run it as:
/classes/bjohnson/HelloWorld

I have the .class file in both folders.
Both folders have the same properties rx.

Here are a couple of errors that I get in the log file:

SEVERE: invoker: Cannot allocate servlet instance for path /servlet/bjohnson/HelloWorld

INFO: Marking servlet org.apache.catalina.INVOKER.bjohnson as unavailable

Please help me. This assignment is due tomorrow and I am lost.

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top