Hello everyone,
I'm having a problem with a java/jsp application running under Tomcat
5.5.12 on Windows. When I start Tomcat from the system tray application or
from the windows services window code that checks whether a directory
exists incorrectly returns false:
File file = new
Hi,
I cannot obtain client certificate with SSL/client certificate
authentication using APR components
...
It's probably a stupid question, but did you generate the client
certificate and did you import in the browser from which you are
trying to connect to your application? How did you
Hi. We set loadbalancing with jk (1.2.15) and apache (2.0) to six tomcats
tomcats (two cluster).
We found strage behavior of jkmanager - every refresh of page gives another
result of Acc Number of requests - actually there is no requests at all.
Why? Any idea?
web3:~# links -dump
I have this JSP that download an excel file.
It works fine if I use only one browser at the same time.
The problem is when I try to do this but from 2 browsers at the same time,
(for example in a same computer). From each browser I can download a part of
the file but not the complete file.
Jeff Chuang wrote:
Thanks for responses. If I put connector ajp-8009 configuration block
BEFORE connector http-443 in server.xml, the log looks like
Jun 19, 2006 5:33:11 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Jun 19, 2006 5:33:11 PM
Stephen Souness wrote:
Could it be related to some problems that Java has had on some Linux
distributions with obtaining entropy for its random number generation
for encryption?
In the past (a few years back admittedly) we encountered a problem when
trying to connect our application to an
password password wrote:
I have this JSP that download an excel file.
It works fine if I use only one browser at the same time.
The problem is when I try to do this but from 2 browsers at the same time, (for example in a same computer). From each browser I can download a part of the file
I have tried in others browsers and the result is the same. The files are
download but incomplets. And while the JSP continues executing the code, a
don't understand.
Rajeev N. Jha [EMAIL PROTECTED] escribió:
password password wrote:
I have this JSP that download an excel file.
It works
Look at the code, look at the loops,
You are trying to download some 105 MB files !!! nombre is like 15
bytes at least
(a) either you wait for a real long time
(b) or you set the content-length in advance
(c) or better still try with small numbers
for (int l=0;l30;l++){
for (int
The current tomcat binaries are all win32. I need help in getting a binary
(tomcat.exe and tomcatw.exe) that will
run on Windows 2003 - 64bit.
I currently use tomcat 5.5.9 on Windows Server 2003 32bit. I am trying to
migrate to Windows Server 2003 64bit running on the Intel EM64T processor.
errm, there are tomcat binaries Tomcat is pure java, so tomcat
binaries should be jars fully unaware of your architecture (which is
than covered by the selection of the proper jdk).
leon
On 6/20/06, Bauer, Michael E [EMAIL PROTECTED] wrote:
The current tomcat binaries are all win32. I
Shades of embarrassment.
Our server clocks weren't sync'd.
It all works, just like it says it ought to.
Which was nice.
Pid wrote:
We're running the following:
Apache2.2 + Tomcat5.5.17
mod_proxy, mod_proxy_ajp, mod_proxy_balancer
on 2 linux boxes (one of which has a DB)
Server #1
Better u give the link to file and enter the mime type
mime-mapping
extensionxls/extension
mime-typeapplication/vnd.ms-excel/mime-type
/mime-mapping
In catlina home\conf\web.xml and Restart the server
Hope this will work
On 6/20/06, Rajeev N. Jha [EMAIL PROTECTED] wrote:
Look at the code,
Better u give the link to file and enter the mime type
mime-mapping
extensionxls/extension
mime-typeapplication/vnd.ms-excel/mime-type
/mime-mapping
In catlina home\conf\web.xml and Restart the server
Hope this will work
On 6/20/06, password password [EMAIL PROTECTED] wrote:
I have this JSP
Hi,
I'm using Tomcat 5.5.15 to transfer files. I get a throughput of roughly 20%
on 100Mbps LAN whereas the download throughput is 95% approx.
How can I make the uploads faster ?
Thanks,
Aman.
--
View this message in context:
http://www.nabble.com/file-upload-speed.-t1816944.html#a4953136
Sent
Those files are in a proprietary format..you'll need to go to adobe and get
the PDF plugin/viewer for display-
M-
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received
Stephen Gray wrote:
I'm assuming that there is come configuration option that causes Tomcat
not to be able to see the local file system but I can't think what it
might be - I'm not starting Tomcat with a security manager.
When running as a service, tomcat runs under the local system user by
Hi,
Yes I have tried with small numbers and the result is the same. I see you
have tried because you know how many MB have the files.
If you has tried, do you have this problem that the files are incompletes?
-
LLama Gratis a
Hi,
How can I make a batch file activated when the Tomcat service is
(re)started?
thanks,
--Amir.
The authorty who issues the certificate has to be authorized(imported) in the
browser.
Then the certificate has to be imported into the browser.
The server's host name must match the host name in its certificate.
Then the client's host name must match the host name in its certifcate.
Do
I am using Tomcat 5.5 in combination with a HTTP-connector that is
configured with TLS and client-authentication. Users log in to my web
application with a client certificate from a smartcard.
When users try to log out, the HTTP-session is invalidated but the
SSL-session key remains valid
Just ran it out of curiosity here on a tomcat 5.5.17, works
perfectly. Only noticeable thing is that the first file get slowed down
when you start second file, but it's quite to be excpected. Measured
speed: 6M/s, files are not mixed together
One thing worth noticing, is that brtowser do
Hi
I am running Tomcat 5.5 and Tapestry on windows. I store my eclipse workspaces
and the application files on another server (Linux). I deploy my xml
configuration files in:
C:\Tomcat\conf\Catalina\localhost
When the Linux server was rebooted, Tomcat subsequently undeployed all my
I think is the version of Tomcat. I have tried with other version (5.5.9) and
it is working.
My actual version of Tomcat is 5.5.4, I thing it is problem. Or something the
configuration in the tomcat: time, number of conexions,...
-
CMSuser ha scritto:
Hi,
I'm using Tomcat 5.5.15 to transfer files. I get a throughput of roughly 20%
on 100Mbps LAN whereas the download throughput is 95% approx.
How can I make the uploads faster ?
Just a thought, though you are in a LAN, is the server in an ADSL? If
yes, you know what
Peter Stavrinides ha scritto:
I deploy my xml configuration files in:
C:\Tomcat\conf\Catalina\localhost
Why here? Your context information should be put either in the
server.xml file or in webapp-root/META-INF/context.xml
The directory that you used is temporary, AFAIK.
HTH
Antonio
On 6/20/06, Antonio Petrelli [EMAIL PROTECTED] wrote:
Why here? Your context information should be put either in the
server.xml file or in webapp-root/META-INF/context.xml
The directory that you used is temporary, AFAIK.
Utterly wrong; please read the doc --
For the client side, sure.
I already know it works if I copy the pdf file under my tomcat
application... I just don't want to move hundreds of files there...
Regards,
Bob
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 20, 2006 07:30
To: Tomcat
I would recommend a servlet that streams the files from some configured
absolute path(s) to the client. It's reasonably simple and allows you
some degree of control over what is delivered. Map the servlet to *.pdf
in your web.xml to make it respond to all requests for pdfs.
--David
Bob
David,
Thanks for the reply...
This is over my head... is there a guide to learn to do this, or do you
perhaps have one that you would be willing to share?
I'm very, very new to this whole thing, and I know very little (next to
nothing) about the innards of all of this...
Regards,
Bob
I am in the same boat as Bob. I already have a servlet displaying the
filenames to select from. My servlet is mapped to a different name in
web.xml file. How should I proceed. Should I have another new servlet?
What about for different file formats. Should it also be mapped?
thanks,
suba
Hi Antonio
Thanks very much for your help what you have said makes perfect sense. I will
try it!
Thanks
Peter
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: 20 June 2006 16:11
To: Tomcat Users List
Subject: Re: Why has Tomcat Undeployed my Applications?
We had an application (with connection pooling and validation query) running on
TC5.0.28 (now on TC5.5.17) connecting to MS SQL Server using the Microsoft JDBC
drivers. When tomcat and the database were on the same side of the firewall
performance was great (averaged 20ms obtaining connection
I can put something together, but not until tonight -- it'll take too
long to do at work. In the meantime, feel free to google. This is such
a simple item I'm sure someone has done it before and posted their
experiences.
--David
Suba Suresh wrote:
I am in the same boat as Bob. I already
Not sure what you mean. I can recompile and deploy the code with no
problems. So, probably...
Leon Rosenberg wrote:
On 6/19/06, Rick Cockerham [EMAIL PROTECTED] wrote:
I wish it would give me a stack trace. That would be wonderful. The
part I left out was just a list of all the
I am having a problem with mod_jk.so. I have apache set up
as my web server, forwarding my jsp
traffic to a tomcat server running on the same machine.
This setup works fine when the client is inside of my
firewall. However, when I try to access
my site from outside the firewall, mod_jk
look at this:
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers
RequestURIFilter is probably what you want
you can install this monitoring application by simply adding a filter
entry to your web.xml. This way you'll see which requests are
currently executed and which uris
I will try googling. I have been struggling with it for sometime even
playing with context.xml file.
thanks,
suba suresh.
David Smith wrote:
I can put something together, but not until tonight -- it'll take too
long to do at work. In the meantime, feel free to google. This is such
a simple
Having a similar problem, I would like to know if you have found any solution
on this...
--
View this message in context:
http://www.nabble.com/Tomcat-creating-two-threads-for-one-request-t1743271.html#a4958276
Sent from the Tomcat - User forum at Nabble.com.
Be aware that Firewalls are known to drop idle TCP conections after a
certain amount of time.
We experienced a similar problem with a DB2 JDBC conection pool through a
Cisco PIX.
What was happening was the conections were closed by the firewall. When they
were re-used, there was an added
Hi,
I am using Apache and mod_jk as a front end to my tomcat instance.
I wish to map a request parameter that is coming from a client which is
specified as sessionid (I have no control over this). Using mod_rewrite
I have success mapping sessionid to jsessionid as follows when sessionid
appears
I use the following in ${CATALINA_HOME}/conf/setenv.sh:
#!/bin/sh
if [ $1 = start ] ; then
CATALINA_OPTS=$CATALINA_OPTS \
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=9086 \
-Dcom.sun.management.jmxremote.ssl=false \
I have an app, written in Struts+JSP.
Encoding works perfectly, no rpoblem with the special
characters/requests/responses.
Except for one annoying thing.
My JSP pages use includes:
[EMAIL PROTECTED] file=../someFile.jsp%
Some pages include 3-5 other pages.
They are all (top level + included
Reading the 2.4 Servlet Spec I found this :
---
SRV.3.6 Multiple Hosts and Servlet Contexts
Web servers may support multiple logical hosts sharing one IP address
on a server.
This capability is sometimes referred to as virtual hosting. In this
case, each
logical host
I'm trying to install a webapp in a different base directory other than
webapps under the tomcat base, using ant.
This worked perfectly under 4.1.31 but under 5.5.17 it wants to dump the
application in webapps. What have I forgotten or over looked?
The ant build file looks like this:
I wanted to thank everybody who shared their Tomcat scalability stories/tips
with me! Thanks a lot!
BJ Biernatowski
Application Developer
-Original Message-
From: Sérgio Costa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 20, 2006 9:39 AM
To: Tomcat Users List
Subject: Re: Tomcat's
Leon Rosenberg wrote:
Isn't Tomcat and JVM still single threaded?
Single thread = single processor usage
I don't think it was ever singlethreaded. And if it were, what would
the Connector setting
in the server.xml mean?
Connector port=8580 maxHttpHeaderSize=8192
maxThreads=750
Darryl Miles wrote:
LOL. Each HTTP request/response cycle is handed off to a worker
thread, the available worker threads are dynamically increased to cope
with the number of the simultaneous HTTP requests being processed in
the moment.
But isn't it Java threads. I'm speaking of operating
Leon Rosenberg wrote:
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain why??
I wanted to ask the same question..
forget it. it was wrong.
I think I wasn't wrong.
Amir Weiss wrote:
How can I make a batch file activated when the Tomcat service is
(re)started?
You could make it activated before first web access.
use static MyClass = new MyClass() in index.jsp
In MyClass constructor use something like:
snip
Process proces=null;
try {
Bob Wyatt wrote:
If I move the pdf to the webapps/appname directory, it will display just
fine.
I don't want to move the hundreds of pdf files the appname directory.
Do the following work?
Create webapps/appname/pdf as a symbolic link directory to
/whatever/you/want/path/to/pdf
?
--
Hi -
I have an application that does not work correctly when the
browser does not accept cookies. I added some code that rewrites the query
string the first time the app is entered to include a new parameter and
then redirects to the app. I watch for that parameter and if I find it I
Bob Wyatt wrote:
Context docBase=/usr/test/pdf /Context
Sorry, I should have read you post more carefully. The above works for
5.5.x but for 5.0.x you will need
Context docBase=/usr/test/pdf path=/pdf /Context
On this version directory listings are enabled so http://host:port/pdf
should
Bauer, Michael E wrote:
The current tomcat binaries are all win32. I need help in getting a binary
(tomcat.exe and tomcatw.exe) that will
run on Windows 2003 - 64bit.
I currently use tomcat 5.5.9 on Windows Server 2003 32bit. I am trying to
migrate to Windows Server 2003 64bit running on
Dariusz Wojtas wrote:
Any hints how to get rid of these extra FFFE chars?
My included files need to be UTF-8 encoded.
Use a text editor that doesn't insert these characters automatically.
Mark
-
To start a new topic, e-mail:
Is there a way to call a JSP within my web app so that I can capture the
HTML that the JSP produces? I'd like to capture that HTML and store it
in a file rather than returning it as part of the response.
I have tried java.net.URL, but it has issues when testing over HTTPS
(self-signed certs)
Mark,
I appreciate all of your help and energy on my behalf...
But alas, this does not work for me...
The requested resource (/myapp/jsp/app/C666119.pdf) is not available...
I removed the $CATALINA_HOME/webapps/myapp/WEB-INF/pdf.xml, and I modified
$CATALINA_HOME/webapps/pdf.xml to read:
#
I'm afraid not...
Regards,
Bob
-Original Message-
From: Mladen Adamovic [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 20, 2006 18:15
To: Tomcat Users List
Subject: Re: pdf documents
Bob Wyatt wrote:
If I move the pdf to the webapps/appname directory, it will display just
fine.
I
Antonio,
I've done other experiments (without tomcat) where the upload speed is
better. There are no throughput constraints in the network/server
configuration. Unless it's internally imposed by tomcat webserver.
Are there any such constraints in tomcat ? is this throughput difference
deliberate
59 matches
Mail list logo