Hi
I use tomcat 5.5.17 and want to upload files. As this was *very* slow in
some cases, I wrote a benchmark servlet. Code is below.
I get the following statistics:
1. Running server on debian linux it accepts about 8.5 MB / sec. (Could
slowed down by VM overhead.)
2. Running server on windows xp
Instead of InputStream alone Use BufferedReader (with InputStream as a
parameter)
then use BufferedReader.readLine to read until the newline
as in this example
URL url = new URL("http://www.yoururl.com/";);
URLConnection conn = url.openConnection();
BufferedReader in = new
I have a client application that posts the content of a file using HTTP/1.0
POST, to a web application served on a Tomcat server. The client application
generates the appropriate HTTP POST header, and writes the header, followed by
the content of the file, out to the server using socket.
The
--- Darren Hall <[EMAIL PROTECTED]> wrote:
> Peter,
> You are correct. When hitting Tomcat directly, the
> session remains intact.
> When using mod_proxy to forward requests to Apache
> the session is lost.
> Is this a common issue? How can I go about
> correcting this?
>
> Thanks
> - D
I don't
Dear all:
I hope someone can give me some advices here.
Here is some config. info for SQL Server 2000 and I am trying to have
the application to talk to SQL 2005. I have downloaded the JDBC driver,
but not sure what will be the correct configuration/steps:
factory
com.
Peter,
You are correct. When hitting Tomcat directly, the session remains intact.
When using mod_proxy to forward requests to Apache the session is lost.
Is this a common issue? How can I go about correcting this?
Thanks
- D
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED
Hello,
I'm using JMeter 2.2 to perform load testing against a web application
running on Tomcat 5.5.16 on a Windows 2003 server. When I simulate 200
users all is well. When I jump up to about 300, I start seeing
SocketExceptions in JMeter as shown below - somewhere between 5% and 10%
of the req
> From: Darren Hall [mailto:[EMAIL PROTECTED]
> I'm running a webapp built on Struts 1.2.9 running in Tomcat
> 5.5 and using
> an Apache 2.2 http server. I've noticed that any value I put into the
> session is always removed after one request/response cycle.
> In the Tomcat
> Manager, I can see
I wasn't sure if my issue was a Tomcat issue or a Struts issue, so I posted
it here just in case.
I have a serious problem.
I'm running a webapp built on Struts 1.2.9 running in Tomcat 5.5 and using
an Apache 2.2 http server. I've noticed that any value I put into the
session is always removed
> From: Mike Wannamaker
> What I would like to do is have something registered with
> Tomcat so that all
> requests that come to all contexts, or configured per
> context, will first go
> through this class before even getting to the applications
> servlets/filtes.
You want a Valve. These can
Shiby -
Could you show us the code where your code creates your Logger and set your
Formatter and Handler, then give us an example where your code
actually uses the Logger to log a message?
---Mark
Shiby Maria John wrote:
Ok thanks
.
.
.
Sorry Shiby,
I've got no idea about the java log
What I would like to do is have something registered with Tomcat so that all
requests that come to all contexts, or configured per context, will first go
through this class before even getting to the applications servlets/filtes.
This itself would act much like a Filter does, but I don't want to
> From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
> http://tomcat.apache.org/connectors-doc/howto/iis.html - is
> there any simpler way?
No. IIS does not have built-in proxying.
> I'm thinking also about running Tomcat standalone on port 80
> listening on another IP address.
That's a simpl
Hi,
I´ve just connected IIS 5 to Tomcat 5.5.17.
The delivery of the webpage (a simple jsp) is very slow.
Calling he same jsp to Tomcat directly (Port 8080) the
site is displayed very fast.
What configuration do I have to change to speed up the
delivery through IIS?
Regards
Timo
---
what kind of training?
just documentation i have checked so far..
On 9/6/06, Jeanna Geier <[EMAIL PROTECTED]> wrote:
Hi-
I'm looking for some recommendations for training on Tomcat. Has anyone
out there attended any training and have any recommendations (good or bad)?
Thanks,
-Jeanna
Hi,
In the near future I'll face the problem of integrating Tomcat with IIS
server. I'm a unix guy for a years, so it frightens me a little ;-)
I have read http://tomcat.apache.org/connectors-doc/howto/iis.html - is
there any simpler way? Something similiar to in Apache? How
do you integrat
Thanks for the thought. I am the DB admin as well it happens at random
times through the days and weeks. Also SQL Server creates backups
online.
I am more interested in someone coming and looking through the system
for configuration issues.
Charles Killmer
720 St Germain. Suite 200
Saint
My first guess would be your database server is taken down for cold
backups once a week and the JDBC driver is barfing on that. [Assuming
its pooling driver of some kind]
Good luck
-Tim
Charles P. Killmer wrote:
Is anyone in the Central Minnesota area interested in reviewing a Tomcat
5.5 set
Is anyone in the Central Minnesota area interested in reviewing a Tomcat
5.5 setup and providing suggestions for proper setup? I have a number
of production sites running on it and everything was working fine on it.
Now about once a week, one of the sites will stop responding. I need to
log in an
Dzmitry,
> When i do the same with jsp or html files everything is OK.
> Where is my mistake? How to make this "fast deployment" without loosing
> session.
If the objects you put into the session do not implement Serializable,
then your session will fail to re-load along with the webapp.
When y
hey tomcat-heads,
I have apache-tomcat-5.5.17 installed on a solaris 10 box. When my users
create their applications, they end up in
/var/local/user/apache-tomcat-5.5.17/webapps
with drwxr-r-x permissions on the directory under webapps.
what I want, it for it to show up as drwxrwr-x (group wri
Thanks for this quick answer.
Hugo
-Message d'origine-
De : Markus Schönhaber [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 22 septembre 2006 15:30
À : Tomcat Users List
Objet : Re: Context file and path
LASSIEGE Hugo wrote:
> I just migrate from tomcat 5.0.27 to tomcat 5.5.17. But I hav
I remember an old thread suggesting you name your context xml file
myapp#mymodule.xml -- try it and let us know.
--David
LASSIEGE Hugo wrote:
Hi,
I just migrate from tomcat 5.0.27 to tomcat 5.5.17. But I have some
problems in context.xml file.
Previous to migration, I had a in
a console.xml f
Balaraju,
> I need good help from all of you. My problem is i need to give a user a URL
> link which will download a application to usersystem. I will append a id to
> that URL, so that when ever a user clicks and downloading application that
> application will need to read or recognizes that valu
LASSIEGE Hugo wrote:
> I just migrate from tomcat 5.0.27 to tomcat 5.5.17. But I have some
> problems in context.xml file.
> Previous to migration, I had a in
> a console.xml file (in Catalina/localhost). I reach my page through
> http://localhost:8080/myapp/mymodule.
>
>
> In 5.5.17, path is not
Hi,
I just migrate from tomcat 5.0.27 to tomcat 5.5.17. But I have some
problems in context.xml file.
Previous to migration, I had a in
a console.xml file (in Catalina/localhost). I reach my page through
http://localhost:8080/myapp/mymodule.
In 5.5.17, path is not read anymore and I reach my pag
Sorry all - my bad.
Suggestion 3 in the WIKI (http://wiki.apache.org/tomcat/HowTo#head-
cb66e750a22dea34b56f508dd675ed3c2e2e221a) works perfectly as advertised.
For the archive, my problem was due to an old JAR lurking in server/
lib that I thought had gone, so my custom principal interface
Mark, list;
...at first, thanks a lot for your hint. :)
Am Fri, 22 Sep 2006 07:23:29 -0400
schrieb Mark Thomas <[EMAIL PROTECTED]>:
> > attachments. So far, recieving and decoding messages (small sizes,
> > or locally) works well, but external tests using the remote sender
> > client and bigge
Kristian Rink wrote:
>
> Folks;
>
> I am running an (axis-based) SOAP web service inside a tomcat 5.5
> environment to link two subsidiaries of our company. This service is
> supposed to recieve messages including very large (> 100 MB) MIME
> attachments. So far, recieving and decoding messages (
Sandeep Darvekar wrote:
> Hello,
>
> Is there any limit configuration on tomcat that restricts uploading the
> files above 2MB size?
See http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
You want maxPostSize
Mark
-
To
Hello,
The images that are referenced using the '.' current directory operator
are visible when the folder is renamed ROOT but not the other images for
example please look for the src="/jpivot/toolbar/cube-up.png" in the
page source.
I want to reference these images aswell with the '.' opera
Hi All,
I need good help from all of you. My problem is i need to give a user a URL
link which will download a application to usersystem. I will append a id to
that URL, so that when ever a user clicks and downloading application that
application will need to read or recognizes that value which w
Hi,
I have several webapps that need to access a shared properties configuration
file. To do so I put this file in shared/classes. I works well, I don't know
if this the right way to do, if you have better ways to do so you can tell
them to me.
Now I have to conditionnaly launch my webapps at to
Tomcat has knowledge of what version java is if it can find where java home
dir is.
take a look at the startup file (.bat for windows and .sh for linux/unix),
you will have a brief idea on how tomcat starts
On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
So Tamcat has no information a
So Tamcat has no information about the Java version to use by itself? This
is hard to believe, because the System where Tomcat is running on never had
a JAVA_HOME path defiend and Tomcat run great on it until the Java update.
Also during the Tomcat installation process the wizard asks for an Java
i
in windows:
echo %JAVA_HOME% see if there is anything
in linux/unix
echo $JAVA_HOME see if there is anything
normally if you export JAVA_HOME, and add to path, you should be able to use
tools in /bin directly
so make sure your JAVA_HOME is exported
On 9/22/06, [EMAIL PROTECTED] <[EMAIL PROTE
Hello List,
I ve Tomcat5 running and updated Java. Since then Tomcat refuses to start up
because it can not find Java anymore. Where can I define the Java path for
Tomcat to work with? I tried to set JAVA_HOME, but Tomcat still would not
work :(
Thanks!
--
Folks;
I am running an (axis-based) SOAP web service inside a tomcat 5.5
environment to link two subsidiaries of our company. This service is
supposed to recieve messages including very large (> 100 MB) MIME
attachments. So far, recieving and decoding messages (small sizes, or
locally) works wel
Hi,
I have an Apache 2 -> mod_jk -> Tomcat 5.5.16 set up and I'm trying to get
Tomcat errors handled by Apache.
In Apache I have:
ErrorDocument 404 /cgi-bin/error.cgi
And in Tomcat's web.xml I have
404
/cgi-bin/error.cgi
I guess the location tag is wrong here as it doesn't work, bu
39 matches
Mail list logo