Uses of Class
org.apache.tomcat.core.TomcatException

Packages that use TomcatException
org.apache.tomcat.core Architecture 
org.apache.tomcat.facade Servlet Facades 
org.apache.tomcat.modules.aaa   
org.apache.tomcat.modules.config   
org.apache.tomcat.modules.generators   
org.apache.tomcat.modules.loggers   
org.apache.tomcat.modules.mappers   
org.apache.tomcat.modules.server Interceptors that are used to connect with a web server, including the standalone http implementation. 
org.apache.tomcat.modules.session   
org.apache.tomcat.startup   
 

Uses of TomcatException in org.apache.tomcat.core
 

Methods in org.apache.tomcat.core that throw TomcatException
 void BaseInterceptor.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor i)
          Hook called when a new interceptor is added.
 void BaseInterceptor.removeInterceptor(ContextManager cm, Context ctx, BaseInterceptor i)
          Hook called when interceptors are removed.
 void BaseInterceptor.engineInit(ContextManager cm)
          Initialize the module.
 void BaseInterceptor.engineShutdown(ContextManager cm)
          Shut down the module.
 void BaseInterceptor.engineStart(ContextManager cm)
          Notify that the server is ready and able to process requests
 void BaseInterceptor.engineStop(ContextManager cm)
          Notify that the server is disabled and shoulnd't process more requests
 void BaseInterceptor.engineState(ContextManager cm, int state)
          Notifies the module that the server changed it's state.
 void BaseInterceptor.addContext(ContextManager cm, Context ctx)
          Called when a context is added to a CM.
 void BaseInterceptor.removeContext(ContextManager cm, Context ctx)
          Called when a context is removed from a CM.
 void BaseInterceptor.contextInit(Context ctx)
          Notify when a context is initialized.
 void BaseInterceptor.contextShutdown(Context ctx)
          Called when a context is stoped, before removeContext.
 void BaseInterceptor.contextState(Context ctx, int newState)
          Notify that the context state changed
 void BaseInterceptor.reload(Request req, Context ctx)
          Reload notification - called whenever a reload is done.
 void BaseInterceptor.addContainer(Container container)
          Notify that certain properties are defined for a URL pattern.
 void BaseInterceptor.removeContainer(Container container)
          A rule was removed, update the internal strucures.
 void BaseInterceptor.addSecurityConstraint(Context ctx, java.lang.String path, Container ct)
           
 void BaseInterceptor.addHandler(Handler h)
          Notification of a new content handler added to a context
 void BaseInterceptor.removeHandler(Handler h)
          Notification of a content handler removal
 void BaseInterceptor.preServletInit(Context ctx, Handler sw)
          Servlet Init notification
 void BaseInterceptor.postServletInit(Context ctx, Handler sw)
           
 void BaseInterceptor.preServletDestroy(Context ctx, Handler sw)
          Servlet Destroy notification
 void BaseInterceptor.postServletDestroy(Context ctx, Handler sw)
           
 java.lang.Object BaseInterceptor.getNote(java.lang.String name)
           
 void BaseInterceptor.setNote(java.lang.String name, java.lang.Object value)
           
 java.lang.Object Request.getNote(java.lang.String name)
           
 void Request.setNote(java.lang.String name, java.lang.Object value)
           
 java.lang.Object Container.getNote(java.lang.String name)
           
 void Container.setNote(java.lang.String name, java.lang.Object value)
           
 java.lang.Object ServerSession.getNote(java.lang.String name)
           
 void ServerSession.setNote(java.lang.String name, java.lang.Object value)
           
 void Context.addContainer(Container ct)
          Add a new container.
 void Context.addServletMapping(java.lang.String path, java.lang.String servletName)
          Deprecated. Use addContainer
 void Context.addSecurityConstraint(java.lang.String[] path, java.lang.String[] methods, java.lang.String[] roles, java.lang.String transport)
          Deprecated. Use addContainer
 void Context.setState(int state)
          Move the context in a different state.
 void Context.init()
          Initializes this context to be able to accept requests.
 void Context.shutdown()
          Stop the context.
 void Context.removeContainer(Container ct)
          Remove a container
 void Context.addServlet(Handler wrapper)
          Add a servlet.
 void Context.addHandler(Handler wrapper)
          Add a servlet.
 void Context.removeHandler(Handler handler)
           
 void Context.removeServletByName(java.lang.String servletName)
          Remove the servlet with a specific name
 void Context.addInterceptor(BaseInterceptor ri)
          Add a per-context interceptor.
 void ContextManager.setState(int state)
          Change the state, after notifying all modules about the change Any error will be propagated - the server will not change the state and should fail if any module can't handle that.
 void ContextManager.addInterceptor(BaseInterceptor ri)
          Add a global interceptor.
 void ContextManager.removeInterceptor(BaseInterceptor ri)
          Remove a module.
 void ContextManager.init()
          Init() is called after the context manager is set up (properties) and configured ( modules ).
 void ContextManager.start()
          Will start the connectors and begin serving requests.
 void ContextManager.stop()
          Will stop all connectors
 void ContextManager.shutdown()
          Remove all contexts.
 void ContextManager.addContext(Context ctx)
          Adds a new Context to the set managed by this ContextManager.
 void ContextManager.removeContext(Context context)
          Shut down and removes a context from service.
 int ContextManager.getNoteId(int noteType, java.lang.String name)
          Create a new note id.
 java.lang.Object ContextManager.getNote(java.lang.String name)
           
 void ContextManager.setNote(java.lang.String name, java.lang.Object value)
           
 void Handler.init()
           
 void Handler.destroy()
           
 java.lang.Object Handler.getNote(java.lang.String name)
           
 void Handler.setNote(java.lang.String name, java.lang.Object value)
           
 

Uses of TomcatException in org.apache.tomcat.facade
 

Methods in org.apache.tomcat.facade that throw TomcatException
 void WebXmlReader.contextInit(Context ctx)
           
 void ServletInfo.addServlet(Context ctx, WebXmlReader wxR)
          This method can called to add the servlet to the web application.
protected  void ServletHandler.doDestroy()
           
 void JspInterceptor.addContext(ContextManager cm, Context ctx)
          Jasper-specific initializations, add work dir to classpath,
 void JspInterceptor.contextInit(Context ctx)
          Do the needed initialization if jspServlet is used.
 void JspInterceptor.preServletInit(Context ctx, Handler sw)
          Set the HttpJspBase classloader before init, as required by Jasper
 void TagPoolManagerInterceptor.contextInit(Context ctx)
          This hook is called when an application context is initialized.
 void TagPoolManagerInterceptor.contextShutdown(Context ctx)
          This hook is called when an application context is shutdown.
 void Servlet22Interceptor.contextShutdown(Context ctx)
          Call servlet.destroy() for all servlets, as required by the spec
 void Servlet22Interceptor.addContext(ContextManager cm, Context ctx)
           
 void Servlet22Interceptor.addContainer(Container ct)
           
 

Uses of TomcatException in org.apache.tomcat.modules.aaa
 

Methods in org.apache.tomcat.modules.aaa that throw TomcatException
 void RealmBase.engineInit(ContextManager cm)
           
 void SimpleRealm.contextInit(Context ctx)
           
 void JDBCRealm.contextShutdown(Context ctx)
           
 void JDBCRealm.contextInit(Context ctx)
           
 void CredentialsInterceptor.engineInit(ContextManager cm)
           
 void AccessInterceptor.engineInit(ContextManager cm)
          Set the context manager.
 void AccessInterceptor.contextInit(Context ctx)
           
 void AccessInterceptor.removeContainer(Container ct)
           
 void AccessInterceptor.addContainer(Container ct)
           
 

Uses of TomcatException in org.apache.tomcat.modules.config
 

Methods in org.apache.tomcat.modules.config that throw TomcatException
 void WorkDirSetup.engineInit(ContextManager cm)
           
 void AutoWebApp.engineInit(ContextManager cm)
           
 void PathSetter.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor module)
          Adjust context manager paths.
 void PathSetter.engineInit(ContextManager cm)
          After server.xml is read - make sure the workDir is absolute, and all global loggers are set to absolute paths and open.
 void PathSetter.engineState(ContextManager cm, int state)
           
 void PathSetter.addContext(ContextManager cm, Context ctx)
          Adjust paths for a context - make the base and all loggers point to canonical paths.
 void BaseJkConfig.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor bi)
           
 void BaseJkConfig.engineState(ContextManager cm, int state)
          Generate the configuration - only when the server is completely initialized ( before starting )
 void BaseJkConfig.contextInit(Context ctx)
           
 void BaseJkConfig.execute(ContextManager cm)
          Generate configuration files.
 void ApacheConfig.execute(ContextManager cm)
          executes the ApacheConfig interceptor.
 void PolicyLoader.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor module)
           
 void PolicyInterceptor.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor module)
           
 void PolicyInterceptor.engineInit(ContextManager cm)
          Set the security manager, so that policy will be used
 void PolicyInterceptor.initSecurityManager(ContextManager cm)
           
 void PolicyInterceptor.contextInit(Context context)
           
 void TrustedLoader.engineState(ContextManager cm, int state)
          Called when the server is configured - all base modules are added, some contexts are added ( explicitely or by AutoDeploy/AutoAdd ).
 void TrustedLoader.contextInit(Context ctx)
           
 void TrustedLoader.reload(Request req, Context context)
          Again, remove and add back
 void TrustedLoader.loadInterceptors(Context ctx, java.io.File modulesF, java.util.Vector modulesV)
           
 void HookSetter.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor module)
          When this module is added, it'll automatically load a configuration file and add all global modules.
 void ProfileLoader.addContext(ContextManager cm, Context ctx)
          Adjust paths for a context - make the base and all loggers point to canonical paths.
 void ProfileLoader.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor module)
          Read the profiles.
 void ProfileLoader.addTagRules(ContextManager cm, Context ctx, XmlMapper xh)
           
 void JservConfig.engineState(ContextManager cm, int state)
          Generate the apache configuration - only when the server is completely initialized ( before starting )
 void JservConfig.contextInit(Context ctx)
           
 void JservConfig.execute(ContextManager cm)
          executes the JservConfig interceptor.
 void NSConfig.execute(ContextManager cm)
          executes the NSConfig interceptor.
 void IISConfig.execute(ContextManager cm)
          executes the IISConfig interceptor.
 void AutoDeploy.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor module)
          Find all wars and expand them.
 void AutoDeploy.addContext(ContextManager cm, Context ctx)
           
 void AutoDeploy.contextInit(Context context)
           
 void AutoDeploy.reload(Request req, Context context)
           
 void ServerXmlReader.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor module)
          When this module is added, it'll automatically load a configuration file and add all global modules.
static void ServerXmlReader.loadConfigFile(XmlMapper xh, java.io.File f, java.lang.Object cm)
           
static void ServerXmlReader.setPropertiesRules(ContextManager cm, XmlMapper xh)
           
static void ServerXmlReader.addTagRules(ContextManager cm, XmlMapper xh)
           
 void ServerXmlReader.addDefaultTags(ContextManager cm, XmlMapper xh)
           
 void LoaderInterceptor11.engineInit(ContextManager cm)
           
 void LoaderInterceptor11.addContext(ContextManager cm, Context context)
          Add all WEB-INF/classes and WEB-INF/lib to the context path
 void LoaderInterceptor11.contextInit(Context ctx)
           
 void LoaderInterceptor11.reload(Request req, Context context)
          Construct another class loader, when the context is reloaded.
 void LoaderInterceptor11.prepareClassLoader(Context context)
          Initialize the class loader.
protected  java.lang.ClassLoader LoaderInterceptor11.constructLoader(Context context)
          Override this method to provide an alternate loader (or create a new interceptor )
 void ContextXmlReader.engineInit(ContextManager cm)
           
static void ContextXmlReader.setPropertiesRules(ContextManager cm, XmlMapper xh)
           
 void ContextXmlReader.addTagRules(ContextManager cm, XmlMapper xh)
           
 void LogSetter.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor module)
          The log will be added and opened as soon as the module is added to the server
 void LogSetter.engineInit(ContextManager cm)
           
 void LogSetter.engineShutdown(ContextManager cm)
           
 void LogSetter.addContext(ContextManager cm, Context ctx)
          Set default ServletLog for Context if necessary
 

Uses of TomcatException in org.apache.tomcat.modules.generators
 

Methods in org.apache.tomcat.modules.generators that throw TomcatException
 void ErrorHandler.engineStart(ContextManager cm)
          Check that we are in a stable state.
 void ErrorHandler.contextInit(Context ctx)
          Add default error handlers
 void Jdk12Interceptor.preServletInit(Context ctx, Handler sw)
           
 void Jdk12Interceptor.preServletDestroy(Context ctx, Handler sw)
          Servlet Destroy notification
 void Jdk12Interceptor.postServletDestroy(Context ctx, Handler sw)
           
 void Jdk12Interceptor.postServletInit(Context ctx, Handler sw)
           
 void StaticInterceptor.engineInit(ContextManager cm)
           
 void StaticInterceptor.contextInit(Context ctx)
           
 

Uses of TomcatException in org.apache.tomcat.modules.loggers
 

Methods in org.apache.tomcat.modules.loggers that throw TomcatException
 void AccountingInterceptor.engineInit(ContextManager cm)
          Called when the ContextManger is started
 void AccessLogInterceptor.engineShutdown(ContextManager cm)
           
 void LogEvents.contextInit(Context ctx)
           
 void LogEvents.contextShutdown(Context ctx)
           
 void LogEvents.addServlet(Context ctx, Handler sw)
          Notify when a new servlet is added
 void LogEvents.removeServlet(Context ctx, Handler sw)
          Notify when a servlet is removed from context
 void LogEvents.addMapping(Context ctx, java.lang.String path, Handler servlet)
           
 void LogEvents.removeMapping(Context ctx, java.lang.String path)
           
 void LogEvents.addSecurityConstraint(Context ctx, java.lang.String[] path, java.lang.String[] methods, java.lang.String transport, java.lang.String[] roles)
           
 void LogEvents.addInterceptor(ContextManager cm, Context ctx, BaseInterceptor i)
           
 void LogEvents.engineInit(ContextManager cm)
          Called when the ContextManger is started
 void LogEvents.engineShutdown(ContextManager cm)
          Called before the ContextManager is stoped.
 void LogEvents.addContext(ContextManager cm, Context ctx)
          Called when a context is added to a CM
 void LogEvents.addContainer(Container ct)
           
 void LogEvents.engineState(ContextManager cm, int state)
           
 void LogEvents.engineStart(ContextManager cm)
           
 void LogEvents.removeContext(ContextManager cm, Context ctx)
          Called when a context is removed from a CM
 void LogEvents.preServletInit(Context ctx, Handler sw)
          Servlet Init notification
 void LogEvents.postServletInit(Context ctx, Handler sw)
           
 void LogEvents.preServletDestroy(Context ctx, Handler sw)
          Servlet Destroy notification
 void LogEvents.postServletDestroy(Context ctx, Handler sw)
           
 

Uses of TomcatException in org.apache.tomcat.modules.mappers
 

Methods in org.apache.tomcat.modules.mappers that throw TomcatException
 void DecodeInterceptor.engineInit(ContextManager cm)
           
 void ReloadInterceptor.engineInit(ContextManager cm)
           
 void ReloadInterceptor.addContext(ContextManager cm, Context context)
           
 void ReloadInterceptor.contextInit(Context context)
          Example of adding web.xml to the dependencies.
 void ReloadInterceptor.reload(Request req, Context context)
           
 void SimpleMapper1.engineInit(ContextManager cm)
          Set the context manager.
 void SimpleMapper1.addContext(ContextManager cm, Context ctx)
          Called when a context is added.
 void SimpleMapper1.removeContext(ContextManager cm, Context ctx)
          Called when a context is removed from a CM - we must ask the mapper to remove all the maps related with this context
 void SimpleMapper1.addContainer(Container ct)
          Associate URL pattern to a set of propreties.
 void SimpleMapper1.removeContainer(Container ct)
           
 

Uses of TomcatException in org.apache.tomcat.modules.server
 

Methods in org.apache.tomcat.modules.server that throw TomcatException
 void PoolTcpConnector.engineInit(ContextManager cm)
          Called when the ContextManger is started
 void PoolTcpConnector.engineStart(ContextManager cm)
          Called when the ContextManger is started
 void PoolTcpConnector.engineShutdown(ContextManager cm)
           
 void JNIConnectionHandler.engineInit(ContextManager cm)
          Called when the ContextManger is started
 void JNIConnectionHandler.engineShutdown(ContextManager cm)
           
 void Ajp13Interceptor.engineInit(ContextManager cm)
           
 void Ajp13Interceptor.engineState(ContextManager cm, int state)
           
 void Ajp12Interceptor.engineInit(ContextManager cm)
           
 void Ajp12Interceptor.engineState(ContextManager cm, int state)
           
 

Uses of TomcatException in org.apache.tomcat.modules.session
 

Methods in org.apache.tomcat.modules.session that throw TomcatException
 void SimpleSessionStore.engineInit(ContextManager cm)
           
 void SimpleSessionStore.reload(Request req, Context ctx)
           
 void SimpleSessionStore.contextInit(Context ctx)
          Init session management stuff for this context.
 void SimpleSessionStore.contextShutdown(Context ctx)
          Notification of context shutdown.
 void SessionExpirer.engineStart(ContextManager cm)
           
 void SessionExpirer.engineStop(ContextManager cm)
           
 void SessionIdGenerator.engineInit(ContextManager cm)
          Init session management stuff for this context.
 

Uses of TomcatException in org.apache.tomcat.startup
 

Methods in org.apache.tomcat.startup that throw TomcatException
 int EmbededTomcat.addModule(BaseInterceptor ri)
          Add a module explicitely.
 int EmbededTomcat.addModule(java.lang.String className)
          Add a custom module.
 void EmbededTomcat.setModuleProperty(int id, java.lang.String name, java.lang.String value)
          Configure a module property.
 void EmbededTomcat.addServerXmlModules()
          Init tomcat using server.xml-style configuration.
 void EmbededTomcat.addDefaultModules()
          Add all the default modules, needed for a fully functional container.
 void EmbededTomcat.addAutoDeploy()
          Add modules needed for auto-deploy function.
 Context EmbededTomcat.addContext(java.lang.String ctxPath, java.net.URL docRoot, java.lang.String[] hosts)
          Add and init a context.
 void EmbededTomcat.initContextManager()
          Initialize the context manager.
 void EmbededTomcat.start()
          Start the context manager.
 void EmbededTomcat.shutdown()
          Shutdown contextM - may exit the VM.
 void EmbededTomcat.stop()
          Stop contextM - will not exit the VM.
 int EmbededTomcat.addEndpoint(int port, java.net.InetAddress addr, java.lang.String hostname)
          Add a HTTP listener.
 int EmbededTomcat.addAjpEndpoint(int port, java.net.InetAddress addr, java.lang.String hostname)
          Add AJP12 listener.
 int EmbededTomcat.addSecureEndpoint(int port, java.net.InetAddress addr, java.lang.String hostname, java.lang.String keyFile, java.lang.String keyPass)
          Add a secure HTTP listener.
 void EmbededTomcat.addDefaultConnectors()
          Add the default HTTP/8080, Ajp12-stop/8007, if no explicit addEndpoint was called
 void EmbededTomcat.addInterceptor(BaseInterceptor ri)
           
 void EmbededTomcat.addApplicationAdapter(BaseInterceptor adapter)
          This is an adapter object that provides callbacks into the application.
protected  void EmbededTomcat.beforeAddInterceptors()
          Hook - will be called after all modules are configured, before they are added to the ContextManager.
 void Tomcat.enableAdmin()
          Deprecated.  
 void Tomcat.stopTomcat()
          Deprecated.  
 void Tomcat.startTomcat()
          Deprecated.  
 



Copyright © 2001 Apache Software Foundation. All Rights Reserved.