Hi all :
I have some problem with tomcat .
I have install tomcat5.5 ,
root@ ibm:/tmp# dpkg --get-selections | grep tomcat5.5
libtomcat5.5-java install
tomcat5.5 install
then I using /etc/init.d/tomcat5.5 start to start
You don't say which version of Tomcat you're using, but I guess 6.0
from your paths.
Correct. I've tried both 6.0.16 and 6.0.20.
You should take a close look at
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html .
I read that page before posting to this list, along with other
On 12/10/2009 05:59, Grey Karapetyan wrote:
any ideas?
Loads, thanks.
http://catb.org/~esr/faqs/smart-questions.html
p
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail:
What operating system?
What Java version?
This looks like a packaging problem from a third-party repackaged
version of Tomcat, so it may be that nobody on this list can help you
as nobody here built the package! If you download the zip file of the
same Tomcat version (or preferably the most
Hi,
If I send this to my Tomcat it responds with HTTP/1.1 200 OK and calls my
servlet. :-)
telnet localhost 8080
FOO / HTTP/1.1
Host: localhost
What is this suppost to do?
Ronald.
looks like you are using ubuntu or debian but it installs tomcat 5.5 which
is an old version .
maybe you should upgrade your distrib?
anyway your question probably belongs to the debian/ubuntu lists not here.
also from my personal exper. ,thought i installed successfully tomcat on
ubuntu it is
Chuck, thank you for your advice and patience :)
I have found context element nested inside host element on some tutorial long
time ago and that where all the troubles started (It was probably meant for
pre 5 Tomcat). Now, following your advice, I have chosen the ROOT approach to
be perfectly
Ronald Klop wrote:
Hi,
If I send this to my Tomcat it responds with HTTP/1.1 200 OK and calls
my servlet. :-)
telnet localhost 8080
FOO / HTTP/1.1
Host: localhost
What is this suppost to do?
:-)
I don't know what is the context, and how you determine that Tomcat is
the target, nor how you
On 12/10/2009 08:42, Adam Monsen wrote:
You don't say which version of Tomcat you're using, but I guess 6.0
from your paths.
Correct. I've tried both 6.0.16 and 6.0.20.
You should take a close look at
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html .
I read that page before
The question is why Tomcat does not return a 501 NOT IMPLEMENTED error like
Apache does?
But I already found something. It does give a 501 when I call my servlet which
only implements doGet, but when it goes to index.jsp the jsp stuff calls the
service() method which doesn't check the http
For Servlets - as long as
Servlet.service(ServletRequest,ServletResponse) is implemented - you
wont see the 501.
So thats why you see the 501 for your servlet.
JSP's are funny since there is nothing in the spec which restricts the
request method. So service(...) is overridden by all JSP's so
Hi,
In my webapp I need persistent storage. I am building my webapp as a
.war file, and copying it into $CATALINE_HOME/webapps/
Tomcat extracts $CATALINA_HOME/webapps/app.war to
$CATALINA_HOME/webapps/app/
The war file contains an empty directory /WEB-INF/data . During
operations, data files
java.util.PropertyPermission user.timezone, write; line not there in
catalina.policy file.
Should this line not need to be present for granting the pernission?
What is the code for restricting the timezone overide permission in
catalina.policy file?
Moreover it was misundstanding between our
Jesse Long wrote:
Question: id /WEB-INF/ in the extracted directory the correct place for
persistent data storage? If not, where is?
No, WEB-INF is not a correct place app generated files.
You can use any directory outside of context root.
My goal is to find a consistent way of creating
To my knowledge the Single Sign on in Tomcat is a way for all of your back
end applications in your VH to recognize that you have logged in to one
place, and all of the apps belonging to that VH will be logged into.
What I am trying to do is restrict the login from users to one single
session.
From: Maciej Zabielski [mailto:m...@tessel.pl]
Subject: RE: Application gets started twice
My last problem is the possibility to make the localhost:8080 (used for
mod_jk) also available under localhost:8080/app (as internal endpoints)
Is there any legal/simple way to accomplish this?
Since
makes sense depending on the scope
session scope information can be stored in either session scope and carried
throughout Browser session
Application is trickier as the information you have to be stored usually to a
Database
oracle Single-signon works well with exsiting oracle application
2009/10/12 Josh Gooding josh.good...@gmail.com:
To my knowledge the Single Sign on in Tomcat is a way for all of your back
end applications in your VH to recognize that you have logged in to one
place, and all of the apps belonging to that VH will be logged into.
Correct.
What I am trying to
Yes, that sounds like a good idea.
For now I have tried something similar that has only one drawback - it is
visible from outside.
Because I didn't want to mess with alfresco endpoints, I have moved alfresco to
regular webapps folder,
Share site is under its own host.
Therefore Share site
On 12/10/2009 14:37, Peter Crowther wrote:
2009/10/12 Josh Goodingjosh.good...@gmail.com:
To my knowledge the Single Sign on in Tomcat is a way for all of your back
end applications in your VH to recognize that you have logged in to one
place, and all of the apps belonging to that VH will be
Josh Gooding wrote:
To my knowledge the Single Sign on in Tomcat is a way for all of your back
end applications in your VH to recognize that you have logged in to one
place, and all of the apps belonging to that VH will be logged into.
Well, kind of..
What I am trying to do is restrict the
I know doing this at the application level is probably going to be a little
messy and that's ok for now. Since this is for a video training program,
yes the requirement is appropriate. As for handling browser crashes, I'll
have to set the timeout to an appropriate time, (1/2 hour or so) but if
Mikolaj Rydzewski wrote:
Jesse Long wrote:
Question: id /WEB-INF/ in the extracted directory the correct place for
persistent data storage? If not, where is?
No, WEB-INF is not a correct place app generated files.
You can use any directory outside of context root.
My goal is to find a
2009/10/12 Josh Gooding josh.good...@gmail.com:
As for handling browser crashes, I'll
have to set the timeout to an appropriate time, (1/2 hour or so) but if you
are watching videos and testing, or reading docs, you can chew up 1/2 hour
easily so I haven't really thought it through fully yet.
Jesse Long wrote:
Thanks for your answers. I still like the concept of having the
container allocate persistent storage space. Can I configure tomcat to
not delete from the javax.servlet.context.tempdir directory?
'persistent' and 'temp' sounds like opposite.
--
Mikolaj Rydzewski m...@ceti.pl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Perter,
On 10/12/2009 9:37 AM, Peter Crowther wrote:
2009/10/12 Josh Gooding josh.good...@gmail.com:
To my knowledge the Single Sign on in Tomcat is a way for all of your back
end applications in your VH to recognize that you have logged in to one
On 12-Oct-2009, at 10:51, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Perter,
On 10/12/2009 9:37 AM, Peter Crowther wrote:
2009/10/12 Josh Gooding josh.good...@gmail.com:
To my knowledge the Single Sign on in Tomcat is a way for all of
your back
end
-Original Message-
From: raghu gs [mailto:iamra...@gmail.com]
Sent: Monday, October 12, 2009 5:18 AM
To: Tomcat Users List
Subject: Re: Tomcat 6.0.20 always works in GMT timezone even after
forcing it to use Asia/Calcutta by multiple methods.
java.util.PropertyPermission
Josh Gooding wrote:
...
Andre, your talking about something like Active Directory for Windows
Domain's to use with say Communicator, Outlook, etc, across windows
environments with domain authentication?
Yes, although Windows domain authentication is not the only game in town.
I understand
On 12/10/2009 15:16, Josh Gooding wrote:
I know doing this at the application level is probably going to be a little
messy and that's ok for now. Since this is for a video training program,
yes the requirement is appropriate. As for handling browser crashes, I'll
have to set the timeout to an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adam,
On 10/12/2009 3:42 AM, Adam Monsen wrote:
My idea was that TransactionImport is the interface (abstract class,
actually) that the webapp authors define and use in webapp code, and
plugin authors need only to implement TransactionImport,
Well upon clicking logout the following occurs:
session.removeAttribute(User);
session.invalidate();
response.sendRedirect(EULA.jsp);
If I close the browser window, and reopen it without clicking the logout
button, I can still get back into my active session. How would I invalidate
the session
Hi All,
I want to setup APR for Tomcat 6.0.20 under windows. I only want the APR I do
not need SSL or OpenSSO at this time.
So do I put the all the dlls (ipv4 ipv6 also) under windows32 folder or just
the tcnative-1.dll? Or maybe the dlls are put under the bin directory of tomcat?
Many
2009/10/12 Josh Gooding josh.good...@gmail.com:
If I close the browser window, and reopen it without clicking the logout
button, I can still get back into my active session. How would I invalidate
the session upon closing the browser window?
I'm surprised that happens if you shut down the
On 12-Oct-2009, at 11:24, Josh Gooding wrote:
Well upon clicking logout the following occurs:
session.removeAttribute(User);
session.invalidate();
response.sendRedirect(EULA.jsp);
If I close the browser window, and reopen it without clicking the
logout
button, I can still get back into my
On Mon, Oct 12, 2009 at 11:03 AM, André Warnier a...@ice-sa.com wrote:
Josh Gooding wrote:
...
Andre, your talking about something like Active Directory for Windows
Domain's to use with say Communicator, Outlook, etc, across windows
environments with domain authentication?
Yes, although
At the risk of bringing this thread back on topic, I still haven't
found a solution to the problem. I suspect that mod_jk may be setting
the Content-Length header in a case that SunOne does not expect
(SunOne is case-sensitive to headers in it's NSAPI modules!). I note
the following sentence from
On 12-Oct-2009, at 11:41, Josh Gooding wrote:
On Mon, Oct 12, 2009 at 11:03 AM, André Warnier a...@ice-sa.com wrote:
Josh Gooding wrote:
...
Andre, your talking about something like Active Directory for
Windows
Domain's to use with say Communicator, Outlook, etc, across windows
Guys
Tomcat 6.0.20, java 1.6, linux x64
org.apache.catalina.loader.WebappClassLoader records every resource you
asked
for that doesn't exist.
On our site we have alot of pages ( 800,000 )
all of which are using struts2 with validation.
every hit means the validator does a request for a
Am Mon, 12 Oct 2009 13:01:44 +0200
schrieb Jesse Long j...@unknown.za.net:
In my webapp I need persistent storage. I am building my webapp as a
.war file, and copying it into $CATALINE_HOME/webapps/
Tomcat extracts $CATALINA_HOME/webapps/app.war to
$CATALINA_HOME/webapps/app/
The war
Ugh... tabs said it all. I didn't take into consideration about them.
On Mon, Oct 12, 2009 at 11:41 AM, Andre-John Mas aj...@sympatico.ca wrote:
On 12-Oct-2009, at 11:24, Josh Gooding wrote:
Well upon clicking logout the following occurs:
session.removeAttribute(User);
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 10/12/2009 11:03 AM, André Warnier wrote:
[servlet-filter mechanisms] consist of wrapping all your
to-be-protected webapps in a servlet
filter, which authenticates each request before it even gets to your
webapp. Servlet filters are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 10/12/2009 12:03 PM, David Cassidy wrote:
org.apache.catalina.loader.WebappClassLoader records every resource you
asked
for that doesn't exist.
On our site we have alot of pages ( 800,000 )
all of which are using struts2 with
Tobias Crefeld wrote:
Am Mon, 12 Oct 2009 13:01:44 +0200
schrieb Jesse Long j...@unknown.za.net:
In my webapp I need persistent storage. I am building my webapp as a
.war file, and copying it into $CATALINE_HOME/webapps/
Tomcat extracts $CATALINA_HOME/webapps/app.war to
From: Tony Anecito [mailto:adanec...@yahoo.com]
Subject: Simple APR install question...
I want to setup APR for Tomcat 6.0.20 under windows.
So do I put the all the dlls
What do you mean by all the dlls? The only one I'm aware of is
tcnative-1.dll, and it's normally placed in Tomcat's
David Cassidy wrote:
Guys
Tomcat 6.0.20, java 1.6, linux x64
org.apache.catalina.loader.WebappClassLoader records every resource you
asked
for that doesn't exist.
On our site we have alot of pages ( 800,000 )
all of which are using struts2 with validation.
every hit means the
I note that the README says that 1.1.12 is the current stable version. Is there
a compelling reason to go for 1.1.16? Hmm, that said the repository I looked at
only had up to 1.1.14.
- Darryl
From: Caldarale, Charles R chuck.caldar...@unisys.com
To: Tomcat
Hi Darryl,
Yes the latest one is 1.1.16. I went back to the web site and it says:
The Apache Tomcat team is proud to announce the immediate availability of
Tomcat Native 1.1.16 Stable.
The url I found this at is:
http://tomcat.apache.org/native-doc/
This was in Nov 2008 that version was
Darryl Pentz wrote:
I note that the README says that 1.1.12 is the current stable version.
It is out of date.
Is there a compelling reason to go for 1.1.16?
Yes. A number of important bug fixes.
Hmm, that said the repository I looked at only had up to 1.1.14.
Looks like you are looking at the
Thanks Chuck for the help. There were no install instructions so not sure it
they were supposed to be in the bin.
The other dlls seem to be for ipv6 and ipv4. If you look at this link for win32
binaries you will see why I wrote what I did.
http://tomcat.heanet.ie/native/1.1.14/binaries/win32/
Tony Anecito wrote:
Hi Darryl,
Yes the latest one is 1.1.16. I went back to the web site and it says:
The Apache Tomcat team is proud to announce the immediate availability of
Tomcat Native 1.1.16 Stable.
The url I found this at is:
http://tomcat.apache.org/native-doc/
This was in
From: Tony Anecito [mailto:adanec...@yahoo.com]
Subject: RE: Simple APR install question...
The other dlls seem to be for ipv6 and ipv4. If you look at this link
for win32 binaries you will see why I wrote what I did.
http://tomcat.heanet.ie/native/1.1.14/binaries/win32/
That's an old, old
Hi Darryl,
Okay I think I figured out what is going on. 1.1.16 I think is Tomcat Native
and not the APR I mentioned.
The 1.1.12 has only the one DLL that Chuck mentioned and the 1.1.14 has
several. If I use the one dll from 1.1.12 I should be okay. The APR web site
page does not mention which
From: Tony Anecito [mailto:adanec...@yahoo.com]
Subject: Re: Simple APR install question...
This was in Nov 2008 that version was released as being stable. So I
guess I am confused why the web site says one thang and the readme
another.
Exactly what README are you referring to?
Also,
Many Thanks guys. That clears up the last email I sent a bit more. I was goign
to use the older 1.1.12 till I read this.
So just add to the bin dir restart and I Tomcat by default will be using this
APR? In the server or boot log I should see a reference to the APR loaded and
being used?
Many
From: Tony Anecito [mailto:adanec...@yahoo.com]
Subject: Re: Simple APR install question...
Okay I think I figured out what is going on. 1.1.16 I think is Tomcat
Native and not the APR I mentioned.
APR = Tomcat Native.
If I use the one dll from 1.1.12 I should be okay.
Don't use 1.1.12;
I must confess to not having really paid much attention to the APR listener. Do
you recommend always using this when running on Windows or are there only
certain conditions under which to use APR?
thanks,
Darryl
From: Caldarale, Charles R
From: Darryl Pentz [mailto:djpe...@yahoo.com]
Subject: Re: Simple APR install question...
I must confess to not having really paid much attention to the APR
listener. Do you recommend always using this when running on Windows or
are there only certain conditions under which to use APR?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Darryl,
On 10/12/2009 1:38 PM, Darryl Pentz wrote:
I must confess to not having really paid much attention to the APR
listener. Do you recommend always using this when running on Windows
or are there only certain conditions under which to use APR?
Thanks to Chuck and all the rest.
As I mentioned in a previous email(s) I was trying to update some performance
Testing I started a few years ago where I got to a point where I was seeing
3-4msec. My architecture till last night was Apache web server and JBoss
5.1.0GA. Based on some this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesse,
On 10/12/2009 12:57 PM, Jesse Long wrote:
Unfortunately we have a very real use case for multiple instances on
one host, with different data paths. So, /etc/app.properties is not
usable, but /etc/app-context path derived data.properties
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
On 10/12/2009 1:52 PM, Tony Anecito wrote:
Next step is to install APR and rerun tests and maybe do some more
tuning jvm and maybe elsewhere for Tomcat.
I doubt you'll see any performance increase when adding APR to the mix
(no SSL, right?),
Hi Chris,
Yes you are correct no SSL. I thought I would give APR a try since it was
recommended in general to use it for http. As you say it could not hurt.
Best Regards,
-Tony
--- On Mon, 10/12/09, Christopher Schultz ch...@christopherschultz.net wrote:
From: Christopher Schultz
I want to release my webapp first, then allow plugin authors to write
and load plugins at their leisure.
Have you looked at the ServiceLoader API?
No, I hadn't, but I just tried it out. Cool! I like that it hides guts
like Class.forName(). Thanks!
However, it doesn't get around the issues
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Renuka,
On 10/12/2009 1:45 AM, Renuka Slalagi wrote:
I am running tomcat jakarta-tomcat-4.1.31 on Solaris.As my server gets
down I get the below errors logged in catalina.
Tomcat 4.x is no longer supported, so you should upgrade to a more
recent
So you have multiple contexts on a host, each of which needs separate,
persistent storage?
If you don't want to keep track of a property files, you could write a bean
with a method that takes a HttpRequest as a argument, and returns a file
path based on the info in the request. You would have to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
On 10/12/2009 2:01 PM, Tony Anecito wrote:
Yes you are correct no SSL. I thought I would give APR a try since it
was recommended in general to use it for http. As you say it could
not hurt.
The only thing it might hurt is simplicity:
Do you have some kind of container-provided service that will be
included?
I'm not sure I understand the question, but I think the answer is no.
Tomcat provides the servlet container, and it doesn't include much
besides an implementation of the servlet API, right?
If not, why not simply
On 12/10/2009 19:06, Adam Monsen wrote:
I want to release my webapp first, then allow plugin authors to write
and load plugins at their leisure.
Have you looked at the ServiceLoader API?
No, I hadn't, but I just tried it out. Cool! I like that it hides guts
like Class.forName(). Thanks!
Hi Chris,
I understand but the tactical goal is improved performance. If it does not help
it is easy to undo.
Thanks again,
-Tony
--- On Mon, 10/12/09, Christopher Schultz ch...@christopherschultz.net wrote:
From: Christopher Schultz ch...@christopherschultz.net
Subject: Re: Thanks For All
On 12/10/2009 19:28, Adam Monsen wrote:
The interfaces are intended to be used only by plugins that can be
added and removed from the webapp while it is shut down,
Well as long as the user can explode the webapp, they just have to add
files to the webapp /lib and you're in business.
Much
Well as long as the user can explode the webapp, they just have to add files
to the webapp /lib and you're in business.
Yes, this sounds like it should work for now, and I can look at
writing a custom classloader or (gasp) OSGi if I need a more complex
plugin system.
Thanks, all.
So you have multiple contexts on a host, each of which needs separate,
persistent storage?
If you don't want to keep track of a property files, you could write
a bean
with a method that takes a HttpRequest as a argument, and returns a
file
path based on the info in the request. You would
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gary,
On 9/14/2009 2:36 PM, garyh6 wrote:
We are using Tomcat 5.5. Does the class
org.apache.catalina.loader.WebappClassLoader cache resources found from the
findResource() method (which is called when Java code calls getResource())?
I looked
Chris
Yes - ouch indeed !
Yes i'll try them as well - might have a look at the source as well see
if there is anything to turn of teh file based validation
I had a quick look at the caching and thats totally different sadly.
No its definitely the things that are not found.
When i get an out
Mark,
Okies will do
David
On 12/10/09 18:05, Mark Thomas wrote:
David Cassidy wrote:
Guys
Tomcat 6.0.20, java 1.6, linux x64
org.apache.catalina.loader.WebappClassLoader records every resource you
asked
for that doesn't exist.
On our site we have alot of pages ( 800,000 )
all of
Well, I guess I was wrong. The delay is still there.
I installed a new copy of Tomcat and still have the same problem. I
have the following context files:
${CATALINA_HOME}/conf/context.xml
Which contains (comments removed):
Context
WatchedResourceWEB-INF/web.xml/WatchedResource
Manager
I'm not shure if this problem really relates to Tomcat but it happened
after altering the tomcat configuration. I've two different domains for
two differnt webapps. Therefore i search on the internet how to manage
multiple domains on Tomcat. I found this resource:
If you set the cachingAllowed attribute on your Context element to
false, will this meet your needs? I believe this will disable caching
and therefore eliminate the memory concerns you have.
Thanks for the reply. Our situation was actually reversed. We are using
Tomcat with a custom
From: Paul van Hoven [mailto:paul.van.ho...@googlemail.com]
Subject: Multiple Domains on one Tomcat Server now MySQL not working
I'm not shure if this problem really relates to Tomcat but it happened
after altering the tomcat configuration.
Care to give us a hint about version of Tomcat
From: Law, Christopher [mailto:chris@snapon.com]
Subject: RE: Tomcat hangs for minutes between ContextConfig and
StandardContext (Starting the app)
${CATALINA_HOME}/conf/context.xml
Which contains (comments removed):
Context
WatchedResourceWEB-INF/web.xml/WatchedResource
Hi All,
My application working fine in tomcat 5.5.28 and java version 1.5.0_19
while doing load balancing tests. But when I upgrade tomcat to version
6.0.20 getting out of memory soon. I looked at the heap dump using Eclipse
memory analyzer below listed taking more memory.
Very userful information. Wondering if someone can help me out with similar
query:
My current set up:
I got 1 apache and 2 tomcat servers (all on different machines).
I already got SSL set up on individual Tomcat machines to work on port 8443.
There is no SSL installed on Apache.
I got mod_jk
[quickie synopsis]
A request arriving on a connector configured for scheme=https and with
secure=true is generating absolute redirect urls with scheme=https and port
= 80 (https://localhost:80/path.html) because incoming request was on 443
and didn't have an explicit port in the Host header.
Hi all
This is possibly a little OT, but maybe someone has come across this.
We are running Tomcat 5 (Actually Jetspeed-2.1.3) on a Windows 2K box. We start
it from a cmd window, using startup.bat. All runs fine until a large amount of
text gets output to the log (redirected to the Tomcat
For what it is worth, I confirmed that the same issue exists with the latest
6.0.20 release. I also confirmed that if I set up SSL to run on a
non-standard port (anything but 443), it works perfectly, because the port
number is correctly picked up from the Host header rather than being left at
86 matches
Mail list logo