Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-help-dev] Using the Tomcat engine to serve other information


Check the javadoc for org.apache.catalina.startup.Embedded.
This is the class we use in our wrapper to launch tomcat, register and start webapps.

Also, take a look at how we implemplemented WebappManager class and follow the steps to implement your own registration of webapps that sit outside plugins. It helps if you put some breakpoints and use the debbuger to step through. Start with a breakpoint in WebappManager.start().

-Dorian



Probir Mukerjee <probir_mukerjee@xxxxxxxxxx>
Sent by: platform-help-dev-admin@xxxxxxxxxxx

02/05/2004 11:28 AM

Please respond to
platform-help-dev

To
platform-help-dev@xxxxxxxxxxx
cc
Subject
Re: [platform-help-dev] Using the Tomcat engine to serve other information






Hi Dorian,


Thanks for your reply.  


I am not sure where to start for changing the code so that the Tomcat engine would be able to serve html documents and run servlets and Jsps from outside the Eclipse framework.  Could you direct me to some documentation that could help me understand this better?

Thank you,
Probir K Mukerjee




Dorian Birsan <birsan@xxxxxxxxxx>
Sent by: platform-help-dev-admin@xxxxxxxxxxx

02/04/2004 05:20 PM
Please respond to platform-help-dev

       
       To:        platform-help-dev@xxxxxxxxxxx

       cc:        

       Subject:        Re: [platform-help-dev] Using the Tomcat engine to serve other information





A couple of more comments on my previous note: if you want to depend on internal classes that may or may not exist (someone could actually replace tomcat), you can get a handle to the TomcatAppServer class and use its start() method with the appropriate parameters (you just need to pass a webapp name, an arbitrary location, and, optionally, a class loader).


-Dorian


Probir Mukerjee <probir_mukerjee@xxxxxxxxxx>
Sent by: platform-help-dev-admin@xxxxxxxxxxx

02/04/2004 02:11 PM

Please respond to
platform-help-dev


To platform-help-dev@xxxxxxxxxxx
cc
Subject [platform-help-dev] Using the Tomcat engine to serve other information










Hi,


Is it possible to configure the tomcat engine that is shipped with Eclipse to serve other information that may not be part of Eclipse?


Is there a way to configure it, so that it can serve other servlets and other html documents which are not stored in any Eclipse plugin?


If it is possible, could you tell me how that can be done?

Thank you,
Probir





Back to the top