Re: how to Upload file

2005-09-01 Thread Bhargav Patel
what ? - Original Message - From: Guy Katz [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, August 31, 2005 6:17 PM Subject: RE: how to Upload file 1. commons-upload (jakarta-commons) 2. cos (servlets.com) -Original Message- From:

Re: how to Upload file

2005-09-01 Thread Bhargav Patel
yes - Original Message - From: Phillip Qin [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, August 31, 2005 5:59 PM Subject: RE: how to Upload file Have you tried struts html:file tag. -Original Message- From: Bhargav Patel

jaas configuration file environment vars

2005-09-01 Thread Ittay Dror
Hi, Does anyone know if the jaas configuration file can read parameters from the env (something like 'option=${var}'), if not, how can I acheive this effect (without recreating the file every time I launch) Thanx, Ittay -- === Ittay Dror ([EMAIL PROTECTED])

Tomcat 5.5 not closing active connections

2005-09-01 Thread August Detlefsen
Does tomcat ever close a connection once it is in the 'Service' mode? Using the manager app (/manager/status) I am seeing multiple threads in the 'Service' mode with times of well over 60 minutes! Here is an example: Stage TimeB Sent B Recv Client VHost Request S 5192947 ms

How to specify Tomcat error encoding?

2005-09-01 Thread Hiroshi Iwatani
Our environment is LANG=ja_JP.UTF-8 on Linux Fedora Core 3. --below are copies from browser screen-- Tomcat error output for JSP page is garbled for Japanese: [Tomcat(5.0.19) with javac]--compiler error mesg part quoted:

RE: How to specify Tomcat error encoding?

2005-09-01 Thread Hildegard Bronkhorst XH (ZA/ESA)
I never asked anybody to subscribe me to your web site / service. Please delete my details IMMEDIATELY! Hildegard Bronkhorst Senior Facilities Manager Kagiso Integrated Services (Pty) Ltd. Tel: +27 11 844 2015 Fax: +27 11 844 2130 Mobile: +27 83 212 4303 mailto:[EMAIL PROTECTED]

RE: How to specify Tomcat error encoding?

2005-09-01 Thread Hildegard Bronkhorst XH (ZA/ESA)
I never asked anybody to subscribe me to your web site / service. Please delete my details IMMEDIATELY! Hildegard Bronkhorst Senior Facilities Manager Kagiso Integrated Services (Pty) Ltd. Tel: +27 11 844 2015 Fax: +27 11 844 2130 Mobile: +27 83 212 4303 mailto:[EMAIL PROTECTED]

Ant Build Failed for uninstall target

2005-09-01 Thread Srinivas Ivaturi
Hi I am facing a variety problem with ANT. I have written an ant Script which Installs me a WAR file into Tomcat. I have one more Task to uninstall also. When I use uninstall It is giving me some HTML dump on my command line and at the end it is saying BUILD FAILED. But When I

JK ChangeLog

2005-09-01 Thread Toshiya_Kobayashi
Hi, There is a strange view in the JK ChangeLog page. http://jakarta.apache.org/tomcat/connectors-doc/changelog.html I guess the Changes from the released JK 1.2.13 section contains JK1.2.14 fix/updates too. Should I consider Changes from the released JK 1.2.14 are -34397: Emergency was

RE: JK ChangeLog

2005-09-01 Thread Hildegard Bronkhorst XH (ZA/ESA)
PLEASE DELETE ME IMMEDIATELY FROM YOUR MAILING LIST. I NEVER REQUESTED A SUBSCRIPTION! Hildegard Bronkhorst Senior Facilities Manager Kagiso Integrated Services (Pty) Ltd. Tel: +27 11 844 2015 Fax: +27 11 844 2130 Mobile: +27 83 212 4303 mailto:[EMAIL PROTECTED] E-mail disclaimer

JAAS - public Credentials and ip address

2005-09-01 Thread Franck Borel
Hi, I am trying to implement a JAAS-module that can authenticate a user with username/password and his/her ip-address. To get the username and password is straightforward. My problem is that I don't know how to get the ip-address of the user. (I am newbee concerning JAAS, so please don't

RE: JK ChangeLog

2005-09-01 Thread william
Hi Selon Hildegard Bronkhorst XH (ZA/ESA) [EMAIL PROTECTED]: PLEASE DELETE ME IMMEDIATELY FROM YOUR MAILING LIST. I NEVER REQUESTED A SUBSCRIPTION! in this case it looks like you have been automagically added to the list :) instead of shouting, could you please read the footer of the email

RE: How to specify Tomcat error encoding?

2005-09-01 Thread pacea
Send an email to this link to unsubscribe . . . To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I never asked anybody to subscribe me to your web site / service. Please delete my details IMMEDIATELY! Hildegard Bronkhorst Senior Facilities

Re: Dropped response

2005-09-01 Thread Tim Funk
Tomcat should send back a 404. But the RequestDumperValve doesn't log responses. -Tim Rob Hunt wrote: I saw this interesting request show up in my log file: 2005-08-28 20:11:08 RequestDumperValve[catalina]: REQUEST URI =/cgi-bin/jud.cgi SNIP And then there's nothing noting what the

Re: errors building tomcat5 from source

2005-09-01 Thread Tim Funk
The location to download junit may have changed or that version might not be available for download. See build.properties.default for where it is being downloaded and change it there OR copy that entry with a valid URL to build.properties. -Tim Michael P. Soulier wrote: Hi, I didn't see

Real basic question - scope

2005-09-01 Thread David Shapiro
I have a jsp page that uses a class I wrote to connect to a database (mysql) and pull up some information based on what the user fills in one of three text boxes. I understand why if I fill in a text box once and press submit I get my result, but I do not understand why if I press enter again

Re: Real basic question - scope

2005-09-01 Thread Anto Paul
On 9/1/05, David Shapiro [EMAIL PROTECTED] wrote: I have a jsp page that uses a class I wrote to connect to a database (mysql) and pull up some information based on what the user fills in one of three text boxes. I understand why if I fill in a text box once and press submit I get my

RE: Servlet lush problems via JK-1.2.14 and TC_5.0.28

2005-09-01 Thread Peter Crowther
From: Zsolt [mailto:[EMAIL PROTECTED] When I start a long running servlet I want to give the user some feedback about the progress, thus I just print some characters to the browser from the servlet. It works fine when I go directly tomcat but when I go through apache and tomcat

Tomcat4 HTTP response header Cache-control

2005-09-01 Thread Nick Hindley
Hello all, I'm currently having to (still) work on an application which is running under Tomcat4 - the suppliers haven't yet validated against Tomcat5 and I'm looking at clustering in that environment. I've looked at Filips excellent reference http://people.apache.org/~fhanik/ and at the

Re: errors building tomcat5 from source

2005-09-01 Thread Michael P. Soulier
Caldarale, Charles R wrote: Just curious, but why do you want to build it from source? Tomcat is pure Java, so the same download works on all platforms. I'm packaging it, and I want the source included. Besides, I was trying to learn to use ant, so I thought I'd try building it. Imagine my

Re: errors building tomcat5 from source

2005-09-01 Thread Michael P. Soulier
Tim Funk wrote: The location to download junit may have changed or that version might not be available for download. See build.properties.default for where it is being downloaded and change it there OR copy that entry with a valid URL to build.properties. Ok. Perhaps I'm missing something,

Re: data push

2005-09-01 Thread Lionel Farbos
You can see JMS and joram (http://joram.objectweb.org/) Note : Joram is embedded in Jonas (http://jonas.objectweb.org/) and Tomcat too... On Thu, 11 Aug 2005 11:41:34 +0100 Darryl L. Miles [EMAIL PROTECTED] wrote: Paul Wallace wrote: Thanks Len, And what of other protocols? Are

RE: how to Upload file

2005-09-01 Thread Phillip Qin
commons-fileupload at http://jakarta.apache.org/commons/fileupload/ -Original Message- From: Bhargav Patel [mailto:[EMAIL PROTECTED] Sent: September 1, 2005 12:21 AM To: Tomcat Users List Subject: Re: how to Upload file what ? - Original Message - From: Guy Katz [EMAIL

Admin Mbeans from Application in Tomcat 4.1.31?

2005-09-01 Thread Jeffrey Winter
Is it possible to access the management MBeans from a standard deployed application in Tomcat 4.1.31? I can't figure out if it is possible to reference the MBeanServer from an application. Any pointers or code examples would be greatly apprectiated. I would like to be able to show the state

Re: how to Upload file

2005-09-01 Thread Brian Cook
They are saying that to do file upload you probably want to use a prebuilt frame work/ package. You can do it all your self manually but you would be using up a lot of time to build a basic task. The 3 most popular and easiest to use are : 1. Using Struts. If you are not already using

JNDI/Tomcat question from newbie

2005-09-01 Thread Hyatt, Gordon
Hello All, I'm a newbie to database pooling via JNDI and I have a JNDI/Tomcat question (more of a best practices/most scalable/fastest performance/least resource consumption type of question). Each time the JNDI resource (pooled database connection) is needed, should a complete JNDI lookup be

URLEncoder

2005-09-01 Thread Roland Carlsson
Hi! Why does my standalone application encode characters different than in Tomcat? The swedish letters åäö run through java.net.URLEncoder(åäö, ISO8859_1) in my application i get: %E5%E4%F6 but when i run the same code through Tomcat i get: %C3%A5%C3%A4%C3%B6 Characterencoding is

Re: URLEncoder

2005-09-01 Thread Viorel Dragomir
Try to set a default character encoding for both app [yours and tomcat]. Viorel Dragomir . .. --- - Original Message - From: Roland Carlsson To: tomcat-user@jakarta.apache.org Sent: Thursday, September 01, 2005

Re: data push

2005-09-01 Thread Brian Cook
Sounds like you are wanting to use the J2EE web services. Probably SOAP. Lionel Farbos wrote: You can see JMS and joram (http://joram.objectweb.org/) Note : Joram is embedded in Jonas (http://jonas.objectweb.org/) and Tomcat too... On Thu, 11 Aug 2005 11:41:34 +0100 Darryl L. Miles [EMAIL

Unable to start Tomcat with JSVC

2005-09-01 Thread Peter . Neu
Hello, I got some problems with starting Tomcat as a daemon on my linux box(SUSE 9 ES). When the startup script tomcat5 is invoked I get this error: /etc/init.d/rc5.d/S01tomcat5: line55: /home/tom5/jdk1.5.0_04/lib/tools.jar:: No such file or directory jsvc error: No class specified jsvc

Re: Tomcat4 HTTP response header Cache-control

2005-09-01 Thread Terence M. Bandoian
The following might do the trick: response.setHeader( Cache-Control, no-cache ); -Terence M. Bandoian Hello all, I'm currently having to (still) work on an application which is running under Tomcat4 - the suppliers haven't yet validated against Tomcat5 and I'm looking at clustering in

Re: JNDI/Tomcat question from newbie

2005-09-01 Thread David Smith
Personally, I'd just keep a reference to the datasource around maybe as a class instance variable. It doesn't constitute a connection in and of itself -- just a way of getting one from the pool. Connections on the other hand should be explicitly closed as soon as they aren't needed anymore in

index_jsp.java problem

2005-09-01 Thread Ben Kim
Hi, tomcat 5.5.9, Fedora core 4 I recently upgraded my tomcat. I'm facing this problem again and wonder if there's a good answer on what I should do. (and honestly, why this (stumbling block) has been added for index.jsp which is usually the entry point for every app, thereby affecting the

Downloading files.

2005-09-01 Thread dumbQuestionsAsker _
Hi everybody, I got a web app which generate an html link a to a file hosted into the WEB-INF directory. The problem I have is that I can't access to the file from the link. Do I have to do something special to make a file hosted into the WEb-INF directory available from an HTML link ?

RE: Downloading files.

2005-09-01 Thread 'Jason Bell'
Hi there, The WEB-INF folder is not publicly accessable from the web application. This is because you wouldn't want the public to be able to access your class files, your lib folder or any of the xml configuration files. I hope this helps. Kind regards Jason Bell -- Jason Bell Lead

Re: JAAS - public Credentials and ip address

2005-09-01 Thread Wendy Smoak
From: Franck Borel [EMAIL PROTECTED] I am trying to implement a JAAS-module that can authenticate a user with username/password and his/her ip-address. To get the username and password is straightforward. My problem is that I don't know how to get the ip-address of the user. (I am newbee

Tomcat 5.5 where is a hard-copy dtd reference?

2005-09-01 Thread Scott Purcell
Hello, Is there a quick reference, or somewhere one can go to get a listing of the element order for the 2.4 dtd? I already have a bunch of elements in my web.xml and I want to add a listener but I forgot where it goes and I can't seem to google it up today? Anyone know? Thanks, Scott

Re: Tomcat 5.5 where is a hard-copy dtd reference?

2005-09-01 Thread David Smith
2.4 doesn't use a DTD -- it uses a schema so order doesn't matter anymore. --David Scott Purcell wrote: Hello, Is there a quick reference, or somewhere one can go to get a listing of the element order for the 2.4 dtd? I already have a bunch of elements in my web.xml and I want to add a

RE: Valve and Thread Level Security

2005-09-01 Thread Bovy, Stephen J
The IBM platform has a unique capability to create a thread level security environment. I have an application requirement to do so.. I can invoke the necessary function using JNI. Someone has suggested to me that using the technique of a Custome Valve would enable me to implement the

tomcat not finding the context root.

2005-09-01 Thread bachoo jahnkar
Hi, my application is in the /webapps/hst/htdocs directory. I have created a war file from ../hst directory and named it hst.war. I have used ant task to do it. war destfile=${tomcat.home}/webapps/hst/hst.war webxml=${tomcat.home}/webapps/hst/htdocs/WEB-INF/web.xml

Re: Tomcat 5.5 where is a hard-copy dtd reference?

2005-09-01 Thread Robert Koberg
David Smith wrote: 2.4 doesn't use a DTD -- it uses a schema so order doesn't matter anymore. Using the schema does not necessarily mean order is not important. It is just the way it was designed. One thing that is strange is that the key/keyref constraints for servlet/filter names for

context.xml

2005-09-01 Thread bachoo jahnkar
Hi, Can context.xml be used with tomcat 4.0.3? If yes can anyone please tell me what the contents should be for it and how to invoke it using the METAINF attribute of ant WAR task? thanks. - Start your day with Yahoo! - make it your home

RE: context.xml

2005-09-01 Thread Julie Moore
I believe this is new to tomcat 5 in the past the context was in the server.xml -Original Message- From: bachoo jahnkar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 01, 2005 1:07 PM To: tomcat-user@jakarta.apache.org Subject: context.xml Hi, Can context.xml be used with tomcat

RE: context.xml

2005-09-01 Thread bachoo jahnkar
Thanks for the reply. My application uses tomcat 4.0.3. the webapps/hst/htdocs is the app directory. I have used ants war task to create a war file hst.war. when i deploy this to unix box it is creating the whole directory correctly. However is setting the context to /hst instead of

Archive search is corrupted?

2005-09-01 Thread Tracy Spratt
Like a good newbie, I'm trying to first find my solution in the Archives. While I got several very good looking subject hits, when I click the link to go to the thread, I find that the message has nothing to do with the subject. Are some search sites better than others? I am using

Re: Building Mod_jk for HP-UX fails

2005-09-01 Thread David Rees
On 8/30/05, Ivo Van Den Maagdenberg [EMAIL PROTECTED] After the jk/native/common directory is built, make does seems not pass through the jk/native/apache-1.3 directory properly. I would appreciate some help in getting make this to work. snip Make output below: Making all in apache-1.3

RE: Archive search is corrupted?

2005-09-01 Thread Tracy Spratt
Never mind, I found a site that works ok. -Original Message- From: Tracy Spratt [mailto:[EMAIL PROTECTED] Sent: Thursday, September 01, 2005 4:59 PM To: tomcat-user@jakarta.apache.org Subject: Archive search is corrupted? Like a good newbie, I'm trying to first find my solution in the

Re: Archive search is corrupted?

2005-09-01 Thread Mark Thomas
Tracy Spratt wrote: Like a good newbie, I'm trying to first find my solution in the Archives. While I got several very good looking subject hits, when I click the link to go to the thread, I find that the message has nothing to do with the subject. Are some search sites better than others? I

Multiple IP addresses

2005-09-01 Thread Barnett, Brian W.
I seem to remember when I was working with IIS some years ago, I could map multiple IP addresses to one instance of IIS, i.e., IIS could service multiple web sites for me, each web site having it's own, unique IP address. Is there a way to do this with Tomcat stand alone or is Apache Web Server or

Re: Precompiling with 4.1.31 (debian package)

2005-09-01 Thread Matthew Hunter
On Wed, Aug 31, 2005 at 11:43:22AM -0500, Matthew Hunter [EMAIL PROTECTED] wrote: I'm using the Debian packaged version of Tomcat 4.1.31 and running into some issues with JSP precompilation. I've created tasks in my ant build file for the webapp I want to precompile: Anyone running into

RE: Multiple IP addresses

2005-09-01 Thread 'Jason Bell'
Hi Brian There is a useful Tomcat page on the Jakarta site which covers virtual servers/hosts, http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html That page covers version 4.0, for version 5 it's at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html I hope this

RE: Real basic question - scope

2005-09-01 Thread David Shapiro
It is just a jsp page Pretty much html accept for the class for processing the mysql query. It uses basic jsp to display the rs data in a table with a little bit of css to snaze it up. -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, September 01, 2005 7:50

SUNOne 6.1 and Tomcat 5.5.9

2005-09-01 Thread Scurek, Pete
I'm trying to setup tomcat to handle servlets for my SUNOne web server. I've downloaded the netscape native connector binary from the apache site (jk version 1.2.6) and followed the example in the How to Jakarta Tomcat connector for SUNOne document. When I try starting my SUNOne web server the

Showing maintenance page while app is down

2005-09-01 Thread Edmon Begoli
Tomcat users, Is it possible to have Tomcat show the maintenance page while the App is down or not available. I would like to have this shown while we are upgrading or re-deploying the app. Please advise Thank you, Edmon

Re: Real basic question - scope

2005-09-01 Thread Anto Paul
On 9/2/05, David Shapiro [EMAIL PROTECTED] wrote: It is just a jsp page Pretty much html accept for the class for processing the mysql query. It uses basic jsp to display the rs data in a table with a little bit of css to snaze it up. It will be useful if you post the relevant JSP/Java