Christopher Williams wrote:
Easiest method:
Put JSPs in WAR and stick in webapps
Put classes in JAR and stick in common\lib
I'd rather use a more complicated method, if that would allow me to put
my classes in WARs as well :)
Ulrich
Christopher Williams wrote:
Unfortunately, you do need to move classes common to multiple web apps into
library files. You don't have to put the library files into common\lib,
however. You can put the JARs in WEB-INF/lib inside your WAR file. Never
done it myself, but it's supposed to work.
Hello,
I know that Tomcat has seperate classloaders for each webapp, but what I
would like to do is have JSPs in one webapp and the classes they use in
another. I tried enabling the crossContext feature for the relevant
contexts, but that didn't work, the classes weren't found.
Background: we
John Turner wrote:
AFAIK, Lucene indexes files. How then, do you index a dynamic site? The
only files that exist on a dynamic site are source code files. Servlets
would never be indexed...how then do you index the content returned from
the servlet? Can Lucene do this?
Lucene is not a search
Pradeep Gummi wrote:
Hi Ulrich,
I think you should get them working by placing the classes in the
CATALINA_HOME/common/classes folder or the jars in the lib folder. This
would share the classes in all web apps. There you would be giving the
information of the catalina and system class loaders.
John Turner wrote:
Ulrich Mayring wrote:
I can only recommend Lucene, it is vastly superior to any pre-packaged
search engine, because you do not depend on specific features or
behavior, but can customize everything to your needs.
Assuming you have time, money, skills, etc. to do so, which
Phillip Qin wrote:
Just move your Context../Context from server.xml to an XML file.
There are two naming styles:
2. Deploy by Tomcat to webapps:
- name it myapp.xml;
- make myapp.war;
- copy myapp.xml and myapp.war to webapps
Unfortunately this doesn't work right in my mind. For if I remove
Hello,
I've defined a context in server.xml, which includes a logger for my web
application.
When I start Tomcat, it reads these settings and logs in the specified
file. If I reload the webapp from the management console, everything is
still ok, Tomcat logs in the specified file.
However, if
Phillip Qin wrote:
I guess you don't have a context.xml bundled with your war.
Yes, I do, in META-INF.
Ulrich
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Phillip Qin wrote:
As far as I understand, all the functions provided by Manager GUI are not
persistent - after you shutdown Tomcat, nothing will be saved. Reload might
have the same issue. So try to Deploy/Undeploy using Catalina-ant.
Not quite, installing a WAR-file (via upload) is preserved
10 matches
Mail list logo