You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by av...@satori.com on 2000/12/14 05:24:39 UTC

Tomcat / Apache jserv automatic startup


Hi y'all Tomcat development team, 

I've been a long time advocate of starting  Tomcat from Apache 
automatically. In fact I've been doing this since pre-3.0 days.
It's worked flawlessly for me until 3.2. I assume this is because
this is a low priority for everyone. 

Anyway I think slowly the protocol that starts/monitors Tomcat
from ap_jserv is slowly going away. As an example the JSERV_PING
does not seem to work anymore. It leaves a connection open to 
Tomcat and slowly eats away the socket file descriptors until
the system runs out.

But I found a workaround for now by modifying code in the 
mod_jserv. This way it seem to work again for 3.2.

Shortly I will be updating my HOWTO for 3.2.

So I guess the question(s) are :

1. Will automatic startup of Tomcat be included in a plan
   sometime in the future even for mod_jk?

2. Maybe someone can point me to the module in Tomcat where
   the Apj_xx protocol is handled and I probably can help
   drop something in there. Or may even be something pluggable.

There's been a few users who have been asking for this
for a while but all I can say is that the code is changing
so much that it's hard to keep up with. One day my howto
works the next day it doesn't.

One of the big advantages of having this is that its
nice to just have one startup procedure for Apache and
Tomcat. It's also nice to be able to do something like
"apachectl restart" or "apachectl start/stop" to restart/stop/start both
Apache and Tomcat. 

thanks,

-- 
Freddie  Mendoza             
avm@satori.com
Search Engine for Cheap Books
http://satori.com/cheapbooks

Re: Java mail in jsp

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Sameer wrote:

> Hi everybody,
>
> I have been trying to use the java mail package in a jsp file, but when run
> following exception is displayed
>
> Package javax.activation not found in import
>
> this happens even though all required jar files have been added to the lib
> directory
> Please help to solve the problem
>

Why are you asking a question like this here?  This list is for people
interested in developing Tomcat.

>
> thanks in anticipation,
> Sameer

Craig McClanahan

PS:  Go read the documentation for the JavaMail package, and you will find that
you also need the Java Activation Framework download.



Java mail in jsp

Posted by Sameer <sk...@srijansoft.com>.
Hi everybody,

I have been trying to use the java mail package in a jsp file, but when run
following exception is displayed

Package javax.activation not found in import

this happens even though all required jar files have been added to the lib
directory
Please help to solve the problem

thanks in anticipation,
Sameer