Re: Hql error throws when the application specific jar name with starting a capital letter

2007-12-17 Thread Kanchana Welagedara
I'm on Windows.Absolutely.That why I was wondering..Any other suggestion in this Richard ?Really appreciate if you can share anything you know On Dec 17, 2007 12:54 AM, Richard G. Reyes [EMAIL PROTECTED] wrote: Hi Kanchana, If you are deploying in a unix environment, I guess it might be

Simple Howto: Follow up

2007-12-17 Thread Abel MacAdam
Hi, I saw a mail requesting simple instructions on gettting Tomcat and Apache working together. The answer is printed out and ready to be processed. But I have some follow ups on that mail: - Why should one connect Tomcat to Apache? - Should you connect Tomcat 6.0.14 to Apache 2.2.6? (Or is that

Re: super happy build time: package org.eclipse.jdt.core.compiler org.eclipse.jdt.internal.compiler does not exist

2007-12-17 Thread Nikola Milutinovic
someone refresh me why CLASSPATH=/usr/share/java is inadequate, and CLASSPATH=/usr/share/java/ecj.jar is required? CLASSPATH is a list of resource locations where JVM can search for Java classes and other resources. A resource can be either a directory or a JAR, which is just a ZIP of the

Re: super happy build time: package org.eclipse.jdt.core.compiler org.eclipse.jdt.internal.compiler does not exist

2007-12-17 Thread Mary Joseph
For jar files, the jar file name needs to be mentioned. Only for class files residing in the folder, mentioning the folder name would be sufficient have a look at: http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html Mary Nikola Milutinovic [EMAIL PROTECTED] 12/17/07 2:26

Re: need help for CVE-2007-1355

2007-12-17 Thread Mary Joseph
Looks like it is fixed. http://tomcat.apache.org/security-4.html Better confirm though.. Mary li.weijie [EMAIL PROTECTED] 12/17/07 2:47 PM HI, I'm a user of tomcat4.1.24. I knew that the version with the vulnerability problem of CVE-2007-1355 . But I don't know how to fix it. I want

Re: Simple Howto: Follow up

2007-12-17 Thread Mary Joseph
http://wiki.apache.org/tomcat/FAQ/Connectors - this would answer your first question http://mrtextminer.wordpress.com/2007/09/11/installation-of-apache-224-and-tomcat-6014-on-debian-etch/ - explains how to do the same in linux. Mary Abel MacAdam [EMAIL PROTECTED] 12/17/07 2:05 PM Hi,

htdocs

2007-12-17 Thread Richard Dunne
Regarding the various releases of tomcat, in order to dislpay files on localhost, it was my understanding that all files needed to be hosted in the htdocs directory. Seemingly, not all releases of Tomcat have this directory. Can someone point out the best or a common location suitable for

Re: need help for CVE-2007-1355

2007-12-17 Thread Konstantin Kolinko
Please note that it is fixed in the sources (aka SVN) only, but not in any released version. The fix was committed on May 19th in revision http://svn.apache.org/viewvc?view=revrevision=539759 4.1.36 released in April does not contain the fix. 2007/12/17, Mary Joseph [EMAIL PROTECTED]: Looks

Session Management between instances

2007-12-17 Thread Sebastian Göttschkes
Hello, I'm getting confused about Tomcat Session Management. I would like to tell Tomcat to delete all session context on restart. Actually when I restart the Server Tomcat is storing the session (I don't know where) and restoring them on startup. I have to login again when trying to access

回复: Re: need help for CVE-2007-1355

2007-12-17 Thread li.weijie
THANK YOU ALL - 天生购物狂,狂抢购物券,你还等什么!

RE: Session Management between instances

2007-12-17 Thread Caldarale, Charles R
From: Sebastian Göttschkes [mailto:[EMAIL PROTECTED] Subject: Session Management between instances So, all I need is to tell Tomcat to forget every session when restarting. You didn't bother to tell us what version of Tomcat you're using, but if it's a reasonably recent one, look in

AW: Session Management between instances

2007-12-17 Thread Sebastian Göttschkes
Hi, -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Gesendet: Montag, 17. Dezember 2007 14:51 An: Tomcat Users List Betreff: RE: Session Management between instances From: Sebastian Göttschkes [mailto:[EMAIL PROTECTED] Subject: Session

Re: Project Deployment Questions

2007-12-17 Thread Len Popp
There are a couple of ways to handle this. 1. Replicate the uploaded images to all the Tomcat servers. This isn't hard if the image directories can be shared on the server LAN. Not much more complicated than what you're doing now. 2. All Tomcats save the uploaded images in a single location that

Re: htdocs

2007-12-17 Thread Len Popp
No, htdocs is not used by Tomcat. It's for the Apache web server (a.k.a. httpd or apache.exe). For Tomcat, put files in one of the directories under webapps (webapps/ROOT is the catch-all for files that aren't part of a specific web application). But this has nothing to do with whether or not

Tomcat 6.0.13 Expire sessions via manager webapp

2007-12-17 Thread ben short
Hi, Does the 'Expire Sessions' button on the manager webapp work as everytime I click it I just get shown a list of session counts as shown below.. OK - Session information for application at context path / Default maximum session inactive interval 30 minutes 1 minutes:157 sessions 1 - 2

Re: Hql error throws when the application specific jar name with starting a capital letter

2007-12-17 Thread Konstantin Kolinko
I am not sure, but it MAY be that a jar is being loaded twice: a) directly, as any other jar located in WEB-INF/lib b) indirectly, if it is mentioned in Class-Path directive of the manifest file of some other jar. If the name mentioned in manifest file differs from the actual name of the jar, I

Trying to Map a web application to / in tomcat 5.5

2007-12-17 Thread Aakriti
Hi, We are trying to Map the URl of our tomcat instance such that the webapp appadmin maps to / The tomcat version being used is tomcat 5.5.17 We are trying to do this by specifying the following in server.xml Service name=Catalina Connector port=6293 / !-- This is here for

Error Tomcat NullPointer restart

2007-12-17 Thread Net
I have developed an application in Tomcat55 and JSF, everything goes well when I start for the first time Tomcat, the problem comes when a new update on unemployment Tomcat, I introduce a new war in the webapp and restarted the tomcat, reload does well but when I ask the web, I get this

Re: User roles

2007-12-17 Thread Konstantin Kolinko
When stop command is invoked on tomcat (catalina), the value of the shutdown password is being read by catalina from the same server.xml file. So, it just has to be some random string. It is not mentioned anywhere in the scripts files. Of course, tomcat instance must be stopped while you change

RE: Trying to Map a web application to / in tomcat 5.5

2007-12-17 Thread Caldarale, Charles R
From: Aakriti [mailto:[EMAIL PROTECTED] Subject: Trying to Map a web application to / in tomcat 5.5 The same use to work in Tomcat 3.2. We are in the process of migrating to tomcat 5.5. Then read the doc for 5.5, and don't try set up server.xml like you did before:

Re: Trying to Map a web application to / in tomcat 5.5

2007-12-17 Thread Martin Gainty
If you are front-ending with Apache you can use RewriteRule http://mail-archives.apache.org/mod_mbox/tomcat-users/200608.mbox/%3Cecdskn$ [EMAIL PROTECTED] Have you considered deploying your application as root.war? http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Does this help?

Tomcat in conflict with Virtual Host directive in Apache?

2007-12-17 Thread Ljuba Veselinova
Hi, I have finally gotten Tomcat 5.5.17 to work as a windows service on a windows xp machine; it communicates with Apache 2.0.58 but only if if the ServerName in mod_jk.conf, httpd.conf and in workers.properties is the same as the computer name listed in system properties. Morever, Tomcat appears

Beginner question

2007-12-17 Thread Filipe David Manana
Hi, 2 questions: 1) Is Tomcat reliable for a production environment, where client requests can be in the order of a few thousands per hour? 2) I've red the documentation and I was not able to do the following: I created a struts 2 app and I want to access it through http://myhost:8080/ . By

Re: Trying to Map a web application to / in tomcat 5.5

2007-12-17 Thread Stephen Souness
Martin Gainty wrote: If you are front-ending with Apache you can use RewriteRule http://mail-archives.apache.org/mod_mbox/tomcat-users/200608.mbox/%3Cecdskn$ [EMAIL PROTECTED] Have you considered deploying your application as root.war? NB: ROOT.war is the filename that Tomcat looks for as the

Node limit to tomcat cluster

2007-12-17 Thread Chad Kellerman
Tomcat Users, As far as horizontal scaling, is there an upper limit on the number of nodes for a tomcat cluster? I haven't seen anything in any of the documentation. I was just wondering how many nodes have people been running in a cluster? Thanks, Chad

Re: Beginner question

2007-12-17 Thread Mark Thomas
Filipe David Manana wrote: 1) Is Tomcat reliable for a production environment, where client requests can be in the order of a few thousands per hour? Easily. 2) I've red the documentation and I was not able to do the following: I created a struts 2 app and I want to access it through

RE: Beginner question

2007-12-17 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Filipe David Manana Subject: Beginner question 1) Is Tomcat reliable for a production environment, where client requests can be in the order of a few thousands per hour? Yes. 2) I've red the documentation and I was not able

Re: Beginner question

2007-12-17 Thread Dan Keeley
Filipe David Manana wrote: 1) Is Tomcat reliable for a production environment, where client requests can be in the order of a few thousands per hour? Easily. Is it fair to say that with load balancing through apache or similar, if you spread out your app servers you can go up virtually any

Re: Project Deployment Questions

2007-12-17 Thread Richard Reyes
Hi Len, Please see inline... Len Popp wrote: There are a couple of ways to handle this. 1. Replicate the uploaded images to all the Tomcat servers. This isn't hard if the image directories can be shared on the server LAN. Not much more complicated than what you're doing now. Like a cron

Re: Beginner question

2007-12-17 Thread Filipe David Manana
Ok many thanks. As I told, I am just a beginner, and pondering to use Tomcat 5.5 in a big environment (at CERN). On Dec 17, 2007 8:50 PM, Dan Keeley [EMAIL PROTECTED] wrote: Filipe David Manana wrote: 1) Is Tomcat reliable for a production environment, where client requests can be in the

how to distinguish between managers when running multiple instances

2007-12-17 Thread morlino
I'm sorry if this has been covered before, I tried searching but didn't find anything relevant. I'm running 4 instances of tomcat, each sharing a common CATALINA_HOME but with a separate CATALINA_BASE. I created a CATALINA_BASE/conf/Catalina/localhost/manager.xml file for each instance that

RE: Beginner question

2007-12-17 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Filipe David Manana Subject: Re: Beginner question As I told, I am just a beginner, and pondering to use Tomcat 5.5 in a big environment (at CERN). Then why not use 6.0? It has several improvements over 5.5, including

Re: how to distinguish between managers when running multiple instances

2007-12-17 Thread Mark Thomas
morlino wrote: Now I am able to access the 4 managers via 4 different http connectors. However, without looking at the port number in the browser location, or knowing which applications are deployed under which instance it is very difficult to distinguish which manager is which. Is there

Re: Beginner question

2007-12-17 Thread Filipe David Manana
Unfortunately it's not that simple. CERN has its own linux distribution - Scientific Linux CERN (SLC) based on the Scientific Linux. The latest release is based on SL4 which is pretty old, so most packages are 1, 2 or more years old. Adding new packages to the distro is a task handled by the

Re: Beginner question

2007-12-17 Thread David kerber
Filipe David Manana wrote: Hi, 2 questions: 1) Is Tomcat reliable for a production environment, where client requests can be in the order of a few thousands per hour? I've got one running on Win2003 with around 2M requests per day on a 2-year old dual-dual Dell server. Last time I

Re: Trying to Map a web application to / in tomcat 5.5

2007-12-17 Thread Martin Gainty
I was curious what happened if I followed stephen's advice environment: TC 5.5.17 undeploy 'root'OK - Undeployed application at context path/root %CATALINA_HOME%\webappsdel ROOT %CATALINA_HOME%\webapps\ROOT\*, Are you sure (Y/N)? yes (now the environment is clean) tc-manager

Re: Project Deployment Questions

2007-12-17 Thread Len Popp
On Dec 17, 2007 2:52 PM, Richard Reyes [EMAIL PROTECTED] wrote: Hi Len, Please see inline... Len Popp wrote: There are a couple of ways to handle this. 1. Replicate the uploaded images to all the Tomcat servers. This isn't hard if the image directories can be shared on the server LAN.

RE: Trying to Map a web application to / in tomcat 5.5

2007-12-17 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: Trying to Map a web application to / in tomcat 5.5 %CATALINA_HOME%\webappsdir ROOT Directory of %CATALINA_HOME%\webapps\ROOT You're running on Windows - which uses case insensitive file systems. The DIR command simply echoes what

Re: Tomcat and IIS losing their link

2007-12-17 Thread Travis Haagen
Thanks for the responses thus far. I've been trying to get more information about the problem, but haven't been very successfull. I can't seem to create thread dumps, because I have to use Terminal Services. Is there a way to get a thread dump even though I'm using Terminal Services? Tomcat keeps

tomcat 6/php5

2007-12-17 Thread Richard Dunne
Does anyone have or know of a work around for Tomcat 6 and PHP5? Richard. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs

Re: Trying to Map a web application to / in tomcat 5.5

2007-12-17 Thread Stephen Souness
My environment is slightly different (Windows XP Professional with NTFS file system, Tomcat 5.5.25), and the steps I used to deploy are a little different. The steps which I took to test my theory before posting: - shutdown Tomcat - remove all traces of my application - copy drop root.war into

RE: Trying to Map a web application to / in tomcat 5.5

2007-12-17 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Souness Subject: Re: Trying to Map a web application to / in tomcat 5.5 The war is exploded into a directory named root - lowercase, and is only accessible under the http://host/root URL. That is to be expected. Even though Windows

Re: tomcat 6/php5

2007-12-17 Thread Fabbris Pierluigi
Richard Dunne ha scritto: Does anyone have or know of a work around for Tomcat 6 and PHP5? Richard. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs I've read about that

RE: tomcat 6/php5

2007-12-17 Thread Caldarale, Charles R
From: Fabbris Pierluigi [mailto:[EMAIL PROTECTED] Subject: Re: tomcat 6/php5 If you want can you use, how I have made, mod_jk2. The mod_jk2 connector has been deprecated for over two years. The mod_jk connector is being maintained, and now contains the significant features of mod_jk2. -

Problem with locating Datasource using servlet as ROOT in tomcat 6

2007-12-17 Thread Alan Chaney
Hi I am using Eclipse 3.3, tomcat 6.0.14, linux and Java 1.5 I have a web app which uses a JNDI data source. I wrote a very simple test servlet to access the data source and display some values from the database. First time around I used a local application context in /META-INF/context.xml.

Re: Problem with locating Datasource using servlet as ROOT in tomcat 6

2007-12-17 Thread Gabe Wong
Alan Chaney wrote: Hi I am using Eclipse 3.3, tomcat 6.0.14, linux and Java 1.5 I have a web app which uses a JNDI data source. I wrote a very simple test servlet to access the data source and display some values from the database. First time around I used a local application context in

Tomcat is slow with router configured

2007-12-17 Thread Tran, Thanh
Hi Tomcat experts, I have a war file deployed in a Tomcat server (Jakarta-tomcat 5.5.9) running on a windows server 2003. Web server accesses MySQL server running on a different box, also Windows server 2003. The web app is fast if I configured network bridge mode (both Web server and DB server

How to use MembershipListener

2007-12-17 Thread Asha Prabhakaran
Hello, I have implemented the MembershipListener in my web application in order to receive notification on when a node is added/removed from the cluster. I created a GroupChannel and started it with the ChannelDEFAULT option. The problem I have is that when a node is added/removed, the

Re: Tomcat in conflict with Virtual Host directive in Apache?

2007-12-17 Thread Rainer Jung
Ljuba Veselinova schrieb: Hi, I have finally gotten Tomcat 5.5.17 to work as a windows service on a windows xp machine; it communicates with Apache 2.0.58 but only if if the ServerName in mod_jk.conf, httpd.conf and in workers.properties is the same as the computer name listed in system

Re: Tomcat and IIS losing their link

2007-12-17 Thread Rainer Jung
Travis Haagen schrieb: Thanks for the responses thus far. I've been trying to get more information about the problem, but haven't been very successfull. I can't seem to create thread dumps, because I have to use Terminal Services. Is there a way to get a thread dump even though I'm using

Re: Problem with locating Datasource using servlet as ROOT in tomcat 6

2007-12-17 Thread Alan Chaney
Thanks Gabe, That seemed to solve the problem in the 'real' deployment. Specifically, it seems that you must delete the old ROOT app. I did a rm -Rf ROOT in webapps and then my jar deployed properly and created the ROOT.xml file in conf/Catalina/localhost as required. Now seems to work