Hello.
I'm a tomcat beginner but have experience of the apache http server.
I have a character issue I can't figure out. Here are a simple example of a
html-page.
- 8 -
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
On 1/4/07, Vijay Hatewar
[EMAIL PROTECTED] wrote:
Hi All
I am very new to Tomcat and working as a QA
Engineer , I have to deliver
presentation on How web application can be deployed
using tomcat , different
configuration files and how they are used .
basically I want to cover high
level
OK, now I've got it. There is a special handling for encoded slashes in
apache. Most other encoded chars will work transparent, but not slashes.
You can set
AllowEncodedSlashes On
in Apache. Please read the docs at
http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes
to
I am not sure if I should take effort, answering your question but still...
Jerome ..
Yes you are right , I perhaps made very simple request. But is it fair and
right , you putting every Indian in the same bracket.
I believe everything is getting outsourced in India since long time and we
are
Vijay,
for a start try reading up the documentation. You'll find it at
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html
Cheers
Greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @
Thanks Rainer
That solved my problem, Thank you very much!!!
Regards
Jagadeesh
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 3:09 PM
To: Tomcat Users List
Subject: Re: MOD_JK Redirection issues
OK, now I've got it. There is a
I've experience problem with web app deployments under Solaris.
I have one web app that serves all requests.Context path=(default app).But
requests for dirs such bin,conf,work,webapp and other in CATALINA_HOME don't
go o my app and served by tomcat.
Under Linux and windows same config works well.
Hi,
Our java based application is running on tomcat 5.0.3 on linux with JRE
1.4.2_08.
Since the migration from tomcat 5.0.27 to 5.0.30, a bunch of our
application's sessions are not correctly closed and so they stay in live
using memory.
In using a leak tracker tool, a
On 1/4/07, Denis Barthélemy [EMAIL PROTECTED] wrote:
Hi,
Our java based application is running on tomcat 5.0.3 on linux with JRE
1.4.2_08.
Since the migration from tomcat 5.0.27 to 5.0.30, a bunch of our
application's sessions are not correctly closed and so they stay in live
When I use Java 1.6.0:
Tomcat started using startup.bat works fine.
When started using tomcat5.exe does nothing, and exits.
When registered as a Windows service, and started using:
net start tomcat5
There is a meaningless error message on the console, but in
jakarta_service.log I find:
I think you're going to have to be a bit less vague if you
want any real
responses. A description of the actual symptoms, exact error
messages,
log entries, etc., would help. Strange behaviour doesn't
give anyone
much to go on.
Sorry, Im still grappling with the new Tomcat. There are
Hi Roger,
just a shot from the hip:
Maybe you want to overwrite the method public int hashcode() for the
objects being put into the hashmap - you should not rely on the
default implementation of java.lang.Object.hashcode().
Besides, HashMap is not thread-safe, have you tried it with a
Chris, Chuck:
Thanks a lot by the explanation. Looks like Tomcat (or maybe the
Servlet specification?) needs a mechanism to switch from https to
http when this access is declared by a security-constrains otherwise
is forcing programmers to always use programatic security to made this
switch;
Hi Joe,
Have a look at the Acegi Security [1] stuff if your using spring. This
will allow you to configure what paths require https and redirect the
incomming requests if they are not https.
There is a catalina project too [2] but im not to sure what that
does, but you never know it might be of
I ran Tomcat using the .bat and I experience the same issue. Yes, it is the
version that I believe it to be as the version number is reported in the
manager console and I'm not running a distro of Eclipse that bundles any
server.
Fran
Caldarale, Charles R wrote:
From: Fran Varin
Or if you use the JSP standard tag lib (JSTL) you can do: c:url value=
second.jspsecond page/c:url
--
Len
On 1/4/07, Bill Barker [EMAIL PROTECTED] wrote:
Usually you would use a tag lib for this sort of thing. With struts, it
would look something like:
html:a href=second.jspsecond page
Besides, HashMap is not thread-safe, have you tried it with a
thread-safe implementaion (i.e. Map m =
Collections.synchronizedMap(new HashMap(...));)
Yep, that fixed it. Interestingly, the original servlet using the hashmap
continues to work fine with Tomcat 4.1.31. I can only surmise
Well, haven't looked at the code of either version (4.x, 5.x),
however, I figured that 5.x makes a bit more use of Java's
threading-features. Besides, unsynchronized hashmaps are a
#1-candidate for errors that are either strange, not reproducible and
in cases where you think you should file a
Hi Ben,
Unfortunately I not using any framework in the webapplication,
just raw java scriplets and html (is a small webapp). Anyway thanks a
lot by the links.
Cheers!
- Pablo
On 1/4/07, ben short [EMAIL PROTECTED] wrote:
Hi Joe,
Have a look at the Acegi Security [1] stuff if your using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: URL rewriting For Session Tracking
Do I have to wrap every link that I have in my webapp with an
Httpservletresponse.encodeURL()?
No. As I
[EMAIL PROTECTED] wrote:
All I want to do is 'URL rewriting For Session Tracking'. Do I have to do this
manually in my code (using response.encodeURL), or is there an automatic way of
doing this in Tomcat (such as using a filter or value) that would handle this
for me?
Add cookies=false to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pablo,
John Doe wrote:
Thanks a lot by the explanation. Looks like Tomcat (or maybe the
Servlet specification?) needs a mechanism to switch from https to
http when this access is declared by a security-constrains otherwise
is forcing programmers
Hi all
I have one question regarding http and https:
Lets say I open a pop up page from https, pop window will be opened in https
mode as main window is opened in https and I have action in pop up where it
leave https mode and enter in to http modeIf i want put value from pop
window to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pablo,
John Doe wrote:
Of course that is not a Tomcat's job, but if exists a redirection
from http to https I wonder why does not exists a reverse way in the
declarative security mechanism provided by the servlet
specification.
Oh, I understand
Thanks its working
On 1/4/07, Kristian Rink [EMAIL PROTECTED] wrote:
athula bogoda schrieb:
I install eclipse 3.2 with Tomcat 5.0 to run servlets
under J2EE.
[...]
But in Open Perspective J2EE option is not
available. Also Dinamic web Project option also not
available.
What's the wrong
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: URL rewriting For Session Tracking
I think you are misinterpreting the OP's question... I think
he wants to /force/ the use of URL rewriting to include the
jsessionid. In that case, he /must/ run all his links through
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
So setting cookies=false in the Context element isn't sufficient?
That just tells Tomcat not to use cookies to send session identification
to the browser. Yes, the alternative to cookies is the use of URL
In TC 5.x.x message senders are removed when a multicast heartbeat is
missed.
so if your sender is null, then most likely your multicasting has a few
hickups.
in TC6 there is a safeguard against multicast failures using the TCP
failure detector.
Filip
Spurlock, Robert J wrote:
All,
We've
En l'instant précis du 01/04/07 16:04, Caldarale, Charles R s'exprimait
dans toute sa noblesse:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: URL rewriting For Session Tracking
I think you are misinterpreting the OP's question... I think
he wants to /force/ the use of
David Delbecq wrote:
2) in some cases it can be useful to have 2 sessions in same browser
(something you can't do with cookies)
Hello David,
I've never thought about that; it looks interesting. Do you have a real
use case for that?
Thank you in advance.
_F_M
Mainly its been refactored, farming as in 5.5 is still pretty broken and
hasn't been worked on.
What has been worked on is the separation of session replication vs
cluster/group communication. These are two separate packages now
o.a.catalina.tribes (group com, simple overview at
From: fausto mancini [mailto:[EMAIL PROTECTED]
2) in some cases it can be useful to have 2 sessions in same browser
(something you can't do with cookies)
Hello David,
I've never thought about that; it looks interesting. Do you
have a real use case for that?
Here's one: Principle of
From: David Delbecq [mailto:[EMAIL PROTECTED]
Subject: Re: URL rewriting For Session Tracking
Many thanks to Chris and David for the enlightenment.
Another question: How would one handle links embedded in static content?
Is it simply a matter of don't do that?
- Chuck
THIS COMMUNICATION
Caldarale, Charles R wrote:
To step back a little: why would it be important to use URL encoding to
track sessions rather than do it with cookies?
Some log analyzers use such information to generate user profiles, etc.
--
Mikolaj Rydzewski [EMAIL PROTECTED]
smime.p7s
Description: S/MIME
En l'instant précis du 01/04/07 16:32, fausto mancini s'exprimait dans
toute sa noblesse:
David Delbecq wrote:
2) in some cases it can be useful to have 2 sessions in same browser
(something you can't do with cookies)
Hello David,
I've never thought about that; it looks interesting. Do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: David Delbecq [mailto:[EMAIL PROTECTED]
Subject: Re: URL rewriting For Session Tracking
Many thanks to Chris and David for the enlightenment.
Another question: How would one handle links embedded in
I want to thank everyone for the insightful information yesterday on my query
about moving Tomcat. I have not moved anything at this time but I have made a
copy onto CD of everything that resides on the /usr/local/src directory. This
does include the jakarta-tomcat-5.5.9 directory and all of
The appBase is webapps, and the doc base is cdo.
Mark Thomas-11 wrote:
may.brian wrote:
This seems to indicate a problem with the classpath, but there have been
no
changes to the directory structure or the html generated.
What are the appBase and docBase settings for this host / app?
From: David Delbecq [mailto:[EMAIL PROTECTED]
Of course, first is anyway incompatible with http based
authentification, can only work on form based
authentification (because browser caches the user/pass)
Not true - if the app uses in-memory session cookies (true for ASP,
ASP.Net and JSP)
En l'instant précis du 01/04/07 16:37, Caldarale, Charles R s'exprimait
dans toute sa noblesse:
From: David Delbecq [mailto:[EMAIL PROTECTED]
Subject: Re: URL rewriting For Session Tracking
Many thanks to Chris and David for the enlightenment.
Another question: How would one handle
From: Fran Varin [mailto:[EMAIL PROTECTED]
Subject: RE: installing the admin on 5.5
I ran Tomcat using the .bat and I experience the same issue.
O.k., let's try the following:
1) Shut down any existing Tomcat instances.
2) If it exists, delete C:\apache-tomcat-5.5.20 and everything under
Hello together,
I'm a newbie using Java/Tomcat/JSF-MyFaces all together.
Can somebody help me, I have problems with the logging mechanism.
- I want to use the JDK logging mechanism in my webapp.
- I want to use my own class uxspiweb.log.DebugFormatter for the
ConsoleHandler channel.
- I put the
From: Steve Ingraham [mailto:[EMAIL PROTECTED]
Subject: RE: Moving Tomcat
Here is a list of the .jar files in
/usr/local/src/jakarta-tomcat-5.5.9/common/lib:
The noted jars are all part of the standard Tomcat distribution.
There is one file in
Thanks Chuck for the info. I appreciate your and everyone else's
replies. I will be continuing on with resolving this problem and may
have some other questions but you guys have answered a lot for me
already.
Thanks,
Steve
--
From: Steve Ingraham [mailto:[EMAIL
Hi all,
how do I deploy a webapp from the ant deploy task avoiding it to copy
the entire application under tomcat/webapps? The point is to simply
update my build directory with modified jsps to make tomcat aware of
the changes. If this build directory, which of course is not under
webapps, is
(1) i want my JSP application to run with Turkey locale. how should i
configure apache Tomcat 5.x for Turkey?
(2) at present, i want to find out about an error message ---
java.lang.NumberFormatException : For input string: 0,00
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown
you can also install Tomcat from the .tar.gz (on apache's website),
that creates a location independent layout for you
Filip
Steve Ingraham wrote:
I have a website running with jakarta-tomcat-5.5.9. The server this
website resides on is going to have to be rebuilt so I am needing to
move
Why not just drop in the new war file created from the ant war task?
Tomcat will reload the app automatically. On a half-way fast pc it
will last 10 seconds (depending on the size of the webapp of course,
and the amount of work need to be done on undeploy/deploy)
Leon
target name=war
Dharma General wrote:
(2) at present, i want to find out about an error message ---
java.lang.NumberFormatException: For input string: 0,00
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Float.parseFloat(Unknown Source)
what is it?
thx
Read the java
Why not just drop in the new war file created from the ant war task?
Tomcat will reload the app automatically.
Copy the entire app war, explode it, deploy it (and of course
recompile the requested jsp),
all that just to check, say, that a typo in the view was corrected or
that some cell
On 1/4/07, Carlos Pita [EMAIL PROTECTED] wrote:
Copy the entire app war, explode it, deploy it (and of course
recompile the requested jsp),
all that just to check, say, that a typo in the view was corrected or
that some cell contents are now correctly aligned?
It seems overkilling for
target name=copy_jsps
copy todir=${output.webapp}
fileset dir=${web.dir}
include name=**/*/
/fileset
fileset dir=${src.dir}
include
Hello,
We tried reloading the website in the managers section and we were still
able to duplicate the issue without restarting Tomcat. So do we think this
is an issue with the webpage itself?
david.delbecq wrote:
To make it short, tomcat does no caching of servlet / jsp output. Your
Amen to that :-) So why not just use the deployment directory as the
development directory? Edit your JSP, click browser's reload, done.
Yes, of course I thought of that, and also of just deploying the xml
context descriptor with the docBase pointing to my build directory,
just in case I
Thank you for your prompt answer, really, but please notice the
original question was:
how do I deploy a webapp ***from the ant deploy task*** avoiding it to copy
the entire application under tomcat/webapps?
I was trying to follow the development process described at
On 1/4/07, Sköldheimer Fredrik [EMAIL PROTECTED] wrote:
I have a character issue I can't figure out. Here are a simple example of a
html-page.
I have looked in the config files of tomcat but can't find any parameters that
corresponds to the defaultcharacterset that I'm used to from apache
Hi.
All I can say is, that you don't want to deploy your war file through an
ant task to tomcat. Believe me. Not for development. For a small change
in the webcontent you have to redeploy the whole app - very annoying. I
used that half a year.
Now I use the Eclipse WTP Project for development
Hi all,
I have got a rather strange problem with am application running on tomcat.
The aplication is based on Jetspeed, which uses Turbine. The problem is with
login, since user handling is session based I think it could be a problem
with tomcat session handling.
Ok, it's a jetspeed 1.6 running
I'm currently using WTP just for editing xml and jsp (btw, I would
love that it supported EL autocompletion for the MVC model). OTOH I'm
a bit reluctant to adopt the entire web WTP proyect approach, I prefer
to control my vanilla java project from ant targets. Anyway, regarding
the ant deploy
On the tomcat side, you can enable the RequestDumperValve to see what is
going on,
on the browser side use Firefox with a little plugin called
LiveHttpHeaders, lets you see all the traffic going back and forward
Filip
Stefan Kuhn wrote:
Hi all,
I have got a rather strange problem with am
it's your , character.
you need to use the java.text.DecimalFormat class
Filip
Dharma General wrote:
hello,
(1) i want my JSP application to run with Turkey locale. how should i
configure apache Tomcat 5.x for Turkey?
(2) at present, i want to find out about an error message ---
the caching behaviour of the modern browsers is really a rocket
science. One of the way to try to control it is to put the according
meta-tags into your files:
META http-equiv=pragma content=no-cache
META http-equiv=Cache-Control content=no-cache,
must-revalidate
Hi Bill,
In my case, I can't use taglibs since I am generating the code dynamically.
But even if I could use taglibs, then part of what the taglib does is really
using response.encodeURL(second.jsp) to do the URL rewriting without you
having to worry about it. So, I think the ultimate answer is
http://www.google.co.in/search?hl=enas_qdr=allq=Tomcat+filetype%3Appt+
inurl%3Aedumeta= - 908 valid presentations :) .
Regards,
Mohan
-Original Message-
From: Vijay Hatewar [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 3:10 PM
To: 'Tomcat Users List'
Subject: RE:
Hello,
I notice that because of url rewriting [RewriteRule] my cookie is not being
passed to Tomcat. This is what I am doing:
I have mod_jk as connector between Tomcat and Apache.
I have an HTML page where I set my cookie - username.
Now If I call the servlet directly from html page then cookie
65 matches
Mail list logo