Try this:
1. go to <catalina_home>/conf/Catalina/
2. open the first host folder . In my case, the first
host is localhost.
3. Let's named the first host as localhost and the
second host is XXXXX. So copy the content of the
localhost into the XXXXX host.
4. restart the tomcat.
5. Try to access the manager for the XXXXX host.
I've tried those steps and it worked.
 

--- "James T. Studebaker" <[EMAIL PROTECTED]>
wrote:

> Leaves
> 
> I am running tomcat 5.0.28 on a linux fedora core 2
> machine.  I have configured virtual hosts for
> tomcat.  I wish to make the manager application
> available to each vertual host that  I have
> configured so that users can deploy applications to
> their account.  What I did is add a context to each
> virtual host and defined the varables for the
> context exactly as they are defined in the context
> found in the localhost host.
> 
> I have gotten this approach to work on a local
> window xp1.  installation, however it fails on a
remote
> linux installation.  Can anyone give me a hint what
> needs to be done?
> 
> Here is the error message I get:
> 
> HTTP Status 500 - 
> 
>
--------------------------------------------------------------------------------
> 
> type Exception report
> 
> message 
> 
> description The server encountered an internal error
> () that prevented it from fulfilling this request.
> 
> exception 
> 
> javax.servlet.ServletException: Wrapper cannot find
> servlet class
> org.apache.catalina.manager.HTMLManagerServlet or a
> class it depends on
> 
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
> 
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 
>
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>       java.lang.Thread.run(Thread.java:534)
> 
> 
> root cause 
> 
> java.lang.ClassNotFoundException:
> org.apache.catalina.manager.HTMLManagerServlet
> 
>
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:854)
> 
>
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721)
> 
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
> 
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 
>
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>       java.lang.Thread.run(Thread.java:534)
> 
> 
> note The full stack trace of the root cause is
> available in the Apache Tomcat/5.0.28 logs.
> 
> 
>
--------------------------------------------------------------------------------
> 
> Apache Tomcat/5.0.28
> 
> Thank you
> James T. Studebaker
> 
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to