Here is what you do:
First,
follow
the directions in
Manager App HOW-TO included with the tomcat documentation. Once this
is
done, you can use the
manager app reload function to reload the web app. This also refreshes
any
newly compiled classes
(e.g. javabeans) that you may have included in
Hello,
I am trying to find out which is better, mod_jk-01 or mod_webapp.
Here are my different criteria to base which is better on.
1. Which is more stable, and with what version of apache?
2. Which can do load balancing, and with what version of apache?
3. Which has the best performance for
Hi John,
This is a very great doc and a very good start. I have one question, what command
line parameters
did you use to compile apache to enable DSO support, SSL, and apxs?
Thanks much,
Adam
--- Turner, John [EMAIL PROTECTED] wrote:
I just went through the same process (only using MS
Jiann-Ming Su,
I am confused on your question. You seem to contradict yourself. Here is what I see
as a
contradiction:
1. The RUNNING.txt wasn't exactly clear on this, but if I want to run multiple
instances of tomcat, do I simply set the CATALINA_BASE variable to as many
base directories as
Have you gotten the problem resolved??
Adam
--- puneet sachar [EMAIL PROTECTED] wrote:
Hi friends, this is my 4th mail regarding my single
complain..
I have install the tomcat 4.0.3 and its doing fine as
far .html files are concern but no .class and .jsp
files are running on it
I have
Hi Juan,
The path that you stated is correct:
installdir\webapps\ROOT\WEB-INF\classes
There are 2 important things to note.
1. If the classes are free standing (e.g. not jar'ed) and you have them as part of a
package, you
must have directories corresponding to the package names. I have a
I am not an expert, but from what I have seen floating around you would use apache +
tomcat when
you have high requests on static html pages. This way, you offload the static pages
to apache to
free up tomecat for the jsps. Hopefully someone else will chime in with more info
than this.
Adam
I have been on this list for about a month and have see this question many time
(myself included).
I have finally figured out how you can get a class to reload (e.g. Included JavaBean)
without
having to stop/start tomcat using shutdown.sh and startup.sh. First, follow the
directions in
. Thanks.
--- Mike Millson [EMAIL PROTECTED] wrote:
You could also set reloadable=true in the Context element, but that
requires significant overhead and is not recommended for production
environments.
Mike
-Original Message-
From: Adam Pfeiffer [mailto:[EMAIL PROTECTED]]
Sent
shutdown.sh
startup.sh (newbies should read)
You could also set reloadable=true in the Context element, but that
requires significant overhead and is not recommended for production
environments.
Mike
-Original Message-
From: Adam Pfeiffer [mailto:[EMAIL PROTECTED]]
Sent
param-nameparam1/param-name
param-valuesomevalue/param-value
/init-param
/servlet
You can then call getServletConfig().getInitParameter(param1) from the
init method of the somename servlet.
Hope this helps,
Subir
-Original Message-
From: Adam Pfeiffer [mailto:[EMAIL
Hello,
I just began playing with the manager app and am confused on how it deploys a new web
application.
Here is the lowdown.
I had an existing one at:
/opt/jakarta-tomcat-4.0.3/webapps/trips
I did a cp -r from /opt/jakarta-tomcat-4.0.3/webapps/trips to
Hello,
I have a bean that uses the Properties Object. Currently, on each jsp that calls that
bean I have
to do a bean.setPropsDir() which sets the directory where to find the properties file.
Is there a
way in server.xml, web.xml or some other way that I can put in a variable that will
Hello,
I am using the Properties object in a javabean that is being included in a jsp. How
can the
javabean get the base directory of the webserver in order to pass it to the Properties
Object?
Thanks for your help.
Adam
__
Do You Yahoo!?
Does anyone know where I can find a good doc on how to handle exception with JSP and
beans. I
would really like the bean to trap all the errors and set the messages and send those
back to the
jsp. I am not sure how to do this. I am still new with catching exceptions, so if my
question
, etc.
My 2 cents.
fillup
On 5/17/02 10:47 AM, Adam Pfeiffer [EMAIL PROTECTED] wrote:
Does anyone know where I can find a good doc on how to handle exception with
JSP and beans. I
would really like the bean to trap all the errors and set the messages and
send those back
This is an html question, but I figure a lot of you have run into this. I have a 2
frame page
with a top and bottom frame. The top frame has a form with a drop down box in it. Is
there a way
for the form to post to the the bottom frame without reloading the frameset? Thanks
for your help
If you have a try/catch block in a jsp and you catch an error that is know to cause
the page not
to function, how can you gracefully skip the rest of the jsp page and print an error
message. For
example, in the below code pictureBrowserBean.parseAlbums(); is going to throw a null
pointer
Since nobody else answered, not sure but I would think a simple
return;
as placed would do what you want.
troy
Adam Pfeiffer
adamcpfeiffer@y To:
[EMAIL PROTECTED]
ahoo.com
Hello,
superclass is: FileBrowserBean.java
subclass is: PictureBrowserBean.java
When I try to call the constructor in FileBrowserBean.java from
PictureBrowserBean.java I get the
following compile time error:
PictureBrowserBean.java:10: Object() in java.lang.Object cannot be applied to
Ah, that makes sense. Thanks for the help!
--- Larry Meadors [EMAIL PROTECTED] wrote:
They both subclass Object.
Change
public class PictureBrowserBean {
to
public class PictureBrowserBean extends FileBrowserBean {
[EMAIL PROTECTED] 05/09/02 02:12PM
Hello,
superclass is:
I am running Tomcat 4.0. I am trying to list all files and directories in a directory
relative to
a jsp. Here an example:
My jsp page is at:
/opt/jakarta-tomcat-4.0.3/webapps/examples/jsp/TestPage.jsp
The directory which I want a listing of all files and directories in is at:
22 matches
Mail list logo