Re: - Error -404 resources not found

2007-08-18 Thread Rashmi Rubdi
On 8/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: But still when I open my browser and type http://localhost:8080/ I get HTTP Status 404 - / The requested resource (/) is not available. What happens if you place an index.jsp file (with some contents ) in C:\TomCat\webapps\ROOT\ ? If

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException : Cannot get a connection, pool error Timeout waiting for idle object

2007-08-12 Thread Rashmi Rubdi
Are you closing the ResultSet, Statement and Connection in a finally block immediately after they're used? -Rashmi On 8/12/07, fusion35 [EMAIL PROTECTED] wrote: context.xml : ?xml version=1.0 encoding=UTF-8? !-- The contents of this file will be loaded for each web application -- Context

Re: naming trouble

2007-06-24 Thread Rashmi Rubdi
On 6/22/07, Lorenzo Cerini [EMAIL PROTECTED] wrote: but my tomcat mismatch the classes, i mean if i recompile the Connessione_dyn belonging to app2 and restart tomcat, even my app1 try to use the app2's Connessione_dyn instead of its own one, thus leading to an error since the pooled connection

Re: How to write this elegantly in JSP/EL

2007-06-22 Thread Rashmi Rubdi
On 6/22/07, Nikola Milutinovic [EMAIL PROTECTED] wrote: Hi all. This is not really TC related, but more JSP and EL question, but I thought I'd ask. I ask JSP, EL and JSTL questions here http://jakarta.apache.org/taglibs/ or http://forum.java.sun.com/forum.jspa?forumID=45

Re: 30 Mb of common jars in each of 5 war files, should i consolidate?

2007-06-08 Thread Rashmi Rubdi
On 6/7/07, rhodebump [EMAIL PROTECTED] wrote: I have 5 war files, each containing the springframework, hibernate jars, tapestry jars, lots of jars so that each war file is 30 megs. I wonder, from a performance/memory perspective would it be better to move these common library jars into the

Re: Tomcat keepalive mysql connection.

2007-06-07 Thread Rashmi Rubdi
On 6/6/07, Jacob Rhoden [EMAIL PROTECTED] wrote: Hi, Under tomcat 5.5, I would prevent the database connections from timing out by having a Cron job that accesses the website every 10 minute. (Because I couldn't work out a better way). How are you connecting to the database? If you are not

Re: Tomcat URL decoding different from Java's URLDecoder?

2007-06-06 Thread Rashmi Rubdi
Shankar, Chris, With reference to your previous posts (From section 3.7.1 of the HTTP/1.1 spec). I tried a small example by not forcing the request's content type, and was able to see the Big5 characters without any problems even when the Request's characterEncoding was null. The code

Re: Tomcat URL decoding different from Java's URLDecoder?

2007-06-05 Thread Rashmi Rubdi
On 6/5/07, Shankar Unni [EMAIL PROTECTED] wrote: (the page was already set to character encoding Big5), the encoded value sent in the URL was rather screwy: The original character is (Big5) 0xAE 0x78. The URL sent by IE said %AEx. (!!) Did you also configure the web.xml properly ? It should

Re: HTTP 500 when using custom error pages in Tomcat 6.0

2007-06-05 Thread Rashmi Rubdi
On 6/5/07, Roger Roger [EMAIL PROTECTED] wrote: Hi there, Recently we upgraded to Tomcat 6.0. Suddenly the custom errorpages don't work anymore. It works, when I try the example you've shown in your first post. A few things you may want to check: 1) errorPage=error.jsp , is error.jsp

Re: I would like a new session each time I start my application

2007-06-02 Thread Rashmi Rubdi
On 6/1/07, Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote: Hi, I have an application that works under tomcat. Each time I run my application I have the same sessionID. Is there a way I guess you mean each time you (re)start Tomcat when you say Each time I run my application... You

Re: Tomcat 6 manager application bug

2007-06-02 Thread Rashmi Rubdi
On 6/2/07, Jacob Rhoden [EMAIL PROTECTED] wrote: I finally upgraded everything to java 6/tomcat 6. Its all nice! There does seem to be a bug in the manager app. The application list comes out formatted strangely. I use Java 6 and Tomcat 6 , the application list looks fine to me in the manager

Re: Tomcat session varibale

2007-06-02 Thread Rashmi Rubdi
On 6/2/07, ibozo [EMAIL PROTECTED] wrote: Thanks again.. Here is my first code that takes two varibles from client to log in, as email adress and password. And puts the email adress into a session variable as: With reference to the code in the previous post, it could be made a lot simpler and

Re: Tomcat session varibale

2007-06-01 Thread Rashmi Rubdi
On 6/1/07, ibozo [EMAIL PROTECTED] wrote: Hello all, I have created a file of servlet pages that publish those pages in Tomcat 6. I have a log in page, programmed by servlet and also another page that activates the application acording to the given parameters by serching webserver. I should

Re: About deploying

2007-06-01 Thread Rashmi Rubdi
On 6/1/07, Trond Kristiansen [EMAIL PROTECTED] wrote: Hello! This is my first post so I hope it ended up at the right place. I have only used tomcat on my laptop Integrated in my Netbeans IDE, but now I've got my fist web host and they use a shared tomcat 4.1 I think. They have given my i

Re: How to load a static class on Tomcat startup

2007-06-01 Thread Rashmi Rubdi
On 6/1/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrea Sacco [mailto:[EMAIL PROTECTED] Subject: How to load a static class on Tomcat startup I want to know how I can configure Tomcat to load my Singleton class on his startup routine? Make the Singleton class implement

Re: Tomcat does not start

2007-05-31 Thread Rashmi Rubdi
I had problems with Windows Service Installer too, I'm not sure if it was my mistake. I don't remember if I forgot to stop and start Tomcat properly, or if the JAVA_HOME was set correctly. So, to solve the problem I uninstalled Tomcat , and got the ZIP archive. With the ZIP archive there

Re: Jasper compiler crashes

2007-05-29 Thread Rashmi Rubdi
On 5/29/07, Berglas, Anthony [EMAIL PROTECTED] wrote: Thanks for that, but I don't see how it will help. If you look below it is the jasper2 that is causing me grief, which is essentially the same as yours. How long does it take to precompile the JSPs. Is it several JSPs per second or

Re: Web application receives request parameters sent to another application on Tomcat 6

2007-05-28 Thread Rashmi Rubdi
On 5/28/07, Dejan Krsmanovic [EMAIL PROTECTED] wrote: We have two applications running on the same Tomcat instance. These two applications are used by completely different people and one of them has much higher traffic than another one. Recently we have upgraded to Tomcat 6.10 and start

Re: Excluding JSP compiler from Tomcat

2007-05-28 Thread Rashmi Rubdi
On 5/28/07, lightbulb432 [EMAIL PROTECTED] wrote: Thanks for your response. For the first of the two options you presented, what exactly happens during the web.xml autogeneration? Will it simply change only the servlet elements but leave everything else as is in my current web.xml, including

Re: subdomain name redirect to different context path

2007-05-27 Thread Rashmi Rubdi
On 5/26/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Subject: Re: subdomain name redirect to different context path I think he wants to redirect or forward all requests from 'forums.mysite.com' to 'www.mysite.com:8080/forums' in that case

Re: Upgrading to Tomcat 6 problems

2007-05-26 Thread Rashmi Rubdi
On 5/25/07, Joe [EMAIL PROTECTED] wrote: Hello, I just upgraded to Tomcat 6.0.13 from 5.5.9 (no particular reason for the upgrade, just keeping up to date). I am running Java 1.6. However, instantly I'm having trouble that I cannot resolve regardless of endless hours of searching for and

Re: subdomain name redirect to different context path

2007-05-26 Thread Rashmi Rubdi
On 5/26/07, Ran [EMAIL PROTECTED] wrote: Hi all, I would like to point 'forums.mysite.com' to 'www.mysite.com:8080/forums' How could I do that with tomcat conf ? or I need to match the requested url in a redirect servlet ? or is it even a DNS zone file question ? You could write a redirect

Re: subdomain name redirect to different context path

2007-05-26 Thread Rashmi Rubdi
On 5/26/07, Pid [EMAIL PROTECTED] wrote: Rashmi Rubdi wrote: On 5/26/07, Ran [EMAIL PROTECTED] wrote: Hi all, I would like to point 'forums.mysite.com' to 'www.mysite.com:8080/forums' How could I do that with tomcat conf ? or I need to match the requested url in a redirect servlet

Re: How-to make default Running status = false

2007-05-25 Thread Rashmi Rubdi
On 5/25/07, Mark H. Wood [EMAIL PROTECTED] wrote: Say your apps are named app1, app2, app3 etc and if you access them as http://localhost:8080/app1 http://localhost:8080/app2 http://localhost:8080/app3 , then you would define the Context for each app under Tomcat's

Re: Excluding JSP compiler from Tomcat

2007-05-25 Thread Rashmi Rubdi
On 5/25/07, lightbulb432 [EMAIL PROTECTED] wrote: The JSP spec says that if you precompile JSPs you can reduce the JSP container footprint by excluding the JSP compiler. How can this be done in Tomcat? I know of 2 ways to pre-compile JSPs 1)

Re: How-to make default Running status = false

2007-05-24 Thread Rashmi Rubdi
On 5/23/07, Roger Tismeer [EMAIL PROTECTED] wrote: It takes about 4 minutes or so to (re)start Tomcat granted I have 30 webapps loaded, but isn't there a switch somewhere that I can toggle to not auto-start any non-Tomcat webapps? I was in a similar situation as you've mentioned above. I

Re: Tomcat admin,Manager app setup

2007-05-23 Thread Rashmi Rubdi
Thanks Chuck and Venkat, I wasn't aware it wasn't compatible, and there wasn't a way to know unless I tried it. But next time, this question arises, I'll remember. It would be helpful to see something about the Admin app on this page: http://tomcat.apache.org/download-60.cgi for example:

Re: Tomcat admin,Manager app setup

2007-05-22 Thread Rashmi Rubdi
On 5/22/07, Raja [EMAIL PROTECTED] wrote: Hi , We are trying to setup multiple instanace of tomcat running on the same server. we can able to do it successfully. We need to run the Manager,Admin applications also on each instance. Version Details : Tomcat 6.0.10 JDK Version : 1.5.09 1

Re: Tomcat-Question: Inefficient searching for jsp-files?

2007-05-21 Thread Rashmi Rubdi
On 5/21/07, Thomas Hoffmann (Speed4Trade) [EMAIL PROTECTED] wrote: Hello, i am using Tomcat 5.5.23. When i request a simple jsp-file my file-monitor shows me, that tomcat is searching from root. This is a problem for website with a lot of traffic. A screenshot is attached to this mail. All

Re: Configure php 5.2.2. on tomcat 6.0

2007-05-21 Thread Rashmi Rubdi
On 5/21/07, Pierluigi Fabbris [EMAIL PROTECTED] wrote: Hi I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? As far as I know, Tomcat does not directly support PHP. Try http://httpd.apache.org/

Re: Configure php 5.2.2. on tomcat 6.0

2007-05-21 Thread Rashmi Rubdi
Sorry p I didn't see your reply before hitting the Send button. -Rashmi On 5/21/07, Pid [EMAIL PROTECTED] wrote: Pierluigi Fabbris wrote: Hi I use saxon b, java and php how can I configure the last one? In Tomcat 5 and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too? Hoping

Re: transaction manager cannot load in Tomcat 6

2007-05-21 Thread Rashmi Rubdi
On 5/21/07, tmo256 [EMAIL PROTECTED] wrote: Thanks so much for trying to help, though. Any further suggestions would be welcome. Sorry I couldn't be of help here, the only other thing I can think of is that the CLASSPATH may be partially correct or incorrect. It is better to not set the

Re: Problem using Tomcat 6.x under windows 64-bit

2007-05-20 Thread Rashmi Rubdi
On 5/20/07, Lluis Gifre [EMAIL PROTECTED] wrote: Hi, I'm trying to install Tomcat 6.x in a Windows XP x64 system. I need to know if there is any problem with the 64-bit systems and tomcat... The only problem I've faced is with the Windows Installer (I don't remember exactly what the

Re: Prevent unwanted requests

2007-05-19 Thread Rashmi Rubdi
I agree, there's no need to place .java files, the .class files under /WEB-INF/ are sufficient. Unless you're writing an Applet, which has to exist outside /WEB-INF/ , all other classes are protected from browser/ client access when they're under /WEB-INF/ -Rashmi On 5/19/07, Pid [EMAIL

Re: javax.servlet.ServletException: Java heap space

2007-05-19 Thread Rashmi Rubdi
On 5/18/07, Aurélien Allienne [EMAIL PROTECTED] wrote: Hi, I have this error : javax.servlet.ServletException: Java heap space But I can find how I can change this in catalina.sh. Can you have the solution? Here are some memory configuration information:

Re: javax.servlet.ServletException: Java heap space

2007-05-19 Thread Rashmi Rubdi
On 5/19/07, Aurélien Allienne [EMAIL PROTECTED] wrote: Thank, but tomcat use 64Mb by default. I can do change this parameter? Example: JAVA_OPTS=-server -Xms128m -Xmx384m catalina.sh (Unix/Linux) or catalina.bat (MS Windows) Additional documents:

Re: Missing ETag in 304 Header

2007-05-19 Thread Rashmi Rubdi
On 5/16/07, Joe Mun [EMAIL PROTECTED] wrote: Hi guys... so according to the HTTP 1.1 spec ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html), 304 Not Modified responses must include the ETag in the header. Well, according to RFC 2616's section 10.3.5 on 304 Not Modified - ETag and/or

Re: Missing ETag in 304 Header

2007-05-19 Thread Rashmi Rubdi
I might be wrong but I have a few doubts On 5/19/07, Len Popp [EMAIL PROTECTED] wrote: I think you've got that wrong. 1. Spec says: The response MUST include the following header fields: ... - ETag and/or Content-Location, if the header would have been sent in a 200 response to the same

Re: Missing ETag in 304 Header

2007-05-19 Thread Rashmi Rubdi
On 5/19/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: 1. Spec says: The response MUST include the following header fields: ... - ETag and/or Content-Location, if the header would have been sent in a 200 response to the same request Just to test this, I created a JSP and put a jsp:froward tag

Re: Missing ETag in 304 Header

2007-05-19 Thread Rashmi Rubdi
On 5/19/07, Christopher Schultz [EMAIL PROTECTED] wrote: Rashmi, Rashmi Rubdi wrote: 1. Spec says: The response MUST include the following header fields: ... - ETag and/or Content-Location, if the header would have been sent in a 200 response to the same request By *same request* , I

Re: Missing ETag in 304 Header

2007-05-19 Thread Rashmi Rubdi
On 5/19/07, Christopher Schultz [EMAIL PROTECTED] wrote: Rashmi, Rashmi Rubdi wrote: Thank you both for clarifying, I understand what you're saying. [snip] And the definition of ETag : http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19 mentions entity-tag , which is also

Re: transaction manager cannot load in Tomcat 6

2007-05-19 Thread Rashmi Rubdi
On 5/17/07, Molina, Teresa [EMAIL PROTECTED] wrote: I've been trying to use Tomcat 6 (with Java 6) on FC6, but I cannot seem to get the third-party transaction manager integrated as in previous versions. I have configured everything just as in Tomcat 5.5, but there seems to be a change in the

Re: transaction manager cannot load in Tomcat 6

2007-05-19 Thread Rashmi Rubdi
On 5/19/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: This is what's configured as a global resource in server.xml: Resource name=AdminCop min=1 max=1 auth=Container type=javax.sql.DataSource

Re: Missing ETag in 304 Header

2007-05-17 Thread Rashmi Rubdi
On 5/16/07, Joe Mun [EMAIL PROTECTED] wrote: Hi guys... so according to the HTTP 1.1 spec ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html), 304 Not Modified responses must include the ETag in the header. However, Tomcat doesn't seem to be adding it... I am serving a static text file,

Re: I've been trying to unsubscribe from this list for years.

2007-05-17 Thread Rashmi Rubdi
When you send an email to [EMAIL PROTECTED] add the word Unsubscribe to the email's subject and body, that worked for me when I was trying to switch my e-mails. I think it sends you an additional e-mail to confirm unsubscription, reply to that one as well. Then you should receive a final email

Re: Tomcat 6 trimDirectiveWhitespaces

2007-05-14 Thread Rashmi Rubdi
You're welcome. It may be a good idea to file a bug, because Tomcat 6.0.10 supports JSP 2.1 and trimDirectiveWhitespaces is a new feature in JSP 2.1 , it is supposed to work. I've personally tried Ant's RegEx to compress the white spaces in HTML, JS and other files, I've also heard that it is

Re: Run Xalan on Tomcat

2007-05-14 Thread Rashmi Rubdi
On 5/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: Rashmi Rubdi wrote: One way to use Xalan is with JSTL XML tags inside a JSP. A much better way is to use Cocoon (http://cocoon.apache.org). I've not tried Cocoon yet, so I really cant compare JSTL XML tags with Cocoon but I know

Re: Oracle JDBC connection Tomcat 5.5

2007-05-13 Thread Rashmi Rubdi
On 5/12/07, Zdeněk Vráblík [EMAIL PROTECTED] wrote: Hi Rashmi, thans for reply. Configuration that is described in link you sent me works fine. Problem is when I change the datasource factory to Oracle datasource factory. Than is not possible to find this datasource through JNDI lookup and

Re: Run Xalan on Tomcat

2007-05-13 Thread Rashmi Rubdi
On 5/13/07, domenico di leo [EMAIL PROTECTED] wrote: Hi How can I run Xalan on Tomcat? Configure it as you would configure other plug-ins. That is, place xalan.jar (and dependent JAR files such as serializer.jar) either in 1) your projects /WEB-INF/lib folder or in Tomcat's shared folder

Re: Oracle JDBC connection Tomcat 5.5

2007-05-12 Thread Rashmi Rubdi
On 5/11/07, Zdeněk Vráblík [EMAIL PROTECTED] wrote: Hi all, I am configuring jdbc datasources on Tomcat 5.5.23. I followed this document to configure orcle database with Tomcat http://www.microdeveloper.com/html/JNDI_Orcl_Tomcat1p.html Sorry I didn't go through the instructions in the above

Re: Tomcat 6 trimDirectiveWhitespaces

2007-05-11 Thread Rashmi Rubdi
On 5/11/07, Milanez, Marcus [EMAIL PROTECTED] wrote: Hi, Do I need something else besides declaring %@ page trimDirectiveWhitespaces=false % to have my page's white spaces trimmed? This directive doesn't seem to work at all... You are right it doesn't seem to work on Tomcat 6.0.10, well I

Re: Tomcat 6.0.9 not recognizing deletion of Applet class

2007-05-10 Thread Rashmi Rubdi
On 5/10/07, Daniel Gresh [EMAIL PROTECTED] wrote: Here is the JSP page code, if it helps: The problem may be because you're using applet tag within XHTML strict. The applet tag is not supported in XHTML 1.1 (and was depricated in HTML 4.01), you are encouraged to upgrade to the object tag or

Re: Exception processing Global JNDI Resources - on FC6Tomcat5.5.17

2007-05-10 Thread Rashmi Rubdi
On 5/10/07, Tim Alberts [EMAIL PROTECTED] wrote: I'm running FC6 with Tomcat 5.5.17 (standard rpm packages from the FC6 distribution). The default rpm packages seem to have some problem, they seem to depend on each other and often stall Linux. It's best to install Linux Fedora minus the RPMs

Re: How to configure Tomcat response timeout?

2007-05-09 Thread Rashmi Rubdi
On 5/9/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: I agree, from my experience IE times out when the connection is taking too long to send a response back, I haven't experienced a timeout with FF. You may want to consider a paging algorithm, if your data set is too large, it is not good practice

Re: nullpointerexception with standard manager

2007-05-09 Thread Rashmi Rubdi
On 5/9/07, mélanie langlois [EMAIL PROTECTED] wrote: Hi, Thank you for your explanation. Actually, we don't need this feature in our application, so i want to disable the persistence of session. To disable the persistence of session add this Manager

Re: jsp:include no longer working in 5.5.23

2007-05-07 Thread Rashmi Rubdi
On 5/7/07, Scott Dunbar [EMAIL PROTECTED] wrote: I've been using the same code for years since the Tomcat 3.x days and an upgrade to 5.5.23 has now broken my site. I would safely assume there have been significant changes between 3.x and 5.5.23, if I were you I would start fresh, also the

Re: Tomcat5 on Mac OS X, problem with book or installation?

2007-05-05 Thread Rashmi Rubdi
On 5/5/07, Kevin O'Mara [EMAIL PROTECTED] wrote: I am using tomcat5 5.5.20, Revision 3, java/tomcat5 from MacPorts. I am following the instructions for the Addison Wesley book: Servlets and JavaServer Pages: The J2EE Web Tier from the first chapter. The first chapter may be found here:

Re: Cannot stop/start application using manager

2007-05-05 Thread Rashmi Rubdi
On 5/6/07, Jerome Benezech [EMAIL PROTECTED] wrote: Hi All, I have an application (cocoon) running under Tomcat 5.5 on the server of my hosting provider. Hi Jerome, Did you also check with the hosting provider? I can't see any error in catalina logs. So am kind of stuck at that point.

Re: Tomcat deployment question

2007-05-04 Thread Rashmi Rubdi
Hi Lakshmi, I just wanted to let you know that in the most recent post on this thread, your problem was solved (even though I didn't give a complete answer) but after my post Chuck made some very good points which I didn't mention in my post. I hope you took a note of them. Especially this one:

Re: starting Tomcat from Java

2007-05-04 Thread Rashmi Rubdi
On 5/4/07, Paul Singleton [EMAIL PROTECTED] wrote: I (sometimes) want to start Tomcat (5.5 onwards) from Java, but I am not embedding: I just need to get the same effect as running bin/startup.bat but getting Tomcat to run in an existing JVM (so I can debug some other stuff). I am considering

Re: How to access application in the root?

2007-05-03 Thread Rashmi Rubdi
Hi Ashok, On 5/3/07, Ashok Sahu [EMAIL PROTECTED] wrote: Hi All, I am migrating my J2EE application from JRun to Tomcat 5.0.28. I deployed successfully the 'myAppname.war' file in Tomcat. Now here is my problem: In the JRun, we were calling the jsp or servlet without giving the application

Re: War with timestamp not using META-INF/context.xml path

2007-05-03 Thread Rashmi Rubdi
On 5/3/07, Garner, Shawn [EMAIL PROTECTED] wrote: We don't use a deployment script. Not sure if we could, it's all secured and isolated. Without the timestamp and the environment in the war name somebody could deploy a war to the wrong environment or an old war. Sounds to me like if it is

Re: shutdown restart

2007-05-02 Thread Rashmi Rubdi
Also, if the OS is Unix/Linux based, you most likely should grant execute permissions for startup.sh and shutdown.sh - before trying to execute them the first time. -Regards Rashmi - To start a new topic, e-mail:

Re: shutdown restart

2007-05-02 Thread Rashmi Rubdi
You probably might have locate the files, but just in case not the startup.sh and shutdown.sh shell script files are under Tomcat's bin folder. -Regards Rashmi On 5/2/07, William Biggs [EMAIL PROTECTED] wrote: I runing linux where is the file at ?

Re: Log files always locked

2007-05-02 Thread Rashmi Rubdi
I'm able to open Tomcat log files with Notepad, while Tomcat is running. I guess the lock happens when Tomcat is writing to the log file, and the file is being opened simultaneously. I think you're using the Windows Installer and I've installed mine from the zip file. I don't know if it makes a

Re: How to share static content across multiple tomcat webapps

2007-05-01 Thread Rashmi Rubdi
Hi Martin, On 5/1/07, Martin Jones [EMAIL PROTECTED] wrote: Thanks for the reply. After mulling this over, I've thought of another way to do it (apologies if I'm not using the correct terminology here). Have the static content in a single directory on my development machine, then use my Ant

Re: Redirecting URL request to Tomcat to folder containing Cruise Control

2007-05-01 Thread Rashmi Rubdi
Hi Robert, On 4/30/07, Robert Segal [EMAIL PROTECTED] wrote: I have Cruise Control setup to run my machine and am able to access it through Tomcat using... http://localhost:8080/cruisecontrol/ I would like to be able to access this same URL using the format...

Re: Redirecting URL request to Tomcat to folder containing Cruise Control

2007-05-01 Thread Rashmi Rubdi
However, from the subject of your e-mail it appears that you want to do a Redirect from http://localhost:8080/standard/ to http://localhost:8080/cruisecontrol/ which is easy to accomplish. within a JSP Scriptlet: %response.sendRedirect(/cruisecontrol/); % with JSP/JSTL c:redirect tag within a

Re: JAR file not finding external properties files

2007-05-01 Thread Rashmi Rubdi
Hi Mike, On 5/1/07, Mike Peremsky [EMAIL PROTECTED] wrote: What do I need to do to get the class in the jar file to find the properties files external to it? To access a properties file that is external to the JAR file , add the full path of the Properties file's folder to the CLASSPATH.

Re: Apache Windows Installer doesn't work

2007-05-01 Thread Rashmi Rubdi
Hi Fabio, On 5/1/07, Fabio Daitx [EMAIL PROTECTED] wrote: I am trying to install apache-tomcat-5.5.23.exe or apache-tomcat-6.0.10.exe and it just blocks in the installation step: In case you already know there's also a ZIP installation available. With the ZIP installer, there's no

Re: JAR file not finding external properties files

2007-05-01 Thread Rashmi Rubdi
Hi David, On 5/1/07, David Smith [EMAIL PROTECTED] wrote: Mike, I see your issue is solved. For the sake of the archives I feel the need to respond to the suggestion of modifying the classpath. Please DO NOT modify the classpath. Best practice is to work with the existing classloader

Re: Manager vs host-manager

2007-05-01 Thread Rashmi Rubdi
On 5/1/07, gb1071nx [EMAIL PROTECTED] wrote: I've found in the $CATALINA_HOME/server/webapps directory these two apps: manager (know what this is) host-manager (don't know what this is) After some searching in Tomcat's docs, I couldn't find documentation on Host Manager, but here are a few

Re: JAR file not finding external properties files

2007-05-01 Thread Rashmi Rubdi
On 5/1/07, David Smith [EMAIL PROTECTED] wrote: I agree there may be an exceptionally rare occasion where modifying classpath might be necessary. But such advice should be reserved for expert use only and only if they fully understand the consequences. Yup, had I known earlier when Mike made

Re: shutdown restart

2007-05-01 Thread Rashmi Rubdi
Depends on your Operating System and how you installed it on that OS. Windows ZIP --- startup.bat and shutdown.bat Unix/Linux--- startup.sh and shutdown.sh Windows Service Installer I don't know , I guess from Administrative Console --- Services or simply right click on the

Re: Context started twice

2007-04-30 Thread Rashmi Rubdi
On 4/30/07, sc [EMAIL PROTECTED] wrote: As you suggested, I started from scratch. I downloaded tomcat 6 from apache.org. changed $catalina_home to point to the new directory. Under $catalina_home/webapps, I created a new folder, which only has one servlet TestServlet Do a global search on

Re: Context started twice

2007-04-30 Thread Rashmi Rubdi
/30/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: On 4/30/07, sc [EMAIL PROTECTED] wrote: As you suggested, I started from scratch. I downloaded tomcat 6 from apache.org. changed $catalina_home to point to the new directory. Under $catalina_home/webapps, I created a new folder, which only has one

Re: How to share static content across multiple tomcat webapps

2007-04-30 Thread Rashmi Rubdi
Hi Martin, On 4/30/07, Martin Jones [EMAIL PROTECTED] wrote: Hi, This seems like an obvious question but I'd appreciate any answers. I have several webapps running under tomcat that need to be able to include the same sidebar in their .jps. if the sidebar is within the context, this works

Re: session time out

2007-04-30 Thread Rashmi Rubdi
On 4/30/07, Tomcat [EMAIL PROTECTED] wrote: Hello Does application WEB-INF/web.xml override default conf/web.xml setting? specifically session time out , but want to know if other setting is overriden. Specifically the session time out in /WEB-INF/web.xml overrides /conf/web.xml Don't know

Re: Server redirected too many times (20)

2007-04-30 Thread Rashmi Rubdi
Hi John, On 4/30/07, John Pedersen [EMAIL PROTECTED] wrote: Hi, I can't understand why Tomcat gives me this error message when I try to reload my app: Server redirected too many times (20) Is my app getting too big ( 400 files) ? The conversation on this

Re: Session timeout

2007-04-30 Thread Rashmi Rubdi
On 4/30/07, orn amental [EMAIL PROTECTED] wrote: How do I limit the amount of messages I receive? Please create a new thread instead of hijacking this one I'd like to be able to turn on and off the reception of messages of the mailing list without having to unsubscribe. Unfortunately the

Re: Access logging, multiple web applications, single virtual host

2007-04-30 Thread Rashmi Rubdi
Hi Monica, We are unable to see your message, instead we see a set of pipes | It could be that your e-mail client is using Rich Text , please change it to Plain Text and try again. -Regards Rashmi On 4/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Re: setup

2007-04-30 Thread Rashmi Rubdi
Hi William, On 4/30/07, William Biggs [EMAIL PROTECTED] wrote: I just installed tomat 5.5 on my Fedora http://www.fedoraproject.org/ 5 box it is up and running . I would like to know how to add a user for the admin page ? Under Tomcat's folder /conf/tomcat-users.xml is where the users are

Re: Context started twice

2007-04-30 Thread Rashmi Rubdi
On 4/30/07, sc [EMAIL PROTECTED] wrote: All my mistake. I apologize for my stupidity. It turns out it wasn't invoked twice. It just prints twice. I had the following in log4j.properties. log4j.rootLogger=ERROR, TRIP log4j.logger.org.hibernate=WARN, TRIP log4j.logger.net.sf.hibernate=INFO, TRIP

Re: setup

2007-04-30 Thread Rashmi Rubdi
Hi Chuck, On 5/1/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Subject: Re: setup and aloso I would like to know where the webapps/ROOT/index.jsp is ? By default, it is under Tomcat's webapps/ROOT/ folder , in my instance of Tomcat

Re: Context started twice

2007-04-29 Thread Rashmi Rubdi
On 4/29/07, sc [EMAIL PROTECTED] wrote: There was a thread on this http://www.nabble.com/Context-starts-twice-t1351694.html;. But my configuration is a bit different. this is my configuration: server.xml doesn't have context definition. Seems to me that the Context is defined in 2 places

Re: Context started twice

2007-04-29 Thread Rashmi Rubdi
Please ignore my previous post. Sorry, when you mentioned context.xml I was thinking of the one located under the project's META-INF folder. Chuck is right, there's no need to move the contents of the conf/context.xml file anywhere. Whenever configuration gets messed up (happens very rarely),

Re: Keep session alive

2007-04-28 Thread Rashmi Rubdi
On 4/28/07, lightbulb432 [EMAIL PROTECTED] wrote: Is it possible for a Tomcat session keep the session alive for a certain period of time (say, 2 hours), The session timeout interval is adjustable, see session-config under conf/web.xml Max inactive interval can also be specified in

Re: Keep session alive

2007-04-28 Thread Rashmi Rubdi
On 4/28/07, lightbulb432 [EMAIL PROTECTED] wrote: What would the cookie store? A Cookie stores name, value pairs just like the Session. So you can store anything in a Cookie. But I think it may be a security concern to store the password in a Cookie. Username and password, just username,

Re: unexpected session behavior in Tomcat 5.x

2007-04-28 Thread Rashmi Rubdi
On 4/28/07, David [EMAIL PROTECTED] wrote: I'm hoping someone can shed light on some session anomalies I'm seeing with Tomcat 5.0.2.8 and Tomcat 5.5.23. I have a web application containing FacesServlet ( javax.faces.webapp.FacesServlet) as well as some additional servlets that also make use of

Re: unexpected session behavior in Tomcat 5.x

2007-04-28 Thread Rashmi Rubdi
On 4/28/07, David [EMAIL PROTECTED] wrote: Rashmi, Thanks for your initial response. I guess I wasn't clear on a few things. The behavior I'm seeing is the same in both Tomcat 5.0 and 5.5, and they are both configured the same -- using default behavior for cookies. Sorry for repeating this,

Re: how to reload WEB-INF dir?

2007-04-28 Thread Rashmi Rubdi
On 4/28/07, Josh Joy [EMAIL PROTECTED] wrote: Thanks for the info. For my application, I am using Tapestry which uses html templates which I was having trouble to be reloaded by tomcat. I don't know Tapestry, but when I write a normal JSP or HTML file, all I have to do is press the browsers

Re: unexpected session behavior in Tomcat 5.x

2007-04-28 Thread Rashmi Rubdi
On 4/28/07, David [EMAIL PROTECTED] wrote: I've tried forcing the url rewriting behavior by deploying the following snippet in a context.xml file in my webapp's META-INF directory. Context path=/mywebapp debug=10 cookies=false !-- Default set of monitored resources --

Re: unexpected session behavior in Tomcat 5.x

2007-04-28 Thread Rashmi Rubdi
The above test was conducted on the Tomcat version I have which is not 5.0. If you check your code throughly and the problem still occurs in 5.0, you may want to file a bug --- only if you're sure it's a bug --- otherwise it will not be resolved , if it's not a bug :-) -Regards Rashmi

Re: HTTP compression

2007-04-27 Thread Rashmi Rubdi
On 4/27/07, Rajiv M [EMAIL PROTECTED] wrote: Is there a testcase/sample app where I can see the difference of enabling/disabling HTTP compression. DIY :-) -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Defining data-sources in tomcat

2007-04-27 Thread Rashmi Rubdi
On 4/27/07, albrecht andrzejewski [EMAIL PROTECTED] wrote: 3) In my servlet init(), I lookup the data-source. Each lookup essentially instantiates an instance of the data-source. So a connection pool gets instantiated in each servlet's init. Now it doesn't make sense to create a new

Re: how to reload WEB-INF dir?

2007-04-27 Thread Rashmi Rubdi
On 4/27/07, Josh Joy [EMAIL PROTECTED] wrote: Hi, There is a reloadable attribute that I can set to true Yes there is, see http://tomcat.apache.org/tomcat-6.0-doc/config/context.html to reload if it detects a change in |/WEB-INF/classes/| and |/WEB-INF/lib. My question is, how can I reload

Re: Defining data-sources in tomcat

2007-04-27 Thread Rashmi Rubdi
On 4/27/07, Srinivas V. [EMAIL PROTECTED] wrote: Hello all I have a question about defining data-sources in tomcat. I have a webapp in which my servlets need to talk to a DB. This is my current setup: 1) I define data-sources (c3p0 connection pools) using the Resource tag in my

Re: how to reload WEB-INF dir?

2007-04-27 Thread Rashmi Rubdi
On 4/27/07, Josh Joy [EMAIL PROTECTED] wrote: Hi Rashmi, I'm confused...so in tomcat 6.0 it reloads if it detects a change at the root /WEB-INF rather than solely /WEB-INF/classes or /WEB-INF/lib ? Hi Josh, reloadable is an attributed on the Context node of your web application. The basic

Re: Defining data-sources in tomcat

2007-04-27 Thread Rashmi Rubdi
On 4/27/07, Srinivas V. [EMAIL PROTECTED] wrote: Thanks for all the responses on this. The basic doubt I had was whether the JNDI lookup would create a new data-source on each lookup or just return the previously created one. A number of you had said that the latter was true. The reason I wasn't

Re: Defining data-sources in tomcat

2007-04-27 Thread Rashmi Rubdi
On 4/27/07, David Smith [EMAIL PROTECTED] wrote: But the code you posted does not create a new DataSource object. It just gets a reference to an existing one stored in JNDI. Nothing new about the DataSource object. Note the lack of a new operator. Good post, thank you for pointing this.

  1   2   3   4   >