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 PROTECT
Hai All,
I am using netbean 5.0 with jakarta-tomcat-5.5.9.
I am facing two problems.
1> i am using log4j for my website. it logs my application error messages
with tomcat specific error messages with it. any one have idea how to make
my logger should work for my application.
2> when i am com
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 (Wind
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 ru
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 PROTECT
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 PROTECT
The traditional way to handle this is to set connectionTimeout="30" (the
actual value will vary depending on your system :). This will recycle the
thread if no Apache child talks to it for 5min.
Usually a better solution with 5.5.x is to use the APR or NIO AJP Connector.
These allows for T
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 Kee
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 optio
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..socket_keepalive=0
Hope
Hi Martin,
Thanks for your answer but i still have the same problem.
Here is my virtual host description:
ServerName www.abc.com
DocumentRoot /usr/share/tomcat5/webapps
DirectoryIndex index.jsp
ProxyPreserveHost On
RewriteEngine on
ProxyRequests on
Order deny,a
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 org
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
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. Thi
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
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: Davi
The location directive for the virtual site has to be specified in httpd.conf
ProxyPass ajp://localhost:8009/contact/
Allow from localhost
Also determine if the admin is either blocking or using that port..if so find a
work around
Anyone else?
M
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 popula
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 fine,
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
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 popula
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 c
-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,
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 expl
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 Message--
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 c
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";
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 the
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 your
Sorry Dirk!
"Dirk Moolman"
<[EMAIL PROTECTED]
o.za>
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 ident
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 co
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] [m
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.
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
impor
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 browser
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
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 searc
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 Mool
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
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: Tomcat
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
--
--
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 vn
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//org
/apache/jsp/jsp
If I do the same with the old name, the directory does not get create
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 a
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 scr
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 rec
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 wor
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 th
You're right, not the RPM, but I'm using the Debian apt package. I'll
give your suggestion a try. Most of the stuff in /usr/share/tomcat5 is
soft-linked to the /var/lib stuff, but not everything (e. g., the common
and server directories aren't). I'll try that. Whether to use the
Debian apt pack
Can you delete the folder from Tomcat's directory
work, standalone, localhost
It should work
"Dirk Moolman"
<[EMAIL PROTECTED]
Thanks Filip,
Filip Hanik - Dev
Lists
<[EMAIL PROTECTED]
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 Explor
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
Su
> 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
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 ap
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
want
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 There,
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 se
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?
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
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 na
> 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=609458&messageID=3355532
Still haven't found the entry in the bug
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
-
> 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 m
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: users@
66 matches
Mail list logo