RE: Redirect from root context to other context

2004-03-16 Thread rsequeira
I bet you already know this, but nevertheless: ROOT is a keyword for "/". The URLs are http://domainname/contextname. In the case of ROOT, you don't have a contextname in the URL. Setting the attribute of the context "reloadable=true" helps in case you want your changes to reflect without restarti

Re: Using tomcat to serve PDF files

2004-03-05 Thread rsequeira
Tomcat should be doing that out-of-the-box currently: See "Default MIME Type Mappings" under conf/web.xml. Also on a side note: http://www.onjava.com/pub/a/onjava/2003/06/18/dynamic_files.html Thanks, RS

Re: Virtual Hosts with Apache and Tomcat

2004-03-02 Thread rsequeira
With due respect to everyone's opinion on this thread, I really appreciate it if this topic was taken offline. I think other than filling up people's mailbox, I don't seem to see any technical knowledge being shared. Just my 2 cents. Thanks, RS

Re: Tomcat heap vs. java.exe

2004-02-27 Thread rsequeira
If I were you, I'd load test your site first before going to production. As you pointed out, you cannot afford to stop your production server or hang it with OutOfMemory errors. You can get jvm dumps on windows by turning on the -verbosegc. This will dump out stack traces repeatedly without exitin

Re: Tomcat heap vs. java.exe

2004-02-27 Thread rsequeira
oops! kill -3 RS [EMAIL PROTECTED] tric.com To: "T

Re: Tomcat heap vs. java.exe

2004-02-27 Thread rsequeira
kill -a Thanks, RS Asim Alp <[EMAIL PROTECTED]

Re: Tomcat heap vs. java.exe

2004-02-27 Thread rsequeira
OutOfMemory errors sometimes show up when the java vm runs low on memory. Since you have increased the heap size, could you take a thread dump to see if there are any CPU burning threads or any threads waiting on a resource? Thanks, RS

Re: Problems running JSPs

2004-02-27 Thread rsequeira
Have you added the jar that contains the num.NumberGuessBean under the examples/WEB-INF/lib Or add the num.NumberGuessBean to the examples/WEB-INF/classes RS Vijay

Re: Mapping URLs to directories outside of a webapp.

2004-02-19 Thread rsequeira
If you are using Apache, you could use the Alias directive. RS Ben Souther

RE: Virtual server on Tomcat 3.3

2003-10-27 Thread rsequeira
Actually for TC 3.3, it would help you to read: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#standard_contexts RS "Lars Ballieu

Re: Virtual server on Tomcat 3.3

2003-10-27 Thread rsequeira
Use the Host element RS "Lars Ballieu

Re: Tag problem

2003-09-22 Thread rsequeira
I don't believe the SERVLET tag is supported in Tomcat. I know it was supported in JRun. But you could write a jsp and then from the jsp call the servlet you desire Thanks, RS

Re: calling methods

2003-07-18 Thread RSEQUEIRA
Move this method out to a java class and then just instantiate this class (and then access the method) from both servlets. RS "Ben Austin"

RE: HELP, PLEASE! Tomcat creates too many threads!

2003-01-07 Thread rsequeira
You ought to look into the cause of this problem by running a combination of ps, top, etc commands and getting a thread dump by killing the threads. Generally it turns out that some application/servlet is the cause of runaway threads. It would be a good idea to look into the bug database/forums o

Re: Tomcat Crash

2003-01-03 Thread rsequeira
Did you look at the logs. And when you say crashed, does it mean it stops serving requests or does it shutdown? If you provide some log output, folks out here could shed some light. RS

Re: Virtual Hosting with Tomcat

2002-12-30 Thread rsequeira
Virtual hosting in Tomcat can be achieved using the Host element (see server.xml). Also for this to work, the host name must be registered in the DNS server. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html for details. Also see Host name Aliases (referred in the above doc). R

jvm_bind exception - port 8080 - Address in use

2002-12-13 Thread rsequeira
This is slightly off-topic (related to JBoss, but involves Tomcat) Environment: Win NT, JBoss 3.0.4 with Tomcat 4.1.12, JDK1.3.1 I unzipped jboss-3.0.4_tomcat-4.1.12 and tried to run(.bat) JBoss. But I get an exception saying embedded Tomcat couldn't bind to 8080 (address already in use). So I ch

Re: urgent !!!!problem with availability of port !

2002-12-11 Thread rsequeira
You can change it to whatever you wish as long as it doesn't conflict with any other. The default port for HTTP is 80. But Tomcat by default (if no changes have been made to server.xml) listens on port 8080. Use netstat -an (and grep for LISTEN if you are on a Unix box). This will tell you which p

RE: Thread dump

2002-12-06 Thread rsequeira
You could use Thread.enumerate(Thread [] ) and then do a Thread.dumpStack() on each thread in your code. I can't provide any definite answers on how to get a thread dump right from the moment Tomcat starts, but I suppose you could modify Tomcat code (call the about the methods in your code) to do

Re: Thread dump

2002-12-06 Thread rsequeira
kill -3 RS "Manavendra Gupta" To: "Tomcat

Re: migration from jrun to tomcat

2002-12-02 Thread rsequeira
The error message implies that the session-timeout element is missing in the web.xml file. SEVERE: Parse Error at line 137 column -1: Element type "session-timeout" is not declared. org.xml.sax.SAXParseException: Element type "session-timeout" is not declared. See $TOMCAT_HOME/conf/web.xml fil

Re: Help with jsp:includes

2002-12-02 Thread rsequeira
1000+ includes in a single page isn't a good idea IMHO. And using jsp:include for all 1000+ includes just aggravates the situation. It would be a good idea to minimize the number of includes by maybe clubbing a few together into one file. Also if looking at static includes as opposed to dynamic (j

Re: migration from jrun to tomcat

2002-12-02 Thread rsequeira
Tomcat follows the web app standard. If your applications on JRun are set up in a similar fashion, migration should be a breeze and would probably entail just modifying the Tomcat configuration files (server.xml, web.xml). Read the docs closely and you should be in good shape. A point of concern w

Does Tomcat 3.2.4 use a thread pool by default

2002-10-09 Thread rsequeira
Does Tomcat 3.2.4 use a thread pool by default? If I'm not mistaken, it does according to the documentation ( http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html). Could someone please confirm this. I think it does using the PoolTcpConnector class. I believe even if you do not e

RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread rsequeira
I'm no Linux guru. But did you try running Tomcat with the classic JVM? With "-client", "-server" or "-hotspot" I think there are many process that are started. And if your code opens underlying sockets, etc, it takes more processes which I believe remain hanging. If you run Tomcat with " -classi

Re: Setup a context for Tomcat 4.0.3

2002-09-20 Thread rsequeira
You could update the "appBase" attribute to point to a different directory than "webapps". Or you could specify the absolute path in the "docBase" attribute of the Context element to override the "appBase". This way you could have a context outside of webapps. Also read up on auto-deploying of we

Re: Re[2]: Context path

2002-09-20 Thread rsequeira
er more dynamic way of getting the context path. Isn't there another possibility? Andreas > > Jake, you are correct. Guess I was high on dope, huh :-) But I > suppose one could still use the environment entry technique for > "root" contexts. Thanks > > RS > >

Re: Directory Listing

2002-09-20 Thread rsequeira
See the Directory element in httpd.conf. The "Indexes" option dictates whether or not the directory is listed. To suppress directory listings, Declare a Directory element for that folder in httpd.conf. Don't add the "Indexes" option. RS

Re: Re[2]: Context path

2002-09-20 Thread rsequeira
List" Hello rsequeira, I think you are mistaking getServletContext with getRealPath("/"). The servlet context object is too important to *ever* return null. It is only file system operations that will

Re: Context path

2002-09-19 Thread rsequeira
Place an environment entry in the web.xml. This way you can access this parameter anywhere, anytime. Don't depend on getContext or getServletContext methods. If you had a war file, a getServletContext returns null. RS

Re: jsp:forward to a different context

2002-09-18 Thread rsequeira
Say you wish to forward from Context "A" to Context "B". You need to do two things: 1) Turn the crossContext attribute to "true" in server.xml 2) In your code: <% ServletContext ctxB = application.getContext("/B"); RequestDispatcher rdB = ctxB.getRequestDispatcher (" RS

Re: Reloading .jsp-Pages

2002-09-18 Thread RSEQUEIRA
RSEQUEIRA@TRANSEN TRIC.COM To: "Tomcat Users

Re: Reloading .jsp-Pages

2002-09-18 Thread RSEQUEIRA
reloadble="true" attribute is used to auto-reload jsp pages when they have changed. But you have to remember a key point when you are including a jsp in another jsp page: If you use the "<%@ include %>" directive to include , remember that the include happens at compile time rather than request

Re: jsp:include

2002-09-18 Thread RSEQUEIRA
Make the crossContext attribute "true" in server.xml. RS Georges Roux

Re: JSP Include error

2002-09-17 Thread RSEQUEIRA
The IllegalStateException is being raised due to either of the following reasons: 1) The included program (jsp or servlet) is attempting to set a response header after the body of the response is sent or is being sent. Check that you aren't setting any headers in the included jsp/servlet 2) If th

Re: line feeds in response

2002-09-09 Thread RSEQUEIRA
I had a similar problem a couple of days ago. I had to remove the <@ page directive > at the start of the jsp page for this to work. That is for the 3 junk chars to stop showing up. I didn't have time to figure out why this happens. We were migrating from JRun to Tomcat. From servletx to jsps. I

Can't find resource for bundle java.util.PropertyResourceBundle exception

2002-09-03 Thread rsequeira
Anyone has an idea what could be the cause of the following exception: Can't find resource for bundle java.util.PropertyResourceBundle, key dispatcher.includeException It arises when I run a jsp. Thanks RS -- To unsubscribe, e-mail: For additional commands, e-mai

Re: web.xml question

2002-08-22 Thread rsequeira
Tomcat is programmed to look for the dtd in the $CATALINA_HOME/common/lib/servlet.jar. This is how you can run Tomcat offline w/o facing any problems :-) Rosh "Din

RE: com.orielly.servlet File Upload package

2002-08-21 Thread rsequeira
It would be also advisable to look at web mail applications and see how they program the File Upload bit. Hotmail is a good example. Infact it does something very similar to what John pointed out. RS

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread rsequeira
Is "my_parameter" a variable or is that like a placeholder in the email for "pwdvalid", etc? I enabled debug logging on the driver, and I get messages that say "parameter my_parameter not registers as output" or "not registered as input", even when they are, and regardless of ... Your code loo

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-19 Thread rsequeira
It's been sometime since I used JDBC and SQL Server. But here are a few points to note: 1) Your first "?" is the return status. It should be registered as an OUT parameter. 2) Remember to use the right JDBC type when registering the OUT parameters. This is of utmost importance. 3) All ouput param

Re: Calling a servlet from a jsps page

2002-08-16 Thread rsequeira
Then the following line in a jsp file (say file1.jsp) that is located under "rajapp" and accessed using http://my-local-host-name/rajapp/file1.jsp should work. If you can't get this to work, include the jsp file here and the log output as well. What exception/error do you see on the browser? R

Re: Calling a servlet from a jsps page

2002-08-16 Thread rsequeira
Oops! I missed the word "classes". Sorry about that. But heck, you got it right. Can you run your servlet as http://my-local-host-name/rajapp/servlet/mypkg.CurrentTime What error do you get on the browser? Check you logs file for exceptions/errors. RS

Re: Calling a servlet from a jsps page

2002-08-16 Thread rsequeira
Assuming "rajapp" is your context, your statement will be: or Ofcourse make sure your class is under "/rajapp/WEB-INF/mypkg" RS "Raju Lokhande"

Re: .shtml with 4.0.4

2002-08-13 Thread rsequeira
You could create another Context which points to the Apache directory. But IMHO, it would be advisable to put all your files in one directory. RS MadBit

Re: tomcat4.0.4 and Servlet Specification 2.3 and JSp1.2

2002-08-13 Thread rsequeira
I don't think the flush= false is supported as yet. RS Ashish Kulkarni

Re: .shtml with 4.0.4

2002-08-13 Thread rsequeira
Let's start all over. First make a few assumptions: Your web-application directory is: /webprg/tomcat/webapps/ROOT/ Therefore your classes will go under: /webprg/tomcat/webapps/ROOT/WEB-INF/classes/test/HelloWorld.class (note: WEB-INF needs to be in upper-case) 1) Create a file hello.jsp (that ha

Re: .shtml with 4.0.4

2002-08-12 Thread rsequeira
Well can't pin-point the problem since you haven't provided any clues. What do the DocumentRoot, Context, and JkMount statements say? How about displaying the directory structure of where the jsps and shtml files are located. How about displaying the appropriate portions of the log in here. Might

RE: automatically serve index.jsp

2002-08-12 Thread rsequeira
Add "index.jsp" in the "DirectoryIndex" statement of Apache. Also check your JkMount statements. Apache needs to forward all jsps to Tomcat. RS "Michael Remijan"

Re: .shtml with 4.0.4

2002-08-12 Thread rsequeira
First the isn't supported by Tomcat. It isn't a standard tag i.e. it isn't defined in the servlet specs. You should use instead. Convert the .shtml files (be careful if you have SSI includes or CGI processing in the shtml files) that contain the tags to .jsps. And then replace the with RS

Re: Apache-tomcat integration

2002-08-03 Thread rsequeira
AJP is configured in . But you could move this Connector element to Tomcat-Apache. Also remember to disable the Warp connector under Tomcat-Apache. Have you configured Apache to send requests containing examples to Tomcat? You might need something like this: JkMount /examples/*.jsp ajp13 JkMoun

Re: Tomcat in a multiuser webhost environment

2002-08-03 Thread rsequeira
Answers are intermixed. Hans Kaiser <[EMAIL PROTECTED]>

Re: how to deny directory listing

2002-08-03 Thread rsequeira
There are various ways to deny directory listing. Valid for both Tomcat 3.x and Tomcat 4.x.x: You could add a welcome file to your web.xml. Something like this: index.html See conf/web.xml for further information. Valid for Tomcat 3.x only: Look for the "StaticInterceptor" defn. in your

RE: adding a virtual directory

2002-08-02 Thread rsequeira
You could define a servlet that takes care of this for you. And add that mapping to the $CATALINA_HOME/conf/web.xml file. The org.apache.jasper.servlet.JspServlet does something like this. It looks for a *.jsp in the URL. See $CATALINA_HOME/conf/web.xml and source code for org.apache.jasper.servl

Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira
Maybe it's just me or maybe it's Friday. But I'm sorry, I'm a little confused. What is "_"? Is that some directory you defined or is that something you just put in your email. "_" generally is used when you define a Root context and wish to access your site as http://domain-name/ Let's try once a

Re: adding a virtual directory

2002-08-02 Thread rsequeira
Assuming you are using Windows OS, you could map a drive on the source machine pointing to the shared destination directory. Ofcourse you could run into a few problems if "my_ap" is the Context and "my_dir" isn't under "my_ap". RS

Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira
Is "webmail" a directory under "qvdintra"? If it is, then you are better off using mod_jk as a connector rather than mod_webapp. With mod_jk you have better control over the what is being passed to Tomcat. You could pass only *.jsp and everything that has /servlet. With mod_webapp everything unde

Re: mod_webapp or perhaps apache question

2002-08-02 Thread rsequeira
What's the directory layout? Is "qvdintra" a directory? It would be a good idea to send the directory layout. This way someone could give you an informed answer FYI:- The WebAppDeploy syntax is: WebAppDeploy where, application_name - the directory present under your "webapps" directory conne

Re: Does Tomcat 4.0.3 work on Windows98

2002-08-02 Thread rsequeira
Yes it does :-) RS Steve <[EMAIL PROTECTED]To:

Re: warp / jdbc problem

2002-08-01 Thread rsequeira
You haven't configured you JDBC realm in the Warp connector section. My guess is thaat you have it configured for the Tomcat-Standalone. You will need to replicate the configuration in the Tomcat-Apache section too. RS

Re: AW: Apache-tomcat integration

2002-08-01 Thread rsequeira
Yes you can define two connectors as long as they are listening on different ports. I have both the AJP as well the the WARP connector enabled. RS "Ralph Einfeld

Re: Tomcat Root Context

2002-07-31 Thread rsequeira
The Context entry is correct. Hope you are using the same case in the URL as defined in the Context entry (newfolder is in lowercase in the Context). You could change the debug value to something greater than 0 to generate more logging. Check you logs to see if the newfolder webapplication is dep

Re: exploding WAR file via ant

2002-07-29 Thread rsequeira
What about the attribute "unpackWARs=true" RS "Chris Ruegger"

Re: Help: Installing Tomcat 4.0.4

2002-07-29 Thread rsequeira
JAVA_HOME is set incorrectly. It should be: JAVA_HOME=c:\jdk1.3.1_03 RS Manisha_Toor@Dell

Re: /*.jsp only invoked when run from localhost

2002-07-26 Thread rsequeira
The virtual host entry in the mod_jk says "ServerName localhost". You should change that to the domain-name (like www.shannonscott.com). RS "Shannon Scott" <[EMAIL PROTECTED]> on 07/26/2002 11:10:26 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[E

Re: Replacement of IIS

2002-07-24 Thread rsequeira
Few things you need to keep in mind if you do decide to migrate from IIS to Tomcat. 1) With Tomcat, you will not be able to serve .asp pages. You will need to convert them to jsps. 2) Frontpage cannot connect to Tomcat as IIS does. But you will be able to use the editing capabilities of FrontPage

Re: Change JDK version for tomcat4.0.4

2002-07-24 Thread rsequeira
set JAVA_HOME to point to new JDK install directory. RS Ashish Kulkarni <[EMAIL PROTECTED]> on 07/24/2002 02:58:11 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:Tomcat Users List <[EMAIL PROTECTED]> cc: Subject:Change JDK version for tomcat4.0.4 Hi, I am runnin

Re: Re[4]: Apache Authentication

2002-07-24 Thread rsequeira
rs List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:Re[4]: Apache Authentication Hello rsequeira, Good point. However, that means you have to keep your user authentication info in two different places...unless you are pulling t

Re: Re[2]: Apache Authentication

2002-07-24 Thread rsequeira
Just a thought, might not be true (since I haven't checked this behaviour). When you go through Apache (and if Apache has BASIC authentication setup), the Apache authentication will take precedence. Once you have entered the userid/password in the authentication dialog box, the browser will from

Re: Run class on jsp

2002-07-22 Thread rsequeira
Use the jsp:include directive. Something like this: RS Mario Henley Becerril Geldis <[EMAIL PROTECTED]> on 07/22/2002 10:21:45 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:Run class on jsp I am a beginner on JSP enviroment..

RE: tomcat 4.0 and IIS - troubleshoot configuration

2002-07-16 Thread rsequeira
Do you have the warp connector enabled too? The log file indicates a problem with the Warp connector. It doesn't show anything about the AJP13 connector. RS "Diana McLean" <[EMAIL PROTECTED]> on 07/16/2002 02:20:11 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomca

RE: tomcat 4.0 and IIS - troubleshoot configuration

2002-07-16 Thread rsequeira
Is that a typo? You said Yes, I can access both JSP and Servlets using port 8080. > http://localhost:8080/testfolder/Test.jspworks > http://localhost/testfolder/Test.jsp works > > > http://localhost:8080/testfolder/servlet/TestServlet does not work The above i

Re: download file

2002-07-16 Thread rsequeira
Did you set the mime-type set in the web.xml? xls application/vnd.ms-excel RS jakarta-tom on 07/16/2002 09:10:03 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:download file Subject: download file From: "J. Jason Zhou

Re: WAR archive

2002-07-16 Thread rsequeira
Yes. You need to change the "appBase" attribute of the Host element. RS Tarik Mokhtari <[EMAIL PROTECTED]> on 07/16/2002 07:44:50 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:WAR archive Hi, is it possible to put WAR archives in

Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira
Well hope you don't have some kind of cron job that periodically shuts Tomcat down. RS "Attila Szegedi" <[EMAIL PROTECTED]> on 07/15/2002 03:24:51 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:Re: What can caus

Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira
I think I spoke a little too quicky earlier. Sorry. I believe System.exit() doesn't unload the web applications. Presently I can't think of any other way for a clean Tomcat shutdown. RS [EMAIL PROTECTED] on 07/15/2002 09:38:54 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> T

Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira
What about System.exit() in a servlet? RS "Attila Szegedi" <[EMAIL PROTECTED]> on 07/15/2002 08:51:20 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:What can cause a clean Tomcat shutdown? Guys, I'm asking this

Re: Offtopic - JBoss vs JOnAS

2002-07-12 Thread rsequeira
Thanks RS "Joseph E. Savard" <[EMAIL PROTECTED]> on 07/12/2002 03:46:54 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:Re: Offtopic - JBoss vs JOnAS The new version of JBOSS has Tomcat in its distribution. JBOSS

Offtopic - JBoss vs JOnAS

2002-07-12 Thread rsequeira
I know I should probably research this on my own. But I bet there is some real world experience here on this list with regards to JBoss and JOnAS. My questions: Anyone here used either or both and could tell me which is better? Also I do know both JBoss and JOnAS come with Tomcat integrated. But

Re: Directory Index

2002-07-12 Thread rsequeira
See in the web.xml. RS [EMAIL PROTECTED] on 07/12/2002 03:07:22 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: cc: Subject:Directory Index I know that in Tomcat I can map servlets to the path "/" and that in Apache I can set certain files to be "directory indexes";

RE: Error - Please Help

2002-07-12 Thread rsequeira
You could either copy the tools.jar from JAVA_HOME/lib to CATALINA_HOME/common/lib (or create symbolic link if you are using some flavor of Unix). This will resolve the problem of your jsps not compiling. This is the error that you been getting. RS "Sunit Munjal" <[EMAIL PROTECTED]> on 07/

Re: Classes in WEB-INF/classes not visible to JSP pages

2002-07-12 Thread rsequeira
I don't use JDK1.4. But if you get an error while importing classes without a package name, it may be a bug. And if you can confirm that you should probably file it with Sun. As for you packaging your classes, any specific reason for you to package you classes in org.apache.jsp? I think what Larr

RE: Where is WARP connector

2002-07-11 Thread rsequeira
mod_webapp is the module that implements WARP. RS "Nance, Michael" <[EMAIL PROTECTED]> on 07/11/2002 10:10:29 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:'Tomcat Users List' <[EMAIL PROTECTED]> cc: Subject:RE: Where is WARP connector John, Thanks for the resp

Re: Classes in WEB-INF/classes not visible to JSP pages

2002-07-11 Thread rsequeira
With Tomcat 4.x.x, you need import unpackged classes as well. RS "Larry Meadors" <[EMAIL PROTECTED]> on 07/11/2002 09:36:05 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:<[EMAIL PROTECTED]> cc: Subject:Re: Classes in WEB-INF/classes not visible to JSP pages I d

Re: Extra folders in tomcat/work

2002-07-11 Thread rsequeira
Note the way you have configured the path attribute in the Context element. Tomcat uses this "path" attribute to create the folders. For the "" path, it creates a "_" folder. The other two folders (site1 & site2) are created because they happened to exist under your webapps (see auto deplo

Re: Beans in packages vs beans not in packages

2002-07-10 Thread rsequeira
you need to import it using the import statement. <% import %> RS "Ron Day" <[EMAIL PROTECTED]> on 07/10/2002 05:20:27 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:<[EMAIL PROTECTED]> cc: Subject:Beans in packages vs beans not in packages Hi, When I run a web

Re: Servlet problem...

2002-07-09 Thread rsequeira
You need to edit your classpath. You need to specify the drive name when the servlet.jar is located. See "tomcat\common\lib\servlet.jar;" CLASSPATH=.;C:\ServletDevel;tomcat\common\lib\servlet.jar;C: \javamail-1.2\ma il.jar;C:\jaf-1.0.1\activation.jar RS "Mike Neder" <[EMAIL PROTECTED]> o

Re: tomcat 4.03 configuration with IIS 5.0

2002-07-09 Thread rsequeira
It seems like you upgraded your JDK to a latest version. And Tomcat seems to use an earlier version. You probably need to copy tools.jar to the CATALINA_HOME\common\lib directory or re-install Tomcat so that it uses the right JDK version. The asp files could co-exist with the jsps. All you need t

Re: restarting tomcat without restarting ;)

2002-07-09 Thread rsequeira
Set the reloadable attribute of the Context element in your server.xml to true RS jakarta-tom on 07/09/2002 09:40:02 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:restarting tomcat without restarting ;) Subject: restarting tomcat w

Re: cannot run tomcat 4.0.4 jsp examples

2002-07-09 Thread rsequeira
You probably have a stale copy of jasper-compiler.jar. I'd suggest installing the latest Tomcat (I think it's 4.1.7). RS "Sylvain Pivette" <[EMAIL PROTECTED]> on 07/09/2002 10:10:15 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:<[EMAIL PROTECTED]> cc: Subject:ca

Re: customised error pages rather than tomcats error pages

2002-07-09 Thread rsequeira
Add an error-page directive to your web-application's web.xml file: 404 /error.html Please see the "Deployment Descriptor" section of the servlet specs for more information. RS [EMAIL PROTECTED] on 07/09/2002 09:16:52 AM Please respond to "Tomcat Users List" <[EMAIL PROTECT

Re: Virtual site

2002-07-02 Thread rsequeira
You need Host and Context elements for each domain. Something like this: RS "eric aboudaram" <[EMAIL PROTECTED]> on 07/02/2002 12:00:34 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"tomcat user Lis

Re: customized page on a HTTP 401 error

2002-07-01 Thread rsequeira
You will need to intercept the 401 response by the server. You could do this using Valves, I suppose. I haven't done this (it has been on my to-do list for some time now). Download the source code. Have a look at org.apache.catalina.Valve. RS [EMAIL PROTECTED] on 07/01/2002 04:12:20 AM Pl

Re: Authentication

2002-06-25 Thread rsequeira
There's DIGEST method. But I've never implemented that. So I cannot speak much about that. In addition, I suppose the browsers need to support the DIGEST method too. RS "Mike Hulse" <[EMAIL PROTECTED]> on 06/25/2002 02:04:14 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:

Re: Authentication

2002-06-25 Thread rsequeira
See your and tags in your webapplications web.xml file and TC\conf\tomcat-users.xml file. RS "Mike Hulse" <[EMAIL PROTECTED]> on 06/25/2002 12:07:56 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:Authentica

Re: R: how do I set up a information distribution list

2002-06-25 Thread rsequeira
Thanks for the tip. I'll make a note of that. I was hoping someone had some experience in setting up a mailing list. Will the person who setup this list please step forward :-) Thanks RS Alessio Fiore <[EMAIL PROTECTED]> on 06/25/2002 09:16:51 AM Please respond to "Tomcat Users List" <[EMAI

how do I set up a information distribution list

2002-06-25 Thread rsequeira
Has anyone used Apache James? I have a bunch of email address that I need to send emails, regularly. Something like a mailing list. More specifically a one way mailing list (or information dissemination list). The email should be customized with the person's name, etc. The person's details could

Re: We need some help...

2002-06-21 Thread rsequeira
If you detail the problem here, someone might be able to help. RS "Noyce, Ben W." <[EMAIL PROTECTED]> on 06/21/2002 04:02:18 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:We need some help... We have an Apache

Re: Can't run JSP Samples on new Tomcat 4.0.3 install

2002-06-14 Thread rsequeira
tools.jar. Sorry! Slip of the finger :-) RS [EMAIL PROTECTED] on 06/14/2002 05:08:09 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:Re: Can't run JSP Samples on new Tomcat 4.0.3 install This has been discussed

Re: Can't run JSP Samples on new Tomcat 4.0.3 install

2002-06-14 Thread rsequeira
This has been discussed quite a few times :-) The solution is to either copy the tool.jar under JAVA_HOME/lib to CATALINA_HOME\common\lib or add it to the classpath. RS "Bernard Landman" <[EMAIL PROTECTED]> on 06/14/2002 03:54:16 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

  1   2   3   4   >