Re: Recommendation for Tomcat web statistics program (AKA log analyzer) ?

2006-05-23 Thread Leon Rosenberg
On 5/23/06, Mladen Adamovic [EMAIL PROTECTED] wrote: Leon Rosenberg wrote: http://anotheria.net:8180/moskitodemo/ However, enough said. Try it out, tell me what you think :-) I've got connection refused ;) yeah, strange, I've installed a fresh new tomcat, changed the port to 8180 and droped

tomcat hangs after a few hot deploys!!!!

2006-05-23 Thread Ali Kord
hi all, after a few hot deploys, tomcat hangs and doesnt seem to be responding at all. i have to shut it down using windows task manager and restart it. anybody has an answer to this? cheers - To start a new topic, e-mail:

RE: Class loading question

2006-05-23 Thread Peter Crowther
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] interesting, are you saying that the handle is not closed when you call stream.close()? Yes - although my Google-fu is failing me and I can no longer find the entry in Sun's bug database that told me this (for 1.4) and almost caused me

Re: tomcat hangs after a few hot deploys!!!!

2006-05-23 Thread Antonio Petrelli
Ali Kord ha scritto: hi all, after a few hot deploys, tomcat hangs and doesnt seem to be responding at all. i have to shut it down using windows task manager and restart it. anybody has an answer to this? Did you check the logs? cheers Ciao Antonio

RE: Class loading question

2006-05-23 Thread Peter Crowther
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] interesting, are you saying that the handle is not closed when you call stream.close()? There's some noise on this at: http://forum.java.sun.com/thread.jspa?threadID=609458messageID=3355532 Still haven't found the entry in the bug

Directory Listing issue

2006-05-23 Thread Prafulla Nawale
Hi, I am using tomcat 4.1. In my web application, there are some downloadable files. All these downloadable files are stored in one directory. And this directory is inside the docBase of the application but outside WEB-INF folder. So when i enter the url of my application and append directory

RE: Directory Listing issue

2006-05-23 Thread Patil, Sheetal
Hi you can set listing to false in tomcat's web.xml file -Original Message- From: Prafulla Nawale [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 3:16 PM To: users@tomcat.apache.org Subject: Directory Listing issue Hi, I am using tomcat 4.1. In my web application, there are some

Re: tomcat hangs after a few hot deploys!!!!

2006-05-23 Thread Mark Thomas
Antonio Petrelli wrote: Ali Kord ha scritto: hi all, after a few hot deploys, tomcat hangs and doesnt seem to be responding at all. i have to shut it down using windows task manager and restart it. anybody has an answer to this? Tomcat Version? Windows version? JDK version?

Is Tomcat Server for free?

2006-05-23 Thread SayedA . Rahman
Hi There, I have written a solution application and plan to sell it. The server may be on customers computer or mine depending on customers choice. 1 Do I need to pay you for installing Tomcat server on my customers computer, is there any version of it that is for free? 2 Do I need to buy your

Re: Is Tomcat Server for free?

2006-05-23 Thread Filip Hanik - Dev Lists
Tomcat is free, you don't need to buy anything to use it, install it, distribute it, do whatever you want with it. You can read the license, its very generous. You can get free support on these mailing lists, or you can buy commercial support as well. Filip [EMAIL PROTECTED] wrote: Hi

Deploying under 1 specific name doesn't work

2006-05-23 Thread Dirk Moolman
Apache Tomcat/5.5.17 JVM 1.5.0_06-b05 I have a very strange problem on a new server. We deployed an application successfully. After that we even redeployed the application a day or 2 later, after making some changes. We have now made some more changes, and this time the war file does not

Re: Deploying under 1 specific name doesn't work

2006-05-23 Thread Marc Farrow
The main question everyone is going to have is how are you deploying it? On 5/23/06, Dirk Moolman [EMAIL PROTECTED] wrote: Apache Tomcat/5.5.17 JVM 1.5.0_06-b05 I have a very strange problem on a new server. We deployed an application successfully. After that we even redeployed the

RE: Is Tomcat Server for free?

2006-05-23 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 1 Do I need to pay you for installing Tomcat server on my customers computer, is there any version of it that is for free? The short answer: In my opinion, no, you do not need to pay; all versions are free for installation and use. I am not a

RE: Deploying under 1 specific name doesn't work

2006-05-23 Thread Dirk Moolman
Sorry, I copy the file onto my PC (it gets e-mailed to me), and then go into Internet Explorer (http://myserver:8080), and deploy through the Tomcat Manager (browse option) -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: 23 May 2006 02:31 PM To: Tomcat Users List

Re: Deploying under 1 specific name doesn't work

2006-05-23 Thread Marc Farrow
Just to make sure you are not missing anything, but are you removing the old application first and then deploying it again? you have to remove first. On 5/23/06, Dirk Moolman [EMAIL PROTECTED] wrote: Sorry, I copy the file onto my PC (it gets e-mailed to me), and then go into Internet

Re: Is Tomcat Server for free?

2006-05-23 Thread SayedA . Rahman
Thanks Filip, Filip Hanik - Dev Lists [EMAIL PROTECTED]

RE: Deploying under 1 specific name doesn't work

2006-05-23 Thread SayedA . Rahman
Can you delete the folder from Tomcat's directory work, standalone, localhost It should work Dirk Moolman [EMAIL PROTECTED]

Source for Tomcat 5.5.15

2006-05-23 Thread Joe Bohn
Is there another way to get the source for Tomcat 5.5.15 other than the zip file from the tomcat download page? I'm not certain that the source in the zip matches the binary distribution. I ask because I noticed some strange things with the zip file: 1) There is a problem with jasper in

RE: Deploying under 1 specific name doesn't work

2006-05-23 Thread Dirk Moolman
Yes, I undeploy the old one first, make sure the directories are gone, and then deploy the new one (with the same name) -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: 23 May 2006 02:50 PM To: Tomcat Users List Subject: Re: Deploying under 1 specific name doesn't

very strange

2006-05-23 Thread Asensio, Rodrigo
Hi guys, I have a nice problem! windows 2003 server tomcat 5.5 jdk 1.5 Scenario: I have a webapp in server A and when I hit a button, It opens a new window ( window.open() ) calling my servlet or any jsp in server B. It works few times..but there is a moment that stop working, my tomcat didnt

Re: very strange

2006-05-23 Thread Antonio Petrelli
Asensio, Rodrigo ha scritto: I have a webapp in server A and when I hit a button, It opens a new window ( window.open() ) calling my servlet or any jsp in server B. It works few times..but there is a moment that stop working, my tomcat didnt receive not even the request. The users see a blank

passing Multiple JkEnvVars

2006-05-23 Thread Rajeev Jha
Hi How do i pass multiple environment variables from apache to tomcat on mod_jk connector. All the documents say to put this in httpd.conf JkEnvVar ENV_VAR_NAME and read this as a request attribute in servlet engine. But this gives you ability to pass only one env variable. [ Actually we

RE: Deploying under 1 specific name doesn't work

2006-05-23 Thread Dirk Moolman
I just saw something. When I deploy the application under a new name, the following directory gets created (containing a lot of .java and .class files) /tomcat/apache-tomcat-5.5.17/work/Catalina/localhost/myapplication/org /apache/jsp/jsp If I do the same with the old name, the directory does

BASEDIR problem

2006-05-23 Thread Edoardo Panfili
hy, I did an upgrade from 5.5.12 to 5.5.17 now I can't start the server -- # bin/catalina.sh start The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program -- - # uname -a Darwin

Re: BASEDIR problem [solved]

2006-05-23 Thread Edoardo Panfili
Edoardo Panfili wrote: hy, I did an upgrade from 5.5.12 to 5.5.17 now I can't start the server -- # bin/catalina.sh start The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program --

RE: very strange

2006-05-23 Thread Asensio, Rodrigo
Nop, Im using DBCP with a huge Oracle, there is a lot of connections availables. Seems that the session get lost. I cant call any page, servlet, not even a plain jsp file -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 10:06 AM To:

Birt problem

2006-05-23 Thread Mir Kasim Ali
Can any body tell me how to call BIRT reports from servlet/jsp. I already created a project in eclipse for BIRT report project but don't know how to deploy it on server (Tomcat 4.1) If any body know about it then please let me know as early as possible Thanks for support -- Mir Kasim Ali

RE: Deploying under 1 specific name doesn't work

2006-05-23 Thread SayedA . Rahman
No don't delete the 'work' directory, delete your application directory (with old name) from tomcat work Standalone localhost 'application' Delete your application, it should then work. Dirk Moolman

Question on csv import using browser into MySQL database

2006-05-23 Thread Christopher Molnar
Hello, I need to ask a question from any of the java experts out there. Can anyone suggest or share a code segment that allows a web user to upload a csv file and then parse it on the server end with the end goal of it going into a mysql table? I have searched everything I can think to

servlet context of an jsp page.

2006-05-23 Thread Ayusman dikshit
Hi All, Please correct me if I am wrong. 1)Does tomcat 5.5 also provide an implementation of jsp specs? 2) In side an jsp if I write this.getClass().getName() then the class name I get is an implementation of servlet only? (I get something like org.apache.jsp_myjspname) So can

RE: Question on csv import using browser into MySQL database

2006-05-23 Thread Juan Jose Garcia Lau
If you want to upload files, take a look at http://jakarta.apache.org/commons/fileupload/ Cheers, Juan -Original Message- From: Christopher Molnar [mailto:[EMAIL PROTECTED] Sent: Martes, 23 de Mayo de 2006 10:17 a.m. To: Tomcat Users List Subject: Question on csv import using

Re: Can't find ajp13 connector

2006-05-23 Thread Mladen Adamovic
Williams, Allen wrote: I tried this: jar -tvf | grep ajp13 in both common and server directories, and got nothing. I'm not sure what jar -tvf does but I used the following Python script to find class in jar files on the disk: [EMAIL PROTECTED] hp]$ cat jarFinder.py #!/usr/bin/python

RE: Can't find ajp13 connector

2006-05-23 Thread Williams, Allen
I tried changing CATALINA_BASE to make it identical to CATALINA_HOME, and still get the ajp13 connector not found. Can't understand why I don't have it. Sorry, but I gave an incomplete command: jar -tvf *.jar | grep ajp13 It works like tar -tvf, except it shows the contents of java jar files.

RE: Deploying under 1 specific name doesn't work

2006-05-23 Thread Dirk Moolman
I do not have the Standalone directory you are refering to on my server, but I do have a tomcat work Catalina localhost 'application' directory. I tried deleting this and deploying again, but this unfortunately did not do the trick. -Original Message- From: [EMAIL PROTECTED]

RE: very strange

2006-05-23 Thread Asensio, Rodrigo
It is getting better! It works with tomcat 5.5.12 up to 15, but not with 17 -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 10:28 AM To: Tomcat Users List Subject: RE: very strange Nop, Im using DBCP with a huge Oracle, there is a lot of

Re: Can't find ajp13 connector

2006-05-23 Thread David Smith
grep is case sensitive and will only match ajp13, not Ajp13. If you want to find Ajp13Connector, the command should be written: jar -tvf *.jar | grep Ajp13 or even: jar -tvf *.jar | grep -i ajp13 to ignore case. --David Williams, Allen wrote: I tried changing CATALINA_BASE to make it

RE: Deploying under 1 specific name doesn't work

2006-05-23 Thread SayedA . Rahman
Sorry Dirk! Dirk Moolman [EMAIL PROTECTED] o.za

Re: Question on csv import using browser into MySQL database

2006-05-23 Thread Marc Farrow
Once you use the apache project's fileupload class you can just use a simple filereader to read through the file record by record and use the split(String regex) method from the String class to split the data into a string array. Then loop through array and write the sql statements to update

Re: ClassCastException on cluster deserialization

2006-05-23 Thread Jean-Christophe Praud
Hi, I've upgraded with your JAR, and corrected some bugs in my SessionListener (it only logs messages to trace session updates between nodes). It seems to work fine. Thank you all for your help :) JC Filip Hanik - Dev Lists wrote: Hi Jean-Christophe, can you try out this JAR, it sets

Re: Class loading question

2006-05-23 Thread Black Buddha
Actually, I looked at that and its a little odder than that. I use the Eclipse compiler, and when its locating import dependencies it uses a chunk of code like this to retrieve the bytes for a specific class: InputStream is; try{ String resourceName = className.replace('.', '/') + .class;

Re: Class loading question

2006-05-23 Thread Filip Hanik - Dev Lists
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html look for antiJARLocking is that what you are after? Filip Black Buddha wrote: Actually, I looked at that and its a little odder than that. I use the Eclipse compiler, and when its locating import dependencies it uses a chunk of

RE: Question on csv import using browser into MySQL database

2006-05-23 Thread Tim Lucia
I've used a CSV JDBC driver once before with success. It becomes an exercise of reading from one JDBC connection and writing to the other. http://csvjdbc.sourceforge.net Tim (I posted this same answer on [EMAIL PROTECTED] and include it here for archival completeness.) -Original

Re: Class loading question

2006-05-23 Thread Black Buddha
Tried it: and antiResourceLocking as well (both set to true). Its very curious: antiResourceLocking does what it seems like it should do: extracts all referenced resource files into work\Catalina\localhost\test\loader\org\blah\blah\blah However, antiJARLocking doesn't seem to do anything

Re: Question on csv import using browser into MySQL database

2006-05-23 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim Lucia said the following on 5/23/2006 10:51 AM: I've used a CSV JDBC driver once before with success. It becomes an exercise of reading from one JDBC connection and writing to the other. http://csvjdbc.sourceforge.net Tim Christopher, If

Re: Class loading question

2006-05-23 Thread Black Buddha
Gentlemen, thank you very much for the poking and prodding: it pointed me in the right direction. I solved the problem by modifying the code I wrote to fetch the class bytes: instead of doing a URL.openStream() I changed it to do a URL.openConnection() then disabled the use of the URLConnection

exception: cannot find bean in any scope.

2006-05-23 Thread Julio Cesar Flores
Good Afternoon, I'm working an application under struts with jsp pages, under oc4j server and i need to load the application on a tomcat server 4.1.31. i have an jsp who should get the value of three request variables and put in the jps with html:optionsCollection. i'm execute the query to

Permission denied

2006-05-23 Thread Tabu Isiaka
Hi, Can someone help to found how I can resolve the following message : (13)Permission denied: proxy: AJP: attempt to connect to 127.0.0.1:8009 I am trying to use apache2.2 with tomcat5 either with mod_jk or mod_proxy_ajp. Thanks you for your help. Tabu

Disable KeepAlive on AJP connector?

2006-05-23 Thread Ian Hunter
I have an application that queries Tomcat quite frequently (more than once a minute) for status updates. I also have a potentially high number of clients -- more that the number of threads configured for connectors. Also, I'm using port 8009 for an AJP connector from Apache. OK, that's all

exception: cannot find bean in any scope

2006-05-23 Thread Julio Cesar Flores
Good Afternoon, I'm working an application under struts with jsp pages, under oc4j server and i need to load the application on a tomcat server 4.1.31. i have an jsp who should get the value of three request variables and put in the jps with html:optionsCollection. i'm execute the query to

Re: Permission denied

2006-05-23 Thread Martin Gainty
The location directive for the virtual site has to be specified in httpd.conf Location /contact/ ProxyPass ajp://localhost:8009/contact/ Allow from localhost /Location Also determine if the admin is either blocking or using that port..if so find a work around Anyone else? M

RE: Can't find ajp13 connector

2006-05-23 Thread Williams, Allen
Ahh! You're right. I'm not sure which one I really did, but when I went back and Checked, (using grep -i for sure this time) it still couldn't find it. Anyone know where the org.apache.ajp.tomcat5.Ajp13Connector class is supposed to be? Thanks, and Regards -Original Message- From:

Re: passing Multiple JkEnvVars

2006-05-23 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

[ANN] The answer to the question about monitoring?

2006-05-23 Thread Leon Rosenberg
Hi , Once a month the same question is asked on this list (both tomcat- and struts-users): How can I monitor my application. The best answer the asker can get: look at the access logs. At the beginning I thought it were a joke. It wasn't. After seeing the same question (and most important the

Re: Source for Tomcat 5.5.15

2006-05-23 Thread Mark Thomas
Joe Bohn wrote: Is there another way to get the source for Tomcat 5.5.15 other than the zip file from the tomcat download page? SVN. I'm not certain that the source in the zip matches the binary distribution. It is. Explanations below. I ask because I noticed some strange things with

Re: servlet context of an jsp page.

2006-05-23 Thread Mark Thomas
Ayusman dikshit wrote: 1)Does tomcat 5.5 also provide an implementation of jsp specs? Read http://tomcat.apache.org/ the class name I get is an implementation of servlet only? (I get something like org.apache.jsp_myjspname) The class hierarchy is something like: yourjsp_jsp extends

Re: Permission denied

2006-05-23 Thread Tabu Isiaka
Hi Martin, Thanks for your answer but i still have the same problem. Here is my virtual host description: VirtualHost 192.168.1.103:80 ServerName www.abc.com DocumentRoot /usr/share/tomcat5/webapps DirectoryIndex index.jsp ProxyPreserveHost On RewriteEngine on

Re: Disable KeepAlive on AJP connector?

2006-05-23 Thread randy repasa
Hi Ian, The config option you're looking for is not in the server.xml file, there's a config option in workers.properties file that's specifically for keepalive: socket_keepalive If you want to disable keepalive for your app, you have to set this option to zero: worker.worker

Re: Disable KeepAlive on AJP connector?

2006-05-23 Thread Rainer Jung
I assume you put an Apache in front of your AJP connector? Then you need to disable HTTP Keep-Alive in the Apache configuration. AJP 13 will always use persistent connections between Apache and Tomcat. The workers.properties attribute socket_keepalive has no relation to HTTP Keep-Alive. The

Re: Disable KeepAlive on AJP connector?

2006-05-23 Thread randy repasa
I must have misunderstood his question. Was he asking how to disable keepalives for the AJP connector, or was he asking how to disable http keep-alive? On 5/24/06, Rainer Jung [EMAIL PROTECTED] wrote: I assume you put an Apache in front of your AJP connector? Then you need to disable HTTP

Paul Grimwood/GNS is out of the office.

2006-05-23 Thread Paul Grimwood
I will be out of the office starting 24/05/2006 and will not return until 29/05/2006. I will respond to your message when I return. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Paul Grimwood/GNS is out of the office.

2006-05-23 Thread Paul Grimwood
I will be out of the office starting 24/05/2006 and will not return until 29/05/2006. I will respond to your message when I return. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Best practices : browser checks by tomcat container

2006-05-23 Thread Rajeev Jha
Hi Right now our application supports only new set of browsers (firefox and IE 6+) so we need to display a custom Unsupported Browser page when user hits a servlet via apache front-end URL . The way we are planning to do this is 1) set environment variables in apache based on browser match

Tomcat 4.1.30 - Languages of messages are mixed up

2006-05-23 Thread Fleissner Helmut
Hello! After starting Tomcat 4.1.30 the language of messages are mixed up (between English/German) in the Web-Application (s). This problem occurs not always, but sometimes! The Web-Application uses struts. The standard-language is German (msg.properties). The Server is installed in English