top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to use the Manager Interface using Tomcat

0 votes
503 views

I want to change the standard session manager. I added in context.xml the In my netbeans ide 7, I created in source packages of my web application the java class.
When I run my web application, tomcat told me it cannot find my manager. What is the procedure to declare my session manager ?

posted Jul 17, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

You will likely have to put your Manager class into Tomcat's lib/ directory in order to use it. You only want to put your Manager class under lib/ -- don't put the rest of your web application's classes in there.

answer Jul 17, 2013 by anonymous
Similar Questions
+1 vote

I think we can do it through the web.xml file located in tomcatconfweb.xml and then restart Tomcat.

Is there a difference if I change it in the tomcatconf location versus tomcatwebapps[web app name] web-infweb.xml location?

If I change the web.xml file in the tomcatconfweb.xml location will it override the web app location?

0 votes

I am just wondering whether somehow I can use web.xml to point to the Tomcat JDBC Realm that I am using. Are those two completely disjoint or I can link them together.

0 votes

I have a number of documents that are very template like and ideal for JSP that are
1) not intended for the web and
2) need to be automatically batch processed (the output stored in output files).

How do I call the JSP processor from them command line? (it takes tomcat too long to see updated files for the purpose I have in mind)

...