This is very strange. When I add commons jars, e.g. commons-bean-utlis.jar,
to my webapp lib directory, the webapp will no longer deploy to tomcat
5.5.12. Take the commons jars out (and restart tomcat) then the webapp will
deploy. It won't run of course, because of the missing classes...
I've
I don't know from the details of tomcat implementation, but i'll response
using common sense and from my experience.
Tomcat loads all .jar descriptor at webapp startup so it know which .jar
contains
which class. But it does not load the .class binary content;
Each time a class is required, a
Can I disable transfer encodign chunked on tomcat 5.5.x?
I read in tomcat docs that HTTPConnector on tomcat 4.1 has a property
allowchunking, but i don't see anything on coyote and tomcat 5.5.x
I use apache 2 as web server.
Regards, Enrique.
Cheers. I think I wanted to know how and if there was
a good way of incororating mulitpart response into a
framewrok like struts?
Let's say I have a page with a number of src tags
embeded in it, and I don't want the browser to have to
pull in each image individually, how could I write
them all
Hi Alex,
You should take a look at http protocol
ftp://ftp.isi.edu/in-notes/rfc2616.txt
And point out what part of the specs you need to
manage. As far as i know, there is no way in the
http protocol to embed binary content straight
into the stream, and certainly not in the middle
of the html
Hi,
I am trying to read the universal charater form a text file to my java
application that stores them in database. When I use encoding type GBK i
can read all special charater in chinease, when i use encoding ISO-8859-1
i can read latin but not chinease , but whn i use encoding as UTF-8 i
Okay. Thanks for that guys. I guess I was being a bit
optimistic. So images basically can't be written
straight to the response? Thanks alot for that both of
you.
--- Peter Bright [EMAIL PROTECTED] wrote:
Will a browser accept unsolicited images?
Until the browser has parsed the HTML it
If the browser supports it you would send the whole page in one
multipart response a bit like a mail message.
Here's one way to do it:
So, you'd have to buffer the response. Then create a
javax.mail.internet.MimeMultipart and add BodyParts
(javax.mail.internet.MimeBodyPart) for the html and
If its not broke - why upgrade? But if your app is still being actively
developed - it may encounter issues/bugs which may be fixed with the currect
(or future) version of tomcat. That being said - you still have the source to
patch it yourself (if you are comfortable with that)
-Tim
Hi,
In Europe we have lots of languages. I don't think it's true that UTF-8 can
handle european character very well.There is a list in the net (I don't know
here) with the other ISO encoding for other languages.
AF
Citando David Delbecq [EMAIL PROTECTED]:
Hi,
UTF-8 can handle european
UTF-8 (8-bit Unicode Transformation Format) is a lossless,
variable-length character encoding for Unicode created by Ken Thompson
and Rob Pike. It uses groups of bytes to represent the Unicode standard
for the alphabets of many of the world's languages. UTF-8 is especially
useful for transmission
We're running Tomcat 5.0.28 with JDK 1.4.2_8 hosting a single commercial web
application on our web server which uses MySQL 4.0.26 running on another
server. Both servers are Windows 2003 Enterprise, 2x3.0GHz XEON, 4GB RAM. Our
Tomcat instance is dedicated to the commercial web app, and the
can you port your application to linux where kill -quit given you
complete stacktrace? Unfortunately I don't know how to create full
stack trace under windows, but you'd need it definitely.
Have you tried the manager? It could show you the
servlets/actions/whatever which hangs. Probably you have
One stupid suggestion is to run the tomcat inside an environment like
eclipse
with an eclipse plugin like sysdeo. Then stress the webapplication.
When, it 'hangs'
issue a 'pause' inside the tomcat jvm, and explore the various threads.
Search for 2 kinds of locks:
- non returning http-thread
If I generate a dump of the JVM using Ctrl-Break while
running Tomcat as a console app, what's the best resource for
interpreting this? I suspect the problem is a thread
deadlock, or something similar.
This tells us that you succeed in getting a JVM thread dump and
you are asking for help
I understand synchronization and deadlocks. I'm just looking for some guidance.
(1) Based on the problem I've described, is an analysis of a JVM thread dump a
good next step for diagnosing the hang, or else what would be and (2) are there
any resources that would be helpful with that analysis
Sorry, my mistake! I thought we were speaking about something else...
AF
Citando Peter Crowther [EMAIL PROTECTED]:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I don't think it's true
that UTF-8 can handle ALL european character very well.
If it can't, the Unicode consortium
On 10/18/05, David Boyer [EMAIL PROTECTED] wrote:
(2) are there any resources that would be helpful with that analysis (e.g.
something that I can use as a tutorial for understanding everything the dump
contains).
Take a look at:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36541
We had
OK. Well, feel free to attach your stack dump then. Some curious
soul (including myself if i had the time) may either see the
problem immediately or use your own stack trace to guide you
through it.
Robert
-Original Message-
From: David Boyer [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Mark,
Thanks for the response. In the code below, are you manually calling
JAAS, rather than via the j_security_check mechanism? The proper way
to access the authentication mechanism in Tomcat is to post to
j_security_check from a login form -- I wasn't sure from your post
below whether
-Mensaje original-
De: Brad O'Hearne [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 18 de Octubre de 2005 09:31 a.m.
Para: Tomcat Users List
Asunto: Re: Is it even possible to retrieve a custom user principal? (Was:
Tomcat user principal)
Mark,
Thanks for the response. In the code
Hi
I am using jboss 4,01, which is uses tomcat 5. WE have a web
server(IIS) and use jk2 as the connection to the backend server(jboss
4,01).
I have a web app mapped to a network drive to serve static pdf and html
files. This uses tomcat because of authentication purposes(one of these
reasons is
Hi,
I am looking to use BSF so that I can write JSPs in languages other than Java.
However according to the BSF website I need to patch Jasper, however it doesn't
actually tell you how to do this! Can anyone point me in the direction of the
patch, or the instructions on how to do it.
Many
Mark,
Thanks so much for your help. That is very enlightening, and I'll
consider doing the same, depending on whether I get a response about
this from my post on the Tomcat dev mailing list. One complication of
mine is that I've implemented single-signon, and need that behavior as
well. I
Oh dear. Now you're asking my friend.
You are now going to have highlighted to you my ignorance in running my own
businesses and learning as I go along.
I 'think' you mean with the Container Managed Security stuff like defining
roles and paths that are locked down in your web.xml? I can't say
Tim
I *LIKE* this idea. Yes!
And it simply does an endrun around my machinations here.
But, actually, I have a question.
For this to work for me, it would have to be the case that
this filter is in front of the tomcat DefaultServlet. Which
means that filter and filter-mapping elements need
Hi ,
Well we have log4j and debugging in our code.
We thought the singleton might be an issue. so we tried the following
without the singleton.
we made a single servlet call without the singleton.We make a remote call
to Websphere Application Server ( on AIX) using corbaloc like
Thanks for the info.
Santosh
On 10/18/05, Tim Funk [EMAIL PROTECTED] wrote:
If its not broke - why upgrade? But if your app is still being actively
developed - it may encounter issues/bugs which may be fixed with the
currect
(or future) version of tomcat. That being said - you still have
Hi all,
I am also facing an issue with tomcat 4.1.30 on RHEL 3.0. After few days my
server doesnot respond to any request. When i check the process id, it is
running. But when i try to shutdown the tomcat , it doesnot stop. the
process id still exists So i kill -9 the PID and the start the
I'm pretty familiar with Tomcat, but have no idea what RAD is and how its
Tomcat related. If you explain that someone might be able to better help.
-Original Message-
From: Developer Developer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 8:59 AM
To: Tomcat Users List
From: Richard Mixon [EMAIL PROTECTED]
I'm pretty familiar with Tomcat, but have no idea what RAD is and how its
Tomcat related. If you explain that someone might be able to better help.
Rational Application Developer, I assume.
The problem seems to be here:
web-app id=WebApp_ID version=2.2
31 matches
Mail list logo