Re: Restart a single Tomcat service out of several running services?

2002-06-13 Thread Adam Pfeiffer
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

mod_jk-01 VS mod_webapp w/ Tomcat 4.0.3??

2002-06-11 Thread Adam Pfeiffer
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

RE: Connecting Apache 2 with Tomcat 4.x

2002-06-11 Thread Adam Pfeiffer
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

RE: CATALINA_BASE?

2002-06-11 Thread Adam Pfeiffer
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

Re: problem..plz help me out

2002-06-08 Thread Adam Pfeiffer
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

Re: Running JavaBeans

2002-06-07 Thread Adam Pfeiffer
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

Re: Apache 2.36, Tomcat 4.x and JBoss 3.0

2002-06-07 Thread Adam Pfeiffer
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

Answer: Reloading classes WITHOUT using shutdown.sh startup.sh (newbies should read)

2002-06-05 Thread Adam Pfeiffer
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

RE: Answer: Reloading classes WITHOUT using shutdown.sh startup.sh (newbies should read)

2002-06-05 Thread Adam Pfeiffer
. 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

RE: Answer: Reloading classes WITHOUT using shutdown.sh startup.sh (newbies should read)

2002-06-05 Thread Adam Pfeiffer
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

RE: How to load properties into tomcat 4.0.3?

2002-06-05 Thread Adam Pfeiffer
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

Manager App Question

2002-06-04 Thread Adam Pfeiffer
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

How to load properties into tomcat 4.0.3?

2002-06-04 Thread Adam Pfeiffer
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

How to use Properties Object in a bean from a jsp

2002-05-21 Thread Adam Pfeiffer
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!?

exception management with beans and Jsps

2002-05-17 Thread Adam Pfeiffer
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

Re: exception management with beans and Jsps

2002-05-17 Thread Adam Pfeiffer
, 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

Form submit question when using frames

2002-05-17 Thread Adam Pfeiffer
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

How to end a JSP

2002-05-15 Thread Adam Pfeiffer
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

RE: How to end a JSP

2002-05-15 Thread Adam Pfeiffer
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

subclass constructor class

2002-05-09 Thread Adam Pfeiffer
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

Re: subclass constructor class

2002-05-09 Thread Adam Pfeiffer
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:

List file relative to jsp

2002-05-03 Thread Adam Pfeiffer
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: