make sure you are handing the session id at the very beginning the session
id is sent back in a cookie , you need to either send it back at any request
(as cookie) or use URL rewriting to embed it in the request URL.
On Fri, Sep 12, 2008 at 7:48 AM, ANITA.2310 [EMAIL PROTECTED] wrote:
I have 2
at tomcat official site,
http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html
redirectPort is described as below
If this Connector is supporting non-SSL requests, and a request is received for
which a matching security-constraint requires SSL transport, Catalina will
automatically
How can i achieve this?
Youssef Mohammed wrote:
make sure you are handing the session id at the very beginning the session
id is sent back in a cookie , you need to either send it back at any
request
(as cookie) or use URL rewriting to embed it in the request URL.
On Fri, Sep 12, 2008
basically you'd better use a Http client library (like HttpClient ) that
will make it easier.
check this as starting point ...
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06270.html
note that here they have the jsessionid known .. but in your case you will
need to know that.
I think the
李征 wrote:
at tomcat official site,
http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html
redirectPort is described as below
If this Connector is supporting non-SSL requests, and a request is received
for which a matching security-constraint requires SSL transport, Catalina
will
Hi Everyone,
I have joined the tomcat project. Could you point to me to some study
material where I can understand the architecture of tomcat and how things
work?
I have some knowledge on Java, JSP and Servlets.
P.S: As this is the first time I am posting, please correct me If I have
posted
sathish kumar wrote:
Hi Everyone,
I have joined the tomcat project. Could you point to me to some study
material where I can understand the architecture of tomcat and how things
work?
http://tomcat.apache.org/tomcat-6.0-doc/architecture/index.html
then look at the code
It is really hard to pinpoint your problem whit such a huge web.xml.
But, let's try.
First, for servlet HelloWorld you stated the class name
/servlet/HelloWorld. That is wrong. Class name should be fully
qualified Java class name like: com.something.servlet.HelloWorld.
Second, in your
Caldarale, Charles R wrote:
I'm not sure these days what the normal web character set really is. If
you're referring to ASCII (aka Basic Latin), then no, the Pound Sterling symbol is not
present. However, for any of the ISO-8859-x variants, it is present, using the 163
(0xA3) value you
Hi all!
Can i download a PDF style document from somewhere, or other style?
Please show me the url. Thanks!
--
Sorry for my english!! 明
Please help me to correct my english expression and error in syntax
- Original Message -
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 12, 2008 6:01 AM
Subject: RE: Migrating to tomcat 6 gives formatted currency amounts problem
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject:
2008/9/12 André Warnier [EMAIL PROTECTED]:
Caldarale, Charles R wrote:
I'm not sure these days what the normal web character set really is. If
you're referring to ASCII (aka Basic Latin), then no, the Pound Sterling
symbol is not present. However, for any of the ISO-8859-x variants, it is
Mark
thanks a lot for ur reply,
this is my setting for connector
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8009 minProcessors=5 maxProcessors=150
enableLookups=true redirectPort=8443
acceptCount=10 debug=0
OK, Wil you made me do some homework... got it sorted for you
You must not guess the Charset... as we been doing.
Use this function
System.out.print(CharSet : + Charset.defaultCharset().toString());
and thats what you HAVE TO set your page at
On my system it tells me
StrongSteve wrote:
Can anyone tell me - or give me a resource - on how to configure SSL in
Tomcat 6 with an installed Native Library?
I did it as usual in the following way:
Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
maxThreads=150 scheme=https secure=true
Then one last thing before I put this in my little black book of things I'm
never going to do... and forget about it forever ;)
This is what windows does
If the machine is on US English...
Regardless of the local I set... German, English, Japanese I set in Java
the charset is
Hi Everybody!
Can anyone tell me - or give me a resource - on how to configure SSL in
Tomcat 6 with an installed Native Library?
I did it as usual in the following way:
Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true
maxThreads=150 scheme=https secure=true
Konstantin Kolinko wrote:
2008/9/12 André Warnier [EMAIL PROTECTED]:
Caldarale, Charles R wrote:
I'm not sure these days what the normal web character set really is. If
you're referring to ASCII (aka Basic Latin), then no, the Pound Sterling
symbol is not present. However, for any of the
2008/9/12 André Warnier [EMAIL PROTECTED]
Konstantin Kolinko wrote:
2008/9/12 André Warnier [EMAIL PROTECTED]:
Caldarale, Charles R wrote:
I'm not sure these days what the normal web character set really is.
If
you're referring to ASCII (aka Basic Latin), then no, the Pound Sterling
- Original Message -
From: André Warnier [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 12, 2008 10:08 AM
Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem
Caldarale, Charles R wrote:
I'm not sure these days what
Its hard to see but arent the extra processes your greps?
-Original Message-
From: Jon [mailto:[EMAIL PROTECTED]
Sent: 11 September 2008 15:11
To: Tomcat
Subject: [NEWBIE] Apache Tomcat 5.5.17
I'm using grep to monitor apache process (tomcat apache 5.5.17). It seems
to create a new
On Thu, Sep 11, 2008 at 09:29:14PM +0100, Mark Thomas wrote:
Shahar Cohen wrote:
Hi,
Can anybody please tell me how I can monitor by SNMP tomcat sites
without querying the admin module which I disabled for security reasons?
Is there any MIBS that I can use?
In short, you
Konstantin Kolinko wrote:
2008/9/12 André Warnier [EMAIL PROTECTED]
Konstantin Kolinko wrote:
2008/9/12 André Warnier [EMAIL PROTECTED]:
Caldarale, Charles R wrote:
I'm not sure these days what the normal web character set really is.
If
you're referring to ASCII (aka Basic Latin), then
Hi,
I've written a custom Realm, set up according the Realm-howto from Tomcat
Documentation. I use RealmBase.Digest to digest passwords. The Realm works,
in that users are authenticated properly.
But I've also written a code to allow the user to change their password,
using RealmBase.Digest to
Hi,
Have you checked the configuration for this catalina opts?:
-Duser.language=es
-Duser.country=ES
Check that they are the same in both tomcats. (In this case, for instance,
is configured for Spanish-Spain)
Good Luck
Best,
Toni
-Original Message-
From: André Warnier
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency
amounts problem
- the servlet reads those documents with some InputStream,
without specifying a character set or encoding, and by
default that means to use Tomcat's idea of its default
From: Caldarale, Charles R
Subject: RE: Migrating to tomcat 6 gives formatted currency
amounts problem
Consequently, setting LC_CTYPE (or equivalent) prior to
starting up Tomcat can have a dramatic effect on the
interpretation of both input and output, as you have discovered.
Also, as
On 12 Sep 2008 at 13:07, sathish kumar wrote:
Send reply to: Tomcat Users List users@tomcat.apache.org
Date sent: Fri, 12 Sep 2008 13:07:25 +0530
From: sathish kumar [EMAIL PROTECTED]
To: users@tomcat.apache.org
Subject:Beginner
Hi Everyone,
I have joined the tomcat
I'm trying to get remote debugging working with Tomcat using a shared memory
connection. I've been calling it remote debugging but the server and debug
client (my IDE) are on the same host.
Everything works well when I start Tomcat from the command line
(bin/startup.bat). I have the
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency
amounts problem
If this locale stuff is in fact defaulting to an ISO char set
that can do these symbols...
There's the basic problem - anytime you allow defaults to come into play you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
If this locale stuff is in fact defaulting to an ISO char set that can
do these symbols... and say you where making a non english page, say
Japanese... do you think that its possible to use it?
It is up to your browser
Here is the official link. http://tomcat.apache.org/tomcat-6.0-doc/index.html.
http://tomcat.apache.org/tomcat-6.0-doc/index.html
But if you know nothing about tomcat before, a book might be a better place
to start. Such as this one
From: 李征 [mailto:[EMAIL PROTECTED]
Subject: 回复: about Connector's attribute redirectPort
this is my setting for connector
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8009 minProcessors=5 maxProcessors=150
enableLookups=true
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re:
Migrating to tomcat 6 gives formatted currency amounts problem
if I do look at that test page in a MS tool... it displays
correctly with mixed
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency
amounts problem
(My understanding is that Unicode (16-bit) is actually not
big enough for everything, but hey, they tried).
Point of clarification: Unicode is NOT limited to 16
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
The pages served by that webapp are the same html pages, all of them
having a declaration meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1.
Note that using META tags to set character sets is a bit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
It is on the way through that servlet that they get corrupted, unless
I start Tomcat with LC_CTYPE=iso-8859-1.
What do the HTTP headers say when the file is served correctly versus
when it is not? I suspect that the
From: Carol Cheung [mailto:[EMAIL PROTECTED]
Subject: NoClassDefFoundError: org.apache.catalina.realm.RealmBase
I have catalina.jar in WEB-INF/lib
Can anyone shed some light on what I'm doing wrong?
Putting catalina.jar in WEB-INF/lib is certainly one major error. Remove it.
You must
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency
amounts problem
Does it mean you cant run linux headless?...
Of course you can (think about blade servers).
Now you're confusing graphical display with encoding. The term headless is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency amounts
problem
(My understanding is that Unicode (16-bit) is actually not big
enough for
From: Carol Cheung [mailto:[EMAIL PROTECTED]
Subject: NoClassDefFoundError: org.apache.catalina.realm.RealmBase
I have catalina.jar in WEB-INF/lib
Can anyone shed some light on what I'm doing wrong?
Putting catalina.jar in WEB-INF/lib is certainly one major error. Remove
it. You must
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
Use this function
System.out.print(CharSet : + Charset.defaultCharset().toString());
and thats what you HAVE TO set your page at
On my system it tells me its. windows-1252
I think you're still
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anand,
Anand Gundanna wrote:
So, do you think Automatic windows patch management and manual tomcat
patch management would ideal as patch releases from Tomcat is very rare?
Yes. Given that you have to test the hell out of your application
whenever
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
李征,
李征 wrote:
If this Connector is supporting non-SSL requests, and a request is
received for which a matching security-constraint requires SSL
transport, Catalina will automatically redirect the request to the
port number specified here. The
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency
amounts problem
the 'char' data type is /defined/ to be 16-bits wide
(http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.2.1).
Has this changed? When? (And
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carol,
Carol Cheung wrote:
Sorry, I'm using Tomcat 5.5. I removed catalina.jar from WEB-INF/lib and I
am still getting the same error.
You should put your Realm implementation into $TOMCAT_HOME/shared/lib or
$TOMCAT_HOME/common/lib. I suspect you
From: Carol Cheung [mailto:[EMAIL PROTECTED]
Subject: RE: NoClassDefFoundError: org.apache.catalina.realm.RealmBase
Sorry, I'm using Tomcat 5.5. I removed catalina.jar from
WEB-INF/lib and I am still getting the same error.
Look at the Tomcat 5.5 classloader structure:
Bootstrap
Christopher Schultz wrote:
[...]
Yes, they do. MS, contrary to W3 specifications, sniffs the content of a
page and chooses the encoding and ignores any server-specified encoding.
It also does this with MIME types. (Sorry, can't find the reference
right now).
[...]
Here is a start,
Nope - most editors do not let you choose the character encoding, they just
use the platform default. Some do let you choose a UTF-x flavor in lieu of
the platform default, which is quite desirable. Some fonts (e.g.,
Wingdings) redefine the glyphs for given code points in order to display
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
Servlet Response does in fact have a setLocale(Locale loc) function...
Which seems to indicate that if headers or something like
response.setContentType(text/html;charset=UTF-8);
is *not* used... TC will take on the
On Fri, Sep 12, 2008 at 9:26 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
Wonder if Wil knew he asked such a damn big question... ha ha
I'm really amazed at the volume of mails my question has raised.
I can only see one solution to this complexity: let's all (everybody in the
whole world) speak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency amounts
problem
the 'char' data type is /defined/ to be 16-bits wide
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Willem,
Willem Moors wrote:
I can only see one solution to this complexity: let's all (everybody in the
whole world) speak the same language, use the same currency and move into
one and the same timezone (the latter because of past fun with
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency
amounts problem
(My understanding is that Unicode (16-bit) is actually not
big enough for everything, but hey, they tried).
Point of clarification:
Rectification to the clarification : what I say below about UTF-16 being
always 16-bit and limited is also nonsense. UTF-16 is variable-length,
it can cover the entire Unicode character set. It just uses a variable
number of 16-bit words per character, as compared to UTF-8 which uses a
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Willem,
Willem Moors wrote:
I can only see one solution to this complexity: let's all (everybody in the
whole world) speak the same language, use the same currency and move into
one and the same timezone (the latter
Just for the sake of completeness :
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
It is on the way through that servlet that they get corrupted, unless
I start Tomcat with LC_CTYPE=iso-8859-1.
What do the HTTP headers say when the file
Mark Thomas wrote:
Anand Gundanna wrote:
Dear Support,
I would request for your help in regards to Tomcat Patch Management. I
hope you will be helpful in this regard.
We have installed and configured an Tomcat web server on windows server
platform for an application called Business
Hi.
In response to a request, a servlet opens and reads a file from disk,
and sends the content out to the browser (ultimately), as is.
The content of the file is an html document, saved as a text under some
encoding, correctly encoded under that encoding, and containing an html
meta
André Warnier wrote:
Hi.
In response to a request, a servlet opens and reads a file from disk,
and sends the content out to the browser (ultimately), as is.
The content of the file is an html document, saved as a text under some
encoding, correctly encoded under that encoding, and
- Original Message -
From: André Warnier [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 12, 2008 10:56 PM
Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem
Just for the sake of completeness :
Christopher Schultz
Hello,
I have a servelet spawn a thread that should run until tomcat is
shutdown. The problem is, when Tomcat is shut down, the thread keeps
running.
Does Tomcat have a shutdown event that I could use to trigger the
thread destruction? If not, is there any graceful way of handling
this?
Thanks
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency
amounts problem
The servlet thus reads the iso-8859-1 data, but with the
wrong decoder. I guess then that this decoder replaces
anything that does not fit into that default encoding,
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Migrating to tomcat 6 gives formatted currency
amounts problem
so, Java is still 16-bit Unicode in its char primitive,
but you can use ints to hold UTF-16 values using 21-bits?
The 21-bit values are represented by pairs of
2008/9/12 Bryan D. Fish [EMAIL PROTECTED]:
I'm trying to get remote debugging working with Tomcat using a shared memory
connection. I've been calling it remote debugging but the server and debug
client (my IDE) are on the same host.
Everything works well when I start Tomcat from the command
2008/9/13 Tom Cat [EMAIL PROTECTED]:
I have a servlet spawn a thread that should run until tomcat is
shutdown. The problem is, when Tomcat is shut down, the thread keeps
running.
Does Tomcat have a shutdown event that I could use to trigger the
thread destruction? If not, is there any
Hi Ognjen,
Thanks so much for your help. I have tried your suggestions, but the site still
wouldn't show my servlet. Althought i have noticed something else which i am
not sure if is related to the issue we're talking about. I reinstall my Apache
server and Tomcat. In my Tomcat training
67 matches
Mail list logo