RE: administration applications install instructions

2005-12-13 Thread Prathibha, Bharathi
Hi James, Steps suggested by Chuck should work. But these are the steps I followed when I first tried putting admin app on tomcat. It is working for me.Actually this is the detailed-steps version of Chuck's msg! download the tomcat admin application.unzip it into any temporary directory. U w

RE: administration applications install instructions

2005-12-13 Thread Caldarale, Charles R
> From: James T. Studebaker [mailto:[EMAIL PROTECTED] > Subject: administration applications install instructions > Can anyone point me to instructions to install the > tomcat administration application for tomcat version > 5.5.9-1.1 on Linux system. 1) Download. 2) Unzip (or untar) in

administration applications install instructions

2005-12-13 Thread James T. Studebaker
Can anyone point me to instructions to install the tomcat administration application for tomcat version 5.5.9-1.1 on Linux system.  I find the download however can not seem to find instructions. Thank youJames T. Studebaker

inserting data (A weird problem)

2005-12-13 Thread Claudio Veas
Hello, Im trying to insert data in my mysql server with a JSP and a Bean with an example I found in the internet, Im very new to all this but this error I get its really strange. I created a table contacto (contact) in the mysql server, create table contacto (numero int,    

FW: Error in the makefile generated for mod_jk on HP-UX unix!Here is the solution.

2005-12-13 Thread Prathibha, Bharathi
Hi All, Am I the only one who faced this problem! Or is it the general case that is happening for everyone who are trying to build mod_jk on FreeBSD. U r response will be of much help to me As I am trying to share this info with my associates. Regards, Prathibha. > _

RE: How to access webapps class path as env variable.

2005-12-13 Thread Caldarale, Charles R
> From: Saha Rabindra N [mailto:[EMAIL PROTECTED] > Subject: How to access webapps class path as env variable. > > I have a ini file placed in my webapps class folder which I > need to read at runtime. If there is no such environment > variable available, then can you please tell me if there is

How to access webapps class path as env variable.

2005-12-13 Thread Saha Rabindra N
Hi, I am trying to access the webapps class path through some environment variable. Can you tell me the name of the variable which holds the same. String strDir = System.getProperty("catalina.home"); // This code gives me the home folder of tomcat.But how do I get the webapps class path ?? I h

tomcat userdir and context

2005-12-13 Thread bhaskar karambelkar
I set up userdir in tomcat with the following My intention is to have webapps as the common base directory where I can put all my webapps. But it seems that the webapps directory is a single web app in itself and not a container for multiple webapps. for. eg. Both the following 2 URLS http://ho

Need help finding...

2005-12-13 Thread Klotz Jr, Dennis
Given the following: A Tomcat 5.5.9 server. Login authentication via "org.apache.catalina.realm.DataSourceRealm" realm. Is there a third party tool either open source or commercial that provides basic login level services such as: Limit the number of login attempts. Limit the number of m

RE: Specifying an appBase on a shared disc

2005-12-13 Thread JT Neville
You need to go to advanced or custom most likely on the security tab not the file share tab depending on the OS you are running. -Original Message- From: Svante Kumlien [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 1:57 PM To: Tomcat Users List Subject: RE: Specifying an appB

RE: Specifying an appBase on a shared disc

2005-12-13 Thread Svante Kumlien
Hi! Yes, it´s running as a service and it´s logging on as Local System account. But I'm not sure how/where to give this account rights? I'm also not sure how to specify the local machine on the share, on the LaCie disc I'm only able to define 'generic' users, no machine specific stuff (like Admi

RE: Specifying an appBase on a shared disc

2005-12-13 Thread JT Neville
Just give whatever account the service is executing on "run as a service" rights as well as specifying the local machine on the share with the correct rights. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 1:18 PM To: Tomcat Users

RE: Specifying an appBase on a shared disc

2005-12-13 Thread Caldarale, Charles R
> From: Svante Kumlien [mailto:[EMAIL PROTECTED] > Subject: Specifying an appBase on a shared disc > > Bought a network disc yesteraday (LaCie 500Gb), connected > it to my network and thought I could put my tiny jsp-based > site there. I mapped the disc to w:\ and started to fiddle > with my s

Specifying an appBase on a shared disc

2005-12-13 Thread Svante Kumlien
> Hi all. > (Tomcat 5.5.4. on WinXP) > > Bought a network disc yesteraday (LaCie 500Gb), connected it to my network > and thought I could put my tiny jsp-based site there. I mapped the disc to > w:\ and started to fiddle with my server.xml. Started out with this one: > > unpackWARs="tr

RE: Moving a file -- RESOLVED

2005-12-13 Thread Jef Sullivan
Here is what I ended up doing. Thanks to "_M_" concerning the comment about the path being incorrect. It led me to this working resolution... // Location of existing file File dir = new File("C:\\Workspace\\Reports\\"); // Filename File fXLS = new File(dir, "Report_" + sdf2.format(startTime) + ".

Trying to use Tomcat Servlet for Proxy Server - problem with HTTPS pages

2005-12-13 Thread David Stidolph
I've written a simple servlet that acts as a proxy server to record and playback web pages. It works well for http requests (I'm able to cache all files for a web page), but I cannot seem to get it to work with https pages or files. In IE I set the proxy server settings to "localhost" and the por

RE: Moving a file

2005-12-13 Thread MW Janssen
try creating new file at the new location and the delete the old file. File myFile1 = new File(filename); File myFile2 = new File(newpath+filename); boolean succes = myFile1.renameTo(myFile2); if(success){ myFile1.delete(); } suc6 Maarten -Oorspronkelijk bericht- Van: Martin Gai

Re: setup for web designers?

2005-12-13 Thread rusty+tomcat
Hah! I figured it out; only one of the apache directives in httpd.conf should be used, not all 3: #AddType text/html .jsp AddOutputFilter INCLUDES .jsp #AddHandler server-parsed .jsp Thanks for everyone's help. I'm now a happy camper. ---

Re: Moving a file

2005-12-13 Thread Martin Gainty
Jef et al Have you tried the URL Spec e.g file://folder/subfolder/filename for URL file specs see http://archive.ncsa.uiuc.edu/SDG/Software/Mosaic/Demo/url-primer.html Anyone else ? M- - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, December 13,

Re: setup for web designers?

2005-12-13 Thread rusty+tomcat
Thanks for all of the suggestions. I don't think I've explained my situation clearly. What I would like to do, but maybe this is not a good idea, is to have the static content and dynamic content appear to be in the same directory; i.e., have the same base url. In my jk.conf file I have

Re: Antwort: Need help with deployment

2005-12-13 Thread Mark Phillips
Yes, that was the problem. I changed the permissions and now it works as advertised. Thanks! Mark On Tuesday 13 December 2005 12:13 am, Jan Behrens wrote: > I am not a Linux man myself but I would think that you do have a problem > with the access rights - unless Tomcat is running as root, whic

Re: Securing File System Resources ?

2005-12-13 Thread Dov Rosenberg
How would a proxy server affect the equation? One thought was to use a proxy server to validate the user, and see if that authorization flag can be passed along to any embedded links within the page. We could then use a filter to inspect the HTTP header on the request and determine if the user has

RE: setup for web designers?

2005-12-13 Thread JT Neville
> Offering performance advice based on a 3-year old Tomcat is highly > inappropriate. The 5.5.12 version delivers static content at essentially > the same speed as Apache httpd. Suggested reading (note that this is > about 5.5.4, and 5.5.12 is yet faster Not everyone can stay on the bleeding e

Re: Antwort: Re: Antwort: Re: Session cookies on Linux

2005-12-13 Thread Martin Gainty
sometimes the best answer is the most obvious Wunderbar! Martin- - Original Message - From: "Jan Behrens" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, December 13, 2005 12:05 PM Subject: Antwort: Re: Antwort: Re: Session cookies on Linux Answering my own post, here is w

Re: How use the archives and a TomCat config question

2005-12-13 Thread Tim Funk
I did notice that http://tomcat.apache.org/faq/tomcatuser.html could use some cleaning. I'll try fix that soon. (Unless someone beats me too it) -Tim Mark Thomas wrote: Carl T. Dreher wrote: I'm sure this has been answered before, but as I said, the archives aren't much use. (By the way, i

Re: How use the archives and a TomCat config question

2005-12-13 Thread Mark Thomas
Carl T. Dreher wrote: > I'm sure this has been answered before, but as I said, the archives > aren't much use. (By the way, it took me TWO DAYS to successfully > subscribe to this list. The TomCat site has links to pages that list a > variety of mailings lists. Every one I tried before this one

RE: How use the archives and a TomCat config question

2005-12-13 Thread Caldarale, Charles R
> From: Carl T. Dreher [mailto:[EMAIL PROTECTED] > Subject: How use the archives and a TomCat config question > > I found the archives for this list, but it consists of about > 14K messages and no search mechanism. Try this one: http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2 The search me

Re: Securing File System Resources ?

2005-12-13 Thread Ryan Slack
Dov Rosenberg wrote: Our application has its own security model that controls access to our information based on our own roles and permissions. We store files related to our application on the file system where our application is running. These associated files are served out by a web server. Our

Re: encoding error

2005-12-13 Thread Mark Thomas
Martin Gainty wrote: > ISO 8859 is a full series of 10 standardised multi-lingual single byte > coded 8 bit grapchic character sets for writing in alphabetic languages > information is available at > http://czyborra.com/charsets/iso8859.html > If you want TOMCAT to default to Latin1 (West European)

Re: Tomcat 4.06, JK ISAPI redirector plugin 1.2.15.0, IIS 6.0 on Wind ows Server 2003 How To

2005-12-13 Thread Mark Thomas
Quoting something from the dev list that might help. Tim Whittington wrote "you have to add a web services extension for the redirector for it to work - new locked down IIS rules or something" HTH, Mark Sue Roe wrote: > Did you get any response to your question I wonder? We are looking at > the

RE: Moving a file

2005-12-13 Thread mnoel
> Original Message > Subject: RE: Moving a file > From: "Jef Sullivan" <[EMAIL PROTECTED]> > Date: Tue, December 13, 2005 10:17 am > To: "'Tomcat Users List'" > > Additionally, > The error that I am getting is the file does not exist. > Yet, the file does exists. I have verifie

RE: setup for web designers?

2005-12-13 Thread Carl Olivier
I would agree with Chuck - Tomcat standalone has been a far better and robust solution for since 5.0.18 was released - and hoping it will improve (actually am sure it will) with 5.5.x! I did use TC 3 and 4 with Apache - which was never ideal or stable (maybe my fault that) - but TC 5+ is really g

RE: setup for web designers?

2005-12-13 Thread Caldarale, Charles R
> From: JT Neville [mailto:[EMAIL PROTECTED] > Subject: RE: setup for web designers? > > >>From what I have read, you get better performance if you let > >>tomcat serve the static stuff as well as the jsps > > I've been running Tomcat for three years now, and I have to > disagree. In my experi

How use the archives and a TomCat config question

2005-12-13 Thread Carl T. Dreher
I've been trying to research a Tomcat question without bothering anyone but I'm not having any luck. I found the archives for this list, but it consists of about 14K messages and no search mechanism. How do I use it? I thought I'd first try to do all the research I could before asking a question

Re: setup for web designers?

2005-12-13 Thread Mark Phillips
I have never tested the two configurations, so your information is very helpful. I was just going on what the tomcat docs say. Mark On Tuesday 13 December 2005 10:03 am, JT Neville wrote: > >>From what I have read, you get better performance if you let > >>tomcat serve the static stuff as well a

Too many sockets on mod_jk

2005-12-13 Thread Benjamin Cuthbert
All I have an apache 1.3.37 and mod_jk 1.2.12 setup . When my apache connects to my Jboss tomcat server i see about 90 open socket connections. Is there a way to track how many sockets get opened in mod_jk, as this is happening for each client that logs onto the application, so if i get about

RE: Moving a file

2005-12-13 Thread Jef Sullivan
Additionally, The error that I am getting is the file does not exist. Yet, the file does exists. I have verified its location, and the spelling of the path and filename. Everything matches including the case sensitivity. Jef > -Original Message- > From: Jef Sullivan [mailto:[EMAIL P

Antwort: Re: Antwort: Re: Session cookies on Linux

2005-12-13 Thread Jan Behrens
Answering my own post, here is what drove me nuts; we have a firewall configured on each machine (preconfigured and installed by our admins) which does not only monitor connections but also _silently_ blocks third party cookies by default. Because of our servers setup, all cookies were treated

RE: setup for web designers?

2005-12-13 Thread JT Neville
>>From what I have read, you get better performance if you let >>tomcat serve the static stuff as well as the jsps I've been running Tomcat for three years now, and I have to disagree. In my experience, Tomcat isn't as robust at serving the static content as other old school webserver daemons. W

Re: Session cookies on Linux

2005-12-13 Thread Jan Behrens
Guten Tag Martin, thanks again - still no luck though :( I had a look at catalina.policy (can't find java.policy) and there seems to be nothing wrong, plus Tomcat is not started in secure mode so these shouldn't be used, or not? Thanks, Jan "Martin Gainty" <[EMAIL PROTECTED]> schrieb am 12.12.

Re: setup for web designers?

2005-12-13 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote: > How do people set up their tomcat so that the web designers can work on > the static content and the programmers can work on the jsp stuff without > stepping on each other's toes? > > In my case the web designers have already been working with apache with > their files i

NoClassDefFoundError JSX.Test14 since yum update

2005-12-13 Thread Martijn van der Kleijn
Hi All, I'm running Fedora Core 4 on a server of mine and had it install both java and Tomcat 5 aswell. I integrated the entire thing with Apache 2 using mod_jk and it all worked like a charm. I had my application up and running in no time. A couple of days ago, yum apparently did an update on

Re: setup for web designers?

2005-12-13 Thread Mark Phillips
Rusty, From what I have read, you get better performance if you let tomcat serve the static stuff as well as the jsps. Check the tomcat docs for a discussion of this topic. However, if you still want to put tomcat behind apache, take a look at this article - tomcat.apache.org/tomcat-4.1-doc/ss

Re: Servlet with URL pattern "*." is not working.

2005-12-13 Thread Akhthar Parvez K
Hi, Thanks to all those of who helped me with this issue so far. The tomcat installed in the server does support servlet definition and mapping out of order and that's not the issue here. The issue is servlets with URL pattern as *.do is NOT working here. All other servlets are working fine. As f

Re: Securing File System Resources ?

2005-12-13 Thread Dov Rosenberg
We would prefer the file was a one off access so they couldn't send the link to their buddies. In most cases the user would be authenticated via either a SSO solution or our own. Thanks again for the feedback. On 12/13/05 8:31 AM, "ALEX HYDE" <[EMAIL PROTECTED]> wrote: > Version 1 is the way

Re: Securing File System Resources ?

2005-12-13 Thread ALEX HYDE
Version 1 is the way I did. Things I had to bare in mind are: - are you actually logging users in or are they authorised on a per individual file basis - can the user re-access the file or is it a one off access? Gluck David Smith <[EMAIL PROTECTED]> wrote: Either one or two are

Re: What is the purpose of common/lib/ext directory?

2005-12-13 Thread Behrang Saeedzadeh
Hi, Thanks a lot for the links :-) I'll have a look at them in a moment. Cheers, Behi On 12/13/05, Prathibha, Bharathi <[EMAIL PROTECTED]> wrote: > Hi Behrang, > visit these links once - > > http://www.liferay.com/web/guest/documentation/installation/tomcat > > http://www.mpxsys.com/blojsom/

Re: Securing File System Resources ?

2005-12-13 Thread David Smith
Either one or two are excellent choices with 1 being the best IMHO. It could be as simple as some other servlet places a flag in the session that essentially says this user is good for downloading this file for this session. The servlet filter sees that and offers the file, or failing to see the

Tomcat 5.0.28 - I miss catalina.out

2005-12-13 Thread KwonNam Son
On Windows, While running tomcat 5.0.28, I pressed Ctrl-Break for heap dump. But there are a lot of messages, and because Tomcat does not write standard output to log, I could not read all the dump messages. I can I get catalina.out work again?? Thanks, KwonNam.

Re: mod_jk troubles under heavy load

2005-12-13 Thread Laurent Perez
Hi Peter > a) Use a newer tomcat release 5.0.30 better 5.5.9 or higher > b) <5.0.30 has a memory leak with registering stats as jk requests > use request.registerRequests=false inside you worker2.properties Unfortunately I can't really switch my tomcat version, because my webapp is colocated

Re: mod_jk troubles under heavy load

2005-12-13 Thread Peter Rossbach
a) Use a newer tomcat release 5.0.30 better 5.5.9 or higher b) <5.0.30 has a memory leak with registering stats as jk requests use request.registerRequests=false inside you worker2.properties Peter Laurent Perez schrieb: Hello I'm using Apache2 + mod_jk + Tomcat 5.0.25 for a customer web

mod_jk troubles under heavy load

2005-12-13 Thread Laurent Perez
Hello I'm using Apache2 + mod_jk + Tomcat 5.0.25 for a customer web site, everything seems to work ok, but under heavy load, the following error randomly appears inside my catalina.out : 12 déc. 2005 14:46:53 org.apache.commons.modeler.Registry registerComponent FATAL: Error registering Catalina:

RE: Servlet with URL pattern "*." is not working.

2005-12-13 Thread Raghupathy,Gurumoorthy
Try to put you servlets in a package as servlets nto in a packages is a pain for tocmat. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 12 December 2005 20:54 To: Tomcat Users List Subject: Re: Servlet with URL pattern "*." is not working. That's true if the web.x